:root{
  --bg:#ffffff;
  --bg2:#f6f8fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --accent:#2f5d7c;
  --accent2:#1f3f54;
  --shadow: 0 10px 30px rgba(2,6,23,.08);

  --header-big: 170px;
  --header-small: 90px;
  --header-h: var(--header-big);
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{ color:var(--accent2); text-decoration:none; }
a:hover{ opacity:.92; }

.container{ max-width:1100px; margin:0 auto; padding:0 20px; }

/* =========================
   Header (logo height = header height)
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: height .18s ease, box-shadow .18s ease;
}
.site-header.is-scrolled{
  --header-h: var(--header-small);
  box-shadow: 0 8px 26px rgba(2,6,23,.10);
}
.header-inner{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:0;
}
.brand{
  height: 100%;
  display:inline-flex;
  align-items:center;
}
.logo{
  height: 100%;
  width:auto;
  display:block;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  font-size:14px;
  color:var(--muted);
}

/* Mobile menu button */
.nav-toggle{
  display:none;
  height:44px;
  width:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  cursor:pointer;
}

/* =========================
   Hero
   ========================= */
.hero{
  background: radial-gradient(1200px 520px at 15% 0%,
    rgba(47,93,124,.16) 0%,
    rgba(47,93,124,.06) 35%,
    #ffffff 70%);
  border-bottom:1px solid var(--line);
  padding:54px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap:26px;
  align-items:start;
}

.eyebrow{
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent);
  font-size:12px;
  margin:0 0 10px;
  font-weight:800;
}

h1{
  font-size:44px;
  line-height:1.05;
  margin:0 0 12px;
  color:var(--text);
}

.subhead{
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
  margin:0 0 18px;
  max-width:58ch;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:10px 0 12px;
}

.trust{
  list-style:none;
  padding:0;
  margin:14px 0 0;
  color:var(--muted);
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.trust li{
  border-left:2px solid var(--line);
  padding-left:10px;
}

/* Hero card */
.hero-card{
  background:linear-gradient(180deg, #ffffff, #f7fafc);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
}

.hero-card h2{ margin:0 0 8px; font-size:18px; color:var(--text); }

.small{ font-size:13px; color:var(--muted); line-height:1.5; margin:0; }
.big{ font-size:16px; line-height:1.6; margin:10px 0 14px; }
.muted{ color:var(--muted); }

.divider{
  height:1px;
  background:var(--line);
  margin:14px 0;
}

/* =========================
   Sections
   ========================= */
.section{ padding:48px 0; }
.section-alt{ background:var(--bg2); }
.section-head{ margin-bottom:14px; }

.section-head h2{
  font-size:28px;
  margin:0 0 8px;
  display:inline-block;
  padding-top:10px;
  border-top:3px solid rgba(47,93,124,.55);
}

.section-head p{
  margin:0;
  color:var(--muted);
  max-width:70ch;
  line-height:1.6;
}

/* =========================
   Cards
   ========================= */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:18px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  box-shadow: 0 6px 18px rgba(2,6,23,.05);
}

.card h3{ margin:0 0 8px; font-size:16px; color:var(--text); }
.card p{ margin:0; color:var(--muted); line-height:1.6; }

/* Split */
.split{
  display:grid;
  grid-template-columns:1.3fr .9fr;
  gap:18px;
  align-items:start;
}
.bullets{ margin:14px 0 0; color:var(--muted); line-height:1.8; }

.service-area{
  margin-top:18px;
  border-top:1px solid var(--line);
  padding-top:14px;
}
.service-area h3{ margin:0 0 6px; font-size:16px; color:var(--text); }

.about-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
}

/* =========================
   Gallery
   ========================= */
.gallery-grid{
  display:flex;
  flex-direction:column;
  gap:26px;
  margin-top:18px;
}

.gallery-group{ margin-top:6px; }

.gallery-h{
  margin:0 0 10px;
  font-size:18px;
  color:var(--text);
  letter-spacing:.2px;
}

.gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top:12px;
}

.gcard{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 6px 18px rgba(2,6,23,.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: zoom-in;
}

.gcard:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(2,6,23,.12);
  border-color: rgba(47,93,124,.25);
}

.gcard img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display:block;
  background:#f1f5f9;
}

.gcard figcaption{
  padding:10px 12px;
  font-size:13px;
  color:var(--muted);
  border-top:1px solid var(--line);
  line-height:1.35;
}

.gallery-group + .gallery-group{
  padding-top:24px;
  border-top:1px solid var(--line);
}

/* =========================
   Forms
   ========================= */
.form{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
  margin-top:18px;
}

label{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:10px;
}

input,select,textarea{
  width:100%;
  margin-top:6px;
  border-radius:12px;
  border:1px solid #cbd5e1;
  background:#ffffff;
  color:var(--text);
  padding:12px 12px;
  font-size:14px;
  outline:none;
}

input:focus,select:focus,textarea:focus{
  border-color:rgba(47,93,124,.65);
  box-shadow: 0 0 0 4px rgba(47,93,124,.12);
}

input[type="file"]{
  padding:10px;
  background:#fff;
}

.grid2{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.grid3{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }

.help{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  padding:10px 14px;
  font-weight:800;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
}

.btn-solid{ background:var(--accent); color:#fff; }
.btn-solid:hover{ background:var(--accent2); }

.btn-outline{
  background:#fff;
  border-color:var(--line);
  color:var(--text);
}

.btn-outline:hover{
  border-color:rgba(47,93,124,.45);
  box-shadow: 0 0 0 4px rgba(47,93,124,.10);
}

.nav a.btn-solid{ color:#fff; }
.nav a.btn-outline{ color:var(--text); }

.full{ width:100%; }

/* =========================
   Testimonials
   ========================= */
.testimonial-placeholder{
  margin-top:16px;
  background:#ffffff;
  border:1px dashed var(--line);
  border-radius:16px;
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.testimonial-placeholder p{
  margin:0;
  max-width:70ch;
}

.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background:#ffffff;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}

/* =========================
   Lightbox
   ========================= */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.82);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}
.lightbox.is-open{ display:flex; }
.lightbox-inner{ max-width:1100px; width:100%; }
.lightbox-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  background:#0b1220;
}
.lightbox-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:10px;
  color:#e2e8f0;
  font-size:13px;
}
.lightbox-btn{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:800;
}
.lightbox-btn:hover{ background:rgba(255,255,255,.18); }

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px){
  :root{
    --header-big: 92px;
    --header-small: 64px;
  }

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .nav{
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .site-header.nav-open .nav{ display:flex; }

  .hero-grid,.split{ grid-template-columns:1fr; }
  .cards{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:1fr; }
  h1{ font-size:36px; }

  .gcard img{ aspect-ratio: 16 / 10; }
  .grid2{ grid-template-columns:1fr; }
  .grid3{ grid-template-columns:1fr; }
}
