/* ==========================================================================
   Ameen Movers — Premium design system (v3)

   Direction correction from v2: too much dark navy read heavy. Navy is now
   reserved for the header, footer, and small accent moments (badges, one
   CTA banner) — everything else lives on warm ivory/white so the site
   reads light, airy, and premium rather than moody.
   Type: Fraunces (serif display) + Inter (body/UI).
   Layout: left-aligned editorial rhythm, hairline rules, generous
   whitespace, mobile-first responsive scale.
   ========================================================================== */
:root {
  --ink: #10192b;
  --ink-800: #16223a;
  --navy-soft: #24365a;
  --stone: #f6f4ee;
  --stone-dim: #efeade;
  --paper: #fffefb;
  --line: #e4dfd0;
  --line-dark: rgba(255, 255, 255, 0.14);
  --brass: #b3843c;
  --brass-deep: #8f6829;
  --brass-tint: #f4e8cf;
  --text: #1d2436;
  --text-soft: #626a7c;
  --text-onDark: #eef0f4;
  --text-onDark-soft: rgba(238, 240, 244, 0.7);
  --success: #2e7d4f;
  --error: #b3403a;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 6px 34px 6px 34px;
  --shadow-card: 0 20px 44px -26px rgba(16, 25, 43, 0.22);
  --shadow-lift: 0 26px 56px -22px rgba(16, 25, 43, 0.28);
  --container: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.45em;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-weight: 500; }
p { margin: 0 0 1.1em; max-width: 58ch; color: var(--text-soft); }
strong { color: var(--text); }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 100px 0; }
.section--tight { padding: 68px 0; }
.section--dark { background: var(--ink); color: var(--text-onDark); }
.section--dark p { color: var(--text-onDark-soft); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--stone { background: var(--stone); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--brass-deep);
  font-weight: 600; font-size: 0.8rem; letter-spacing: 0.02em; margin-bottom: 18px;
  font-family: var(--font-body); background: var(--brass-tint); padding: 7px 16px 7px 14px;
  border-radius: 999px;
}
.section--dark .eyebrow { color: #fff; background: var(--brass); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }
.hero-content .eyebrow { color: #fff; background: rgba(255,255,255,0.12); }
.hero-content .eyebrow::before { background: var(--brass); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head--split .section-head { margin-bottom: 0; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.lede { font-size: 1.05rem; color: var(--text-soft); max-width: 54ch; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  border-radius: 4px; font-weight: 600; font-size: 0.94rem; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: var(--font-body); white-space: nowrap;
}
.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: var(--brass-deep); box-shadow: 0 14px 26px -12px rgba(143, 104, 41, 0.5); }
.btn-primary::after {
  content: "→"; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.28);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; flex: none;
}
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.32); color: #fff; }
.btn-outline:hover { border-color: var(--brass); color: var(--brass); }
.btn-outline-dark { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy-soft); }
.btn-block { width: 100%; justify-content: center; }
.btn-text { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brass-deep); font-size: 0.93rem; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.btn-text:hover { border-color: var(--brass-deep); }
.section--dark .btn-text { color: var(--brass); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 0.82rem; color: var(--text-onDark-soft); border-bottom: 1px solid var(--line-dark); }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--brass); }
.topbar-left { display: flex; gap: 24px; }
.topbar-right { display: flex; gap: 14px; }
.topbar-right a { width: 24px; height: 24px; border: 1px solid var(--line-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.74rem; }
.topbar-right a:hover { border-color: var(--brass); }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { height: 36px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.18rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--text-onDark-soft); font-weight: 500; font-size: 0.94rem; padding: 8px 2px; }
.nav-links > li > a.active, .nav-links > li > a:hover { color: var(--brass); }
.has-dropdown > .dropdown {
  position: absolute; top: 100%; left: -16px; min-width: 250px; background: var(--paper);
  border-radius: var(--radius-s); box-shadow: var(--shadow-lift); padding: 10px; opacity: 0;
  visibility: hidden; transform: translateY(8px); transition: 0.2s ease; border-top: 2px solid var(--brass);
}
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; color: var(--text); padding: 10px 13px; border-radius: 4px; font-size: 0.9rem; }
.dropdown a:hover { background: var(--stone); color: var(--brass-deep); }
.nav-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); border-radius: 6px; color: #fff; padding: 7px 10px; cursor: pointer; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: 56px var(--gutter); }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); color: #fff; font-weight: 500; max-width: 14ch; animation: heroRise 0.8s cubic-bezier(.2,.8,.2,1) both; }
.hero .lede { color: var(--text-onDark-soft); font-size: 1.08rem; max-width: 44ch; animation: heroRise 0.8s 0.1s cubic-bezier(.2,.8,.2,1) both; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 26px; flex-wrap: wrap; animation: heroRise 0.8s 0.2s cubic-bezier(.2,.8,.2,1) both; }
.hero-call { display: flex; align-items: center; gap: 13px; }
.hero-call .dot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--brass); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex: none; }
.hero-call small { display: block; color: var(--text-onDark-soft); font-size: 0.8rem; }
.hero-call strong { font-size: 1.02rem; color: #fff; font-weight: 600; }
.hero-media { position: relative; min-height: 320px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--ink) 0%, rgba(16,25,43,0.08) 32%, rgba(16,25,43,0) 55%); }
@keyframes heroRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero h1, .hero .lede, .hero-actions { animation: none; } }

/* ---------- Utility strip (quick links under hero) ---------- */
.util-strip { background: var(--ink); border-top: 1px solid var(--line-dark); }
.util-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.util-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 22px; border-left: 1px solid var(--line-dark); color: var(--text-onDark-soft);
  font-size: 0.88rem; font-weight: 500; transition: color 0.2s ease, background 0.2s ease;
}
.util-item:first-child { border-left: none; }
.util-item:hover { color: #fff; background: rgba(255,255,255,0.04); }
.util-item .arrow { color: var(--brass); font-size: 0.9rem; }

/* ---------- Hero checklist ---------- */
.hero-checklist { display: grid; gap: 10px; margin: 22px 0 0; }
.hero-checklist li { display: flex; align-items: center; gap: 10px; color: var(--text-onDark-soft); font-size: 0.92rem; font-weight: 500; }
.hero-checklist li::before { content: "✓"; color: var(--brass); font-weight: 700; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(179,132,60,0.18); display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.hero-quote-line { border-left: 2px solid var(--brass); padding-left: 16px; margin: 20px 0; }
.hero-quote-line p { margin: 0; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px var(--gutter); border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: none; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); font-weight: 500; }
.trust-item span { color: var(--text-soft); font-size: 0.86rem; }

/* ---------- Quote panel (light, elevated card sitting over hero) ---------- */
.quote-panel { background: var(--paper); border-radius: var(--radius-s); padding: 34px 36px; box-shadow: var(--shadow-lift); border-top: 4px solid var(--brass); }
.quote-panel-wrap { position: relative; z-index: 5; }
@media (min-width: 901px) { .quote-panel-wrap { margin-top: -52px; } }
.quote-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.quote-panel-head h3 { color: var(--ink); margin: 0; font-size: 1.25rem; }
.quote-panel-head p { margin: 0; color: var(--text-soft); font-size: 0.9rem; }
.quote-grid { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 16px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: 0.75rem; color: var(--text-soft); font-weight: 600; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 4px; padding: 12px 13px;
  font-family: var(--font-body); font-size: 0.94rem; background: var(--paper); color: var(--text); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); }

/* ---------- About / split sections ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-l); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split-media .exp-badge {
  position: absolute; bottom: 24px; left: -20px; background: var(--brass); color: #fff;
  padding: 20px 24px; border-radius: var(--radius-s); font-family: var(--font-display); font-weight: 600;
  text-align: left; box-shadow: var(--shadow-lift); max-width: 190px;
}
.split-media .exp-badge strong { display: block; font-size: 1.9rem; line-height: 1; color: #fff; }
.split-media .exp-badge span { font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; opacity: 0.92; }

.feature-lines { display: grid; gap: 0; margin: 26px 0; border-top: 1px solid var(--line); }
.feature-lines li { display: flex; align-items: center; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-family: var(--font-body); }
.feature-lines li::before { content: "—"; color: var(--brass-deep); font-weight: 700; flex: none; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.stat-row .stat { border-left: 1px solid var(--line); padding-left: 20px; }
.stat-row .stat:first-child { border-left: none; padding-left: 0; }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--ink); font-weight: 500; }
.stat-row span { color: var(--text-soft); font-size: 0.85rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { padding: 32px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); position: relative; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.process-step:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.process-step .step-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--brass); font-weight: 600; line-height: 1; display: block; margin-bottom: 16px; }
.process-step h4 { font-size: 1.04rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; margin: 0; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--paper); overflow: hidden; border-radius: var(--radius-s); border: 1px solid var(--line); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.service-card .media { overflow: hidden; height: 220px; border-radius: var(--radius-s) var(--radius-s) 0 0; }
.service-card .media img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.service-card:hover .media img { transform: scale(1.06); }
.service-card .body { padding: 26px 26px 30px; }
.service-card .body h3 { font-size: 1.22rem; }
.service-card .body p { margin-bottom: 16px; font-size: 0.93rem; }

/* ---------- Why choose us (light, bordered cards — no longer full dark) ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 30px 26px; transition: box-shadow 0.2s ease; }
.feature-item:hover { box-shadow: var(--shadow-card); }
.feature-item .glyph { color: var(--brass); font-size: 1.5rem; margin-bottom: 18px; display: block; }
.feature-item h4 { color: var(--ink); font-size: 1.02rem; }
.feature-item p { margin: 0; font-size: 0.89rem; }

.cta-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.cta-card { border-radius: var(--radius-s); padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.cta-card.solid { background: var(--brass); }
.cta-card.solid h4, .cta-card.solid p { color: #fff; }
.cta-card.solid p { opacity: 0.9; }
.cta-card.outline { background: var(--ink); }
.cta-card.outline h4, .cta-card.outline p { color: #fff; }
.cta-card.outline p { color: var(--text-onDark-soft); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-card { position: relative; padding: 30px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); }
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 3rem; color: var(--brass-tint); line-height: 1; display: block; margin-bottom: 2px; }
.testimonial-card p.quote-text { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); font-style: italic; font-weight: 500; line-height: 1.5; max-width: none; }
.testimonial-person { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-person strong { display: block; font-size: 0.93rem; color: var(--ink); }
.testimonial-person span { font-size: 0.8rem; color: var(--text-soft); }

/* ---------- Safe transport banner (lightened) ---------- */
.safe-banner { display: grid; grid-template-columns: 1fr 0.85fr; align-items: stretch; background: var(--stone); border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); }
.safe-banner .copy { padding: 52px; display: flex; flex-direction: column; justify-content: center; }
.safe-banner .copy h2 { color: var(--ink); }
.safe-banner .copy p { color: var(--text-soft); }
.safe-banner img { height: 100%; width: 100%; object-fit: cover; min-height: 280px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-layout img { border-radius: var(--radius-l); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item summary {
  cursor: pointer; list-style: none; padding: 20px 2px; font-weight: 600; color: var(--ink);
  font-family: var(--font-display); font-size: 1.04rem; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: "+"; font-size: 1.35rem; color: var(--brass-deep); flex: none; font-family: var(--font-body); }
.accordion-item[open] summary::after { content: "\2212"; }
.accordion-item .accordion-body { padding: 0 2px 22px; color: var(--text-soft); font-size: 0.95rem; max-width: 68ch; }

/* ---------- Page header (inner pages — now light, not a dark wall) ---------- */
.page-header { background: var(--stone); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.page-header h1 { color: var(--ink); margin-bottom: 12px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.breadcrumb { color: var(--text-soft); font-size: 0.88rem; }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--brass-deep); }
.breadcrumb .sep { margin: 0 9px; opacity: 0.6; }

/* ---------- Sidebar layout ---------- */
.layout-sidebar { display: grid; grid-template-columns: 0.75fr 2fr; gap: 48px; align-items: start; }
.sidebar-box { background: var(--stone); border-radius: var(--radius-s); padding: 26px; margin-bottom: 22px; border: 1px solid var(--line); }
.sidebar-box h4 { font-size: 1.06rem; margin-bottom: 15px; }
.sidebar-links li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--text); }
.sidebar-links li:last-child a { border-bottom: none; }
.sidebar-links li a.active, .sidebar-links li a:hover { color: var(--brass-deep); }
.sidebar-box.dark { background: var(--ink); color: #fff; border: none; border-top: 3px solid var(--brass); }
.sidebar-box.dark p { color: var(--text-onDark-soft); }

.feature-list { display: grid; gap: 24px; margin: 30px 0; }
.feature-list .item { display: flex; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.feature-list .item:last-child { border-bottom: none; padding-bottom: 0; }
.feature-list .num { flex: none; font-family: var(--font-display); font-size: 1.5rem; color: var(--brass); font-weight: 600; width: 40px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 34px; }
.blog-card .media { overflow: hidden; border-radius: var(--radius-s); margin-bottom: 20px; }
.blog-card .media img { height: 250px; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .media img { transform: scale(1.05); }
.blog-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-soft); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.3rem; }
.blog-single .meta { display: flex; gap: 18px; color: var(--text-soft); font-size: 0.9rem; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.blog-single img.cover { border-radius: var(--radius-s); margin-bottom: 36px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.blog-single .content p { max-width: 68ch; color: var(--text); font-size: 1.02rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 26px; }
.contact-info-card { background: var(--ink); color: #fff; padding: 44px 40px; border-radius: var(--radius-s); }
.contact-info-card p { color: var(--text-onDark-soft); }
.contact-line { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.contact-line:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-line .ic { color: var(--brass); font-size: 1.1rem; }
.contact-form-card { background: var(--paper); padding: 44px 40px; border-radius: var(--radius-s); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.84rem; margin-bottom: 7px; color: var(--ink); }
.form-group input, .form-group textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 4px; padding: 12px 14px;
  font-family: var(--font-body); font-size: 0.96rem; background: var(--paper);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--brass); }
.form-group .error-text { color: var(--error); font-size: 0.81rem; margin-top: 6px; }
.form-group.has-error input, .form-group.has-error textarea { border-color: var(--error); }
.alert { padding: 16px 20px; border-radius: 4px; margin-bottom: 24px; font-size: 0.94rem; }
.alert-success { background: #e7f4ec; color: var(--success); border: 1px solid #bfe0cb; }
.alert-error { background: #fbebe9; color: var(--error); border: 1px solid #f0c6c1; }
.map-frame { overflow: hidden; border-radius: var(--radius-s); border: 1px solid var(--line); margin-top: 48px; }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-800); color: var(--text-onDark-soft); }
.footer-top { border-bottom: 1px solid var(--line-dark); }
.footer-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 48px 0; }
.footer-cta-row h3 { color: #fff; margin: 0; font-size: 1.55rem; max-width: 22ch; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer-grid h4 { color: #fff; font-size: 0.98rem; margin-bottom: 20px; font-family: var(--font-body); font-weight: 600; }
.footer-grid p { color: var(--text-onDark-soft); font-size: 0.91rem; }
.footer-grid li { margin-bottom: 12px; font-size: 0.91rem; }
.footer-grid li a:hover { color: var(--brass); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 32px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; text-align: center; font-size: 0.84rem; color: rgba(238,240,244,0.5); }
.footer-bottom a { color: var(--brass); }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 110px 0; }
.error-page .code { font-family: var(--font-display); font-size: 6.5rem; color: var(--brass-tint); font-weight: 600; line-height: 1; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brass); color: #fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; }

/* ==========================================================================
   Responsive — mobile-first checkpoints at 1080 / 900 / 640 / 400
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { min-height: 280px; order: -1; }
  .hero-media::after { background: linear-gradient(180deg, rgba(16,25,43,0.1) 40%, var(--ink) 100%); }
  .card-grid, .feature-strip, .testimonial-grid, .blog-grid, .process-grid, .util-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split, .split.reverse, .contact-grid, .faq-layout, .layout-sidebar, .safe-banner { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .split-media .exp-badge { left: 16px; }
  .safe-banner img { min-height: 220px; order: -1; }
  .safe-banner .copy { padding: 36px; }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row .stat:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .trust-item:nth-child(2n+1) { border-left: none; }
  .util-item:nth-child(2n+1) { border-left: none; }
  .section { padding: 76px 0; }
  .layout-sidebar aside { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline, .topbar-right { display: none; }
  .nav-toggle { display: inline-flex; }
  .card-grid, .feature-strip, .testimonial-grid, .blog-grid, .footer-grid, .feature-lines, .cta-duo, .quote-grid, .process-grid, .util-grid { grid-template-columns: 1fr; }
  .footer-cta-row { flex-direction: column; align-items: flex-start; }
  .contact-info-card, .contact-form-card, .safe-banner .copy { padding: 30px 24px; }
  .quote-panel { padding: 26px 22px; }
  .util-item { border-left: none !important; border-top: 1px solid var(--line-dark); padding: 14px 4px; }
  .util-item:first-child { border-top: none; }
  .layout-sidebar aside { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem !important; }
  .section-head h2 { font-size: 1.55rem; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .section--tight { padding: 44px 0; }
  .hero-content { padding: 44px var(--gutter) 36px; }
  .hero h1 { max-width: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .topbar-left { gap: 14px; overflow-x: auto; white-space: nowrap; -ms-overflow-style: none; scrollbar-width: none; }
  .topbar-left::-webkit-scrollbar { display: none; }
  .page-header { padding: 40px 0 32px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .trust-grid, .stat-row { grid-template-columns: 1fr; }
  .stat-row .stat, .trust-item { border-left: none !important; padding-left: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 4px; }
  .brand-name { font-size: 1.02rem; }
}

/* Mobile nav (JS toggled) */
.nav-links.is-open {
  display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--ink); padding: 18px 24px; gap: 4px; border-top: 1px solid var(--line-dark);
  max-height: calc(100vh - 100%); overflow-y: auto;
}
.nav-links.is-open li { width: 100%; }
.nav-links.is-open .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.04); display: none; border-top: none; }
.nav-links.is-open .has-dropdown.open .dropdown { display: block; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
