:root{
  --gutter: clamp(16px, 4vw, 28px);
  --gap: clamp(14px, 2.2vw, 22px);
  --pad: clamp(16px, 2.5vw, 22px);
  --pad-lg: clamp(18px, 3vw, 26px);

  --bg: #0b1220;
  --surface: #0f1a2f;
  --text: #0c1422;
  --muted: #5a6b82;
  --white: #ffffff;
  --brand: #0a7f86;
  --brand-2:#2aa8b0;
  --line: rgba(12,20,34,.10);
  --shadow: 0 18px 50px rgba(8, 15, 28, 0.18);
  --radius: 18px;
  --radius-sm: 14px;
  --max: 1120px;
  --focus: 0 0 0 4px rgba(10, 127, 134, .25);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background: #f6f8fb;
  line-height: 1.6;
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
button{font-family:inherit}
:focus-visible{outline:none; box-shadow: var(--focus); border-radius: 10px}

.container{max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);}
.section{padding-block: clamp(56px, 7vw, 84px);}
.section.tight{padding-block: clamp(40px, 5vw, 60px);}
.grid{display:grid; gap: var(--gap);}
.two-col{grid-template-columns: 1.1fr .9fr}
@media (max-width: 900px){ .two-col{grid-template-columns: 1fr} }

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  background: rgba(10,127,134,.10);
  color: var(--brand);
  border: 1px solid rgba(10,127,134,.20);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}
.badge svg{width:18px; height:18px}

/* Header */
.header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(246,248,251,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap{
  width: 100%;
  display:grid;
  grid-template-columns: auto 1fr auto auto;
  align-items:center;
  gap: 12px;
  padding: 12px 0;
}
.brand{display:flex; align-items:center; gap: 12px}
.brand img{width: 140px; height:auto}
.nav{display:flex; align-items:center; gap: 18px}
.nav a{
  padding: 10px 12px;
  border-radius: 12px;
  color: #1a2a3f;
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover{background: rgba(12,20,34,.06)}
.nav a.active{background: rgba(10,127,134,.12); color: var(--brand)}
.header-actions{display:flex; align-items:center; gap: 10px}
.btn{
  border: 1px solid rgba(12,20,34,.14);
  background: var(--white);
  color: #0c1422;
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{background: rgba(12,20,34,.03)}
.btn:active{transform: translateY(1px)}
.btn.primary{background: var(--brand); border-color: var(--brand); color: var(--white)}
.btn.primary:hover{background: #08757c}
.btn.ghost{background: transparent}
.menu-btn{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border: 1px solid rgba(12,20,34,.14);
  background: var(--white);
  cursor:pointer;
}
.menu-btn svg{width:20px; height:20px; margin:auto}
@media (max-width: 900px){
  .nav{display:none}
  .header-actions .btn{display:none}
  .menu-btn{display:grid}
}

/* Mobile drawer */
.drawer{
  position: fixed;
  inset: 0;
  background: rgba(11,18,32,.44);
  display:none;
  z-index: 90;
}
.drawer.open{display:flex}
.drawer-panel{
  position:absolute;
  right: 14px; top: 14px;
  width: min(380px, calc(100% - 28px));
  background: var(--white);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.drawer-top{display:flex; align-items:center; justify-content:space-between; margin-bottom: 8px}
.drawer-nav{display:grid; gap: 8px; padding: 10px 0}
.drawer-nav a{
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(12,20,34,.03);
  font-weight: 700;
}
.drawer-nav a:hover{background: rgba(10,127,134,.10)}
.drawer-actions{display:grid; gap: 10px; padding-top: 10px}

/* Hero */
.hero{
  position: relative;
  padding: 84px 0 72px;
  overflow:hidden;
  color: var(--white);
  background: #081022;
}
.hero::before{
  content:"";
  position:absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8,16,34,.92), rgba(8,16,34,.55)),
    url("assets/images/hero-city.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}
.hero .content{position: relative}
.hero h1{
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 16px 0 12px;
}
.hero p{
  max-width: 58ch;
  font-size: 18px;
  color: rgba(255,255,255,.86);
  margin: 0 0 20px;
}
.hero .cta{display:flex; gap: 12px; flex-wrap: wrap}
.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 26px;
}
.metric{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.metric .k{font-weight: 900; font-size: 20px}
.metric .v{font-size: 13px; color: rgba(255,255,255,.75)}
@media (max-width: 900px){
  .hero{padding: 70px 0 54px}
  .hero-metrics{grid-template-columns: 1fr}
}

/* Typography + cards */
.kicker{
  font-family: var(--mono);
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(12,20,34,.58);
}
.h2{
  font-size: 30px;
  margin: 8px 0 10px;
  letter-spacing: -0.02em;
}
.lead{color: var(--muted); margin: 0 0 18px; max-width: 70ch}

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(10,20,40,.06);
}
.card.pad{padding: 20px}
.card.pad-lg{padding: 26px}
.card h3{margin: 10px 0 6px; font-size: 18px}
.card p{margin: 0; color: var(--muted)}
.card .icon{
  width: 42px; height: 42px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(10,127,134,.10);
  border: 1px solid rgba(10,127,134,.18);
  color: var(--brand);
}
.card .icon svg{width:20px; height:20px}
.cards{display:grid; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr))}
@media (max-width: 980px){ .cards{grid-template-columns: 1fr 1fr} }
@media (max-width: 640px){ .cards{grid-template-columns: 1fr} }

.media{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.media img{width:100%; height: 100%; object-fit: cover}

.list{
  display:grid; gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style:none;
}
.list li{
  display:flex; align-items:flex-start; gap: 10px;
  padding: 12px 12px;
  background: rgba(12,20,34,.03);
  border: 1px solid rgba(12,20,34,.06);
  border-radius: 14px;
}
.check{
  width:22px; height:22px; flex: 0 0 22px;
  border-radius: 8px;
  background: rgba(10,127,134,.12);
  display:grid; place-items:center;
  color: var(--brand);
  border: 1px solid rgba(10,127,134,.18);
}
.check svg{width:16px; height:16px}

/* CTA band */
.band{
  position: relative;
  overflow:hidden;
  color: var(--white);
  background: linear-gradient(120deg, #0a7f86, #083a57);
  border-radius: 26px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.20);
}
.band::after{
  content:"";
  position:absolute;
  inset: -80px -120px auto auto;
  width: 260px; height: 260px;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  transform: rotate(12deg);
}
.band .inner{position: relative; display:flex; align-items:center; justify-content:space-between; gap: 16px; flex-wrap: wrap}
.band h3{margin:0; font-size: 22px}
.band p{margin:6px 0 0; color: rgba(255,255,255,.86); max-width: 70ch}
.band .actions{display:flex; gap: 10px; flex-wrap: wrap}
.band .actions .btn{border-color: rgba(255,255,255,.35)}
.band .actions .btn.primary{background: #07131f; border-color: #07131f}

/* Footer */
.footer{
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: #f6f8fb;
}
.footer .cols{
  display:grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 20px;
}
.footer small{color: var(--muted)}
.footer a.link{color: var(--muted); font-weight: 600}
.footer a.link:hover{color: #1b2b42}
@media (max-width: 900px){
  .footer .cols{grid-template-columns: 1fr}
}

/* Page header */
.page-hero{padding: 52px 0 22px}
.page-hero .crumbs{color: var(--muted); font-size: 14px}
.page-hero h1{
  margin: 10px 0 8px;
  font-size: clamp(30px, 3.2vw, 40px);
  letter-spacing: -0.02em;
}
.page-hero p{margin:0; color: var(--muted); max-width: 72ch}

/* Service sections */
.service{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items:center;
}
.service:nth-child(even) .service-media{order: -1}
@media (max-width: 900px){
  .service{grid-template-columns: 1fr}
  .service:nth-child(even) .service-media{order: 0}
}

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

/* Modal + toast */
.modal{
  position: fixed;
  inset: 0;
  background: rgba(11,18,32,.55);
  display:none;
  z-index: 120;
  padding: 18px;
}
.modal.open{display:grid; place-items:center}
.modal-card{
  width: min(720px, 100%);
  background: var(--white);
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 18px 18px 10px;
}
.modal-head h3{margin:0; font-size: 18px}
.modal-body{padding: 0 18px 18px}
.form{display:grid; gap: 12px; margin-top: 10px}
.field{display:grid; gap: 6px}
label{font-weight: 700; font-size: 13px; color: #1a2a3f}
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(12,20,34,.14);
  background: #fbfcfe;
  font-family: inherit;
  font-size: 14px;
}
textarea{min-height: 120px; resize: vertical}
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: #07131f;
  color: white;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 40px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
  font-weight: 700;
  font-size: 13px;
}
.toast.show{opacity: 1; transform: translateX(-50%) translateY(-2px)}


/* Smaller hero for services page */
.small-hero { height: 40vh !important; }

/* 12-column grid system */
.grid-12{
  display:grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

/* Column span utilities */
.col-1{grid-column: span 1;}
.col-2{grid-column: span 2;}
.col-3{grid-column: span 3;}
.col-4{grid-column: span 4;}
.col-5{grid-column: span 5;}
.col-6{grid-column: span 6;}
.col-7{grid-column: span 7;}
.col-8{grid-column: span 8;}
.col-9{grid-column: span 9;}
.col-10{grid-column: span 10;}
.col-11{grid-column: span 11;}
.col-12{grid-column: span 12;}

/* Convenience layouts that map to 12-col */
.grid.two-col{
  display:grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.grid.two-col > *{ grid-column: span 6; }
.grid.three-col{
  display:grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.grid.three-col > *{ grid-column: span 4; }

/* Footer columns (existing .cols markup) */
.footer .cols{
  display:grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items:start;
}
.footer .cols > :nth-child(1){grid-column: span 4;}
.footer .cols > :nth-child(2){grid-column: span 3;}
.footer .cols > :nth-child(3){grid-column: span 5;}

/* Hero content grid helper */
.hero-grid{
  display:grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}
.hero-grid > .hero-left{grid-column: span 7;}
.hero-grid > .hero-right{grid-column: span 5;}

/* Responsive collapse */
@media (max-width: 980px){
  .grid.two-col > *{ grid-column: span 12; }
  .grid.three-col > *{ grid-column: span 12; }
  .footer .cols > *{ grid-column: span 12; }
  .hero-grid > *{ grid-column: span 12; }
}

/* Hero grid styling */
.home-hero{
  padding-block: clamp(52px, 8vw, 92px);
  background: radial-gradient(1100px 600px at 12% 10%, rgba(10,127,134,.18), transparent 55%),
              radial-gradient(900px 520px at 85% 20%, rgba(255,183,62,.18), transparent 55%);
}
.display{
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
}
.home-hero .lead{max-width: 62ch}
.hero-media{
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 45px rgba(11,18,32,.12);
}
.hero-media img{width:100%; height:100%; object-fit: cover; display:block; aspect-ratio: 4/3}

.hero-badges{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.pill{
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
}

/* Page hero uses the same hero-grid */
.page-hero .hero-media img{aspect-ratio: 16/10}

/* Additional responsive tuning */
@media (max-width: 1200px){
  .hero-grid > .hero-left{grid-column: span 7;}
  .hero-grid > .hero-right{grid-column: span 5;}
}
@media (max-width: 980px){
  .home-hero .actions{flex-direction: column; align-items: stretch;}
  .home-hero .actions .btn{width: 100%; justify-content:center;}
  .hero-media{border-radius: 22px;}
}
@media (max-width: 768px){
  .display{font-size: clamp(30px, 7.2vw, 40px);}
  .home-hero{padding-block: clamp(44px, 9vw, 70px);}
  .page-hero{padding: 42px 0 18px}
  .small-hero{height:auto !important;}
}
@media (max-width: 520px){
  .pill{width: 100%; text-align:center;}
}

/* Sticky header + active nav */
/* Sticky header + active nav */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid var(--line);
}
.header .wrap{ padding: 10px 0; }

.nav a{
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
}
.nav a.active{
  background: rgba(10,127,134,.10);
  color: var(--ink);
  border: 1px solid rgba(10,127,134,.22);
}
.nav a.active::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: rgba(10,127,134,.55);
}

/* Smoother section spacing helpers */
.stack{ display:grid; gap: clamp(14px, 2.2vw, 22px); }
.stack-lg{ display:grid; gap: clamp(18px, 2.8vw, 28px); }
.flow > * + *{ margin-top: clamp(10px, 1.6vw, 16px); }

/* Improve scroll behavior with sticky header */
html{ scroll-padding-top: 90px; }

@media (max-width: 980px){
  .header{ background: rgba(255,255,255,.94); }
}


/* Full-bleed hero */
.page-hero.full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-bottom: 1px solid var(--line);
}
.page-hero.full-bleed .container{padding-inline: var(--gutter);}
.page-hero.full-bleed .hero-media{box-shadow: none; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06);}
.page-hero.full-bleed .hero-media img{aspect-ratio: 21/9;}
@media (max-width: 980px){
  .page-hero.full-bleed .hero-media img{aspect-ratio: 16/10;}
}


/* Premium motion + interactions */

/* Premium motion + interactions */
:root{
  --ease-out: cubic-bezier(.18,.85,.25,1);
  --shadow-soft: 0 12px 32px rgba(11,18,32,.10);
  --shadow-lift: 0 18px 55px rgba(11,18,32,.16);
}

/* Subtle animated gradient glow in heroes */
.home-hero,
.page-hero{
  position: relative;
  overflow: clip;
}
.home-hero::before,
.page-hero::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(700px 420px at 18% 18%, rgba(255,183,62,.24), transparent 55%),
    radial-gradient(760px 480px at 82% 28%, rgba(10,127,134,.22), transparent 58%),
    radial-gradient(620px 420px at 70% 88%, rgba(255,255,255,.14), transparent 55%);
  transform: translate3d(0,0,0);
  animation: heroFloat 10.5s var(--ease-out) infinite alternate;
  pointer-events:none;
}
@keyframes heroFloat{
  from{ transform: translate3d(-1.2%, -0.8%, 0) scale(1.02); }
  to{ transform: translate3d(1.2%, 0.8%, 0) scale(1.06); }
}

/* Buttons: premium hover */
.btn{
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s var(--ease-out), border-color .18s var(--ease-out);
  will-change: transform;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:active{ transform: translateY(0px) scale(.99); box-shadow: none; }

/* Cards: lift + sheen */
.card{
  position: relative;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), border-color .22s var(--ease-out);
}
.card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.0) 35%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.0) 65%);
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  pointer-events:none;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(10,127,134,.25);
}
.card:hover::after{
  opacity: .85;
  transform: translateX(12%);
}

/* Media images: gentle zoom on hover (desktop only) */
.media img, .hero-media img{
  transition: transform .35s var(--ease-out), filter .35s var(--ease-out);
}
@media (hover:hover) and (pointer:fine){
  .media:hover img, .hero-media:hover img{ transform: scale(1.03); filter: saturate(1.02) contrast(1.02); }
}

/* Scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > *{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-stagger.is-visible > *{
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .00s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .06s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .18s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .30s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto !important; }
  .home-hero::before, .page-hero::before{ animation: none !important; }
  .btn, .card, .media img, .hero-media img{ transition: none !important; }
  .reveal, .reveal-stagger > *{ opacity: 1 !important; transform: none !important; }
}


/* Premium typography */

/* Premium typography */
body{ text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1,h2,h3{ letter-spacing: -0.02em; }
.lead{ line-height: 1.55; }

/* Drawer markup compatibility fix */
/* Drawer markup compatibility fix (supports .panel/.top/.links/.actions markup) */
.drawer.open{ display:flex; justify-content:flex-end; align-items:flex-start; }
.drawer .panel{
  position:absolute;
  right: 14px; top: 14px;
  width: min(380px, calc(100% - 28px));
  background: var(--white);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.drawer .top{display:flex; align-items:center; justify-content:space-between; margin-bottom: 8px}
.drawer .links{display:grid; gap: 8px; padding: 10px 0}
.drawer .links a{
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(12,20,34,.03);
  font-weight: 700;
  display:block;
}
.drawer .links a:hover{background: rgba(10,127,134,.10)}
.drawer .actions{display:grid; gap: 10px; padding-top: 10px}

/* Ensure close button looks right */
.icon-btn{
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12,20,34,.03);
  display:inline-flex; align-items:center; justify-content:center;
}
.icon-btn:hover{background: rgba(10,127,134,.10)}

/* Improve tap targets on mobile */
@media (max-width: 980px){
  .drawer .panel{ right: 10px; top: 10px; width: min(420px, calc(100% - 20px)); }
  .drawer .links a{ padding: 14px 14px; }
}


/* Mobile hero layout fixes */

/* Mobile hero layout fixes */
.home-hero .actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.home-hero .actions .btn{
  min-height: 46px;
}
/* On small screens, stack CTAs and prevent overlap */
@media (max-width: 680px){
  .home-hero .actions{
    flex-direction: column;
    align-items: stretch;
  }
  .home-hero .actions .btn{
    width: 100%;
    justify-content: center;
  }
  .hero-badges{
    display:grid;
    gap: 10px;
    margin-top: 14px;
  }
  .pill{
    width: 100%;
  }
  .hero-media img{
    aspect-ratio: 16/10;
  }
}

/* Prevent any accidental overlap from negative margins in hero */
.home-hero .hero-left,
.home-hero .hero-right{
  min-width: 0;
}


/* Hero grid: tighter breakpoint */

@media (max-width: 860px){
  .hero-grid > .hero-left{ grid-column: span 12; }
  .hero-grid > .hero-right{ grid-column: span 12; }
  .home-hero .hero-right{ margin-top: 16px; }
}



/* Artistic line background (image-free premium look) */
.home-hero,
.page-hero{
  background:
    radial-gradient(circle at 15% 20%, rgba(255,183,62,.18), transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(10,127,134,.20), transparent 55%),
    linear-gradient(135deg, #07101e 0%, #0a7f86 100%);
  position: relative;
  overflow: hidden;
}

.home-hero::after,
.page-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(120deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(60deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 120px 120px, 160px 160px;
  opacity:.6;
  animation: lineShift 18s linear infinite;
  pointer-events:none;
}

@keyframes lineShift{
  from{ background-position: 0 0, 0 0; }
  to{ background-position: 200px 200px, -200px 200px; }
}

/* Thin flowing accent lines */
.home-hero::before,
.page-hero::before{
  content:"";
  position:absolute;
  bottom:-10%;
  left:-10%;
  width:140%;
  height:60%;
  background: radial-gradient(ellipse at center, rgba(255,183,62,.25) 0%, transparent 70%);
  transform: rotate(-6deg);
  opacity:.5;
  pointer-events:none;
}

/* Improve text contrast */
.home-hero .hero-left,
.page-hero .hero-left{
  position: relative;
  z-index: 2;
}

/* Remove any empty hero-right spacing */
.hero-right{ display:none !important; }

/* Extra spacing refinement */
@media (max-width: 860px){
  .home-hero, .page-hero{
    padding-top: 80px;
    padding-bottom: 60px;
  }
}

/* Theme: light/dark */
/* Theme: light/dark */
:root{
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: rgba(255,255,255,.72);
  --ink: #0b1220;
  --muted: rgba(11,18,32,.66);
  --line: rgba(11,18,32,.12);

  --brand: #0a7f86;
  --brand-2: #063c40;
  --accent: #ffb73e;

  --shadow: 0 14px 40px rgba(11,18,32,.10);
  --shadow-2: 0 22px 64px rgba(11,18,32,.14);
  --radius: 22px;
}

html[data-theme="dark"]{
  --bg: #060b14;
  --surface: rgba(255,255,255,.06);
  --surface-2: rgba(255,255,255,.08);
  --ink: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.66);
  --line: rgba(255,255,255,.14);

  --brand: #0bb2bd;
  --brand-2: #0a7f86;
  --accent: #ffcf6a;

  --shadow: 0 16px 48px rgba(0,0,0,.40);
  --shadow-2: 0 26px 78px rgba(0,0,0,.52);
}

body{
  background: var(--bg);
  color: var(--ink);
}

/* Minimal premium: calmer typography + spacing */
.kicker{ letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lead{ color: var(--muted); }

/* Cards and surfaces adapt */
.card{
  background: var(--surface);
  border: 1px solid var(--line);
}
.band .inner{
  background: var(--surface);
  border: 1px solid var(--line);
}
.toast{
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* Links */
a.link, .nav a{ color: inherit; }
a.link:hover{ color: var(--brand); }

/* Buttons */
.btn.primary{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 0;
}
.btn{
  background: var(--surface);
  border: 1px solid var(--line);
}
html[data-theme="dark"] .btn{
  background: rgba(255,255,255,.08);
}

/* Artistic line system (image-free, theme-aware) */
.home-hero,
.page-hero{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 16% 18%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 58%),
    radial-gradient(760px 520px at 82% 28%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 58%),
    linear-gradient(135deg, color-mix(in srgb, var(--bg) 70%, #ffffff), color-mix(in srgb, var(--brand) 16%, var(--bg)));
}
html[data-theme="dark"] .home-hero,
html[data-theme="dark"] .page-hero{
  background:
    radial-gradient(780px 480px at 14% 18%, rgba(255,207,106,.16), transparent 60%),
    radial-gradient(820px 560px at 82% 28%, rgba(11,178,189,.16), transparent 60%),
    linear-gradient(135deg, #050a12 0%, #071321 60%, #07101e 100%);
}

/* Subtle animated line mesh */
.home-hero::after,
.page-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(120deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(60deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 140px 140px, 180px 180px;
  opacity:.55;
  animation: lineShift 22s linear infinite;
  pointer-events:none;
}
html[data-theme="dark"] .home-hero::after,
html[data-theme="dark"] .page-hero::after{
  opacity: .35;
}

/* Flowing gold sweep */
.home-hero::before,
.page-hero::before{
  content:"";
  position:absolute;
  bottom:-18%;
  left:-12%;
  width:140%;
  height:65%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 72%);
  transform: rotate(-7deg);
  opacity:.65;
  pointer-events:none;
}

/* Ensure content above */
.home-hero .container,
.page-hero .container{ position: relative; z-index: 2; }

@keyframes lineShift{
  from{ background-position: 0 0, 0 0; }
  to{ background-position: 240px 240px, -240px 240px; }
}

/* Hide hero image column if present */
.hero-right{ display:none !important; }


/* Theme toggle button */
.theme-toggle{
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .18s cubic-bezier(.18,.85,.25,1), box-shadow .18s cubic-bezier(.18,.85,.25,1), background-color .18s;
}
.theme-toggle:hover{ transform: translateY(-1px); box-shadow: var(--shadow); }
.theme-toggle svg{ width: 20px; height: 20px; }

/* Place toggle nicely in header grid */
.header .wrap{ grid-template-columns: auto 1fr auto auto auto; }
@media (max-width: 980px){
  .header .wrap{ grid-template-columns: auto auto auto; }
}


/* Service line illustrations */
.service{
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.service .art-lines{
  position:absolute;
  inset: -20% -10% auto -10%;
  height: 260px;
  opacity: .9;
  pointer-events:none;
  transform: translate3d(0,0,0);
  will-change: transform;
}
html[data-theme="dark"] .service .art-lines{ opacity: .75; }
.service .art-lines img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
  filter: saturate(1.02);
}
.service .content{
  position: relative;
  z-index: 2;
  padding: var(--pad-lg);
  display:grid;
  gap: 10px;
}
.service .content .lead{ margin: 0; }
@media (max-width: 860px){
  .service .art-lines{ height: 220px; }
}


/* Parallax helpers */
[data-parallax]{
  will-change: transform;
  transform: translate3d(0,0,0);
}


/* Frosted artwork overlay for services */
/* Frosted artwork overlay for services */
.service .art-lines{
  z-index: 1;
}
.service::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: .92;
  pointer-events:none;
}
html[data-theme="dark"] .service::before{
  background: rgba(0,0,0,.20);
  opacity: .86;
}
.service .content{
  z-index: 2;
}
/* Ensure headings pop */
.service .content .h2{ color: var(--ink); }
.service .content .lead{ color: var(--muted); }


/* Floating CTA (mobile) */
/* Floating CTA (mobile) */
.floating-cta{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display:none;
}
.floating-cta .inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.floating-cta .label{
  display:grid;
  gap: 2px;
  min-width: 0;
}
.floating-cta .label strong{
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.floating-cta .label span{
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.floating-cta .btn{
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 14px;
}
@media (max-width: 860px){
  .floating-cta{ display:block; }
  body{ padding-bottom: 92px; } /* keep content above CTA */
}


/* FAQ accordion */
/* FAQ accordion */
.faq{
  display:grid;
  gap: var(--gap);
}
.faq details{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 18px;
  font-weight: 800;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .chev{
  width: 34px; height: 34px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(12,20,34,.03);
  transition: transform .2s cubic-bezier(.18,.85,.25,1);
}
.faq details[open] summary .chev{ transform: rotate(180deg); }
.faq .answer{
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.6;
}


/* Micro interactions */
/* Micro interactions */
.nav a{ transition: transform .18s cubic-bezier(.18,.85,.25,1), background-color .18s, border-color .18s; }
.nav a:hover{ transform: translateY(-1px); }
.link{ transition: color .18s, transform .18s cubic-bezier(.18,.85,.25,1); }
.link:hover{ transform: translateY(-1px); }
.brand img{ transition: transform .25s cubic-bezier(.18,.85,.25,1); }
.brand:hover img{ transform: translateY(-1px) scale(1.01); }


/* Dark mode completion fixes */

/* Dark mode completion fixes */
.footer{
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.footer .link, .footer a{ color: var(--muted); }
.footer .link:hover, .footer a:hover{ color: var(--brand); }
.footer strong{ color: var(--ink); }
.footer small{ color: var(--muted); }

/* Ensure any light-only backgrounds inherit theme */
.tint{ background: color-mix(in srgb, var(--surface) 70%, transparent); }
html[data-theme="dark"] .tint{ background: rgba(255,255,255,.03); }

/* Inputs in dark mode */
input, textarea{
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
input::placeholder, textarea::placeholder{ color: color-mix(in srgb, var(--muted) 85%, transparent); }


/* Home/service card icons */

/* Home/service card icons */
.icon{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  background:
    radial-gradient(18px 18px at 28% 28%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%),
    radial-gradient(22px 22px at 70% 65%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 62%),
    color-mix(in srgb, var(--surface) 88%, transparent);
  position: relative;
  overflow: hidden;
}
.icon::before{
  content:"";
  position:absolute;
  inset: 14px 12px auto 12px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 55%, transparent);
  opacity: .75;
}
.icon::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 20px;
  top: 30px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 70%, transparent);
  opacity: .55;
}
html[data-theme="dark"] .icon{
  background:
    radial-gradient(18px 18px at 28% 28%, rgba(255,207,106,.22), transparent 60%),
    radial-gradient(22px 22px at 70% 65%, rgba(11,178,189,.22), transparent 62%),
    rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}


/* Logo dark mode */

/* Logo dark mode (optional subtle) */
html[data-theme="dark"] .footer img,
html[data-theme="dark"] .brand img{
  filter: brightness(1.05) contrast(1.02);
}


/* Section-specific icons */

.icon{ display:inline-flex; align-items:center; justify-content:center; }
.icon img{ width:26px; height:26px; display:block; }
.icon--accent{ color: var(--brand); }
html[data-theme="dark"] .icon--accent{ color: var(--accent); }


/* Band lineart */

.band .inner{ position:relative; overflow:hidden; }
.band .inner::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(520px 280px at 20% 35%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%),
    radial-gradient(480px 260px at 80% 55%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 2px, transparent 2px 18px);
  opacity:.35;
  transform: rotate(-8deg);
  pointer-events:none;
}
html[data-theme="dark"] .band .inner::before{
  opacity:.18;
  background:
    radial-gradient(520px 280px at 20% 35%, rgba(11,178,189,.18), transparent 60%),
    radial-gradient(480px 260px at 80% 55%, rgba(255,207,106,.18), transparent 62%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 2px, transparent 2px 18px);
}
.band .inner > *{ position:relative; z-index:2; }


/* CTA band + sticky header dark mode fixes */

/* CTA band + sticky header dark mode fixes */

/* Ensure primary buttons always have readable text */
.btn.primary{ color: #ffffff !important; }
.btn.primary:hover{ color: #ffffff !important; }

/* Band secondary button/link visibility */
.band .btn:not(.primary){ color: var(--ink) !important; }

/* Sticky header background should adapt to theme */
.header{
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
html[data-theme="dark"] .header{
  background: rgba(6,11,20,.78);
}

/* Ensure header text/links readable */
.header .nav a{ color: var(--ink); }
.header .nav a:hover{ color: var(--brand); }
html[data-theme="dark"] .header .nav a:hover{ color: var(--accent); }

/* Menu button / theme toggle in dark mode */
html[data-theme="dark"] .menu-btn,
html[data-theme="dark"] .theme-toggle{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: var(--ink);
}


/* Force band text dark */

.band{
  color: #111111 !important;
}
.band h2,
.band p,
.band span,
.band a:not(.primary){
  color: #111111 !important;
}
.btn.primary{
  color: #ffffff !important;
}


/* CTA inner polish */

.band .inner{
  border-radius: 24px;
  padding: 48px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.band .inner h2{
  max-width: 820px;
  margin: 0 auto 16px auto;
}

.band .inner p{
  max-width: 720px;
  margin: 0 auto 28px auto;
}

.band .actions{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Improve mobile spacing */
@media (max-width: 768px){
  .band .inner{
    padding: 36px 24px;
  }
}


/* Logo rounding */

.brand img,
.footer img{
  border-radius: 18px;
  overflow: hidden;
}

.brand{
  border-radius: 18px;
  overflow: hidden;
  display: inline-block;
}


/* Dark mode text + icon polish */

/* Force white text in dark mode for service cards and buttons */
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .card p,
html[data-theme="dark"] .section h2,
html[data-theme="dark"] .section p,
html[data-theme="dark"] .btn:not(.primary){
  color: #ffffff !important;
}

/* Improve contrast on muted text */
html[data-theme="dark"] .card p{
  color: rgba(255,255,255,0.85) !important;
}

/* Frosted white icon background in dark mode */
html[data-theme="dark"] .icon{
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Ensure icon svg lines stay visible */
html[data-theme="dark"] .icon svg,
html[data-theme="dark"] .icon img{
  filter: brightness(1.2) contrast(1.1);
}


/* Band dark-mode overrides */

/* Band dark-mode overrides */
html[data-theme="dark"] .band{
  color: rgba(255,255,255,.92) !important;
}
html[data-theme="dark"] .band h2,
html[data-theme="dark"] .band p,
html[data-theme="dark"] .band span,
html[data-theme="dark"] .band a:not(.primary){
  color: rgba(255,255,255,.92) !important;
}

/* Hide slanted line pattern in dark mode (keep subtle glows only) */
html[data-theme="dark"] .band .inner::before{
  background:
    radial-gradient(520px 280px at 20% 35%, rgba(11,178,189,.16), transparent 60%),
    radial-gradient(480px 260px at 80% 55%, rgba(255,207,106,.16), transparent 62%);
  opacity: .22 !important;
  transform: rotate(-6deg);
}


/* Responsive 12-col overrides (mobile) */

/* Responsive 12-col overrides (mobile)
   Fixes “squashed” 3-column layouts on small screens (About mission/vision/promise + footer columns). */
@media (max-width: 980px){
  /* 3-up sections become 2-up on tablets */
  .grid.three-col > *{ grid-column: span 6; }
}
@media (max-width: 640px){
  /* Stack everything on mobile */
  .grid.three-col > *{ grid-column: span 12; }
  .footer .cols > *{ grid-column: span 12 !important; }
}

/* Footer 12-col spans should not force narrow columns on mobile */
@media (max-width: 900px){
  .footer .cols{
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .footer .cols > *{ grid-column: span 12 !important; }
}

/* Prevent text from squeezing / overflowing in cards */
.card h3, .card p{
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}



/* ================================
   MOBILE NAVBAR INLINE FIX
   Keeps logo, dark toggle and hamburger on one row
================================ */
@media (max-width: 768px){

  header,
  .navbar,
  .nav-container,
  .nav-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  header > *,
  .navbar > *,
  .nav-container > *,
  .nav-inner > * {
    margin: 0 !important;
  }

  .menu-toggle,
  .hamburger,
  .nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

}



/* ================================
   MOBILE NAVBAR (exact classes)
   Header HTML:
   <header class="header">
     <div class="container wrap"> ... </div>
   Ensures logo + toggles + hamburger stay on one row.
================================ */
@media (max-width: 768px){
  .header .container.wrap{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  /* Keep logo from forcing wrap */
  .header .brand{
    flex: 0 0 auto;
    min-width: 0;
  }

  /* Actions area sits right */
  .header .header-actions{
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: auto !important;
  }

  /* Make sure the two buttons don’t drop */
  .header .theme-toggle,
  .header .menu-btn{
    flex: 0 0 auto;
    margin: 0 !important;
  }
}

/* ================================
   MOBILE HEADER RIGHT ALIGN
   Logo left, moon + hamburger aligned right (same row)
================================ */
@media (max-width: 768px){
  .header .container.wrap{
    display:flex !important;
    flex-direction: row !important;
    align-items:center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }
  .header .brand{
    flex: 0 0 auto !important;
    max-width: 190px;
    min-width: 0;
  }
  .header .brand img{ max-width: 100%; height: auto; display:block; }

  /* Push theme + menu to the far right */
  .header .theme-toggle{
    margin-left: auto !important;
  }
  .header .theme-toggle,
  .header .menu-btn{
    flex: 0 0 auto !important;
  }

  /* Hide desktop nav inline on mobile (menu handles it) */
  .header .nav{ display:none !important; }

  /* Prevent accidental line breaks */
  .header .container.wrap > *{ min-width:0; }
}



/* ================================
   DARK MODE DRAWER MENU VISIBILITY FIX
   Ensures mobile menu panel and links remain readable in dark mode
================================ */
html[data-theme="dark"] .drawer{ background: rgba(0,0,0,.55); }

html[data-theme="dark"] .drawer .panel{
  background: rgba(10, 14, 24, .92);
  border-color: rgba(255,255,255,.14);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(10px);
}

html[data-theme="dark"] .drawer .links a{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--ink);
}

html[data-theme="dark"] .drawer .links a:hover{
  background: rgba(11,178,189,.14);
  border-color: rgba(11,178,189,.20);
}

html[data-theme="dark"] .icon-btn{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: var(--ink);
}
html[data-theme="dark"] .icon-btn:hover{
  background: rgba(11,178,189,.14);
  border-color: rgba(11,178,189,.20);
}



/* ================================
   ABOUT PAGE: MOBILE STACK FIX
   Overrides inline grid-template-columns on .cards containers (mission/vision/promise + core values)
================================ */
@media (max-width: 900px){
  /* 5-up cards -> 2-up on tablets */
  .cards[style*="repeat(5"]{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px){
  /* 3-up / 5-up cards -> 1-up on mobile */
  .cards[style*="repeat(3"],
  .cards[style*="repeat(5"]{
    grid-template-columns: 1fr !important;
  }
  /* make sure cards don't get narrow */
  .cards{ gap: 14px !important; }
}
