/* =========================================================
   Mitchell Lock - styles.css
   Original build. System-font stack (zero external requests).
   Palette: trust-blue #0A2540 / #0B4F8A, gold accent #F6B400,
   slate text, light-gray section backgrounds.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --blue-900: #0A2540;
  --blue-800: #0B3D6E;
  --blue-700: #0B4F8A;
  --blue-600: #1063aa;
  --gold: #F6B400;
  --gold-dark: #d89a00;
  --slate-900: #1c2733;
  --slate-700: #3b4a5a;
  --slate-500: #64748b;
  --line: #ece3d4;
  --bg: #ffffff;
  --bg-soft: #faf6ee;
  --bg-soft-2: #f4ecdc;
  --white: #ffffff;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 2px 8px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 6px 20px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 18px 44px rgba(10, 37, 64, 0.18);

  --container: 1180px;
  --header-h: 96px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Helvetica Neue", "Noto Sans", sans-serif,
          "Apple Color Emoji", "Segoe UI Emoji";

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-700);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3 { color: var(--slate-900); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; }

.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;
}

/* ---------- Focus states ---------- */
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-lead { font-size: 1.1rem; color: var(--slate-500); margin: 0; }

.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; font-weight: 800; color: #9a6b00;
  background: #fbeecb; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.kicker-light { color: var(--gold); background: rgba(246, 180, 0, 0.14); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 800; font-size: 0.98rem; text-transform: none; letter-spacing: 0.005em;
  padding: 13px 22px; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px) scale(1.03); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn .ic { flex: 0 0 auto; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }

.btn-primary { --btn-bg: var(--gold); --btn-fg: #241a00; }
.btn-primary:hover { --btn-bg: #ffc521; }
.btn-call { --btn-bg: var(--gold); --btn-fg: #241a00; }
.btn-dark { --btn-bg: var(--blue-900); --btn-fg: #fff; }
.btn-dark:hover { --btn-bg: #071b30; }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), padding 0.25s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(10, 37, 64, 0.10);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  height: var(--header-h);
  transition: height 0.25s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; }
.brand-logo { height: 72px; width: auto; display: block; transition: height 0.25s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 56px; }
.brand-logo--footer { height: 76px; filter: brightness(0) invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.22rem; color: var(--blue-900); letter-spacing: -0.01em; }
.brand-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--slate-500); font-weight: 700; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 6px; list-style: none; }
.nav-list a {
  display: inline-block; padding: 9px 13px; border-radius: 8px;
  color: var(--slate-700); font-weight: 600; font-size: 0.96rem;
}
.nav-list a:hover { color: var(--blue-900); background: var(--bg-soft); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 18px; }
.badge-247 {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.05em;
  color: var(--blue-900); background: var(--gold); padding: 5px 10px; border-radius: 999px;
}
.header-call { white-space: nowrap; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: var(--white); border-radius: 12px; cursor: pointer;
  padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle-bar { display: block; width: 22px; height: 2.5px; background: var(--blue-900); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  position: relative; color: #eaf1f9; overflow: hidden; background: var(--blue-900);
  display: flex; align-items: center; min-height: clamp(500px, 64vh, 680px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('/assets/img/hero.jpg') no-repeat;
  background-size: cover; background-position: 72% center;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,37,64,0.95) 0%, rgba(10,37,64,0.86) 40%, rgba(10,37,64,0.52) 74%, rgba(10,37,64,0.34) 100%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero-copy { max-width: 42rem; }
.eyebrow { display: inline-block; font-weight: 700; letter-spacing: 0.05em; color: #bcd3ea; margin-bottom: 14px; font-size: 0.95rem; }
.eyebrow-area { color: var(--gold); }
.hero-copy h1 { color: #fff; max-width: 16ch; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #cfe0f0; max-width: 54ch; margin-bottom: 30px; }

.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-phone { color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.hero-phone:hover { color: var(--gold); text-decoration: none; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; }
.trust-chips li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #dbe8f5; font-size: 0.95rem; }
.trust-chips .chk { color: var(--gold); flex: 0 0 auto; }

.hero-card {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-photo { width: 100%; height: auto; display: block; }

/* ================= SHARED CARDS ================= */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4dbe6; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 15px;
  background: var(--bg-soft-2); color: var(--blue-700); margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--slate-500); margin-bottom: 16px; }
.card-list { list-style: none; display: grid; gap: 9px; }
.card-list li { position: relative; padding-left: 26px; color: var(--slate-700); font-size: 0.97rem; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 14px; height: 8px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg);
}
.service-card--accent { background: linear-gradient(180deg, #fffaf0, #fff); border-color: #f3e2b6; }
.service-card--accent .card-icon { background: var(--gold); color: var(--blue-900); }

/* ================= SERVICES section bg ================= */
.services { background: var(--bg-soft); }

/* ================= CTA BAND ================= */
.cta-band { background: linear-gradient(100deg, var(--gold), #ffcb3d); color: var(--blue-900); }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(30px, 5vw, 46px) 20px;
}
.cta-band-tag { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.85rem; opacity: 0.8; margin-bottom: 6px; }
.cta-band h2 { color: var(--blue-900); margin: 0; }

/* ================= WHY / FEATURES ================= */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: #fdf1cf; color: var(--blue-800); margin-bottom: 15px;
}
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--slate-500); margin: 0; font-size: 0.97rem; }

/* ================= HOW IT WORKS ================= */
.how { background: var(--bg-soft); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 28px 28px; box-shadow: var(--shadow-sm); text-align: center;
}
.step-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--blue-900);
  font-weight: 800; font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); border: 3px solid #fff;
}
.step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 16px; background: var(--bg-soft-2);
  color: var(--blue-700); margin: 10px auto 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--slate-500); margin: 0; font-size: 0.97rem; }

/* connecting arrows on desktop */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -20px; width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 11px);
}

/* ================= SERVICE AREA ================= */
.area-inner { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 780px; margin: 0 auto; text-align: center; }
.area-copy p { color: var(--slate-500); }
.area-communities { text-align: left; }
.area-copy .btn { display: inline-flex; }
.area-communities { color: var(--slate-700) !important; background: var(--bg-soft); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 10px 10px 0; }
.area-communities strong { color: var(--slate-900); }
.area-copy .btn { margin-top: 8px; }
.area-map {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4; border: 1px solid var(--line);
}

/* ================= REVIEWS ================= */
.reviews { background: var(--bg-soft); }
.placeholder-note {
  color: var(--slate-500); font-style: italic; font-size: 0.98rem;
  background: #fff6e0; border: 1px dashed var(--gold-dark); color: #7a5b00;
  display: inline-block; padding: 8px 16px; border-radius: 999px; margin-top: 8px;
}
.review-card { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.review-card blockquote { margin: 0; }
.review-card blockquote p { color: var(--slate-700); margin: 0; font-size: 1.02rem; }
.review-card figcaption { color: var(--slate-500); font-weight: 700; font-size: 0.9rem; margin-top: auto; }

/* ================= FAQ ================= */
.accordion { display: grid; gap: 12px; }
.acc-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.acc-h { margin: 0; font-size: inherit; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  padding: 20px 22px; font-size: 1.06rem; font-weight: 700; color: var(--slate-900);
  font-family: inherit;
}
.acc-trigger:hover { color: var(--blue-700); }
.acc-chevron { flex: 0 0 auto; color: var(--blue-700); transition: transform 0.25s var(--ease); }
.acc-trigger[aria-expanded="true"] .acc-chevron { transform: rotate(180deg); }
.acc-panel { padding: 0 22px 20px; }
.acc-panel p { margin: 0; color: var(--slate-500); }
.acc-item:has(.acc-trigger[aria-expanded="true"]) { border-color: #d4dbe6; box-shadow: var(--shadow-md); }

/* ================= CONTACT ================= */
.contact { background: var(--bg-soft); }
.contact-card {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center;
  background: var(--blue-900); color: #dbe8f5; border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px); box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(246,180,0,0.22), transparent 70%); pointer-events: none;
}
.contact-copy h2 { color: #fff; }
.contact-copy p { color: #cfe0f0; }
.contact-copy .btn { margin-top: 6px; }
.contact-details { list-style: none; display: grid; gap: 18px; position: relative; z-index: 1; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details .ci {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.10); color: var(--gold);
}
.contact-details strong { display: block; color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.contact-details a, .contact-details span { color: #dbe8f5; font-weight: 600; }
.contact-details a { font-size: 1.12rem; font-weight: 800; }
.contact-details a:hover { color: var(--gold); text-decoration: none; }
.contact-details .muted { display: block; color: #9db6d1; font-weight: 500; font-size: 0.9rem; }

/* ================= FOOTER ================= */
.site-footer { background: #071b30; color: #b7c8db; }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1.1fr; gap: 40px;
  padding: clamp(44px, 6vw, 68px) 20px clamp(32px, 4vw, 48px);
}
.brand--footer .brand-name { color: #fff; }
.brand--footer .brand-tag { color: #7f97b0; }
.footer-blurb { margin: 18px 0 14px; max-width: 42ch; color: #93a9c1; font-size: 0.97rem; }
.footer-phone { color: #fff; font-weight: 800; font-size: 1.3rem; }
.footer-phone:hover { color: var(--gold); text-decoration: none; }
.footer-nav h3, .footer-cta h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-nav ul { list-style: none; display: grid; gap: 9px; }
.footer-nav a { color: #b7c8db; font-weight: 600; font-size: 0.97rem; }
.footer-nav a:hover { color: var(--gold); text-decoration: none; }
.footer-cta p { color: #93a9c1; margin-bottom: 14px; }
.footer-cta .btn { margin-bottom: 14px; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; color: #cfe0f0;
  background: rgba(255,255,255,0.07); padding: 7px 14px; border-radius: 999px;
}
.footer-bar { border-top: 1px solid rgba(255,255,255,0.09); }
.footer-bar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 20px; }
.footer-bar p { margin: 0; font-size: 0.86rem; color: #7f97b0; }

/* ================= FLOATING CALL BUTTON ================= */
.fab-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: none; align-items: center; gap: 9px;
  background: var(--gold); color: #241a00; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 14px 20px; border-radius: 999px; box-shadow: var(--shadow-lg);
  animation: fab-in 0.3s var(--ease);
}
.fab-call:hover { text-decoration: none; background: #ffc521; }
.fab-call.is-visible { display: inline-flex; }
@keyframes fab-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .hero-bg { background-position: 66% center; }
  .hero-bg::after { background: linear-gradient(rgba(10,37,64,0.88), rgba(10,37,64,0.80)); }
  .cards-3, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .area-inner { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 2px; padding: 14px 16px 20px; }
  .nav-list a { display: block; padding: 13px 14px; font-size: 1.05rem; border-radius: 10px; }
  .nav-toggle { display: inline-flex; }
  .header-call span { display: none; }
  .header-call { padding: 12px; }
  .header-call::after { content: "Call"; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards-3, .features, .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero-cta { gap: 14px; }
  .hero-phone { font-size: 1.2rem; }
  .badge-247 { display: none; }
  .footer-bar-inner { justify-content: center; text-align: center; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .card, .feature { padding: 22px; }
  .brand-tag { display: none; }
}
