/*
Theme Name: Wali Auto Fix 2026
Author: Wali Auto Fix Ltd
Description: Wali Auto Fix garage website — mechanical repairs and bodywork in Birmingham. Booking and photo-quote requests go to Wali Garage Manager.
Version: 2.3.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: wali-autofix
*/
/* Brand tokens (navy #072747, deep #061d35, red #e72530). System fonts only: no requests to other websites.
   Motion uses transform/opacity only and is switched off for visitors who prefer reduced motion. */
:root {
  --navy: #072747; --deep: #061d35; --ink: #12273d; --red: #e72530; --red-dark: #c11a24; --wa: #167f43; --red-text: #d81f2a; --red-on-dark: #ff5a62;
  --paper: #f2f5f7; --line: #dce3e8; --muted: #55657a; --white: #fff;
  --radius: 14px; --shadow: 0 18px 50px rgba(6, 29, 53, .16); --max: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, .h2, .h3, .h4 { line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); font-weight: 900; }
h2, .h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 900; }
h3, .h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.h4 { font-size: 1rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red-text); margin-bottom: 14px; }
.hero .eyebrow, .page-hero .eyebrow, .dark .eyebrow, .quote-band .eyebrow { color: var(--red-on-dark); } /* readable on navy (4.5:1+) */
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.opt { font-weight: 500; color: var(--muted); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 10px; top: 10px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.text-link { font-weight: 800; color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red-text); color: #fff; box-shadow: 0 10px 26px rgba(231, 37, 48, .32); }
.btn-red:hover { background: var(--red-dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-wa { background: var(--wa); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.btn-row.center { justify-content: center; }

/* Header */
.topbar { background: var(--deep); color: #c8d4e2; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
@supports (backdrop-filter: blur(8px)) { .nav { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(150%) blur(10px); } }
.nav.scrolled { box-shadow: 0 6px 24px rgba(6, 29, 53, .1); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 76px; transition: height .25s ease; }
.nav.scrolled .wrap { height: 64px; }
.brand { flex: none; }
.brand img { height: 44px; width: auto; }
.nav nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a:not(.btn) { display: block; padding: 10px 13px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--ink); white-space: nowrap; }
.menu a:not(.btn):hover, .menu a[aria-current="page"] { background: var(--paper); color: var(--navy); }
.menu a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); }
.menu-cta, .menu-contact { display: none; }
.nav-cta { flex: none; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--paper); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--navy); margin: auto; position: relative; transition: transform .25s ease, background-color .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(calc(100svh - 110px), 900px); display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; padding: 0; }
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { transform: scale(1.07); animation: kenburns 16s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 29, 53, .95) 0%, rgba(6, 29, 53, .8) 45%, rgba(6, 29, 53, .3) 100%), linear-gradient(0deg, rgba(6, 29, 53, .75), transparent 55%); }
.hero .wrap { padding: 96px 0 72px; }
.hero h1 span { color: var(--red); }
.hero .lead { color: #d8e2ee; font-size: 1.25rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 30px; list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .95rem; color: #d8e2ee; }
.hero-facts strong { color: #fff; }
/* 2.3.0: collection & recovery badge in the hero */
.hero-badge { margin: 22px 0 20px; }
.hero-badge a { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 999px; background: rgba(231, 37, 48, .18); border: 1px solid rgba(255, 120, 126, .6); color: #fff; text-decoration: none; font-size: 1.05rem; line-height: 1.35; }
.hero-badge a:hover { background: rgba(231, 37, 48, .3); }
.hero-badge svg { flex: none; color: #ff8a8f; }
@media (max-width: 420px) { .hero-badge a { font-size: .98rem; padding: 10px 16px; } }
/* Laptops with short screens (e.g. 1181 × 800, 1366 × 768): keep Book a Repair and Get Bodywork Quote on screen. */
@media (min-width: 761px) and (max-height: 900px) {
  .hero .wrap { padding: 44px 0 40px; }
  .hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); margin-bottom: .3em; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero-badge { margin: 14px 0 14px; }
  .hero-badge a { padding: 9px 18px; font-size: 1rem; }
  .hero .lead { font-size: 1.1rem; line-height: 1.55; margin-bottom: 0; }
  .hero .btn-row { margin-top: 18px; }
  .hero-facts { margin-top: 24px; padding-top: 16px; }
}
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translate(-50%, 12px); opacity: .2; } }

/* Inner page hero */
.page-hero { position: relative; color: #fff; padding: clamp(70px, 10vw, 130px) 0 clamp(54px, 7vw, 84px); isolation: isolate; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 29, 53, .96), rgba(6, 29, 53, .62)); }
.page-hero .lead { color: #d8e2ee; }
.page-hero.plain { background: linear-gradient(135deg, var(--deep), var(--navy)); padding: 60px 0 48px; }
.page-hero.plain::after { display: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .85rem; color: #b9c7d6; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: #fff; }

/* Sections */
section { padding: clamp(64px, 8.5vw, 116px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 44px; }
.section-head .lead { margin: 0; }
.alt { background: var(--paper); }
.dark { background: var(--deep); color: #fff; }
.dark .lead { color: #b9c7d6; }
.quote-band { background: linear-gradient(135deg, var(--deep), var(--navy)); }
.cta-band { background: linear-gradient(135deg, var(--navy), var(--deep)); }
.cta-band .lead { margin-inline: auto; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .num { font-size: .78rem; font-weight: 900; color: var(--red-text); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; font-weight: 800; color: var(--navy); }
.card-img { width: calc(100% + 52px); max-width: none; margin: -26px -26px 18px; aspect-ratio: 16 / 10; object-fit: cover; }

/* Bodywork feature */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.feature-media { position: relative; }
.feature-media img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature-badge { position: absolute; left: 20px; bottom: 20px; background: rgba(6, 29, 53, .9); color: #fff; padding: 14px 18px; border-radius: 14px; border-left: 4px solid var(--red); }
.feature-badge strong, .feature-badge span { display: block; } .feature-badge span { font-size: .88rem; color: #c8d4e2; }
.service-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.service-list a { display: flex; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 800; font-size: 1.08rem; transition: padding .2s ease, color .2s ease; }
.service-list a:hover { color: var(--red); padding-left: 12px; }

/* Before / after comparison slider (verified pairs only) and gallery */
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-bottom: 40px; }
.pairs.single { grid-template-columns: minmax(0, 760px); }
.pair { margin: 0; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #0b1726; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .35); }
.ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.25rem; font-weight: 900; transform: translate(-50%, -50%); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input:focus-visible + .x, .ba:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.ba .lbl { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(6, 29, 53, .88); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba .lbl.l { left: 14px; } .ba .lbl.r { right: 14px; background: var(--red); }
.pair figcaption { margin-top: 12px; color: var(--muted); }
.pair figcaption strong { color: var(--ink); }
.pair figcaption .hint { display: block; margin-top: 2px; }
.photo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 28px 0 8px; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.photo-strip figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.link-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.link-columns ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-columns a { color: var(--navy); font-weight: 700; }
.anchor-alias { position: relative; top: -90px; display: block; height: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #0b1726; }
.gallery figure:nth-child(5n + 1) { grid-row: span 2; }
.gallery figure:nth-child(10n + 6) { grid-column: 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img, .gallery figure:focus-visible img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 32px 14px 12px; color: #fff; font-size: .86rem; font-weight: 700; background: linear-gradient(0deg, rgba(6, 29, 53, .9), transparent); }

/* Why choose us + steps */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.why-item { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.why-item p { color: #b9c7d6; margin: 0; }
.why-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--red); font-size: 1.3rem; margin-bottom: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.step { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 2.4rem; font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 12px; }
.step p { color: #b9c7d6; margin: 0; }
.steps.light .step { background: var(--paper); border-color: var(--line); }
.steps.light .step p { color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.review .stars { color: #e8a317; letter-spacing: 3px; font-size: 1.1rem; }
.review footer { font-weight: 700; color: var(--muted); font-size: .92rem; }
/* Genuine Google reviews (live from Google; carousel = native scroll-snap, no library) */
.g-reviews { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.g-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.g-summary { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; }
.g-summary:hover .g-count { text-decoration: underline; }
.g-rating { font-size: 2rem; line-height: 1; color: var(--navy); }
.g-stars { color: #e8a317; letter-spacing: 2px; font-size: 1.05rem; }
.g-count { color: var(--muted); font-weight: 600; }
.g-nav { display: inline-flex; gap: 8px; }
.g-nav button { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.g-nav button:hover, .g-nav button:focus-visible { background: var(--navy); color: #fff; }
.g-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 10px; scrollbar-width: thin; }
.g-card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; background: var(--paper); border-radius: var(--radius); border-top: 4px solid var(--red); padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.g-who { display: flex; align-items: center; gap: 10px; }
.g-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--line); }
.g-initial { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.g-initial[hidden], .g-avatar[hidden] { display: none; }
.g-meta { display: flex; flex-direction: column; min-width: 0; }
.g-author { font-weight: 800; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
a.g-author:hover { text-decoration: underline; }
.g-time { color: var(--muted); font-size: .86rem; }
.g-text { margin: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.g-foot { margin: auto 0 0; font-size: .88rem; color: var(--muted); }
.g-foot a { color: var(--navy); font-weight: 700; }
.g-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.g-note img { height: 18px; width: auto; }
.g-track[data-count="1"] .g-card { flex-basis: 100%; }
.g-track[data-count="2"] .g-card { flex-basis: calc((100% - 16px) / 2); }
@media (max-width: 960px) { .g-card { flex-basis: calc((100% - 16px) / 2); } }
.g-track[data-count="0"] { display: none; }
@media (max-width: 640px) { .g-reviews { padding: 16px; } .g-card, .g-track[data-count] .g-card { flex-basis: 86%; } .g-track[data-count="1"] .g-card { flex-basis: 100%; } .g-rating { font-size: 1.7rem; } }
@media (prefers-reduced-motion: reduce) { .g-track { scroll-behavior: auto; } }
.staging-note { background: #fff4d6; color: #6b4b00; border: 1px dashed #d9b453; border-radius: 12px; padding: 14px 16px; font-size: .95rem; }

/* Two columns, prose, aside */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-service .two-col, .page-hub .two-col { grid-template-columns: 1.45fr 1fr; align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.4em; }
.prose.narrow { max-width: 760px; }
.aside { position: sticky; top: 96px; background: var(--paper); border-radius: 22px; padding: 28px; }
.aside .btn { margin-bottom: 2px; }
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related a { font-weight: 700; color: var(--navy); }
.tick-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.tick-list li { padding-left: 34px; position: relative; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: .78rem; font-weight: 900; display: grid; place-items: center; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Forms */
.form-card { background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
#book .form-card { box-shadow: none; border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 800; font-size: .93rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #c9d3dd; border-radius: 12px; background: #fff; color: var(--ink); min-height: 52px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(7, 39, 71, .15); }
.field [aria-invalid="true"] { border-color: var(--red); }
.hint { font-size: .85rem; color: var(--muted); }
.drop { display: grid; gap: 4px; justify-items: center; width: 100%; border: 2px dashed #9fb0c1; border-radius: 16px; padding: 22px; text-align: center; background: var(--paper); color: var(--muted); font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop strong { color: var(--navy); font-size: 1.05rem; }
.drop:hover, .drop.over { border-color: var(--red); background: #fff1f1; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.thumbs:empty { display: none; }
.thumbs figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #dde3ea; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(6, 29, 53, .88); color: #fff; font-size: 1.1rem; cursor: pointer; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; font-weight: 500; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--navy); }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: 12px; font-weight: 600; outline: none; }
.form-status.is-sending { background: #eef4fb; color: var(--navy); }
.form-status.is-error { background: #fdecec; color: #8f1219; border-left: 4px solid var(--red); }
.form-status.is-success { background: #e8f6ee; color: #145c32; border-left: 4px solid var(--wa); }
.form-status .form-ref { display: block; margin-top: 4px; font-weight: 800; }
.form-status .form-again { margin-top: 10px; background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--navy); text-decoration: underline; cursor: pointer; }
.form-card.is-done .field:not(.full) { opacity: .7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.info { display: grid; gap: 18px; align-content: start; }
.info-row { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.info-row .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.grow { width: 100%; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-weight: 800; }
.map-card { position: relative; border-radius: 22px; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.map-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 29, 53, .96), rgba(6, 29, 53, .25)); z-index: -1; }
.map-card .body { padding: 28px; } .map-card p { color: #d8e2ee; }

/* Footer + mobile action bar */
.site-footer { background: var(--deep); color: #b9c7d6; padding: 64px 0 40px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer .h4 { color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer .icon-link svg { vertical-align: -3px; margin-right: 6px; } /* WhatsApp and Facebook icons (2.3.0) */
.site-footer a { text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 40px; width: auto; }
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 24px rgba(6, 29, 53, .14); }
.action-bar a { min-height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; text-decoration: none; font-size: .95rem; }
.ab-call { background: var(--navy); color: #fff; } .ab-wa { background: var(--wa); color: #fff; } .ab-quote { background: var(--red-text); color: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(4, 14, 26, .94); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 12px; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 1.5rem; cursor: pointer; }

mark.decide { background: #fff1b8; padding: 0 4px; border-radius: 4px; outline: 1px dashed #d9a400; }
.privacy h3 { font-size: 1.1rem; margin-top: 1.2em; }

/* Blog content */
.article-body h2 { font-size: 1.6rem; margin-top: 1.5em; }
.article-body img { border-radius: 12px; }
.article-figure { margin: 0 0 28px; }
.page-numbers { display: inline-block; padding: 8px 12px; margin: 24px 4px 0 0; border-radius: 8px; background: var(--paper); text-decoration: none; }

/* Scroll reveal (enabled only by site.js when motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* More than five menu items (an assigned WordPress menu): tighter spacing so up to seven fit on narrower desktops. */
@media (min-width: 1181px) and (max-width: 1280px) { .menu-many a:not(.btn) { padding: 10px 9px; } }
@media (max-width: 1180px) {
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: none; background: #fff; box-shadow: 0 18px 30px rgba(6, 29, 53, .16); max-height: calc(100vh - 120px); overflow: auto; }
  .nav.open nav { display: block; }
  .menu { display: grid; padding: 10px 20px 22px; gap: 2px; }
  .menu a:not(.btn) { padding: 14px 12px; font-size: 1.1rem; }
  .menu a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); }
  .menu-cta, .menu-contact { display: flex; gap: 10px; margin-top: 10px; }
  .menu-cta .btn, .menu-contact .btn { flex: 1; }
  .burger { display: block; }
  .nav-cta { margin-left: auto; }
  .nav-cta + .burger { margin-left: 0; }
  .cards { --cols: 2 !important; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar .hide-sm { display: none; }
  .brand img { height: 38px; }
  .nav .wrap { height: 66px; gap: 10px; }
  .nav-cta { display: none; }
  .hero { min-height: calc(100svh - 100px); }
  .hero .wrap { padding: 70px 0 54px; }
  .hero::after { background: linear-gradient(0deg, rgba(6, 29, 53, .97) 25%, rgba(6, 29, 53, .6) 100%); }
  .btn-row .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .section-head, .feature, .two-col, .page-service .two-col, .page-hub .two-col, .contact-grid, .form-grid { grid-template-columns: 1fr; gap: 26px; }
  .two-col.reverse > :first-child { order: 2; }
  .cards, .steps, .reviews, .why-grid { grid-template-columns: 1fr; --cols: 1 !important; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .gallery figure:nth-child(5n + 1) { grid-row: span 1; grid-column: span 2; }
  .gallery figure:nth-child(10n + 6) { grid-column: span 2; }
  .gallery figcaption { font-size: .78rem; padding: 26px 10px 8px; }
  .ba .lbl { top: 10px; font-size: .68rem; padding: 4px 9px; } .ba .lbl.l { left: 10px; } .ba .lbl.r { right: 10px; }
  .link-columns { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 110px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .action-bar { display: grid; }
  .aside { position: static; }
  .feature-media img { aspect-ratio: 4 / 3.2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}
@media print { .nav, .topbar, .action-bar, .quote-band, #book { display: none; } }
