:root {
  --brand: #0e9be0;
  --brand-btn: #097cb5;
  --brand-dk: #076d9f;
  --brand-ink: #0877ad;
  --navy: #08283a;
  --ink: #0c1116;
  --mute: #5a6a76;
  --mist: #eff7fd;
  --line: #dbe6ee;
  --wrap: 1200px;
  --r: 999px;
  --display: "Bitter", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center .narrow, .wrap.narrow.center { margin-inline: auto; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-btn); color: #fff; padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border-radius: var(--r); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.9rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.btn-solid { background: var(--brand-btn); color: #fff; }
.btn-solid:hover { background: var(--brand-dk); }
.btn-line { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-line-dark { border-color: var(--brand-btn); color: var(--brand-ink); }
.btn-line-dark:hover { background: var(--brand-btn); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; padding: .6rem 1.4rem; }
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,40,58,.55); backdrop-filter: blur(6px);
  transition: background .25s;
}
.site-head.is-stuck { background: var(--navy); }
.head-in { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brandmark { display: block; padding-right: 1.5rem; border-right: 1px solid rgba(255,255,255,.22); }
.brandmark img { height: 52px; width: auto; }
.nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .4rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.is-active { border-bottom-color: var(--brand); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.head-phone { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.head-phone:hover { color: var(--brand); }
.burger {
  display: none; margin-left: auto; background: none; border: 0; padding: .6rem;
  cursor: pointer;
}
.burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- hero ---------- */
.hero {
  background-color: var(--navy); background-size: cover; background-position: center;
  color: #fff; position: relative; padding: clamp(5rem, 13vw, 9.5rem) 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,32,47,.70), rgba(6,32,47,.60) 55%, rgba(6,32,47,.82));
}
/* Left-aligned hero: keep the copy side dark and let the photograph read on the
   right, rather than flattening the whole frame. */
.hero-left::before {
  background:
    linear-gradient(96deg, rgba(6,32,47,.90) 0%, rgba(6,32,47,.78) 42%,
                           rgba(6,32,47,.46) 72%, rgba(6,32,47,.34) 100%),
    linear-gradient(180deg, rgba(6,32,47,.34), rgba(6,32,47,0) 40%, rgba(6,32,47,.46));
}
.hero .wrap { position: relative; }
.hero h1 { margin-bottom: .6rem; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-sub { font-size: 1.05rem; max-width: 46ch; color: rgba(255,255,255,.9); }
.hero-center { text-align: center; }
.hero-center .hero-in { max-width: 900px; margin-inline: auto; }
.hero-left .hero-sub { margin-inline: 0; }
.hero-center .hero-sub { margin-inline: auto; }
.hero-left .hero-in { max-width: 640px; }
.hero .btn { margin-top: 1.25rem; }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding-bottom: 1.5rem; }
.section-tall { padding: clamp(5rem, 10vw, 8rem) 0; }
.section-mist { background: var(--mist); }
.eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: .5rem;
}
.eyebrow-light { color: #fff; opacity: .85; }
.display { font-family: var(--display); }
.lede { font-size: 1.06rem; color: var(--mute); }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }

/* ---------- stats ---------- */
.statband { background: #fff; border-bottom: 1px solid var(--line); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem) 0; text-align: center;
}
.stat-n {
  display: block; font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--brand-ink); line-height: 1.1;
}
.stat-l { display: block; font-size: .9rem; color: var(--mute); }

/* ---------- band ---------- */
.band {
  background-color: var(--navy); background-size: cover; background-position: center;
  color: #fff; position: relative; padding: clamp(4rem, 9vw, 7rem) 0; text-align: center;
}
.band::before { content: ""; position: absolute; inset: 0; background: rgba(6,32,47,.74); }
.band .wrap { position: relative; }
.band h2 { font-size: clamp(1.3rem, 2.6vw, 1.95rem); line-height: 1.4; }
.band .btn { margin-top: 1rem; }

/* ---------- cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.svc-intro { align-self: center; padding-right: 1rem; }
.svc-intro p { color: var(--mute); }
.svc-intro .btn { margin-top: .5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem 1.5rem;
}
.card-lg { padding: 2rem 1.8rem; }
.card h2 { font-size: 1.2rem; }
.card p { color: var(--mute); font-size: .95rem; margin: 0; }
.card-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.1rem;
  border-radius: 12px; background: var(--mist); color: var(--brand-ink);
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; }
.feature-text { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem); align-self: center; }
.feature-text p { color: var(--mute); }
.feature-blue { background: var(--brand-btn); color: #fff; }
.feature-blue p { color: rgba(255,255,255,.92); }
.feature-media {
  background: var(--navy) center/cover no-repeat; min-height: 380px;
}
.feature-flip .feature-media { order: -1; }

/* ---------- logo wall / brand grid ---------- */
.logo-wall {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; margin: 2rem 0 1.5rem;
}
.logo-cell {
  background: #fff; display: grid; place-items: center; padding: 1.5rem 1rem; min-height: 110px;
}
.logo-cell img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .78; }
.logo-cell img:hover { filter: none; opacity: 1; }
.wall-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.brand-board {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.brand-group { padding: 2.25rem 0; }
.brand-group:first-child { padding-top: 0; }
.brand-group:last-child { padding-bottom: 0; }
.brand-group-sep { border-top: 2px dotted var(--brand); }
.brand-row {
  display: flex; flex-wrap: wrap; justify-content: space-evenly;
  align-items: stretch; gap: 1.5rem 1rem; list-style: none; margin: 0; padding: 0;
}
.brand-row + .brand-row { margin-top: 1.75rem; }
.brand { flex: 0 1 clamp(128px, 21%, 200px); }
.brand-row:first-child { padding-top: 0; }
.brand-row:last-child { padding-bottom: 0; }
.brand-row-sep { border-top: 2px dotted var(--brand); }
.brand { text-align: center; }
.brand a {
  display: block; text-decoration: none; color: inherit; border-radius: 10px;
  padding: .5rem .25rem; transition: background .15s;
}
.brand a:hover { background: var(--mist); }
.brand-go {
  display: block; margin-top: .2rem; font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--brand-ink);
  opacity: 0; transition: opacity .15s;
}
.brand a:hover .brand-go, .brand a:focus-visible .brand-go { opacity: 1; }
@media (hover: none) { .brand-go { opacity: 1; } }
.brand-logo { display: grid; place-items: center; height: 72px; }
/* cap BOTH axes so wide wordmarks and tall lockups read at a similar weight */
.brand-logo img { max-height: 56px; max-width: 150px; width: auto; }
.brand-name {
  display: block; margin-top: .6rem; font-size: .85rem; font-weight: 600; color: var(--mute);
}

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.quote {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.75rem 1.5rem; text-align: left;
}
.quote blockquote {
  margin: 0 0 1rem; font-family: var(--display); font-size: 1.1rem; line-height: 1.5;
}
.quote figcaption { font-size: .88rem; color: var(--mute); }
.quote figcaption strong { display: block; color: var(--ink); }
.stars { color: var(--brand-ink); letter-spacing: .05em; }

/* ---------- cta band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.cta-in { max-width: 780px; margin-inline: auto; text-align: center; }
.cta-in p { color: rgba(255,255,255,.85); }
.cta-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); }
.deets { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.deets li { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; align-items: start; }
.deet-k { font-weight: 700; color: var(--ink); }
.deets a { text-decoration: none; }
.deets a:hover { text-decoration: underline; }
.form-card { background: var(--mist); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-card h2 { font-size: 1.5rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f { margin: 0 0 1rem; }
.f label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; }
.f input, .f select, .f textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.f textarea { resize: vertical; }
.f-note { font-size: .85rem; color: var(--mute); }
.map-band { line-height: 0; }
.map-band iframe { width: 100%; height: 420px; border: 0; }

/* ---------- footer ---------- */
.site-foot { background: #000; color: rgba(255,255,255,.82); padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 2.5rem; }
.foot-brand img { width: 152px; height: auto; margin-bottom: 1.25rem; }
.foot-brand p { font-size: .92rem; }
.site-foot h2 { font-family: var(--body); font-size: .95rem; font-weight: 700; color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-foot a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-foot a:hover { color: var(--brand); }
.site-foot p { font-size: .92rem; }
.site-foot strong { color: #fff; }
.foot-base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 1.5rem; padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem;
}
.foot-base p { margin: 0; }

/* ---------- reveal (fails open — see js) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .head-in { gap: 1rem; }
  .nav {
    position: fixed; inset: 78px 0 auto; background: var(--navy);
    opacity: 0; visibility: hidden; transition: opacity .2s;
    padding: 1rem 1.5rem 1.5rem; border-top: 1px solid rgba(255,255,255,.15);
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav a:hover, .nav a.is-active { border-bottom-color: rgba(255,255,255,.12); color: var(--brand); }
  .burger { display: block; order: 3; }
  .head-cta { margin-left: auto; }
  .head-cta .btn-ghost { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-intro { padding-right: 0; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature-flip .feature-media { order: 0; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brandmark { padding-right: 1rem; }
  .brandmark img { height: 40px; }
  .head-phone { font-size: .9rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .f-row { grid-template-columns: 1fr; }
  .deets li { grid-template-columns: 1fr; gap: .15rem; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- language switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: .25rem; text-decoration: none;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: #fff;
  border: 1px solid rgba(255,255,255,.4); border-radius: var(--r);
  padding: .38rem .7rem; white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.lang-switch:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.75); }
.lang-on { color: #fff; }
.lang-sep { color: rgba(255,255,255,.45); font-weight: 400; }
.lang-off { color: rgba(255,255,255,.62); }
.lang-switch:hover .lang-off { color: #fff; }
.lang-switch-m { display: none; }
@media (max-width: 1000px) {
  .head-cta .lang-switch { display: none; }
  .lang-switch-m { display: inline-flex; margin-top: 1rem; }
}
