/*
Theme Name: C.A.R.S. of Idaho
Theme URI: https://carsofidaho.biz/
Author: C.A.R.S. of Idaho
Description: Custom theme for C.A.R.S. of Idaho (Certified Asset Recovery Services of Idaho), Coeur d'Alene. Asphalt black, steel and the thin yellow line from the company's flag logo. Self-hosted Fira Sans, no page builder, no jQuery.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: cars-of-idaho
*/

/* ==========================================================================
   Fonts (Fira Sans, SIL Open Font License, self-hosted)
   ========================================================================== */
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/fira-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/fira-sans-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/fira-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/fira-sans-800.woff2") format("woff2"); }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #16171a;          /* asphalt */
	--ink-2: #1f2125;
	--steel: #2b2f35;
	--slate: #464b53;
	--muted: #5c616a;
	--line: #dedbd3;
	--paper: #f4f3ef;
	--white: #ffffff;
	--yellow: #f6c400;       /* the thin yellow line */
	--yellow-2: #ffd633;
	--yellow-ink: #6e5600;   /* yellow-family text on light backgrounds */
	--navy: #1f2d55;         /* the Lien Enforcement Interceptor */
	--orange: #f07c2a;
	--blue: #5b7bd5;
	--red: #c62f28;
	--green: #3fb950;

	--font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
	--shadow-lg: 0 2px 4px rgba(0,0,0,.08), 0 18px 48px rgba(0,0,0,.16);
	--wrap: 1200px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: #24272c; background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--navy); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #000; text-decoration-color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.012em; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -.005em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 600; }
hr { border: 0; height: 6px; margin: 3rem 0; background: linear-gradient(var(--ink) 0 1px, var(--yellow) 1px 5px, var(--ink) 5px); }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(780px + 2 * var(--gutter)); }
.wrap--wide { max-width: 1320px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--yellow); color: var(--ink); padding: .7rem 1rem; font-weight: 600; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Kicker: small caps label above headings */
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow-ink); margin: 0 0 .7rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 26px; height: 4px; background: var(--yellow); box-shadow: 0 -1px 0 var(--ink), 0 1px 0 var(--ink); flex: none; }
.section--dark .kicker, .page-hero .kicker, .hero .kicker, .cta-band .kicker, .article__header .kicker { color: var(--yellow); }
.section--dark .kicker::before, .page-hero .kicker::before, .hero .kicker::before, .cta-band .kicker::before { box-shadow: none; }

/* The thin yellow line and hazard stripes */
.yellow-line { height: 6px; background: linear-gradient(var(--ink) 0 1px, var(--yellow) 1px 5px, var(--ink) 5px); }
.hazard { height: 12px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.25rem; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--ink); color: var(--white); font: 600 1rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { color: var(--white); background: #000; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-2); border-color: var(--yellow-2); color: var(--ink); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--small { min-height: 40px; padding: .45rem .9rem; font-size: .92rem; }
.btn--big { min-height: 58px; padding: .9rem 1.6rem; font-size: 1.2rem; font-weight: 800; }
.btn--block { display: flex; width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }
.text-link { font-weight: 600; color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }

/* ==========================================================================
   Top bar and header
   ========================================================================== */
.topbar { background: var(--ink); color: #d9dbde; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .55rem; }
.topbar a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--yellow); }
.topbar strong { color: var(--yellow); font-weight: 800; letter-spacing: .02em; }
.topbar__live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(63,185,80,.6); animation: live 2.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(63,185,80,.55); } 70% { box-shadow: 0 0 0 8px rgba(63,185,80,0); } 100% { box-shadow: 0 0 0 0 rgba(63,185,80,0); } }
.topbar__sep { color: #6b7078; }
.topbar__fb { padding: .2rem; }
.topbar__show-sm { display: none; }
@media (max-width: 640px) { .topbar__hide-sm { display: none; } .topbar__show-sm { display: inline; } .topbar strong { font-size: .95rem; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--header-h); }
.site-header__brand { text-decoration: none; color: var(--ink); flex: none; }
.site-header__brand:hover { color: var(--ink); }

.logo { display: inline-flex; align-items: center; gap: .7rem; }
.logo__flag { width: 58px; height: auto; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.logo__img { width: auto; height: 60px; max-width: none; }
.logo-card { display: inline-block; background: var(--white); border-radius: var(--radius); padding: .6rem .8rem; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 6px 18px rgba(0,0,0,.35); }
.logo-card__img { width: 250px; max-width: 100%; height: auto; }
.logo-feature { margin: 0; background: var(--white); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow-lg); border-bottom: 6px solid var(--yellow); }
.logo-feature img { width: 100%; height: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 1.7rem; font-weight: 800; letter-spacing: .03em; color: var(--ink); }
.logo__sub { font-size: .72rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; padding-left: .1em; }
.site-footer .logo__name { color: var(--white); }
.site-footer .logo__sub { color: #aeb2b8; }

/* Navigation */
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: .6rem .7rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; border-radius: var(--radius-sm); }
.site-nav .menu > li > a:not(.btn):hover, .site-nav .menu > li.current-menu-item > a:not(.btn), .site-nav .menu > li.current-menu-ancestor > a:not(.btn), .site-nav .menu > li.current_page_parent > a:not(.btn) { box-shadow: inset 0 -4px 0 var(--yellow); border-radius: 0; }
.site-nav .menu .menu-item--cta { margin-left: .5rem; }
.site-nav .menu .menu-item--cta > a { padding: .45rem .95rem; color: var(--ink); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 4px solid var(--yellow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu, .site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: .55rem .75rem; font-weight: 400; }
.site-nav .sub-menu a:hover { background: var(--paper); }
.sub-toggle { display: none; }
.nav-toggle { display: none; align-items: center; gap: .4rem; background: var(--ink); color: var(--white); border: 0; border-radius: var(--radius-sm); padding: .55rem .8rem; font: 600 .95rem var(--font); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

@media (max-width: 1080px) {
	:root { --header-h: 68px; }
	.logo__flag { width: 48px; }
	.logo__img { height: 50px; }
	.logo__name { font-size: 1.45rem; }
	.nav-toggle { display: inline-flex; }
	.site-nav { position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, calc(var(--header-h) + 44px)); background: var(--white); padding: 1rem var(--gutter) 6rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; border-top: 6px solid var(--yellow); }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--line); }
	.site-nav .menu a { padding: .95rem .25rem; font-size: 1.1rem; }
	.site-nav .menu > li > a:not(.btn):hover, .site-nav .menu > li.current-menu-item > a:not(.btn) { box-shadow: inset 4px 0 0 var(--yellow); padding-left: .9rem; }
	.site-nav .menu .menu-item--cta { margin: 1.25rem 0 0; border: 0; }
	.site-nav .menu .menu-item--cta > a { padding: .9rem; font-size: 1.1rem; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 .75rem 1rem; }
	.site-nav .menu > li.is-open > .sub-menu { display: block; }
	.sub-toggle { display: block; position: absolute; right: 0; top: .45rem; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
	.sub-toggle::before { content: ""; display: block; width: 10px; height: 10px; margin: auto; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
	.sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
}
@media (max-width: 400px) { .nav-toggle__label { display: none; } .logo__sub { letter-spacing: .28em; } .logo__img { height: 42px; } .logo { gap: .5rem; } .logo__name { font-size: 1.3rem; } }

/* ==========================================================================
   Page header (dark asphalt with faint lane lines)
   ========================================================================== */
.page-hero { position: relative; background: var(--ink); color: #e6e7e9; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(1200px 400px at 85% -10%, rgba(246,196,0,.12), transparent 60%),
	repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); }
.page-hero__inner { padding-block: clamp(2.25rem, 6vw, 4.25rem) clamp(2.5rem, 6vw, 4.5rem); position: relative; }
.page-hero__head { display: flex; align-items: center; gap: 1.1rem; }
.page-hero__icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 14px; background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 4px rgba(246,196,0,.18); }
.page-hero__icon .icon { width: 36px; height: 36px; stroke-width: 1.7; }
.page-hero__title { color: var(--white); margin: 0; max-width: 20ch; }
.page-hero__page { color: #9a9fa6; font-size: .55em; font-weight: 600; }
.page-hero__intro { font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.55; max-width: 62ch; margin: 1.2rem 0 0; color: #d4d6da; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.page-hero .search-form { margin-top: 1.5rem; max-width: 560px; }
.page-hero--image .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22,23,26,.95) 0%, rgba(22,23,26,.82) 45%, rgba(22,23,26,.45) 100%); }
@media (max-width: 560px) { .page-hero__head { align-items: flex-start; flex-direction: column; gap: .9rem; } .page-hero__icon { width: 52px; height: 52px; } .page-hero__icon .icon { width: 30px; height: 30px; } }

.crumbs ol { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: #a7abb1; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #6b7078; }
.crumbs a { color: #d4d6da; text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

/* ==========================================================================
   Designed page sections
   ========================================================================== */
.section { padding-block: clamp(3rem, 8vw, 5.5rem); position: relative; }
.section--tight { padding-block: clamp(2rem, 5vw, 3.25rem); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #d9dbde; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--yellow); }
.section--steel { background: var(--steel); color: #dfe1e4; }
.section--steel h2, .section--steel h3 { color: var(--white); }
.section--lines { background-image: repeating-linear-gradient(115deg, rgba(0,0,0,.025) 0 2px, transparent 2px 22px); }
.section__head { max-width: 760px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.section__head p { font-size: 1.12rem; color: var(--muted); }
.section--dark .section__head p, .section--steel .section__head p { color: #b9bdc3; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.25rem); line-height: 1.6; color: var(--slate); }
.section--dark .lead { color: #c9ccd1; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .88rem; color: var(--muted); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--wide-text { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 880px) { .split, .split--wide-text { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }

/* Service tiles */
.tile { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--yellow); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--ink); color: var(--yellow); margin-bottom: 1.1rem; }
.tile__icon .icon { width: 30px; height: 30px; }
.tile h3 { margin-bottom: .45rem; }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile p a, .tile li a, .tile .actions { position: relative; z-index: 1; }
.tile p { color: var(--muted); margin-bottom: 1rem; }
.tile__more { margin-top: auto; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.tile__more .icon { transition: transform .15s; }
.tile:hover .tile__more .icon { transform: translateX(3px); }
.tile ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--muted); }
.section--dark .tile { background: var(--ink-2); border-color: #33363c; box-shadow: none; }
.section--dark .tile p, .section--dark .tile ul { color: #b9bdc3; }
.section--dark .tile__icon { background: var(--yellow); color: var(--ink); }
.section--dark .tile__more { color: var(--yellow); }

/* Mini feature rows (icon + text) */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--yellow); color: var(--ink); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin: .1rem 0 .3rem; }
.feature p { margin: 0; color: var(--muted); }
.section--dark .feature p { color: #b9bdc3; }
.features { display: grid; gap: 1.5rem; }

/* Checklists */
.checklist { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checklist--cross li::before { background: #f3d9d7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c62f28' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 62% no-repeat; }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps > li { counter-increment: step; position: relative; padding: 1.15rem 1.25rem 1.15rem 4.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 8px; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 1.15rem; }
.steps > li strong:first-child { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: .15rem; }
.steps p:last-child { margin-bottom: 0; }
.section--paper .steps > li { background: var(--white); }
.steps--grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* Callouts */
.callout { border-left: 6px solid var(--yellow); background: var(--paper); padding: 1.2rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.callout > :last-child { margin-bottom: 0; }
.callout__title { font-weight: 800; color: var(--ink); margin-bottom: .35rem; display: flex; align-items: center; gap: .5rem; }
.callout--alert { border-color: var(--orange); background: #fdf1e7; }
.callout--dark { background: var(--ink); color: #d9dbde; border-color: var(--yellow); }
.callout--dark .callout__title { color: var(--white); }
.callout--dark a { color: var(--yellow); }
.section--paper .callout:not(.callout--dark):not(.callout--alert) { background: var(--white); }

/* License-plate stats */
.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; }
.plate { position: relative; background: linear-gradient(#fff, #eef0f2); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; padding: .7rem .8rem .65rem; text-align: center; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px #b8bcc2, 0 6px 16px rgba(0,0,0,.18); }
.plate::before, .plate::after { content: ""; position: absolute; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #9aa0a7; box-shadow: inset 0 1px 1px rgba(0,0,0,.4); }
.plate::before { left: 12px; } .plate::after { right: 12px; }
.plate__top { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--navy); }
.plate__num { display: block; font-size: clamp(1.7rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: .06em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.plate__bottom { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plate--yellow { background: linear-gradient(#ffdc4a, var(--yellow)); }
.plate--yellow .plate__bottom { color: #4b3c00; }

/* Photo frame with offset yellow block */
.media-frame { position: relative; margin: 0; }
.media-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); border-radius: var(--radius); z-index: 0; }
.media-frame img { position: relative; z-index: 1; border-radius: var(--radius); width: 100%; box-shadow: var(--shadow-lg); }
.media-frame figcaption { position: relative; z-index: 1; font-size: .88rem; color: var(--muted); margin-top: 1.6rem; }
@media (max-width: 560px) { .media-frame::before { inset: 10px -10px -10px 10px; } }

/* Pills */
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pills li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: var(--ink); }
.pills .icon { color: var(--yellow-ink); }
.section--dark .pills li { background: rgba(255,255,255,.06); border-color: #3a3d43; color: #e6e7e9; }
.section--dark .pills .icon { color: var(--yellow); }

/* ==========================================================================
   Home page hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,15,17,.96) 0%, rgba(14,15,17,.86) 38%, rgba(14,15,17,.35) 75%, rgba(14,15,17,.2) 100%), linear-gradient(0deg, rgba(14,15,17,.7), transparent 45%); }
.hero__inner { padding-block: clamp(3.5rem, 10vw, 7.5rem) clamp(3rem, 8vw, 6rem); max-width: var(--wrap); }
.hero__content { max-width: 640px; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 6vw, 4.1rem); line-height: 1.04; letter-spacing: -.02em; text-transform: none; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.55; color: #dfe1e4; max-width: 56ch; margin-top: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }
.hero__badges { list-style: none; margin: 2.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .95rem; color: #d4d6da; }
.hero__badges li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__badges .icon { color: var(--yellow); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(0deg, rgba(14,15,17,.96) 30%, rgba(14,15,17,.75) 70%, rgba(14,15,17,.55)); } .hero__inner { padding-top: 11rem; } }

/* "Was your vehicle towed?" band */
.help-band { background: var(--yellow); color: var(--ink); position: relative; }
.help-band__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem 2rem; align-items: center; padding-block: 1.6rem; }
.help-band__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: var(--yellow); }
.help-band__icon .icon { width: 30px; height: 30px; }
.help-band h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0 0 .2rem; }
.help-band p { margin: 0; }
.help-band__links { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 900px) { .help-band__inner { grid-template-columns: auto 1fr; } .help-band__links { grid-column: 1 / -1; } }

/* Service area map */
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.area-map__bg { fill: #1d1f23; }
.area-map__water { fill: #26405f; }
.area-map__waterlabel { fill: #7fa1c9; font: italic 400 13px var(--font); }
.area-map__state { stroke: #5a5f67; stroke-width: 1.5; stroke-dasharray: 6 6; }
.area-map__statelabel { fill: #80858d; font: 600 11px var(--font); letter-spacing: .2em; }
.area-map__road { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.area-map__road--minor { stroke: #c9ccd1; stroke-width: 3; }
.area-map__shield rect { fill: #2a55a3; stroke: #fff; stroke-width: 1.5; }
.area-map__shield--us rect { fill: #fff; stroke: #16171a; }
.area-map__shield text { fill: #fff; font: 800 12px var(--font); }
.area-map__shield--us text { fill: #16171a; }
.area-map__town circle { fill: #fff; stroke: #16171a; stroke-width: 2; }
.area-map__town text { fill: #e6e7e9; font: 600 14px var(--font); paint-order: stroke; stroke: #1d1f23; stroke-width: 4px; stroke-linejoin: round; }
.area-map__town--home circle { fill: var(--yellow); stroke: #fff; stroke-width: 3; }
.area-map__town--home text { fill: var(--yellow); font-size: 16px; font-weight: 800; }
.area-map__note { fill: #6b7078; font: 400 11px var(--font); }
.area-map figcaption { font-size: .92rem; color: var(--muted); margin-top: .9rem; }
.section--dark .area-map figcaption { color: #a7abb1; }

/* ==========================================================================
   Prose (articles, text pages)
   ========================================================================== */
.prose { font-size: 1.08rem; }
.prose > * + h2 { margin-top: 2.4rem; }
.prose > * + h3 { margin-top: 1.8rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); padding-top: .2rem; }
.prose h2::before { content: ""; display: block; width: 42px; height: 5px; background: var(--yellow); margin-bottom: .8rem; box-shadow: 0 -1px 0 var(--ink), 0 1px 0 var(--ink); }
.prose h3 { font-size: 1.22rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--yellow-ink); font-weight: 800; }
.prose blockquote { margin: 1.5rem 0; padding: .8rem 1.25rem; border-left: 5px solid var(--yellow); background: var(--paper); font-size: 1.1rem; }
.prose table { margin: 1.5rem 0; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--ink); color: var(--white); font-weight: 600; }
.prose tr:nth-child(even) td { background: #faf9f6; }
.prose .table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.prose .table-wrap table { margin: 0; min-width: 520px; }
.prose code { background: var(--paper); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.prose img { border-radius: var(--radius); }
.prose a { font-weight: 600; }
.prose .callout { font-size: 1.02rem; }
.prose .tldr { background: var(--ink); color: #e1e3e6; border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 0 0 2rem; }
.prose .tldr p:last-child, .prose .tldr ul:last-child { margin-bottom: 0; }
.prose .tldr strong { color: var(--yellow); }
.prose .tldr li::marker { color: var(--yellow); }
.page-content.prose { padding-block: clamp(2.5rem, 6vw, 4rem); }

/* FAQ accordions */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3.25rem 1.05rem 1.25rem; font-weight: 600; font-size: 1.06rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316171a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 60% no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary) { padding: 0 1.25rem; }
.faq details > :last-child { padding-bottom: 1.1rem; margin-bottom: 0; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfccc3; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: 1.45rem; display: flex; align-items: center; gap: .6rem; }
.faq-group h2 .icon { color: var(--yellow-ink); width: 1.3em; height: 1.3em; }

/* ==========================================================================
   Learning Center cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__band { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.25rem; background: var(--ink); color: var(--white); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; border-bottom: 5px solid var(--topic, var(--yellow)); background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 18px); }
.card__band .icon { color: var(--topic, var(--yellow)); width: 1.6em; height: 1.6em; }
.card__body { padding: 1.25rem 1.3rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.22rem; margin: 0 0 .5rem; line-height: 1.2; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__excerpt { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.card__meta { margin: auto 0 0; font-size: .85rem; font-weight: 600; color: var(--ink); }
.card--page { padding-top: 0; }
.card--page::before { content: ""; height: 5px; background: var(--yellow); }

.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.topic { display: flex; flex-direction: column; gap: .3rem; padding: 1.25rem; border-radius: var(--radius); background: var(--ink-2); color: var(--white); text-decoration: none; border-top: 5px solid var(--topic); transition: transform .15s; }
.topic:hover { transform: translateY(-2px); color: var(--white); }
.topic .icon { width: 34px; height: 34px; color: var(--topic); margin-bottom: .4rem; }
.topic__name { font-weight: 800; font-size: 1.2rem; }
.topic__count { font-size: .88rem; color: #a7abb1; }

.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip__dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--topic, var(--yellow)); box-shadow: 0 0 0 2px rgba(0,0,0,.08); }

.learn { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.learn__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.learn__note { display: flex; gap: 1rem; align-items: flex-start; margin-top: 3rem; padding: 1.2rem 1.4rem; background: var(--paper); border-radius: var(--radius); font-size: .95rem; color: var(--slate); }
.learn__note .icon { width: 28px; height: 28px; color: var(--yellow-ink); margin-top: .1rem; }
.learn__note p { margin: 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2.5rem; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.page-numbers:hover { border-color: var(--ink); }

/* ==========================================================================
   Article
   ========================================================================== */
.article__header { background: var(--ink); color: #d9dbde; position: relative; isolation: isolate; overflow: hidden; }
.article__header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 360px at 90% -20%, color-mix(in srgb, var(--topic, var(--yellow)) 22%, transparent), transparent 65%), repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); }
.article__header > .wrap { padding-block: clamp(2.25rem, 6vw, 4rem) clamp(2.25rem, 5vw, 3.5rem); max-width: calc(980px + 2 * var(--gutter)); }
.article__topic { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--topic, var(--yellow)); }
.article__topic-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--topic, var(--yellow)); color: var(--ink); }
.article__topic-icon .icon { width: 24px; height: 24px; }
.article__title { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 24ch; margin-bottom: .9rem; }
.article__dek { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: #cfd2d6; max-width: 64ch; line-height: 1.55; }
.article__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .88rem; color: #a7abb1; margin: 1.25rem 0 0; }
.article__layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(2rem, 5vw, 4rem); justify-content: center; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 4.5rem); }
.article__aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 1.5rem; }
.article__body, .article__aside { min-width: 0; }
@media (max-width: 980px) { .article__layout { grid-template-columns: minmax(0, 1fr); } .article__aside { position: static; order: 0; } }
.toc { border-left: 4px solid var(--yellow); padding: .2rem 0 .2rem 1rem; }
.toc__title { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; font-size: .92rem; }
.toc li { counter-increment: toc; margin-bottom: .5rem; padding-left: 1.6rem; position: relative; }
.toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; color: var(--yellow-ink); font-weight: 800; font-size: .8rem; top: .1em; }
.toc a { color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); }
.share { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.share__label { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: .3rem; }
.share__link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.share__link:hover, .share__link.is-copied { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.share__link .icon { width: 18px; height: 18px; }
.article__disclaimer { display: flex; gap: .7rem; align-items: flex-start; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.article__disclaimer .icon { width: 22px; height: 22px; color: var(--yellow-ink); margin-top: .1rem; }
.help-card { margin-top: 2rem; background: var(--ink); color: #d9dbde; border-radius: var(--radius); padding: 1.6rem 1.6rem 1.3rem; position: relative; overflow: hidden; }
.help-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px); }
.help-card__kicker { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin: .5rem 0 .4rem; }
.help-card__title { font-size: 1.35rem; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: .5rem; }
.help-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1rem 0 0; }
.help-card .text-link { color: var(--white); }
.keep-reading { background: var(--paper); padding-block: clamp(2.5rem, 6vw, 4rem); }

/* ==========================================================================
   Vehicles
   ========================================================================== */
.vcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.vcard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.vcard__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--paper); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; }
.vcard__nophoto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; height: 100%; color: var(--muted); font-size: .9rem; }
.vcard__nophoto .icon { width: 48px; height: 48px; }
.vcard__flag { position: absolute; top: 14px; left: -6px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .9rem; box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.vcard__flag--sold { background: var(--red); color: var(--white); }
.vcard--sold .vcard__media img { filter: grayscale(.7) brightness(.85); }
.vcard__body { padding: 1rem 1.2rem 1.15rem; }
.vcard__price { font-size: 1.5rem; font-weight: 800; color: var(--ink); margin: 0 0 .15rem; }
.vcard--sold .vcard__price { text-decoration: line-through; color: var(--muted); }
.vcard__title { font-size: 1.1rem; margin: 0 0 .3rem; }
.vcard__title a { color: var(--ink); text-decoration: none; }
.vcard__title a::after { content: ""; position: absolute; inset: 0; }
.vcard__specs { margin: 0; font-size: .9rem; color: var(--muted); }
.empty-lot { text-align: center; padding: 2.5rem 1.5rem; background: var(--white); border: 2px dashed #cfccc3; border-radius: var(--radius); max-width: 720px; margin-inline: auto; }
.empty-lot .icon { width: 56px; height: 56px; color: var(--yellow-ink); margin-bottom: .5rem; }
.empty-lot__title { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin-bottom: .4rem; }
.empty-lot p:last-child { margin: 0; color: var(--muted); }
.vehicle { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 4.5rem); }
.vehicle__price { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--yellow); margin: .6rem 0 0; }
.vehicle__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .vehicle__grid { grid-template-columns: 1fr; } }
.vehicle__photo { margin: 0 0 1.5rem; position: relative; }
.vehicle__photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.vehicle__photo.is-sold img { filter: grayscale(.6); }
.vehicle__nophoto { display: grid; place-items: center; text-align: center; aspect-ratio: 16 / 9; background: var(--paper); border-radius: var(--radius); color: var(--muted); margin-bottom: 1.5rem; }
.vehicle__nophoto .icon { width: 56px; height: 56px; }
.vehicle__side { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); border-radius: var(--radius); padding: 1.4rem; }
@media (max-width: 900px) { .vehicle__side { position: static; } }
.specs { margin: 0 0 1.25rem; display: grid; gap: 0; }
.specs div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin: 1.5rem 0; }
.gallery .gallery-item { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.gallery .gallery-caption { font-size: .82rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(10,10,12,.94); padding: 3.5rem 4rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--yellow); color: var(--ink); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; margin-top: -26px; }
.lightbox__next { right: 1rem; top: 50%; margin-top: -26px; }
.lightbox-open { overflow: hidden; }
@media (max-width: 600px) { .lightbox { padding: 4rem .5rem; } .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; margin: 0; } }

/* ==========================================================================
   Notices and forms
   ========================================================================== */
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); margin: 0 0 1.5rem; border-left: 6px solid var(--yellow); background: #fff8d6; }
.notice ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.notice--ok { background: #e6f5e9; border-color: var(--green); }
.notice--error { background: #fbe9e7; border-color: var(--red); }
.notice--sold { background: #fbe9e7; border-color: var(--red); }

.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.coi-form p { margin: 0 0 1.1rem; }
.coi-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
@media (max-width: 640px) { .coi-form__row { grid-template-columns: 1fr; } }
.coi-form label, .coi-form legend { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: .35rem; }
.coi-form .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.coi-form input[type="text"], .coi-form input[type="email"], .coi-form input[type="tel"], .coi-form select, .coi-form textarea, .search-form input[type="search"] { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 2px solid #cfccc3; border-radius: var(--radius-sm); background: var(--white); font: 400 1rem var(--font); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.coi-form textarea { min-height: 150px; resize: vertical; }
.coi-form input:focus, .coi-form select:focus, .coi-form textarea:focus, .search-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(246,196,0,.45); }
.coi-form fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .45rem .9rem; }
.choices label { display: flex; align-items: flex-start; gap: .55rem; font-weight: 400; font-size: .97rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; margin: 0; }
.choices label:hover { border-color: var(--ink); }
.choices input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--ink); flex: none; }
.coi-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; }
.coi-form__submit .fine { margin: 0; }
.search-form { display: flex; gap: .5rem; }
.search-form input[type="search"] { flex: 1; }
.search-form .btn { min-height: 48px; }

/* Contact page blocks */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--ink); color: #d9dbde; border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--ink) 12px 24px); }
.contact-card h2 { color: var(--white); font-size: 1.35rem; margin-top: .6rem; }
.contact-card a:not(.btn) { color: var(--yellow); }
.contact-card__phone { font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: .01em; margin: .2rem 0 .9rem; }
.contact-card__phone a { color: var(--white) !important; text-decoration: none; }
.contact-card dl { margin: 1.25rem 0 0; }
.contact-card dt { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #9a9fa6; margin-top: 1rem; }
.contact-card dd { margin: .2rem 0 0; }
.contact-card .btn { margin-top: .5rem; }

/* ==========================================================================
   CTA band and footer
   ========================================================================== */
.cta-band { background: var(--steel); color: #dfe1e4; }
.cta-band__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem 3rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band__title { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: .6rem; }
.cta-band__text { color: #c4c7cc; max-width: 56ch; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

.site-footer { background: var(--ink); color: #b9bdc3; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1fr; gap: 2.25rem; padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand p { margin: 1.1rem 0; max-width: 40ch; }
.site-footer a { color: #e6e7e9; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__heading { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: .9rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: .5rem; line-height: 1.35; }
.site-footer__phone { font-size: 1.55rem; font-weight: 800; margin-bottom: .2rem; }
.site-footer__phone a { color: var(--white); }
.site-footer__contact p { margin-bottom: .6rem; }
.site-footer__social a { display: inline-flex; align-items: center; gap: .45rem; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.badges li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border: 1px solid #3a3d43; border-radius: 999px; font-size: .84rem; color: #d9dbde; }
.badges li a { display: inline-flex; align-items: center; gap: .4rem; }
.badges .icon { color: var(--yellow); width: 1.1em; height: 1.1em; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.25rem 1.5rem; border-top: 1px solid #2c2f34; font-size: .85rem; color: #8b9097; }
.site-footer__base p { margin: 0; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 64px; }
	.callbar { display: grid; grid-template-columns: 1.6fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; box-shadow: 0 -4px 18px rgba(0,0,0,.25); }
	.callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 60px; font-weight: 800; font-size: 1.08rem; text-decoration: none; padding-bottom: env(safe-area-inset-bottom); }
	.callbar__call { background: var(--yellow); color: var(--ink); }
	.callbar__text { background: var(--ink); color: var(--white); border-top: 3px solid var(--yellow); }
	.nav-open .callbar { display: none; }
}

/* ==========================================================================
   Little extras
   ========================================================================== */
.flag--big { width: min(100%, 360px); height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; }
.quote { margin: 0; padding: 1.5rem 1.6rem; background: var(--white); border-radius: var(--radius); border-left: 6px solid var(--yellow); box-shadow: var(--shadow); font-size: 1.12rem; }
.quote footer { margin-top: .7rem; font-size: .92rem; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.5rem; top: .4rem; bottom: .4rem; width: 4px; background: linear-gradient(var(--yellow), var(--yellow)) center / 4px 100% no-repeat; }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 2rem; padding-bottom: 1.6rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(7.5rem - 6px); top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--yellow); }
.timeline__when { font-weight: 800; color: var(--ink); text-align: right; font-size: 1.05rem; }
.timeline__what h3 { font-size: 1.12rem; margin: 0 0 .25rem; }
.timeline__what p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .timeline::before { left: 6px; } .timeline li { grid-template-columns: 1fr; gap: .2rem; padding-left: 2rem; } .timeline li::before { left: 0; } .timeline__when { text-align: left; } }
.two-col-list { columns: 2 220px; column-gap: 2rem; }
.two-col-list li { break-inside: avoid; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media print {
	.topbar, .site-header, .cta-band, .site-footer, .callbar, .article__aside, .help-card { display: none !important; }
	.page-hero, .article__header { background: none; color: #000; }
	.page-hero__title, .article__title { color: #000; }
	body { font-size: 12pt; }
}
