/*
Theme Name: DriveGuide UK
Theme URI: https://driveguideuk.com
Author: DriveGuide UK
Description: Custom theme for DriveGuide UK – driving test booking guidance for UK learner drivers. Includes WhatsApp buttons (number editable in Customizer), a customer enquiry form, moderated customer reviews, and auto-created pages.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: driveguide-uk
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #0f2350;
	--navy-2: #16306b;
	--blue: #1e5fd6;
	--blue-ink: #174cb0;
	--red: #d7262e;
	--sky: #eef4ff;
	--sky-2: #e2ebfb;
	--paper: #ffffff;
	--ink: #14213d;
	--muted: #56627a;
	--line: #d9e2f1;
	--asphalt: #2a3346;
	--wa: #148a47;
	--wa-hover: #0f7239;
	--ok: #1a7f37;
	--warn-bg: #fff6e5;

	--f-display: "Sora", "Segoe UI", system-ui, sans-serif;
	--f-body: "DM Sans", "Segoe UI", system-ui, sans-serif;

	--r-lg: 22px;
	--r-md: 14px;
	--r-sm: 10px;
	--shadow: 0 1px 2px rgba(15, 35, 80, .06), 0 10px 30px -12px rgba(15, 35, 80, .18);
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	overflow-x: clip;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--f-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--sky); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }

.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); color: var(--navy); padding-bottom: 2px; }
.text-link:hover { color: var(--blue-ink); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 50px; padding: 0 1.4em; border-radius: 999px; border: 2px solid transparent;
	font: 700 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 1.8em; font-size: 1.05rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-onDark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-onDark:hover { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-wa .icon { width: 1.35em; height: 1.35em; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #c9d6f2; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .icon { color: #fff; width: 16px; height: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 35, 80, .5); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-word { font: 800 1.32rem/1 var(--f-display); letter-spacing: -.03em; }
.bw-drive { color: var(--navy); }
.bw-guide { color: var(--blue); }
.bw-uk { color: var(--red); }

.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); font-size: .98rem; }
.main-nav .menu a:hover { background: var(--sky); color: var(--navy); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--navy); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav-cta-mobile { display: none; }
.header-cta .btn { min-height: 44px; padding: 0 1.1em; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
	radial-gradient(900px 500px at 92% 10%, var(--sky-2), transparent 70%),
	linear-gradient(180deg, #fff 0%, var(--sky) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.lplate { display: inline-grid; place-items: center; width: 30px; height: 30px; background: #fff; border: 2px solid var(--navy); border-radius: 5px; color: var(--red); font: 800 1.1rem/1 var(--f-display); flex: none; }
.hero h1 { margin-bottom: 20px; max-width: 14ch; }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; font-size: .95rem; color: var(--ink); }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.hero-facts .icon { color: var(--blue); }
.hero-facts .icon-star { color: #e8a317; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.road-surface { fill: none; stroke: var(--asphalt); stroke-width: 74; stroke-linecap: round; }
.road-line { fill: none; stroke: #fff; stroke-width: 5; stroke-dasharray: 26 22; stroke-linecap: round; animation: dash-move 2.4s linear infinite; }
@keyframes dash-move { to { stroke-dashoffset: -48; } }
.hero-badge { position: absolute; left: 50%; top: 46%; width: 74%; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 30px 60px -24px rgba(15, 35, 80, .45), 0 0 0 10px rgba(255, 255, 255, .7); }
.hero-badge img { width: 100%; height: auto; border-radius: 50%; }
.hero-note { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; color: var(--navy); white-space: nowrap; }
.hero-note .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #e6f6ec; color: var(--ok); }
.hero-note-c .icon { background: var(--sky); color: var(--blue); }
.hero-note-a { left: -2%; top: 10%; }
.hero-note-b { right: -4%; top: 30%; }
.hero-note-c { left: 4%; bottom: 8%; }
.hero-note { opacity: 0; transform: translateY(8px); animation: note-in .5s ease-out forwards; }
.hero-note-a { animation-delay: .3s; }
.hero-note-b { animation-delay: .7s; }
.hero-note-c { animation-delay: 1.1s; }
@keyframes note-in { to { opacity: 1; transform: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 95, 214, .55), transparent 65%); }
.page-hero h1 { color: #fff; position: relative; max-width: 20ch; }
.page-hero .lead { color: #c9d6f2; position: relative; }
.page-hero-road { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 6px; }
.page-hero-road path { stroke: rgba(255, 255, 255, .5); stroke-width: 6; stroke-dasharray: 28 22; fill: none; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 33%, #fff 33% 66%, var(--blue) 66%); }

/* ---------- Help list ---------- */
.help-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.help-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.help-list li { display: flex; gap: 16px; padding: 28px 20px 28px 0; border-bottom: 1px solid var(--line); }
.help-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.help-list li:nth-child(even) { padding-left: 24px; }
.help-list h3 { margin-bottom: 6px; }
.help-list p { margin: 0; color: var(--muted); font-size: .97rem; }
.help-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--sky); color: var(--blue); }
.help-icon .icon { width: 24px; height: 24px; }

/* ---------- Route (how it works) ---------- */
.route { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.route::before { content: ""; position: absolute; left: 4%; right: 4%; top: 26px; height: 20px; background: var(--asphalt); border-radius: 999px; }
.route::after { content: ""; position: absolute; left: 6%; right: 6%; top: 35px; height: 3px; background: repeating-linear-gradient(90deg, #fff 0 22px, transparent 22px 40px); }
.route-stop { position: relative; z-index: 1; }
.route-num { position: relative; z-index: 2; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 5px solid var(--navy); color: var(--navy); font: 800 1.6rem/1 var(--f-display); box-shadow: 0 0 0 6px var(--sky); }
.section:not(.section-tint) .route-num { box-shadow: 0 0 0 6px #fff; }
.route-stop:last-child .route-num { background: var(--red); border-color: var(--red); color: #fff; }
.route-body { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); height: calc(100% - 94px); }
.route-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sky); color: var(--blue); margin-bottom: 12px; }
.route-body p { color: var(--muted); margin: 0; font-size: .97rem; }
.scope-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 36px auto 0; max-width: 760px; text-align: center; color: var(--navy); font-weight: 600; }
.scope-note .icon { color: var(--red); }

/* ---------- Ready / never ---------- */
.ready-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.ready-card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-lg); }
.never-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--navy); color: #d6e0f5; }
.never-card h2 { color: #fff; }
.never-card p { margin: 18px 0 0; font-size: .95rem; }
.tick-list, .cross-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tick-list li, .cross-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list .icon { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #e6f6ec; color: var(--ok); stroke-width: 2.4; margin-top: 1px; }
.cross-list .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(215, 38, 46, .14); color: var(--red); stroke-width: 2.4; margin-top: 1px; }
.never-card .cross-list .icon { background: var(--red); color: #fff; }
.never-card .cross-list li { color: #fff; font-weight: 600; }
.tick-list.small { gap: 10px; font-size: .95rem; }

/* ---------- Fees ---------- */
.fees-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.fees-grid .section-head { margin: 0; }
.fee-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fee { background: #fff; border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; }
.fee-label { font-weight: 600; color: var(--muted); font-size: .92rem; min-height: 2.9em; margin-bottom: 10px; }
.fee-num { font: 800 2.6rem/1 var(--f-display); color: var(--navy); letter-spacing: -.03em; margin-bottom: 10px; }
.fee-num.fee-ask { font-size: 1.9rem; }
.fee-sub { font-size: .88rem; color: var(--muted); margin: auto 0 0; }
.fee-ours { background: var(--navy); }
.fee-ours .fee-label, .fee-ours .fee-sub { color: #c9d6f2; }
.fee-ours .fee-num { color: #fff; }
.fee-ours a { color: #fff; font-weight: 700; }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars .icon { width: 18px; height: 18px; }
.stars .on { color: #e8a317; }
.stars .off { color: #cfd7e6; }
.rating-summary { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.rating-summary strong { color: var(--navy); font-size: 1.1rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; background: #fff; }
.review blockquote { margin: 0; color: var(--ink); }
.review blockquote p:last-child { margin: 0; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption > span:not(.avatar) { display: flex; flex-direction: column; line-height: 1.3; }
.review figcaption small { color: var(--muted); }
.review time { margin-left: auto; color: var(--muted); font-size: .85rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 1rem/1 var(--f-display); flex: none; }
.reviews-empty { display: flex; align-items: center; gap: 20px; padding: 28px; border: 2px dashed var(--line); border-radius: var(--r-lg); flex-wrap: wrap; }
.reviews-empty > .icon { width: 44px; height: 44px; color: #e8a317; }
.reviews-empty p { margin: 0; flex: 1 1 280px; color: var(--muted); }
.reviews-empty strong { color: var(--navy); }
.rating-banner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; padding: 24px 28px; background: var(--sky); border-radius: var(--r-lg); }
.rating-banner p { margin: 4px 0 0; color: var(--muted); }
.rating-banner .btn { margin-left: auto; }
.rating-big { font: 800 3rem/1 var(--f-display) !important; color: var(--navy) !important; margin: 0 !important; }
.rating-big span { font-size: 1.2rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-teaser { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; }
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 1.05rem/1.4 var(--f-display); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }
.ask-box { margin-top: 40px; padding: 32px; text-align: center; border-radius: var(--r-lg); background: var(--sky); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 88px) 0 clamp(96px, 10vw, 130px); overflow: hidden; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d6f2; max-width: 52ch; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-road { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.cta-road-surface { fill: var(--asphalt); }
.cta-road-line { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 24 20; opacity: .8; }

/* ---------- Generic layouts ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); }
.two-col .muted { margin-top: 18px; }
.center-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.chat-demo { margin-top: 24px; padding: 28px; border-radius: var(--r-lg); background: #e9efe6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23d4ddd0'/%3E%3C/svg%3E"); display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 78%; margin: 0; padding: 12px 16px; border-radius: 16px; font-size: .98rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bubble.me { align-self: flex-end; background: #d9fdd3; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }

/* Booking guide */
.guide-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.guide-toc { position: sticky; top: 100px; padding: 24px; border-radius: var(--r-lg); background: var(--sky); }
.toc-title { font: 700 1rem var(--f-display); color: var(--navy); margin-bottom: 10px; }
.guide-toc ol { margin: 0 0 20px; padding-left: 1.2em; display: grid; gap: 6px; }
.guide-toc a { text-decoration: none; font-weight: 500; }
.guide-toc .btn { width: 100%; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose ul:not(.tick-list), .prose ol { display: grid; gap: 6px; }
.guide .tick-list { margin-bottom: 1em; }
.num-list { counter-reset: n; list-style: none; padding: 0 !important; }
.num-list li { counter-increment: n; position: relative; padding-left: 48px; min-height: 34px; }
.num-list li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 .95rem/1 var(--f-display); }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
thead th { background: var(--sky); color: var(--navy); font-family: var(--f-display); font-weight: 600; }
td:last-child { font: 700 1.15rem var(--f-display); color: var(--navy); }
.rule-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.rule { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); border-top: 4px solid var(--red); }
.rule-date { font-size: .85rem; font-weight: 700; color: var(--red); margin-bottom: 6px; }
.rule h3 { font-size: 1.02rem; }
.rule p:last-child { margin: 0; font-size: .93rem; color: var(--muted); }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: #e8f7ee; color: #12452a; margin: 1.2em 0; }
.callout .icon { color: var(--wa); width: 26px; height: 26px; }
.callout p { margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-badge { text-align: center; position: sticky; top: 110px; }
.about-badge img { width: 100%; max-width: 340px; margin: 0 auto 16px; border-radius: 50%; box-shadow: var(--shadow); }
.about-badge p { font: 700 1.1rem var(--f-display); color: var(--navy); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); scroll-margin-top: 110px; }
.dg-form { display: grid; gap: 18px; }
.form-step { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.form-step:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form-step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0; display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend, .rating-input legend { font-weight: 600; font-size: .95rem; color: var(--ink); padding: 0; }
.req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c5d0e3; border-radius: 12px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--f-body);
	transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 95, 214, .15); }
.choice { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.choice legend { width: 100%; margin-bottom: 4px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; flex: none; }
.chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 6px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid #c5d0e3; font-size: .93rem; font-weight: 500; transition: all .15s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 2px; }
.form-warning { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--warn-bg); color: #6b4300; font-size: .93rem; }
.form-warning .icon { color: #b45309; }
.form-warning p { margin: 0; }
.dg-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; }
.notice p { margin: 0; }
.notice-ok { background: #e6f6ec; color: #12452a; }
.notice-ok .icon { color: var(--ok); }
.notice-err { background: #fdecec; color: #8a1a1f; }
.sent-state { text-align: center; padding: 20px 0; }
.sent-state > .icon { width: 64px; height: 64px; margin: 0 auto 14px; padding: 14px; border-radius: 50%; background: #e6f6ec; color: var(--ok); stroke-width: 2.4; }
.sent-state p { color: var(--muted); }

.rating-input { border: 0; padding: 0; margin: 0; }
.rating-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-top: 6px; }
.rating-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-stars label { cursor: pointer; color: #cfd7e6; transition: color .1s, transform .1s; }
.rating-stars label .icon { width: 36px; height: 36px; }
.rating-stars label:hover, .rating-stars label:hover ~ label, .rating-stars input:checked ~ label { color: #e8a317; }
.rating-stars input:focus-visible + label { outline: 3px solid var(--blue); border-radius: 6px; }
.form-intro h2 { margin-bottom: 14px; }
.form-intro p { color: var(--muted); }

.contact-side { display: grid; gap: 24px; }
.contact-wa { padding: 28px; border-radius: var(--r-lg); background: #e8f7ee; }
.contact-wa h2 { font-size: 1.4rem; color: #0d3f22; }
.contact-wa p { color: #25553a; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--blue); }

/* Blog list */
.post-list { display: grid; gap: 28px; }
.post-item { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.4rem; }
.post-item h2 a { text-decoration: none; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: #0a1838; color: #b9c6e2; padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { width: 108px; height: 108px; border-radius: 50%; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.footer-h { font-size: 1rem; color: #fff; margin-bottom: 16px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #dfe7f7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .contact-list .icon { color: #8fb1ff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; padding-bottom: 28px; font-size: .85rem; color: #8e9cbc; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; align-items: center; gap: 10px; padding: 0 20px 0 14px; height: 58px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px -8px rgba(20, 138, 71, .6); transition: background-color .15s, transform .15s; }
.wa-float:hover { background: var(--wa-hover); color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.main-nav .menu a { padding: 10px 10px; }
	.header-cta { display: none; }
	.hero-grid { grid-template-columns: 1fr 1fr; }
	.fees-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-header { backdrop-filter: none; background: #fff; }
	.main-nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(340px, 86vw); background: #fff; padding: 96px 24px 24px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; box-shadow: -20px 0 40px -20px rgba(15, 35, 80, .4); overflow-y: auto; z-index: 90; }
	.nav-open .main-nav { transform: none; visibility: visible; transition: transform .25s ease; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 24, 56, .45); z-index: 80; }
	.nav-toggle { position: relative; z-index: 95; }
	.main-nav .menu { flex-direction: column; gap: 2px; }
	.main-nav .menu a { padding: 14px 12px; font-size: 1.08rem; border-radius: 12px; }
	.main-nav .current-menu-item > a, .main-nav .current_page_item > a { box-shadow: inset 4px 0 0 var(--red); background: var(--sky); }
	.nav-cta-mobile { display: block; margin-top: 20px; }
	.nav-cta-mobile .btn { width: 100%; }
	.topbar-hours { display: none !important; }

	.hero-grid { grid-template-columns: 1fr; }
	.hero h1 { max-width: none; }
	.hero-visual { max-width: 440px; justify-self: center; order: -1; margin-bottom: -10px; }
	.hero-note { font-size: .82rem; }

	.help-grid, .ready-grid, .faq-teaser, .two-col, .form-layout, .guide-layout, .about-grid { grid-template-columns: 1fr; }
	.guide-toc, .about-badge { position: static; }
	.about-badge img { max-width: 220px; }
	.review-grid { grid-template-columns: 1fr 1fr; }

	.route { grid-template-columns: 1fr; gap: 18px; padding-left: 0; }
	.route::before { left: 26px; right: auto; top: 10px; bottom: 10px; width: 20px; height: auto; }
	.route::after { left: 34.5px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, #fff 0 18px, transparent 18px 32px); }
	.route-stop { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
	.route-num { margin: 0; }
	.route-body { height: auto; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar { font-size: .78rem; }
	.header-inner { min-height: 66px; gap: 12px; }
	.brand img { width: 44px; height: 44px; }
	.brand-word { font-size: 1.15rem; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-facts { flex-direction: column; gap: 10px; }
	.help-list { grid-template-columns: 1fr; }
	.help-list li, .help-list li:nth-child(even) { padding: 22px 0; border-right: 0 !important; }
	.fee-cards, .rule-cards, .review-grid, .field-row { grid-template-columns: 1fr; }
	.fee-label { min-height: 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	.footer-brand { grid-column: 1 / -1; }
	.cta-actions .btn { flex: 1 1 100%; }
	.rating-banner .btn { margin-left: 0; }
	.bubble { max-width: 90%; }
	.section-head.split .btn { width: 100%; }

	/* Floating WhatsApp becomes a full-width bar on phones */
	.wa-float { left: 12px; right: 12px; bottom: 12px; justify-content: center; height: 54px; }
	body { padding-bottom: 78px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.hero-note { opacity: 1; transform: none; }
}
