/* ============================================================
   Sliding Doors Prime — Design System
   Navy / Blue / White / Warm Gray / Gold accent
   ============================================================ */

:root {
  /* Brand palette */
  --navy: #0B1F3A;
  --navy-800: #12294a;
  --navy-700: #1b3a63;
  --blue: #1E6FD6;
  --blue-600: #1a62bd;
  --blue-050: #eaf2fc;
  --gold: #C9A227;
  --gold-600: #b08e1e;
  --gold-050: #faf5e6;
  --white: #ffffff;
  --gray-050: #f6f8fa;
  --gray-100: #eef1f5;
  --gray-200: #e2e7ee;
  --gray-300: #cbd3de;
  --gray-500: #6b7787;
  --gray-700: #3a4655;
  --ink: #16202e;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--gray-050);
  --text: var(--ink);
  --text-soft: var(--gray-700);
  --border: var(--gray-200);

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --h-font: "Poppins", var(--font);

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(16,32,58,.08), 0 1px 2px rgba(16,32,58,.06);
  --shadow: 0 6px 20px rgba(16,32,58,.10);
  --shadow-lg: 0 18px 46px rgba(16,32,58,.16);
  --gap: clamp(1rem, 3vw, 2rem);
  --sp-section: clamp(3.25rem, 7vw, 6rem);

  --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: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
button { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--h-font); line-height: 1.18; color: var(--navy); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--text-soft); line-height: 1.6; }
.eyebrow {
  display: inline-block; font-family: var(--h-font); font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: .6rem;
}
.eyebrow.on-dark { color: var(--gold); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sp-section); }
.section.alt { background: var(--bg-alt); }
.section.navy { background: var(--navy); color: #dfe7f2; }
.section.navy h1, .section.navy h2, .section.navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--h-font); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  min-height: 48px; text-align: center; line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-600); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-600); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--gray-300); }
.btn-ghost:hover { border-color: var(--navy); background: var(--gray-050); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.06rem; min-height: 54px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; flex: none; }
.brand img { height: 56px; width: auto; }
.brand-text { font-family: var(--h-font); font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.05; letter-spacing: -.02em; }
.brand-text span { display: block; font-size: .68rem; letter-spacing: .18em; color: var(--gold-600); font-weight: 600; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-toggle-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--h-font); font-weight: 500; color: var(--navy);
  padding: .6rem .8rem; border-radius: 8px; font-size: .98rem;
  background: none; border: none; cursor: pointer;
}
.nav-list > li > a:hover, .nav-toggle-btn:hover { background: var(--gray-100); text-decoration: none; }
.nav-list > li > a[aria-current="page"] { color: var(--blue-600); }
.caret { width: 14px; height: 14px; transition: transform .2s; }

/* Dropdown */
.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .6rem; min-width: 280px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .16s ease;
  max-height: 70vh; overflow-y: auto;
}
.has-dropdown .dropdown.wide { min-width: 560px; columns: 2; column-gap: .4rem; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: .5rem .7rem; border-radius: 7px; color: var(--text);
  font-size: .92rem; break-inside: avoid;
}
.dropdown a:hover { background: var(--blue-050); color: var(--blue-600); text-decoration: none; }
.dropdown .dd-head { font-family: var(--h-font); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); padding: .6rem .7rem .2rem; }
.dropdown .dd-all { margin-top: .3rem; font-weight: 600; color: var(--blue-600); border-top: 1px solid var(--border); }

.header-cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--h-font); font-weight: 700; color: var(--navy); font-size: 1rem;
  padding: .55rem .9rem; border-radius: 8px; border: 2px solid var(--gold);
}
.header-phone:hover { background: var(--gold-050); text-decoration: none; }
.header-phone svg { width: 17px; height: 17px; color: var(--gold-600); }

/* Hamburger */
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: .5rem; border-radius: 8px; color: var(--navy); }
.menu-btn:hover { background: var(--gray-100); }
.menu-btn svg { width: 28px; height: 28px; }

/* Mobile nav */
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .main-nav, .header-phone { display: none; }
  .menu-btn { display: inline-flex; }
  .header-cta .btn { display: none; }
  .tap-call-sm { display: inline-flex !important; }

  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 auto; width: min(88%, 380px);
    background: #fff; border-left: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .24s ease; z-index: 99; overflow-y: auto;
    padding: 1rem 1rem 6rem;
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav a { display: block; padding: .8rem .6rem; color: var(--navy); font-family: var(--h-font); font-weight: 500; border-radius: 8px; }
  .mobile-nav a:hover { background: var(--gray-100); text-decoration: none; }
  .m-group > button {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    background: none; border: none; padding: .8rem .6rem; font-family: var(--h-font);
    font-weight: 600; color: var(--navy); font-size: 1rem; cursor: pointer; border-radius: 8px;
  }
  .m-group > button:hover { background: var(--gray-100); }
  .m-group .m-sub { display: none; padding-left: .5rem; border-left: 2px solid var(--gray-200); margin-left: .6rem; }
  .m-group .m-sub.open { display: block; }
  .m-group .m-sub a { font-weight: 400; font-size: .94rem; padding: .55rem .6rem; }
  .m-caret { width: 18px; height: 18px; transition: transform .2s; }
  .m-caret.rot { transform: rotate(180deg); }
  .mobile-nav .m-cta { margin-top: 1rem; display: grid; gap: .6rem; }
  .backdrop { position: fixed; inset: 0; background: rgba(11,31,58,.4); z-index: 98; opacity: 0; visibility: hidden; transition: opacity .2s; }
  .backdrop.open { opacity: 1; visibility: visible; }
}
.tap-call-sm { display: none; }

/* ---------- Sticky mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 720px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(16,32,58,.1);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .9rem .5rem; font-family: var(--h-font); font-weight: 600; font-size: .98rem;
    min-height: 56px;
  }
  .action-bar a svg { width: 18px; height: 18px; }
  .action-bar .ab-call { background: var(--navy); color: #fff; }
  .action-bar .ab-quote { background: var(--gold); color: var(--navy); }
  .action-bar a:hover { text-decoration: none; }
  body { padding-bottom: 56px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 720px); display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.75) 38%, rgba(11,31,58,.30) 65%, rgba(11,31,58,.15) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(3rem, 10vw, 7rem); width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-copy { color: #fff; max-width: 640px; }
.hero-copy h1 { color: #fff; margin-bottom: 1rem; }
.hero-copy .lead { color: #d7e2f2; margin-bottom: 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: .45rem .8rem; border-radius: 100px; font-size: .86rem; font-weight: 500;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--gold); }
.badge-247 {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--gold); color: var(--navy);
  font-family: var(--h-font); font-weight: 700; padding: .4rem .9rem; border-radius: 100px;
  font-size: .9rem; margin-bottom: 1.1rem; letter-spacing: .01em;
}
.badge-247 svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .hero-media video, .hero-media img { object-position: 58% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11,31,58,.50) 0%, rgba(11,31,58,.30) 35%, rgba(11,31,58,.80) 100%); }
  .hero-inner { display: flex; align-items: flex-end; min-height: 80vh; padding-block: 2rem; }
  .hero-copy .lead { font-size: 1rem; }
}

/* ---------- Lead form card ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.form-card h3 { color: var(--navy); margin-bottom: .3rem; }
.form-card .form-sub { color: var(--text-soft); font-size: .94rem; margin-bottom: 1.1rem; }
.lead-form { display: grid; gap: .85rem; }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field { display: grid; gap: .3rem; }
.field label { font-size: .84rem; font-weight: 600; color: var(--gray-700); font-family: var(--h-font); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .8rem; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,111,214,.15);
}
.field textarea { resize: vertical; min-height: 92px; }
.field.invalid input, .field.invalid select { border-color: #c0392b; }
.field .err { color: #c0392b; font-size: .8rem; display: none; }
.field.invalid .err { display: block; }
.form-consent { font-size: .78rem; color: var(--gray-500); line-height: 1.5; }
.form-consent a { color: var(--blue-600); }
.form-status { font-size: .95rem; padding: .7rem .9rem; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: #e8f6ec; color: #1e6b3a; border: 1px solid #b6e0c2; }
.form-status.fail { display: block; background: #fdecea; color: #b23025; border: 1px solid #f3c2bc; }
.hidden { display: none !important; }
.btn.is-loading { opacity: .75; pointer-events: none; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy-800); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.trust-item { background: var(--navy-800); padding: 1.4rem 1.2rem; text-align: center; color: #cfdbec; }
.trust-item svg { width: 30px; height: 30px; color: var(--gold); margin: 0 auto .6rem; }
.trust-item strong { display: block; font-family: var(--h-font); color: #fff; font-size: 1.05rem; margin-bottom: .15rem; }
.trust-item span { font-size: .86rem; }
@media (max-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Service grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .16s, box-shadow .18s, border-color .18s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gray-300); }
.svc-media { aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); position: relative; }
.svc-media img, .svc-media video { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.16rem; margin-bottom: .4rem; }
.svc-body h3 a { color: var(--navy); }
.svc-body h3 a:hover { color: var(--blue-600); text-decoration: none; }
.svc-body p { color: var(--text-soft); font-size: .94rem; margin-bottom: .9rem; flex: 1; }
.svc-link { font-family: var(--h-font); font-weight: 600; color: var(--blue-600); font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.svc-link svg { width: 16px; height: 16px; transition: transform .15s; }
.svc-card:hover .svc-link svg { transform: translateX(3px); }

/* ---------- Feature / why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.check-list.on-dark svg { color: var(--gold); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.3rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue-050); color: var(--blue-600);
  font-family: var(--h-font); font-weight: 700; font-size: 1.1rem; margin-bottom: .8rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--text-soft); font-size: .92rem; margin: 0; }

/* ---------- Before/after ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
@media (max-width: 820px) { .ba-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.ba-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ba-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ba-card .ba-cap { padding: .9rem 1.1rem 1.1rem; }
.ba-card .ba-cap strong { font-family: var(--h-font); color: var(--navy); display: block; margin-bottom: .2rem; }
.ba-card .ba-cap span { color: var(--text-soft); font-size: .9rem; }

/* ---------- Testimonial videos ---------- */
.vid-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; }
@media (max-width: 1000px) { .vid-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 680px) { .vid-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px) { .vid-grid { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }
.vid-card { background: #0b1f3a; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.vid-card video { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #000; display: block; }
.vid-card .vid-cap { padding: .7rem .9rem .85rem; background:#fff; }
.vid-card .vid-cap strong { font-family: var(--h-font); color: var(--navy); font-size: .92rem; }
.vid-card .vid-cap span { display: block; color: var(--text-soft); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; max-width: 840px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.1rem 1.3rem; font-family: var(--h-font); font-weight: 600; color: var(--navy);
  font-size: 1.04rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q:hover { background: var(--gray-050); }
.faq-q .faq-ic { width: 22px; height: 22px; flex: none; transition: transform .2s; color: var(--blue); }
.faq-q[aria-expanded="true"] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 1.3rem; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.faq-a p { color: var(--text-soft); margin: 0 0 1.1rem; }
.faq-item.open .faq-a { max-height: 500px; padding-top: .2rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.4rem); }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: #cfdbec; max-width: 620px; margin: 0 auto 1.4rem; }
.cta-full { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; text-align: center; }
.cta-full h2 { color: #fff; } .cta-full p { color: #cfdbec; }

/* ---------- Locations preview ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
@media (max-width: 860px) { .loc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.3rem; transition: border-color .15s, box-shadow .15s; }
.loc-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.loc-card h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.loc-card h3 a { color: var(--navy); }
.loc-card h3 a:hover { color: var(--blue-600); text-decoration: none; }
.loc-card .loc-region { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); font-weight: 600; font-family: var(--h-font); }
.loc-card p { color: var(--text-soft); font-size: .9rem; margin: .4rem 0 0; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-block; background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: .4rem .95rem; font-size: .9rem; color: var(--navy); font-weight: 500; }
.chip:hover { border-color: var(--blue); color: var(--blue-600); text-decoration: none; background: var(--blue-050); }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6da; padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 54px; margin-bottom: .8rem; }
.footer-brand p { color: #93a4bf; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-col a { color: #b9c6da; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .6rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center; color: #7e90ac; font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.footer-bottom a { color: #7e90ac; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Breadcrumbs ---------- */
.crumbs { background: var(--gray-050); border-bottom: 1px solid var(--border); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: .8rem 0; margin: 0; font-size: .86rem; color: var(--gray-500); }
.crumbs li { display: flex; align-items: center; gap: .4rem; }
.crumbs li::after { content: "/"; color: var(--gray-300); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--blue-600); }
.crumbs li[aria-current] { color: var(--gray-700); font-weight: 500; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.page-hero.with-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.94), rgba(11,31,58,.7)); z-index: 0; }
.page-hero .page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero.with-img .page-hero-bg { z-index: 0; }
.page-hero.with-img .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .7rem; }
.page-hero p { color: #d3deee; max-width: 680px; font-size: 1.1rem; margin: 0; }
.page-hero .badge-247 { margin-bottom: 1rem; }

/* ---------- Content prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 2rem 0 .8rem; }
.prose h3 { margin: 1.5rem 0 .5rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; display: grid; gap: .4rem; }
.prose li { color: var(--text-soft); }
.prose img { border-radius: var(--radius); margin: 1.2rem 0; box-shadow: var(--shadow-sm); }
.prose p { color: var(--text-soft); }
.prose strong { color: var(--ink); }

/* Sidebar layout for service pages */
.svc-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 940px) { .svc-layout { grid-template-columns: 1fr; } }
.svc-side { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1.2rem; }
@media (max-width: 940px) { .svc-side { position: static; } }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.side-card.gold { border-color: var(--gold); background: var(--gold-050); }
.side-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }

/* Pull quote */
.pull-quote { border-left: 5px solid var(--gold); background: var(--gold-050); padding: 1.4rem 1.6rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.8rem 0; }
.pull-quote p { font-family: var(--h-font); font-size: 1.25rem; font-style: italic; color: var(--navy); margin: 0; line-height: 1.5; }

/* Value cards */
.val-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
@media (max-width: 820px){ .val-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 520px){ .val-grid{ grid-template-columns: 1fr;} }
.val-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; }
.val-card svg { width: 30px; height: 30px; color: var(--blue); margin-bottom: .6rem; }
.val-card h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.val-card p { color: var(--text-soft); font-size: .92rem; margin: 0; }

/* founder portrait */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
@media (max-width: 820px){ .founder-grid{ grid-template-columns: 1fr;} .founder-media{ order:-1;} }
.founder-media { position: relative; }
.founder-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.founder-label { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(11,31,58,.92); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); backdrop-filter: blur(4px); }
.founder-label strong { font-family: var(--h-font); display: block; }
.founder-label span { font-size: .84rem; color: var(--gold); }

/* skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0; z-index: 200; }
.skip:focus { left: 0; }

/* utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,3vw,2rem); }
@media (max-width:720px){ .grid-2{ grid-template-columns: 1fr;} }
.muted { color: var(--gray-500); font-size: .88rem; }
.mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2rem; }

/* ============================================================
   Blog
   ============================================================ */
.blog-hero { background: var(--navy); color:#fff; padding-block: clamp(2.5rem,6vw,4rem); position:relative; overflow:hidden; }
.blog-hero::after { content:""; position:absolute; inset:0; background:
   radial-gradient(1200px 400px at 80% -10%, rgba(30,111,214,.35), transparent 60%); z-index:0; }
.blog-hero .wrap { position:relative; z-index:1; }
.blog-hero h1 { color:#fff; }
.blog-hero p { color:#d3deee; max-width:640px; }

/* category filter chips */
.cat-filter { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1.3rem; }
.cat-filter a { display:inline-block; padding:.45rem 1rem; border-radius:100px; font-family:var(--h-font); font-weight:600; font-size:.9rem;
   background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:#fff; }
.cat-filter a:hover, .cat-filter a.active { background:var(--gold); border-color:var(--gold); color:var(--navy); text-decoration:none; }

/* blog grid */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2.4vw,1.6rem); }
@media (max-width:900px){ .blog-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .blog-grid{ grid-template-columns:1fr;} }
.post-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:transform .16s, box-shadow .18s, border-color .18s; }
.post-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--gray-300); }
.post-card .post-cat { font-family:var(--h-font); font-weight:600; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--blue-600); }
.post-card .post-body { padding:1.2rem 1.3rem 1.35rem; display:flex; flex-direction:column; flex:1; }
.post-card h3 { font-size:1.12rem; line-height:1.3; margin:.4rem 0 .5rem; }
.post-card h3 a { color:var(--navy); }
.post-card h3 a:hover { color:var(--blue-600); text-decoration:none; }
.post-card p { color:var(--text-soft); font-size:.92rem; flex:1; margin-bottom:.9rem; }
.post-meta { display:flex; align-items:center; gap:.5rem; font-size:.82rem; color:var(--gray-500); margin-top:auto; }
.post-meta .dot { width:3px;height:3px;border-radius:50%;background:var(--gray-300); }
.post-card .post-top { height:6px; background:linear-gradient(90deg,var(--blue),var(--gold)); }

.cat-section { margin-bottom: clamp(2rem,5vw,3.5rem); }
.cat-section h2 { display:flex; align-items:baseline; gap:.6rem; }
.cat-section h2 .count { font-family:var(--font); font-size:.9rem; font-weight:500; color:var(--gray-500); }

/* article layout */
.article-hero { background:var(--navy); color:#fff; padding-block: clamp(2.2rem,5vw,3.4rem); }
.article-hero .wrap { max-width: 860px; }
.article-hero .post-cat { color:var(--gold); font-family:var(--h-font); font-weight:600; font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; }
.article-hero h1 { color:#fff; margin:.5rem 0 .8rem; font-size:clamp(1.8rem,4vw,2.7rem); }
.article-byline { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; color:#c6d3e6; font-size:.92rem; }
.article-byline .who { color:#fff; font-weight:600; font-family:var(--h-font); }
.article-byline .dot { width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,.4); }

.article-layout { display:grid; grid-template-columns: minmax(0,1fr) 320px; gap:clamp(1.5rem,4vw,3rem); align-items:start; }
@media (max-width:940px){ .article-layout{ grid-template-columns:1fr; } }
.article-body { max-width: 760px; font-size:1.05rem; }
.article-body h2 { margin:2rem 0 .8rem; padding-top:.4rem; }
.article-body h3 { margin:1.6rem 0 .5rem; font-size:1.2rem; }
.article-body p { color:var(--text-soft); margin:0 0 1.1rem; }
.article-body ul, .article-body ol { margin:0 0 1.2rem; padding-left:1.3rem; display:grid; gap:.5rem; }
.article-body li { color:var(--text-soft); }
.article-body a { color:var(--blue-600); text-decoration:underline; text-underline-offset:2px; }
.article-body a:hover { color:var(--navy); }
.article-body strong { color:var(--ink); }
.article-body hr { border:none; border-top:1px solid var(--border); margin:2rem 0; }
.article-body h2:first-child { margin-top:0; }

.article-side { position:sticky; top:calc(var(--header-h) + 1rem); display:grid; gap:1.2rem; }
@media (max-width:940px){ .article-side{ position:static; } }

.article-foot-cta { background:var(--gold-050); border:1px solid var(--gold); border-radius:var(--radius); padding:1.4rem 1.6rem; margin:2rem 0 0; }
.article-foot-cta p { margin:0 0 1rem; color:var(--navy); font-weight:500; }

.related-posts { display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem; }
@media (max-width:820px){ .related-posts{ grid-template-columns:1fr; } }

.breadcrumbs-article { font-size:.85rem; color:#c6d3e6; margin-bottom:.8rem; }
.breadcrumbs-article a { color:#fff; }

/* ---------- Contact list (fixed icon sizing) ---------- */
.contact-list { list-style:none; padding:0; margin:0; display:grid; gap:1rem; }
.contact-list li { display:flex; gap:.7rem; align-items:flex-start; }
.contact-list .ci { flex:0 0 22px; width:22px; height:22px; display:inline-flex; color:var(--gold-600); }
.contact-list .ci svg { width:22px; height:22px; }
.contact-list strong { display:block; color:var(--navy); font-family:var(--h-font); }
.contact-list a { color:var(--blue-600); }
.side-card h3 .ci-inline { width:20px; height:20px; display:inline-flex; vertical-align:-3px; color:var(--gold-600); }
.side-card h3 .ci-inline svg { width:20px; height:20px; }
/* Global safety: any raw icon inside headings/list text stays small */
.side-card h3 > svg, .prose h3 > svg { width:20px; height:20px; display:inline-block; vertical-align:-3px; }

/* ---------- Service/blog gallery images fill containers ---------- */
.prose .grid-2 img { width:100%; height:100%; object-fit:cover; display:block; }
.prose > div img[loading="lazy"] { border-radius: var(--radius); }
.article-body figure { margin:1.5rem 0; }
.article-body figure img { width:100%; border-radius:var(--radius); box-shadow:var(--shadow-sm); display:block; }
.article-body figure figcaption { font-size:.85rem; color:var(--gray-500); margin-top:.5rem; text-align:center; }
.article-hero-img { width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow); margin:0 0 1.5rem; display:block; aspect-ratio:16/9; object-fit:cover; }
/* blog post card image */
.post-card .post-img { aspect-ratio:16/10; overflow:hidden; background:var(--gray-100); }
.post-card .post-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .2s; }
.post-card:hover .post-img img { transform:scale(1.04); }

/* ---------- Mascot band ---------- */
.mascot-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color:#fff; border-radius:var(--radius-lg); overflow:hidden; }
.mascot-band .mb-grid { display:grid; grid-template-columns: 300px 1fr; gap:clamp(1.5rem,4vw,3rem); align-items:end; }
@media (max-width:760px){ .mascot-band .mb-grid{ grid-template-columns:1fr; text-align:center; } }
.mascot-band .mb-mascot { align-self:end; }
.mascot-band .mb-mascot img { width:100%; max-width:300px; display:block; margin:0 auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }
.mascot-band .mb-copy { padding:clamp(1.5rem,4vw,2.5rem) clamp(1.5rem,4vw,2.5rem) clamp(1.5rem,4vw,2.5rem) 0; }
@media (max-width:760px){ .mascot-band .mb-copy{ padding:0 1.5rem 2rem; } }
.mascot-band h2 { color:#fff; }
.mascot-band p { color:#cfdbec; }
.mascot-band .check-list { justify-items:start; }
@media (max-width:760px){ .mascot-band .check-list li{ text-align:left; } }
/* mascot floating accent next to CTAs */
.cta-mascot { display:flex; align-items:flex-end; gap:1.5rem; justify-content:center; flex-wrap:wrap; }
.cta-mascot img { height:200px; width:auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); }
@media (max-width:600px){ .cta-mascot img{ height:150px; } }
