/* =========================================================
   ZYLON TECH — design system
   PALETTE — 6 colors only, derived from the brand mark
     --ink     near-black — text, dark panels
     --paper   warm-neutral ground
     --indigo  brand primary (logo blue)
     --violet  lighter indigo tint — CTAs, links, gradients
     --cyan    cooling accent — used sparingly
     --slate   secondary text / hairlines
========================================================= */
:root{
  --ink:#14141f;
  --paper:#f6f4ef;
  --indigo:#2e2a86;
  --violet:#6a5cf0;
  --cyan:#4fb8c9;
  --slate:#646978;
  --hairline: rgba(20,20,31,.12);
  --hairline-dark: rgba(255,255,255,.14);
  --shadow-sm: 0 1px 3px rgba(20,20,31,.08);
  --shadow-md: 0 18px 34px -18px rgba(20,20,31,.25);
  --shadow-lg: 0 40px 70px -36px rgba(20,20,31,.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --header-h: 88px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
a[href^="tel:"]{ white-space:nowrap; }
ul{ list-style:none; margin:0; padding:0; }

h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--ink);
  margin:0 0 .5em;
  line-height:1.15;
  font-weight:700;
  letter-spacing:-.01em;
}

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.mono{ font-family:var(--font-mono); }

.section{ padding:100px 0; }
.section-alt{ background:#efece3; }
.section-header{ max-width:640px; margin:0 auto 56px; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--indigo); font-family:var(--font-mono); font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; font-size:12.5px; margin-bottom:14px;
}
.eyebrow::before{ content:""; width:20px; height:1px; background:var(--indigo); }
.section-header .eyebrow::before{ display:none; }
.section-header h2{ font-size:clamp(28px,3.5vw,38px); }
.section-header p{ color:var(--slate); font-size:16.5px; margin:0; }

/* ===== reveal-on-scroll ===== */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 28px; border-radius:var(--radius-sm);
  font-weight:700; font-size:15px; cursor:pointer; border:1.5px solid transparent;
  transition:transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--indigo); color:#fff; box-shadow:0 10px 26px -10px rgba(46,42,134,.55); }
.btn-primary:hover{ background:var(--violet); transform:translateY(-2px); box-shadow:0 16px 32px -12px rgba(106,92,240,.55); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.4); color:#fff; }
.btn-outline:hover{ border-color:var(--cyan); color:var(--cyan); }
.btn-ghost{ background:transparent; border-color:var(--hairline); color:var(--ink); }
.btn-ghost:hover{ border-color:var(--indigo); color:var(--indigo); }
.btn-accent{ background:var(--cyan); color:#0d2b30; }
.btn-accent:hover{ background:#68c9d7; transform:translateY(-2px); }
.btn-block{ width:100%; }

/* ===== Header ===== */
.topbar{ background:var(--ink); color:#c9c9de; font-size:12.5px; font-family:var(--font-mono); }
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding:9px 24px; }
.topbar-links{ display:flex; gap:22px; letter-spacing:.02em; }
.topbar .phone{ font-weight:600; color:#fff; letter-spacing:.03em; }
.topbar .phone:hover{ color:var(--cyan); }

.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(246,244,239,.86);
  backdrop-filter:saturate(180%) blur(14px); -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--hairline);
}
.navbar{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; }
.brand{ position:relative; z-index:2; display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:700; font-size:19px; color:var(--ink); }
.logo-img{ height:32px; width:auto; object-fit:contain; display:block; flex-shrink:0; }
.footer-brand .logo-img{ height:26px; }
.brand span.tag{ display:block; font-size:12px; font-weight:500; color:var(--slate); letter-spacing:.03em; font-family:var(--font-body); }

.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{
  position:relative; font-weight:600; font-size:14.5px; color:var(--ink); padding:6px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:100%; background:var(--violet);
  transform:scaleX(0); transform-origin:left; transition:transform .3s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-links a.active{ color:var(--indigo); }
.nav-cta{ display:flex; align-items:center; gap:16px; }

.nav-toggle{ position:relative; z-index:2; display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ width:22px; height:2px; background:var(--ink); transition:transform .25s ease, opacity .2s ease; }
body.nav-open .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
body.nav-open .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ===== Home hero ===== */
.hero{ position:relative; overflow:hidden; min-height:92vh; display:flex; align-items:center; color:#fff; }
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img{ width:100%; height:100%; object-fit:cover; object-position:center 30%; transform:scale(1.04); }
.hero-bg::after{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(20,20,31,.78) 0%, rgba(20,20,31,.6) 45%, rgba(20,20,31,.92) 100%),
    linear-gradient(100deg, rgba(46,42,134,.55), rgba(20,20,31,0) 55%);
}
.hero-rings{ position:absolute; z-index:1; pointer-events:none; opacity:.5; }
.hero-rings.r1{ top:-160px; right:-160px; width:560px; height:560px; animation:spin 90s linear infinite; }
.hero-rings.r2{ bottom:-220px; left:-200px; width:480px; height:480px; animation:spin-rev 120s linear infinite; opacity:.28; }
@keyframes spin{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
@keyframes spin-rev{ from{ transform:rotate(360deg); } to{ transform:rotate(0deg); } }

.hero-inner{ position:relative; z-index:2; padding:120px 0 90px; max-width:720px; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono);
  font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; color:#d7d4ff;
  border:1px solid rgba(255,255,255,.25); padding:7px 14px; border-radius:999px; margin-bottom:26px;
  animation:fadeUp .8s cubic-bezier(.16,1,.3,1) both;
}
.hero-badge .dot{ width:6px; height:6px; border-radius:50%; background:var(--cyan); box-shadow:0 0 0 4px rgba(79,184,201,.25); }
.hero h1{ font-size:clamp(36px,5.4vw,64px); line-height:1.06; letter-spacing:-.01em; max-width:16ch; margin-bottom:22px; color:#fff; animation:fadeUp .8s cubic-bezier(.16,1,.3,1) .1s both; }
.hero h1 em{ font-style:normal; color:var(--cyan); }
.hero p.lead{ font-size:18px; color:rgba(255,255,255,.82); max-width:52ch; line-height:1.7; margin-bottom:36px; animation:fadeUp .8s cubic-bezier(.16,1,.3,1) .2s both; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; animation:fadeUp .8s cubic-bezier(.16,1,.3,1) .3s both; }
.hero-actions .btn{ width:160px; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }

.scroll-cue{
  position:absolute; bottom:30px; left:50%; transform:translateX(-50%); z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:8px; color:rgba(255,255,255,.7);
  font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase;
}
.scroll-cue .stick{ position:relative; width:1px; height:34px; background:linear-gradient(180deg,rgba(255,255,255,.7),transparent); animation:bob 1.8s ease-in-out infinite; }
.scroll-cue .stick::after{
  content:""; position:absolute; left:50%; bottom:0; width:7px; height:7px;
  border-right:1.5px solid rgba(255,255,255,.85); border-bottom:1.5px solid rgba(255,255,255,.85);
  transform:translate(-50%,-30%) rotate(45deg);
}
@keyframes bob{ 0%,100%{ transform:translateY(0); opacity:.5; } 50%{ transform:translateY(8px); opacity:1; } }

/* ===== Page hero (inner pages) ===== */
.page-hero{
  position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--ink), var(--indigo) 130%);
  color:#fff; padding:88px 0 74px; text-align:center;
}
.page-hero .hero-rings{ opacity:.3; }
.page-hero .hero-rings.r1{ top:-200px; right:-160px; width:460px; height:460px; }
.page-hero .hero-rings.r2{ bottom:-260px; left:-180px; width:400px; height:400px; }
.page-hero .container{ position:relative; z-index:1; }
.page-hero h1{ color:#fff; font-size:clamp(30px,4vw,44px); margin-bottom:12px; }
.page-hero p{ color:rgba(255,255,255,.78); margin:0 0 16px; }
.breadcrumb{ font-size:13.5px; color:rgba(255,255,255,.6); font-family:var(--font-mono); letter-spacing:.03em; }
.breadcrumb a:hover{ color:#fff; }

/* ===== Trust strip ===== */
.trust-strip{ background:var(--ink); color:#e9e8f5; padding:20px 0; }
.trust-strip .container{ display:flex; gap:34px; flex-wrap:wrap; justify-content:center; font-size:13.5px; font-weight:600; }
.trust-strip .container > div{ display:flex; align-items:center; gap:8px; }
.trust-strip .container > div::before{ content:""; width:5px; height:5px; border-radius:50%; background:var(--cyan); flex-shrink:0; }

/* =========================================================
   INDEX SIDEBAR — sticky scrollspy section (shared pattern)
========================================================= */
.index-section{ padding:110px 0 40px; }
.index-section.has-cta{ padding-bottom:100px; }
.index-layout{ display:grid; grid-template-columns:250px 1fr; gap:76px; align-items:start; }
.index-sidebar{ position:sticky; top:104px; align-self:start; }
.index-title{ font-family:var(--font-mono); font-size:12px; letter-spacing:.22em; color:var(--slate); margin-bottom:22px; }
.index-dropdown-toggle{ display:none; }
.index-list{ position:relative; padding-left:16px; }
.index-list::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:1px; background:var(--hairline); }
.index-indicator{
  position:absolute; left:-1px; top:0; width:2px; height:1px; background:var(--indigo);
  transform-origin:top; transform:translateY(0) scaleY(44);
  transition:transform .45s cubic-bezier(.16,1,.3,1);
}
.index-item{
  display:block; padding:11px 0 11px 14px; font-family:var(--font-mono); font-size:13px;
  letter-spacing:.04em; color:var(--slate); border-bottom:1px solid var(--hairline);
  transition:color .3s ease;
}
.index-item-label{ display:block; transition:transform .3s ease; }
.index-item:last-child{ border-bottom:none; }
.index-item b{ color:var(--ink); font-weight:600; margin-right:8px; }
.index-item:hover{ color:var(--indigo); }
.index-item.is-active{ color:var(--indigo); }
.index-item:hover .index-item-label, .index-item.is-active .index-item-label{ transform:translateX(6px); }
.index-item.is-active b{ color:var(--indigo); }
.index-meta{ margin-top:34px; font-family:var(--font-mono); font-size:11.5px; color:var(--slate); line-height:2; }
.index-meta b{ color:var(--ink); }

.index-content{ display:flex; flex-direction:column; gap:150px; }
.idx-block{ scroll-margin-top:120px; }
.idx-kicker{
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.14em; color:var(--indigo);
  text-transform:uppercase; margin-bottom:14px; display:flex; align-items:center; gap:10px;
}
.idx-kicker::before{ content:""; width:20px; height:1px; background:var(--indigo); }
.idx-block h2{ font-size:clamp(28px,3.2vw,38px); margin-bottom:18px; }
.idx-block > p.desc{ color:var(--slate); font-size:16px; max-width:64ch; line-height:1.7; margin-bottom:44px; }

.svc-heading{ display:flex; align-items:center; gap:18px; margin-bottom:18px; }
.svc-heading .icon-box{ margin-bottom:0; flex-shrink:0; }
.svc-heading h2{ margin-bottom:0; }

.svc-split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,460px); column-gap:64px; align-items:start; }
.svc-split > .svc-heading{ grid-column:1 / -1; }
.svc-split > p.desc{ grid-column:1; margin-bottom:0; }
.svc-split.svc-wide > p.desc{ grid-column:1 / -1; max-width:none; }
.svc-split > .svc-rates{ grid-column:2; width:100%; max-width:460px; }
.svc-overview{ grid-column:1; min-width:0; }
.svc-overview .desc{ color:var(--slate); font-size:16px; line-height:1.7; margin:0 0 28px; }
.svc-overview h3{ font-size:18px; margin:0 0 14px; }
.svc-scope{ display:grid; gap:12px; color:var(--slate); font-size:14.5px; line-height:1.65; }
.svc-scope li{ position:relative; padding-left:20px; }
.svc-scope li::before{ content:""; position:absolute; left:0; top:.65em; width:5px; height:5px; border-radius:50%; background:var(--violet); }
#faq > h2{ margin-bottom:32px; }
#services > h2, #process > h2, #why > h2, #work > h2{ margin-bottom:40px; }

/* ===== Service rate tables ===== */
.rate-tables{ display:flex; flex-direction:column; gap:18px; }

.rate-card{
  border:1px solid var(--hairline); border-radius:var(--radius-md); overflow:hidden;
  box-shadow:var(--shadow-sm); background:#fff;
}
.rate-card-label{
  font-family:var(--font-head); font-size:16px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--indigo); text-align:left; padding:12px 14px 10px;
}

.rate-table{ width:100%; border-collapse:collapse; font-size:14.5px; text-align:center; }
.rate-table thead th{
  background:var(--indigo); color:#fff; font-family:var(--font-head); font-weight:600;
  padding:10px 12px; text-align:center;
}
.rate-table thead tr.sub-row th{
  background:var(--violet); font-family:var(--font-body); font-size:13px; font-weight:600; padding:7px 12px;
}
.rate-table tbody td{ padding:8px 12px; color:var(--ink); }
.rate-table th, .rate-table td{ border:1px solid rgba(46,42,134,.3); }
.rate-table thead th{ border-color:rgba(255,255,255,.45); }
.rate-table tr > :first-child{ border-left:none; }
.rate-table tr > :last-child{ border-right:none; }
.rate-table thead tr:first-child > *{ border-top:none; }
.rate-table tbody tr:last-child > *{ border-bottom:none; }
.rate-table tbody tr:nth-child(even){ background:rgba(46,42,134,.03); }
.rate-table tbody td:first-child{ color:var(--slate); font-family:var(--font-mono); font-size:13.5px; }
.rate-table tbody td:not(:first-child){ font-weight:600; }

@media (max-width:960px){
  .svc-split{ grid-template-columns:1fr; }
  .svc-split > .svc-rates{ grid-column:1; margin-top:32px; }
}

@media (max-width:960px){
  .index-layout{ grid-template-columns:1fr; gap:40px; }
  .index-sidebar{
    position:sticky; top:var(--header-h); z-index:20;
    background:var(--paper); padding:14px 24px;
    width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
  }
  .index-content{ gap:96px; }
  .index-contact-wrap{ margin-top:96px; }

  .index-title{ margin-bottom:10px; }
  .index-dropdown-toggle{
    display:flex; align-items:center; justify-content:space-between; width:100%;
    background:#fff; border:1px solid var(--hairline); border-radius:var(--radius-md);
    padding:14px 18px; cursor:pointer; font-family:var(--font-mono); font-size:13px;
    letter-spacing:.04em; color:var(--ink); box-shadow:var(--shadow-sm);
  }
  .index-dropdown-label b{ color:var(--indigo); font-weight:600; margin-right:8px; }
  .index-dropdown-chevron{ width:15px; height:15px; flex-shrink:0; color:var(--slate); transition:transform .3s cubic-bezier(.16,1,.3,1); }
  .index-sidebar.is-open .index-dropdown-chevron{ transform:rotate(180deg); }

  .index-indicator{ display:none; }
  .index-list{
    position:absolute; top:100%; left:0; right:0; margin-top:0;
    background:#fff; border-radius:var(--radius-md);
    max-height:0; overflow:hidden; border:0;
    transition:max-height .35s cubic-bezier(.16,1,.3,1), margin-top .35s cubic-bezier(.16,1,.3,1);
    z-index:21;
  }
  .index-list::before{ display:none; }
  .index-sidebar.is-open .index-list{
    max-height:400px; margin-top:10px; padding:6px 16px;
    border:1px solid var(--hairline); box-shadow:var(--shadow-md);
  }
  .index-item{ padding:12px 4px; }
  .index-meta{ display:none; }

  /* Sticky header + sticky index bar stack on top of each other here, so anchor
     links and the scrollspy band both need to clear the combined height, not
     just the header's. */
  .idx-block{ scroll-margin-top:var(--idx-scroll-offset, 160px); }
}

.index-contact-wrap{ margin-top:150px; }

/* ===== Service rows ===== */
.svc-list{ display:flex; flex-direction:column; }
.svc-row{ display:flex; gap:20px; align-items:flex-start; padding:26px 0; border-bottom:1px solid var(--hairline); scroll-margin-top:120px; }
.svc-row:first-child{ padding-top:0; }
.svc-icon{
  width:46px; height:46px; border-radius:11px; background:rgba(46,42,134,.08); color:var(--indigo);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.svc-icon svg{ width:22px; height:22px; }
.svc-body{ flex:1; display:flex; justify-content:space-between; gap:20px; align-items:center; min-width:0; }
.svc-body > div{ min-width:0; }
.svc-name{ font-family:var(--font-head); font-weight:600; font-size:18px; margin-bottom:6px; }
.svc-desc{ font-size:14px; color:var(--slate); max-width:52ch; line-height:1.6; }
.svc-link{
  width:38px; height:38px; border-radius:50%; border:1.5px solid var(--indigo); color:var(--indigo);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:background .18s ease, color .18s ease, transform .18s ease;
}
.svc-link svg{ width:17px; height:17px; }
.svc-link:hover{ background:var(--indigo); color:#fff; transform:translateX(2px); }

/* ===== Process timeline ===== */
.timeline{ position:relative; padding-left:38px; }
.timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:var(--hairline); }
.timeline-fill{ position:absolute; left:9px; top:6px; width:2px; height:100%; background:linear-gradient(180deg,var(--indigo),var(--violet)); transform:scaleY(0); transform-origin:top; transition:transform 1.1s cubic-bezier(.16,1,.3,1); }
.tl-step{ position:relative; padding-bottom:44px; }
.tl-step:last-child{ padding-bottom:0; }
.tl-dot{
  position:absolute; left:-38px; top:2px; width:20px; height:20px; border-radius:50%;
  background:var(--paper); border:2px solid var(--hairline); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:10px; font-weight:700; color:var(--slate); transition:all .4s ease;
}
.tl-step.is-in .tl-dot{ border-color:var(--indigo); color:var(--indigo); background:#fff; }
.tl-step h3{ font-family:var(--font-head); font-size:18px; font-weight:600; margin-bottom:6px; }
.tl-step p{ color:var(--slate); font-size:14.5px; max-width:50ch; line-height:1.6; margin:0; }

/* ===== Why us / feature list ===== */
.why-grid, .split{ display:grid; grid-template-columns:1fr 1.05fr; gap:48px; align-items:center; }
.why-photo, .split img{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.split img{ width:100%; height:420px; object-fit:cover; }
.why-photo img{ width:100%; height:360px; object-fit:cover; transition:transform .6s cubic-bezier(.16,1,.3,1); }
.why-photo:hover img{ transform:scale(1.06); }
.why-list, .feature-list{ display:flex; flex-direction:column; gap:22px; margin-top:0; }
.why-item, .feature-item{ display:flex; gap:16px; }
.why-check, .feature-item .check{
  width:30px; height:30px; border-radius:9px; background:rgba(46,42,134,.08); color:var(--indigo);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-weight:700; font-size:14px;
}
.why-item h3, .feature-item h4{ font-family:var(--font-head); font-size:16px; font-weight:600; margin-bottom:4px; }
.why-item p, .feature-item p{ font-size:14px; color:var(--slate); line-height:1.6; margin:0; }

/* ===== Cards / grids ===== */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }

.card{
  background:#fff; border:1px solid var(--hairline); border-radius:var(--radius-md);
  padding:30px 26px; box-shadow:var(--shadow-sm); transition:transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease; height:100%;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.icon-box{
  width:52px; height:52px; border-radius:var(--radius-sm); background:rgba(46,42,134,.08); color:var(--indigo);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.icon-box svg{ width:26px; height:26px; }
.value-card{ text-align:center; padding:30px 22px; }
.value-card .icon-box{ margin:0 auto 18px; }
.value-card h4{ font-size:16.5px; margin-bottom:8px; }
.value-card p{ font-size:14px; color:var(--slate); margin:0; line-height:1.6; }
.value-card p a:hover{ color:var(--indigo); }
.value-card .alt-number{ display:block; margin-top:2px; font-size:13px; }
.value-card .btn{ margin-top:20px; padding:10px 22px; font-size:13.5px; }

/* ===== Gallery ===== */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
#work .gallery-grid{ grid-template-columns:repeat(2,minmax(0,calc((100% - 48px) / 2.05))); gap:24px 48px; }
.gallery-item{ margin:0; border-radius:var(--radius-md); overflow:hidden; position:relative; box-shadow:var(--shadow-sm); aspect-ratio:4/5; background:var(--ink); }
#work .gallery-item{ height:360px; aspect-ratio:auto; border-radius:var(--radius-lg); }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.16,1,.3,1); }
.gallery-item:hover img{ transform:scale(1.08); }
.gallery-tag{
  position:absolute; left:0; right:0; bottom:0; padding:16px;
  background:linear-gradient(180deg, transparent, rgba(20,20,31,.85));
  color:#fff; font-family:var(--font-mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase;
  transform:translateY(6px); opacity:.9; transition:transform .35s ease, opacity .35s ease;
}
.gallery-item:hover .gallery-tag{ transform:translateY(0); opacity:1; }

/* Bento-style mosaic variant (gallery.html), modeled on images/masonry_gallery.jpeg */
.gallery-grid.gallery-grid-masonry{ grid-template-columns:repeat(2,1fr); gap:12px; }
.gallery-grid.gallery-grid-masonry .gallery-item{ aspect-ratio:1/1; }
@media (min-width:721px){
  .gallery-grid.gallery-grid-masonry{ grid-template-columns:repeat(4,1fr); grid-auto-rows:274px; grid-auto-flow:dense; gap:12px; }
  .gallery-grid.gallery-grid-masonry .gallery-item{ aspect-ratio:auto; }
  .gallery-grid.gallery-grid-masonry .gallery-item:nth-child(2){ grid-row:span 2; }
  .gallery-grid.gallery-grid-masonry .gallery-item:nth-child(3){ grid-column:span 2; }
  .gallery-grid.gallery-grid-masonry .gallery-item:nth-child(9){ grid-column:span 2; }
}
.filter-bar{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:44px; }
.filter-btn{
  padding:10px 20px; border-radius:999px; border:1px solid var(--hairline); background:#fff;
  font-weight:600; font-size:13.5px; cursor:pointer; color:var(--ink); transition:all .2s ease; font-family:var(--font-body);
}
.filter-btn:hover{ border-color:var(--indigo); color:var(--indigo); }
.filter-btn.active{ background:var(--indigo); color:#fff; border-color:var(--indigo); }

/* ===== FAQ ===== */
.faq-list{ display:flex; flex-direction:column; gap:14px; }
.faq-item{ background:#fff; border:1px solid var(--hairline); border-radius:var(--radius-md); overflow:hidden; }
.faq-question{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:20px 24px; background:none; border:none; cursor:pointer; text-align:left;
  font-family:var(--font-head); font-weight:600; font-size:15.5px; color:var(--ink);
}
.faq-question .plus{ font-size:20px; color:var(--indigo); transition:transform .25s ease; flex-shrink:0; }
.faq-item.open .faq-question .plus{ transform:rotate(45deg); }
.faq-answer{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .3s ease; }
.faq-item.open .faq-answer{ grid-template-rows:1fr; }
.faq-answer p{ min-height:0; overflow:hidden; padding:0 24px; margin:0; color:var(--slate); font-size:14.5px; line-height:1.6; }
.faq-answer p::after{ content:""; display:block; height:20px; }

/* ===== CTA band / contact card ===== */
.cta-band{
  background:linear-gradient(135deg, var(--indigo), #211d6b);
  color:#fff; border-radius:var(--radius-lg); padding:52px; position:relative; overflow:hidden;
  display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:nowrap;
}
.cta-band::after{
  content:""; position:absolute; right:-90px; top:-90px; width:280px; height:280px; border-radius:50%;
  background:radial-gradient(circle, rgba(79,184,201,.32), transparent 70%);
}
.cta-band > *{ position:relative; z-index:1; }
.cta-band h3{ color:#fff; font-size:26px; margin-bottom:8px; }
.cta-band p{ color:rgba(255,255,255,.82); margin:0; }
.cta-band .actions{ display:flex; gap:14px; flex-wrap:nowrap; flex-shrink:0; }
.cta-band .actions .btn{ width:160px; }
.cta-band .btn-outline{ border-color:rgba(255,255,255,.35); }
.cta-band .btn-accent{ background:var(--violet); color:var(--paper); transition:background .2s,transform .2s; }
.cta-band .btn-accent:hover{ background:color-mix(in srgb, var(--violet) 82%, var(--paper)); transform:translateY(-2px); }
.cta-band .btn-outline:hover{ color:var(--violet); }

/* ===== Contact ===== */
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ margin-bottom:20px; }
.form-group label{ display:block; font-weight:600; font-size:13.5px; color:var(--ink); margin-bottom:8px; }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:13px 16px; border:1px solid var(--hairline); border-radius:var(--radius-sm);
  font-family:inherit; font-size:14.5px; color:var(--ink); background:#faf9f6;
  transition:border-color .15s ease, background .15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color:var(--indigo); background:#fff;
}
.form-group textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:13px; color:var(--slate); margin-top:14px; }
.form-success{
  display:none; background:rgba(79,184,201,.12); border:1px solid rgba(79,184,201,.4); color:#146672;
  padding:16px 18px; border-radius:var(--radius-sm); font-size:14.5px; font-weight:600; margin-bottom:20px;
}
.form-success.show{ display:block; }
.map-embed{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); height:340px; border:1px solid var(--hairline); }
.map-embed iframe{ width:100%; height:100%; border:0; }

/* ===== Appointment booking form ===== */
.appt-layout{ display:grid; grid-template-columns:.85fr 1.3fr; gap:48px; align-items:start; }
.appt-side{ position:sticky; top:104px; }
.appt-steps{ background:#fff; border:1px solid var(--hairline); border-radius:var(--radius-md); padding:26px; box-shadow:var(--shadow-sm); margin-bottom:18px; }
.appt-steps h4{ font-size:15px; margin-bottom:18px; }
.appt-step-item{ display:flex; gap:14px; margin-bottom:18px; }
.appt-step-item:last-child{ margin-bottom:0; }
.appt-step-num{
  width:26px; height:26px; border-radius:50%; background:rgba(46,42,134,.08); color:var(--indigo);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-family:var(--font-mono); font-weight:700; font-size:12px;
}
.appt-step-item p{ margin:0; font-size:13.5px; color:var(--slate); line-height:1.6; padding-top:3px; }
.appt-note{
  background:rgba(79,184,201,.1); border:1px solid rgba(79,184,201,.35); border-radius:var(--radius-sm);
  padding:16px 18px; font-size:13.5px; color:#146672; line-height:1.6;
}
.appt-note a{ font-weight:700; text-decoration:underline; }

.appt-form{ background:#fff; border:1px solid var(--hairline); border-radius:var(--radius-lg); padding:44px; box-shadow:var(--shadow-sm); }
.appt-fieldset{ margin-bottom:36px; border:0; padding:0; min-width:0; }
.appt-fieldset:last-of-type{ margin-bottom:0; }
.appt-fieldset legend{
  display:flex; align-items:center; gap:10px; width:100%; padding-inline:0;
  font-family:var(--font-mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--indigo);
  font-weight:600; margin-bottom:22px; padding-bottom:14px; border-bottom:1px solid var(--hairline);
}
.appt-fieldset legend .n{
  width:22px; height:22px; border-radius:50%; background:var(--indigo); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:11px; flex-shrink:0;
}

.option-group{ display:flex; flex-wrap:wrap; gap:10px; }
.option-chip{ position:relative; }
.option-chip input{ position:absolute; opacity:0; width:1px; height:1px; }
.option-chip label{
  display:flex; align-items:center; gap:8px; padding:10px 18px; border:1.5px solid var(--hairline);
  border-radius:999px; font-size:13.5px; font-weight:600; color:var(--ink); cursor:pointer;
  background:#faf9f6; transition:all .2s cubic-bezier(.16,1,.3,1); user-select:none;
}
.option-chip label:hover{ border-color:var(--violet); color:var(--indigo); }
.option-chip input:checked + label{ background:var(--indigo); color:#fff; border-color:var(--indigo); box-shadow:0 8px 18px -10px rgba(46,42,134,.55); }
.option-chip input:focus-visible + label{ outline:2px solid var(--violet); outline-offset:2px; }

@media (max-width:960px){
  .appt-layout{ grid-template-columns:1fr; }
  .appt-side{ position:static; }
  .appt-form{ padding:30px 24px; }
}

/* ===== Footer ===== */
.site-footer{ background:var(--ink); color:#a9a8bd; padding:72px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:44px; border-bottom:1px solid var(--hairline-dark); }
.footer-brand{ display:flex; align-items:center; gap:10px; color:#fff; font-family:var(--font-head); font-weight:700; font-size:18px; margin-bottom:16px; }
.footer-col h2{ color:#fff; font-size:13.5px; line-height:1.6; margin:1.67em 0 20px; letter-spacing:.06em; text-transform:uppercase; font-family:var(--font-mono); font-weight:600; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14.5px; transition:color .2s ease; }
.footer-col a:hover{ color:#fff; }
.footer-col p{ font-size:14.5px; line-height:1.7; }
.social-row{ display:flex; gap:10px; margin-top:20px; }
.social-row a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background .2s ease; }
.social-row a:hover{ background:var(--cyan); color:#0d2b30; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; padding:22px 0; font-size:12.5px; }
.footer-contact-item{ display:flex; gap:12px; margin-bottom:14px; font-size:14.5px; }
.footer-contact-item svg{ flex-shrink:0; margin-top:3px; color:var(--cyan); }
.footer-contact-item a:hover{ color:#fff; }

/* ===== Back to top ===== */
.back-to-top{
  position:fixed; right:24px; bottom:24px; width:46px; height:46px; border-radius:50%;
  background:var(--indigo); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); opacity:0; pointer-events:none; transform:translateY(10px);
  transition:opacity .2s ease, transform .2s ease, background .2s ease; z-index:90; cursor:pointer; border:none;
}
.back-to-top:hover{ background:var(--violet); }
.back-to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }

/* ===== Quick actions dock ===== */
.quick-actions{
  position:fixed; left:0; bottom:24px; z-index:85;
  display:flex; flex-direction:row; align-items:stretch;
  background:linear-gradient(135deg, var(--indigo), #211d6b);
  border-radius:0 var(--radius-md) var(--radius-md) 0;
  box-shadow:var(--shadow-lg);
  overflow:hidden;
}
.qa-toggle{
  display:flex; align-items:center; justify-content:center;
  width:40px; flex-shrink:0; padding:0;
  background:rgba(255,255,255,.1); color:#fff; border:none; cursor:pointer;
}
.qa-toggle svg{ width:15px; height:15px; transition:transform .35s ease; }
.quick-actions.is-collapsed .qa-toggle svg{ transform:rotate(180deg); }
.qa-item{
  display:grid; grid-template-columns:70px; color:#fff; text-decoration:none; white-space:nowrap;
  border-left:1px solid rgba(255,255,255,.12);
  overflow:hidden;
  transition:background .2s ease, grid-template-columns .35s cubic-bezier(.16,1,.3,1), border-color .35s ease;
}
.qa-item:hover{ background:rgba(255,255,255,.1); }
.quick-actions.is-collapsed .qa-item{ grid-template-columns:0px; border-left-color:transparent; }
.qa-item-inner{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  min-width:0; overflow:hidden; padding:9px 4px;
  transition:opacity .2s ease;
}
.quick-actions.is-collapsed .qa-item-inner{ opacity:0; }
.qa-icon{
  width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,.16);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.qa-icon svg{ width:13px; height:13px; }
.qa-label{ font-family:var(--font-mono); font-size:11px; font-weight:600; letter-spacing:.02em; text-transform:uppercase; }

@media (max-width:640px){
  .quick-actions{ left:0; bottom:24px; }
}

/* ===== Utility ===== */
.text-center{ text-align:center; }
.mt-40{ margin-top:40px; }

/* ===== Responsive ===== */
@media (max-width:1024px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .why-grid, .split{ grid-template-columns:1fr; gap:40px; }
  #work .gallery-grid{ grid-template-columns:1fr; }
  .split img{ height:320px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:720px){
  .nav-cta .btn{ display:none; }
  .nav-toggle{ display:flex; }
  .topbar-links{ display:none; }
  .site-header .container{ padding-left:28px; padding-right:28px; }
  .hero .container{ padding-left:28px; padding-right:28px; }

  /* backdrop-filter on .site-header creates a containing block for fixed-position
     descendants, trapping the sliding panel inside the header's own height instead
     of the viewport. Drop the filter while the menu is open so the panel below can
     use the viewport as its containing block again. */
  body.nav-open .site-header{ backdrop-filter:none; -webkit-backdrop-filter:none; }

  .nav-links{
    display:flex; flex-direction:column; align-items:flex-start; position:fixed; top:var(--header-h); left:0; right:0;
    background:#fff; padding:20px 24px 28px; gap:10px;
    box-shadow:0 24px 48px -24px rgba(20,20,31,.35); border-bottom:1px solid var(--hairline); z-index:1;
    transform:translateX(100%);
    transition:transform .35s cubic-bezier(.16,1,.3,1), visibility 0s linear .35s;
    visibility:hidden;
  }
  body.nav-open .nav-links{
    transform:translateX(0);
    visibility:visible;
    transition:transform .35s cubic-bezier(.16,1,.3,1), visibility 0s linear 0s;
  }
  body.nav-open .nav-cta{ display:flex; margin-top:12px; }
  body.nav-open .nav-cta .btn{ display:inline-flex; width:100%; }

  .trust-strip{ display:none; }
  .section{ padding:70px 0; }
  .index-section{ padding:80px 0 40px; }
  .index-section.has-cta{ padding-bottom:70px; }
  .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr; }
  /* Contact page: keep the ways-to-reach-us cards in two columns on phones */
  .contact-methods{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .contact-methods .value-card{ padding:22px 12px; }
  .contact-methods .value-card p{ font-size:13px; overflow-wrap:anywhere; }
  .contact-methods .value-card .btn{ padding:9px 14px; font-size:12.5px; }
  .form-row{ grid-template-columns:1fr; }
  .cta-band{ padding:36px; flex-direction:column; text-align:center; }
  .cta-band .actions{ width:100%; }
  .cta-band .actions .btn{ min-width:0; width:auto; flex:1; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .gallery-grid{ grid-template-columns:1fr; }
  #work .gallery-grid{ grid-template-columns:1fr; }
}
