/* ========== Base ========== */
:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --brand:#2563eb;
  --brand-2:#06b6d4;
  --brand-3:#22c55e;
  --card:#f8fafc;
  --alt:#f1f5f9;
  --ring: rgba(37, 99, 235, 0.35);
  --shadow: 0 10px 30px rgba(2,8,23,.08);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, sans-serif;
  background:var(--bg); color:var(--text); line-height:1.6;
}

/* Containers */
.container{max-width:1200px; margin-inline:auto; padding:0 20px}
.section{padding:72px 0}
.section.alt{background:var(--alt)}
.section-title{font-size:clamp(28px, 3vw, 40px); margin:0 0 16px}
.section-subtitle{color:var(--muted); margin:0 0 28px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; padding:12px 18px; border-radius:999px;
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#fff; text-decoration:none; font-weight:700; box-shadow:var(--shadow);
  border:0; cursor:pointer;
}
.btn.ghost{background:transparent; color:var(--brand); border:2px solid var(--brand)}
.btn.small{padding:8px 12px; font-weight:700}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.8); backdrop-filter: blur(10px);
  border-bottom:1px solid #e5e7eb;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between; min-height:68px;
}
.brand{display:flex; align-items:center; gap:12px; font-weight:800; color:var(--text); text-decoration:none}
.brand img{width:42px; height:42px}
.site-nav{display:flex; gap:14px; align-items:center}
.site-nav a{color:var(--text); text-decoration:none; font-weight:600; padding:8px 10px; border-radius:12px}
.site-nav a:hover{background:var(--alt)}
.nav-toggle{display:none; border:0; background:transparent; font-size:28px;}

/* Hero */
.hero{padding:64px 0 48px; background:radial-gradient(80% 80% at 20% 0%, rgba(34,197,94,.15), transparent 60%), radial-gradient(80% 80% at 100% 20%, rgba(37,99,235,.12), transparent 60%)}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:36px; align-items:center}
.hero-copy h1{font-size:clamp(32px, 4vw, 54px); line-height:1.1; margin:0 0 12px}
.hero-copy p{color:var(--muted); margin:0 0 18px}
.hero-badges{display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:18px 0 0; list-style:none}
.hero-badges li{background:var(--card); border:1px solid #e5e7eb; padding:8px 12px; border-radius:999px; font-weight:600}
.hero-media img{width:100%; border-radius:var(--radius); box-shadow:var(--shadow)}

/* Features */
.features-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:18px;
}
.card{
  background:var(--card); border:1px solid #e5e7eb; padding:20px; border-radius:var(--radius);
  box-shadow: var(--shadow);
}
.card h3{margin:0 0 8px}

/* Gallery */
.gallery-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:14px;
}
.gallery-grid img{
  width:100%; height:210px; object-fit:cover; border-radius:16px; border:1px solid #e5e7eb;
  transition: transform .2s ease;
}
.gallery-grid a:hover img{transform: translateY(-3px)}

/* About */
.about-grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:32px; align-items:center}
.about-media img{width:100%; border-radius:var(--radius); border:1px solid #e5e7eb; box-shadow:var(--shadow)}
.checklist{padding-left:0; list-style:none; display:grid; gap:8px; margin:16px 0 0}
.checklist li{position:relative; padding-left:28px}
.checklist li::before{
  content:"✓"; position:absolute; left:0; top:0; color:var(--brand-3); font-weight:800;
}

/* Reviews */
.reviews-slider{display:grid; grid-template-columns:1fr; gap:14px; margin-top:10px}
.review{background:var(--card); border:1px solid #e5e7eb; border-radius:16px; padding:18px; box-shadow:var(--shadow)}
.review-meta{margin-top:8px; color:var(--muted); font-weight:700}
.slider-controls{display:flex; gap:10px; margin-top:14px}

/* FAQ */
.accordion{display:grid; gap:12px}
.acc-item{border:1px solid #e5e7eb; border-radius:16px; overflow:hidden; background:#fff; box-shadow:var(--shadow)}
.acc-header{
  width:100%; text-align:left; padding:16px 18px; background:#fff; border:0; font-weight:700; cursor:pointer;
}
.acc-panel{padding:0 18px 16px; display:none; color:var(--muted)}

/* Contact */
.contact-grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:18px; align-items:stretch}
.contact-card, .map-card{background:var(--card); border:1px solid #e5e7eb; border-radius:16px; box-shadow:var(--shadow)}
.contact-card{padding:22px}
.form-row{display:grid; gap:6px; margin-bottom:12px}
input, textarea{
  width:100%; padding:12px 14px; border-radius:12px; border:1px solid #dbe2ea; background:#fff; color:var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color:var(--brand); box-shadow:0 0 0 4px var(--ring)}
.form-actions{display:flex; align-items:center; gap:14px}
#formStatus{font-weight:700}

/* Footer */
.site-footer{background:#0b1220; color:#e5e7eb; padding:38px 0 16px; margin-top:32px}
.footer-grid{display:grid; grid-template-columns:1.1fr .6fr .6fr; gap:20px}
.footer-links{list-style:none; padding:0; margin:0; display:grid; gap:8px}
.footer-links a{color:#cbd5e1; text-decoration:none}
.footer-links a:hover{color:#fff}
.footnote{display:flex; align-items:center; justify-content:space-between; border-top:1px solid #1f2a44; padding-top:14px; margin-top:24px}
.to-top{color:#9ca3af; text-decoration:none; border:1px solid #334155; padding:6px 10px; border-radius:999px}

/* Lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(0,0,0,.8); display:none; align-items:center; justify-content:center; padding:20px; z-index:100;
}
.lightbox img{max-width:92vw; max-height:86vh; border-radius:12px; box-shadow:var(--shadow)}
.lightbox-close{
  position:absolute; top:20px; right:20px; font-size:34px; background:#111827; color:#fff; border:0; border-radius:12px; width:44px; height:44px; cursor:pointer;
}

/* Responsive */
@media (max-width: 1024px){
  .features-grid{grid-template-columns:repeat(2, 1fr)}
  .gallery-grid{grid-template-columns: repeat(3, 1fr)}
  .about-grid, .hero-grid, .contact-grid{grid-template-columns:1fr}
}
@media (max-width: 680px){
  .gallery-grid{grid-template-columns: repeat(2, 1fr)}
  .footer-grid{grid-template-columns: 1fr}
  .site-nav{display:none; position:absolute; right:20px; top:68px; background:#fff; border:1px solid #e5e7eb; border-radius:16px; padding:8px; box-shadow:var(--shadow); flex-direction:column; width:min(90vw, 320px)}
  .site-nav a{padding:10px 12px}
  .nav-toggle{display:block}
}
