/* ==========================================================================
   M&E Prime Partners LLC — Core stylesheet
   Palette: deep navy (trust/structure) + burnt orange (action) + cool neutrals
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand */
  --navy-900: #0B1824;
  --navy-800: #12293C;
  --navy-700: #1B3C55;
  --navy-600: #27536F;
  --accent:   #E2622A;
  --accent-600: #C44F1C;
  --accent-100: #FDEDE3;

  /* Neutrals */
  --ink:      #0E1A24;
  --body:     #46596B;
  --muted:    #6B7D8D;
  --line:     #DFE6EC;
  --line-soft:#EDF1F5;
  --surface:  #FFFFFF;
  --surface-2:#F5F8FA;
  --surface-3:#EDF2F6;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Space + shape */
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 24, 36, .06), 0 2px 8px rgba(11, 24, 36, .05);
  --shadow-md: 0 4px 12px rgba(11, 24, 36, .08), 0 12px 32px rgba(11, 24, 36, .09);
  --shadow-lg: 0 18px 50px rgba(11, 24, 36, .18);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.25rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { text-wrap: pretty; }
h1 + p, h2 + p, h3 + p { margin-top: 14px; }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.eyebrow.is-light { color: #FFB183; }
.eyebrow.is-light::before { background: #FFB183; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--body); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--alt { background: var(--surface-2); }
.section--navy { background: var(--navy-800); color: #C6D5E1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; }
.grid { display: grid; gap: 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); border-radius: var(--radius);
  padding: 15px 26px; font-weight: 650; font-size: .98rem; letter-spacing: .01em;
  cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  box-shadow: 0 6px 18px rgba(226, 98, 42, .22);
}
.btn:hover { background: var(--accent-600); border-color: var(--accent-600); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(226, 98, 42, .3); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--navy-700); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); --btn-bd: #fff; box-shadow: var(--shadow-sm); }
.btn--light:hover { background: #F0F4F7; border-color: #F0F4F7; color: var(--navy-900); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); box-shadow: none; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; color: var(--navy-700); font-size: .95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy-900); color: #9FB3C4;
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #D7E3EC; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; }
.topbar-list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar-list svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
@media (max-width: 880px) { .topbar-list--secondary { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 9px; flex: none;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
  color: #fff; letter-spacing: .01em; white-space: nowrap; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.brand-mark span { color: var(--accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.32rem;
  color: var(--ink); text-transform: uppercase; letter-spacing: .01em;
}
.brand-tag { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-links .nav-cta, .nav-links .nav-tel { display: none; }
.nav-links a {
  display: block; padding: 10px 13px; border-radius: 8px; white-space: nowrap;
  font-weight: 600; font-size: .95rem; color: var(--navy-800);
  transition: background-color .18s ease, color .18s ease;
}
.nav-links a:hover { background: var(--surface-2); color: var(--navy-900); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-800); font-size: .95rem; }
.nav-phone svg { width: 17px; height: 17px; color: var(--accent); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; cursor: pointer; place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-800); position: relative; transition: background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-800);
  transition: transform .25s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .nav-phone { display: none; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: fixed; inset: calc(var(--header-h) + 40px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s ease;
    max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 15px 8px; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 1.05rem; }
  .nav-links .nav-tel { display: block; }
  .nav-links .nav-tel a { display: flex; align-items: center; gap: 10px; color: var(--accent-600); font-weight: 700; }
  .nav-links .nav-tel svg { width: 18px; height: 18px; flex: none; }
  .nav-links .nav-cta { display: block; margin-top: 18px; }
  .nav-links .nav-cta .btn { display: inline-flex; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--navy-900); color: #D4E0EA; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(104deg, rgba(8,18,27,.94) 0%, rgba(8,18,27,.86) 42%, rgba(8,18,27,.55) 72%, rgba(8,18,27,.38) 100%),
    linear-gradient(180deg, rgba(8,18,27,.55) 0%, rgba(8,18,27,0) 35%);
}
.hero-inner { padding-block: clamp(72px, 11vw, 132px); max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  margin-top: 20px; font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #BFD0DD; max-width: 560px; font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; list-style: none; padding: 0; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; font-size: .93rem; font-weight: 600; color: #CFDDE8; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.08); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  list-style: none; padding: 0; margin: 0;
}
.trust-grid li {
  padding: 26px 24px; display: flex; align-items: center; gap: 14px;
  border-right: 1px solid rgba(255,255,255,.08); color: #BACBD9;
}
.trust-grid li:last-child { border-right: 0; }
.trust-grid svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.trust-grid b { display: block; color: #fff; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .01em; }
.trust-grid span { font-size: .84rem; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid li:nth-child(2n) { border-right: 0; }
  .trust-grid li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 480px) { .trust-grid li { padding: 20px 16px; } }

/* ---------- Service cards ---------- */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CBD8E2; }
.service-card figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover img { transform: scale(1.05); }
.service-icon {
  position: absolute; left: 16px; bottom: -22px; width: 48px; height: 48px;
  border-radius: 11px; background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(11,24,36,.28);
}
.service-icon svg { width: 24px; height: 24px; color: #fff; }
.service-body { padding: 36px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { font-size: .95rem; margin-bottom: 18px; }
.service-body .link-arrow { margin-top: auto; }

/* ---------- Why choose ---------- */
.why { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 940px) { .why { grid-template-columns: 1fr; } }
.why-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.why-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.why-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(11, 24, 36, .9); backdrop-filter: blur(6px);
  color: #fff; border-radius: var(--radius); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.why-badge svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.why-badge b { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.why-badge span { font-size: .85rem; color: #B8C9D7; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 28px; list-style: none; padding: 0; margin-top: 30px; }
@media (max-width: 560px) { .why-list { grid-template-columns: 1fr; } }
.why-list li { display: flex; gap: 14px; }
.why-list .tick {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--accent-100); color: var(--accent-600);
  display: grid; place-items: center;
}
.why-list .tick svg { width: 18px; height: 18px; }
.why-list b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.12rem; letter-spacing: .01em; }
.why-list p { font-size: .9rem; margin-top: 2px; }

/* ---------- Process ---------- */
.steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--surface-3); line-height: 1; display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .92rem; }
.section--navy .step { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.15); }
.section--navy .step::before { color: rgba(255,255,255,.18); }
.section--navy .step h3 { color: #fff; }
.section--navy .step p { color: #B6C8D6; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 18px; font-size: .88rem; font-weight: 600; color: var(--navy-700); cursor: pointer;
  transition: all .18s ease;
}
.filter:hover { border-color: var(--navy-600); }
.filter.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.project { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 46px; }
.project:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.project-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.project-head h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); text-transform: uppercase; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-3); color: var(--navy-700);
  border-radius: 999px; padding: 6px 14px; font-size: .78rem; font-weight: 650; letter-spacing: .02em;
}
.tag--accent { background: var(--accent-100); color: var(--accent-600); }
.project p.project-note { max-width: 70ch; margin-bottom: 22px; font-size: .96rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gallery button {
  position: relative; padding: 0; border: 0; background: var(--surface-3); cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; width: 100%;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.gallery button:hover img { transform: scale(1.06); filter: brightness(1.05); }
.gallery button::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,24,36,0) 55%, rgba(11,24,36,.35) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery button:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(7, 15, 22, .94); padding: 24px;
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox-caption {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #C9D7E2; font-size: .88rem; background: rgba(0,0,0,.4);
  padding: 8px 16px; border-radius: 999px; max-width: 90vw; text-align: center;
}
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background-color .2s ease;
}
.lightbox-btn:hover { background: rgba(255,255,255,.22); }
.lightbox-btn svg { width: 22px; height: 22px; }
.lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }
.lightbox-close { top: 18px; right: 18px; transform: none; }
@media (max-width: 640px) { .lightbox-prev { left: 6px; } .lightbox-next { right: 6px; } .lightbox-btn { width: 44px; height: 44px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; color: #fff; background: var(--navy-900); overflow: hidden; }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(92deg, rgba(8,18,27,.95) 20%, rgba(8,18,27,.72) 100%);
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(52px, 7vw, 82px); }
.cta-inner h2 { color: #fff; max-width: 18ch; }
.cta-inner p { color: #BCCDDA; margin-top: 12px; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Forms ---------- */
.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 650; color: var(--ink); }
.field .req { color: var(--accent); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 13px 15px; font-size: .97rem; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA9B6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(226,98,42,.14);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346596B' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px;
  font-size: .9rem; font-weight: 600; color: var(--navy-700); cursor: pointer;
  white-space: nowrap; transition: all .18s ease;
}
.radio-pill input:checked + span { border-color: var(--accent); background: var(--accent-100); color: var(--accent-600); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.dropzone {
  border: 2px dashed var(--line); border-radius: var(--radius); background: var(--surface-2);
  padding: 28px 20px; text-align: center; cursor: pointer; transition: all .2s ease;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: var(--accent-100); }
.dropzone svg { width: 30px; height: 30px; color: var(--accent); margin: 0 auto 10px; }
.dropzone b { display: block; color: var(--ink); font-size: .95rem; }
.dropzone span { font-size: .83rem; color: var(--muted); }
.dropzone input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px; }
.file-list li {
  display: flex; align-items: center; gap: 10px; font-size: .86rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px;
}
.file-list svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.form-footnote { font-size: .83rem; color: var(--muted); margin-top: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Shown when a submission fails, and inside <noscript>. */
.form-alert {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  line-height: 1.5;
  border: 1px solid transparent;
}
.form-alert.is-error {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #8A1C1C;
}
.form-alert a { color: inherit; text-decoration: underline; font-weight: 650; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.contact-list { list-style: none; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 11px; background: var(--navy-800); display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 20px; height: 20px; color: var(--accent); }
.contact-list b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); letter-spacing: .01em; }
.contact-list a { color: var(--navy-700); font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.contact-list p { font-size: .92rem; }
.hours { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 6px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours span:last-child { font-weight: 650; color: var(--ink); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-3); min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-placeholder { display: grid; place-items: center; min-height: 320px; text-align: center; padding: 28px; color: var(--muted); }
.map-placeholder svg { width: 38px; height: 38px; color: var(--navy-600); margin-bottom: 12px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 20px 56px 20px 22px; position: relative; list-style: none;
  font-family: var(--font-display); font-size: 1.18rem; color: var(--ink); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px;
  border-right: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 22px 22px; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #93A8BA; padding-block: 64px 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: #7F96AA; }
.site-footer h4 {
  color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 700; margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer-links a:hover { color: var(--accent); }
.footer-about p { margin-top: 18px; max-width: 34ch; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center; transition: all .2s ease;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 52px; border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: #7A90A3;
}

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--navy-800); color: #BCCDDA; padding-block: clamp(46px, 7vw, 76px); position: relative; }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-head p { margin-top: 14px; max-width: 62ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: #8DA5B8; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* ---------- Service detail rows ---------- */
.svc-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(48px, 7vw, 88px); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; } .svc-row .svc-media { order: -1; } }
.svc-row:nth-child(even) .svc-media { order: -1; }
@media (min-width: 861px) { .svc-row:nth-child(even) .svc-media { order: 0; } .svc-row:nth-child(even) .svc-copy { order: 1; } }
.svc-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.svc-copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 11px; margin-top: 18px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.check-list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- Thank-you ---------- */
.ty { text-align: center; max-width: 640px; margin-inline: auto; padding-block: clamp(70px, 12vw, 130px); }
.ty-icon { width: 86px; height: 86px; border-radius: 50%; background: var(--accent-100); display: grid; place-items: center; margin: 0 auto 28px; }
.ty-icon svg { width: 42px; height: 42px; color: var(--accent-600); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
