/* ==========================================================================
   Infinite Auto — main stylesheet
   Palette: dark navy, black, electric blue, white, metallic silver accents.
   ========================================================================== */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: "Sora";
	src: url("../fonts/sora-latin-wght.woff2") format("woff2");
	font-weight: 100 800;
	font-display: swap;
}

:root {
	--black: #04070d;
	--navy-950: #060c18;
	--navy-900: #0a1426;
	--navy-800: #0f1d36;
	--navy-700: #172a4b;
	--navy-600: #233b63;
	--blue: #2f7bff;
	--blue-bright: #4c95ff;
	--blue-deep: #1a5ee0;
	--cyan: #4cc9ff;
	--white: #ffffff;
	--paper: #f4f6fa;
	--paper-2: #eaeef5;
	--line: #dce2ec;
	--ink: #0b1322;
	--ink-2: #3b4658;
	--ink-3: #667186;
	--silver: #c9d1dc;
	--metal: linear-gradient(135deg, #f1f4f8 0%, #b9c3d0 45%, #eef1f5 55%, #98a3b3 100%);
	--glow: radial-gradient(60% 80% at 80% 0%, rgba(47, 123, 255, .35) 0%, rgba(47, 123, 255, 0) 70%);
	--ok: #10865a;
	--warn: #a15c00;
	--err: #c0262d;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Sora", "Inter", system-ui, sans-serif;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow-sm: 0 1px 2px rgba(6, 12, 24, .06), 0 1px 1px rgba(6, 12, 24, .04);
	--shadow: 0 10px 30px -12px rgba(6, 12, 24, .25), 0 2px 6px rgba(6, 12, 24, .06);
	--shadow-lg: 0 30px 60px -20px rgba(6, 12, 24, .45);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: inherit; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3, .h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.h4 { font-size: 1rem; letter-spacing: 0; display: flex; align-items: center; gap: .4rem; margin-top: 1.25rem; }
.h4:first-child { margin-top: 0; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.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: 12px; top: -60px; z-index: 1000; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.wrap--content { max-width: 860px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--white); border-block: 1px solid var(--line); }
.section--dark { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.section--dark > .wrap { position: relative; }
.section--dark .lead { color: #b9c4d6; }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section__head--split { display: flex; justify-content: space-between; align-items: end; gap: 16px; max-width: none; flex-wrap: wrap; }
.section__head h2 { margin-bottom: 0; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 .75rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--metal); border-radius: 2px; }
.eyebrow--light { color: var(--cyan); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.section--dark .link-arrow, .link-arrow--light { color: var(--cyan); }

/* Buttons ---------------------------------------------------------------- */
.btn {
	--bg: var(--white); --fg: var(--ink); --bd: var(--line);
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 44px; padding: .65rem 1.15rem;
	font: 600 .95rem/1.2 var(--font); letter-spacing: -.005em;
	color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: 10px;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); --fg: var(--white); --bd: transparent; background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); box-shadow: 0 8px 22px -10px rgba(47, 123, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { box-shadow: 0 14px 30px -12px rgba(47, 123, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { --bg: var(--white); --fg: var(--ink); --bd: var(--line); }
.btn--light { --bg: var(--white); --fg: var(--navy-900); --bd: transparent; }
.btn--outline-light { --bg: rgba(255, 255, 255, .04); --fg: var(--white); --bd: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn--outline-light:hover { --bd: rgba(255, 255, 255, .6); }
.btn--small { min-height: 38px; padding: .45rem .85rem; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: .85rem 1.4rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(6, 12, 24, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); color: var(--white); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .7); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em; margin-right: auto; }
.brand:hover { color: var(--white); }
.brand__text strong { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.brand__logo { max-height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav__list a, .nav__link { color: #c8d1df; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; position: relative; }
.nav__list a:hover, .nav__link:hover, .nav__list .current-menu-item > a { color: var(--white); }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav__list a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, .2); color: var(--white); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle__close { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-950); flex-direction: column; align-items: stretch; padding: 24px var(--gutter) 40px; gap: 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; visibility: hidden; }
	.nav-open .nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.nav__list a::after { display: none; }
	.nav__actions { flex-direction: column; align-items: stretch; }
	.nav__actions .btn { width: 100%; }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: var(--white); background:
	radial-gradient(70% 90% at 85% 10%, rgba(47, 123, 255, .38) 0%, rgba(47, 123, 255, 0) 60%),
	radial-gradient(50% 60% at 0% 100%, rgba(76, 201, 255, .16) 0%, rgba(76, 201, 255, 0) 70%),
	linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
	padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 120px);
	isolation: isolate;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 85%); }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 12, 24, .94) 0%, rgba(6, 12, 24, .78) 50%, rgba(6, 12, 24, .45) 100%); }
.hero__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__fx span { position: absolute; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(76, 201, 255, .8), transparent); opacity: .5; animation: streak 7s linear infinite; }
.hero__fx span:nth-child(1) { top: 22%; width: 38%; left: -40%; }
.hero__fx span:nth-child(2) { top: 64%; width: 26%; left: -30%; animation-delay: 2.4s; animation-duration: 9s; }
.hero__fx span:nth-child(3) { top: 82%; width: 48%; left: -50%; animation-delay: 4.1s; animation-duration: 8s; opacity: .3; }
@keyframes streak { to { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .hero__fx span { animation: none; display: none; } }
.hero__inner { position: relative; }
.hero__title { max-width: 16ch; font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c3cde0; max-width: 58ch; margin-bottom: 2rem; }
.hero__search { max-width: 920px; }
.hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 32px; font-size: .9rem; }
.hero__chips .muted { color: #8e9bb2; margin-right: 4px; }
.chip { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #dbe3f0; text-decoration: none; font-size: .85rem; transition: background .2s, border-color .2s; }
.chip:hover { color: var(--white); background: rgba(47, 123, 255, .25); border-color: rgba(76, 149, 255, .6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Search ----------------------------------------------------------------- */
.search { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 0; background: var(--white); border-radius: 16px; padding: 8px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .5); }
.search__field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 8px 18px; min-width: 0; }
.search__field + .search__field { border-left: 1px solid var(--line); }
.search__field label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.search__field input { border: 0; outline: 0; padding: 4px 0; font: 500 1.05rem var(--font); color: var(--ink); background: transparent; width: 100%; min-width: 0; }
.search__field input::placeholder { color: #9aa4b5; }
.search__field:focus-within { background: var(--paper); border-radius: 10px; }
.search__submit { min-height: 56px; padding: 0 28px; border-radius: 11px; font-size: 1rem; }
.search--compact { margin-top: 20px; max-width: 860px; box-shadow: var(--shadow); }
.search--compact .search__submit { min-height: 50px; }
@media (max-width: 720px) {
	.search { grid-template-columns: 1fr; padding: 6px; }
	.search__field + .search__field { border-left: 0; border-top: 1px solid var(--line); }
	.search__field { padding: 10px 14px; }
	.search__submit { width: 100%; margin-top: 6px; }
}

/* Page hero (directory, taxonomy, pages) ---------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: var(--white); padding: 28px 0 48px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.page-hero > .wrap { position: relative; }
.page-hero h1 { margin: 12px 0 8px; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero .lead, .page-hero__intro { color: #c3cde0; max-width: 72ch; }
.page-hero__intro p:last-child { margin-bottom: 0; }
.page-hero__title { display: flex; align-items: center; gap: 16px; }
.page-hero__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(47, 123, 255, .16); border: 1px solid rgba(76, 149, 255, .35); color: var(--cyan); flex: none; margin-top: 4px; }
.page-hero__icon .icon { width: 28px; height: 28px; }
.page-hero--compact { padding-bottom: 36px; }
.page-hero--404 { padding: 96px 0 120px; text-align: left; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .85rem; color: #93a0b8; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #56627a; }
.crumbs a { color: #b9c6dc; text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs [aria-current] { color: var(--white); }

/* Layout with filters ---------------------------------------------------- */
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 36px; padding-bottom: 80px; align-items: start; }
.layout__main { min-width: 0; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.filters__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px 12px; }
.filters__box summary { font-family: var(--font-display); font-weight: 700; padding: 10px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.filters__box summary::-webkit-details-marker { display: none; }
.filters__box summary::after { content: "–"; color: var(--ink-3); }
.filters__box:not([open]) summary::after { content: "+"; }
.filters__box ul { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; }
.filters__box a { display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: .92rem; }
.filters__box a:hover { background: var(--paper); color: var(--ink); }
.filters__box a[aria-current] { background: rgba(47, 123, 255, .1); color: var(--blue-deep); font-weight: 600; }
@media (max-width: 900px) {
	.layout { grid-template-columns: 1fr; }
	.filters { position: static; order: 2; }
	.filters__box:not(:first-child) { display: none; }
}

.results__count { color: var(--ink-3); font-size: .92rem; margin-bottom: 16px; }

/* Cards ------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .25s ease, border-color .2s; color: var(--ink); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d3e2; }
.card--featured { border-color: rgba(47, 123, 255, .45); box-shadow: 0 0 0 1px rgba(47, 123, 255, .25), var(--shadow-sm); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .55); background: radial-gradient(70% 90% at 80% 0%, rgba(47, 123, 255, .45), transparent 70%), linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.card__placeholder .icon { width: 52px; height: 52px; stroke-width: 1.25; }
.card__flag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--navy-950); background: var(--metal); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.card__flag .icon { width: 14px; height: 14px; }
.card__body { padding: 18px 18px 8px; flex: 1; position: relative; }
.card__logo { position: absolute; top: -28px; right: 16px; width: 56px; height: 56px; border-radius: 12px; background: var(--white); padding: 6px; box-shadow: var(--shadow); display: grid; place-items: center; }
.card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.card__eyebrow { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-deep); margin-bottom: 6px; }
.card__title { font-size: 1.12rem; margin-bottom: 6px; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card__meta { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: .9rem; margin-bottom: 8px; }
.card__summary { color: var(--ink-2); font-size: .93rem; margin-bottom: 10px; }
.card__actions { display: flex; gap: 8px; padding: 12px 18px 18px; position: relative; z-index: 1; flex-wrap: wrap; }
.card__actions .btn { flex: 1 1 auto; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1rem; }
.chips li, .chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); text-decoration: none; }
.chips a:hover { border-color: var(--blue); color: var(--blue-deep); }
.chips li:has(a) { padding: 0; border: 0; background: none; }
.chips--small li { padding: 3px 9px; font-size: .78rem; }

/* Category tiles --------------------------------------------------------- */
.cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat:hover { color: var(--ink); border-color: rgba(47, 123, 255, .5); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat__icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--blue-deep); background: linear-gradient(135deg, rgba(47, 123, 255, .12), rgba(76, 201, 255, .08)); border: 1px solid rgba(47, 123, 255, .18); transition: background .2s, color .2s; }
.cat:hover .cat__icon { background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); color: var(--white); }
.cat__icon .icon { width: 24px; height: 24px; }
.cat__name { font-weight: 650; line-height: 1.25; }
.cat__count { font-size: .8rem; color: var(--ink-3); }
@media (max-width: 600px) {
	.cats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.cat { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 10px; padding: 14px; align-content: start; }
	.cat__icon { grid-row: auto; width: 40px; height: 40px; }
	.cat__name { font-size: .92rem; }
}

/* Cities ----------------------------------------------------------------- */
.cities { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.city { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.city:hover { border-color: rgba(47, 123, 255, .5); box-shadow: var(--shadow); color: var(--ink); }
.city .icon { color: var(--blue); width: 22px; height: 22px; }
.city span { display: flex; flex-direction: column; }
.city small { color: var(--ink-3); }
.states { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.states a { font-weight: 600; }

/* Features / steps / benefits -------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.feature > .icon { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--navy-900); color: var(--cyan); margin-bottom: 14px; }
.feature p { color: var(--ink-2); margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step__num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.step p { color: var(--ink-2); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.benefits .icon { width: 40px; height: 40px; padding: 9px; border-radius: 11px; color: var(--white); background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); }
.benefits h3 { margin-bottom: 4px; font-size: 1.05rem; }
.benefits p { margin: 0; color: #b9c4d6; font-size: .94rem; }

/* Membership tiers ------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.tier--featured { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: var(--white); border-color: transparent; box-shadow: var(--shadow-lg); }
.tier--premium { border-image: none; box-shadow: inset 0 0 0 1px #b9c3d0; }
.tier__flag { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--metal); color: var(--navy-950); font-size: .75rem; font-weight: 700; }
.tier__name { font-size: 1.25rem; }
.tier__price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; margin-bottom: 18px; letter-spacing: -.02em; }
.tier__price--tbd { font-size: 1.05rem; font-weight: 600; color: var(--ink-3); padding: 12px 0 6px; }
.tier--featured .tier__price--tbd { color: #a9b6cc; }
.tier__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.tier__list li { position: relative; padding-left: 26px; font-size: .95rem; }
.tier__list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: rgba(47, 123, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5ee0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
.tier--featured .tier__list li::before { background-color: rgba(76, 201, 255, .2); }
.tiers__note { margin-top: 18px; font-size: .85rem; color: var(--ink-3); }

/* Posts ------------------------------------------------------------------ */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px 22px; overflow: hidden; }
.post-card__media { display: block; margin: 0 -22px 18px; aspect-ratio: 16/9; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card:not(:has(.post-card__media)) { padding-top: 22px; border-top: 3px solid var(--blue); }
.post-card__date { font-size: .8rem; color: var(--ink-3); margin-bottom: 6px; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--blue-deep); }
.post-card p:last-child { margin: 0; color: var(--ink-2); }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq__item summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 650; position: relative; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: linear-gradient(110deg, var(--blue-deep) 0%, #1d47c4 45%, var(--navy-900) 100%); color: var(--white); padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent); pointer-events: none; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: #dce6ff; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.empty { text-align: center; padding: 48px 24px; background: var(--white); border: 1px dashed #c3ccdb; border-radius: var(--radius); }
.empty > .icon { width: 40px; height: 40px; color: var(--ink-3); margin: 0 auto 10px; }
.empty--dark { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .18); }

/* Business profile ------------------------------------------------------- */
.profile-hero { position: relative; color: var(--white); background: radial-gradient(60% 100% at 90% 0%, rgba(47, 123, 255, .35), transparent 65%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); padding: 28px 0 40px; overflow: hidden; isolation: isolate; }
.profile-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.profile-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 12, 24, .96) 0%, rgba(6, 12, 24, .7) 55%, rgba(6, 12, 24, .45) 100%); }
.profile-hero--photo { padding-top: 120px; }
.profile-id { display: flex; align-items: flex-end; gap: 20px; margin: 28px 0 24px; }
.profile-id__logo { width: 96px; height: 96px; flex: none; background: var(--white); border-radius: 18px; padding: 10px; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.profile-id__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.profile-id__name { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 8px 0 6px; }
.profile-id__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #c3cde0; margin: 0; }
.profile-id__meta a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.profile-id__meta span { display: inline-flex; align-items: center; gap: 6px; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #e4eaf4; }
.badge .icon { width: 13px; height: 13px; }
.badge--accent { background: var(--metal); color: var(--navy-950); border-color: transparent; }
.badge--ok { background: rgba(16, 134, 90, .2); border-color: rgba(52, 211, 153, .4); color: #b5f5d8; }
.ian-dashboard .badge { background: var(--paper); color: var(--ink-2); border-color: var(--line); }
.ian-dashboard .badge--ok { background: #e3f6ee; color: var(--ok); }
.ian-dashboard .badge--warn { background: #fff3e0; color: var(--warn); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) {
	.actions .btn { flex: 1 1 100%; }
	.profile-id { flex-direction: column; align-items: flex-start; }
}
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding-top: 32px; padding-bottom: 72px; align-items: start; }
@media (max-width: 960px) { .profile { grid-template-columns: 1fr; } }
.profile__main { display: grid; gap: 20px; min-width: 0; }
.profile__side { display: grid; gap: 20px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.panel h2 { font-size: 1.35rem; }
.panel--sticky { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 960px) { .panel--sticky { position: static; } }
.panel--subtle { background: linear-gradient(135deg, #f7f9fd, #edf2fa); }
.panel--form { border-top: 3px solid var(--blue); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.checklist .icon { color: var(--blue); margin-top: .15em; }
.chips--plain li { background: var(--white); }
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.map { min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 6px; border-radius: 12px; background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 12px, var(--paper-2) 12px, var(--paper-2) 24px); border: 1px solid var(--line); overflow: hidden; }
.map.is-loaded { display: block; padding: 0; }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }
.contact-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.contact-list .icon { color: var(--blue); margin-top: .2em; }
.contact-list address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid var(--paper-2); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--ink-2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue-deep); font-weight: 700; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-size: .88rem; }

/* Prose ------------------------------------------------------------------ */
.prose { font-size: 1.02rem; color: var(--ink-2); }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--ink); }
.prose h3 { margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.page-hero .prose { color: #c3cde0; }
.article-media { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.callout { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--navy-900); color: var(--white); }
.callout p { color: #c3cde0; }

/* Forms ------------------------------------------------------------------ */
.ian-form { display: grid; gap: 4px; }
.ian-form p { margin: 0 0 12px; }
.ian-form label, .ian-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.ian-form input[type="text"], .ian-form input[type="email"], .ian-form input[type="tel"], .ian-form input[type="url"], .ian-form input[type="password"], .ian-form input[type="date"], .ian-form input[type="number"], .ian-form input[type="time"], .ian-form select, .ian-form textarea,
.ian-panel input[type="text"], .ian-panel input[type="password"] {
	width: 100%; padding: 12px 14px; font: 1rem var(--font); color: var(--ink);
	background: var(--white); border: 1px solid #cfd7e4; border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
.ian-form input:focus, .ian-form select:focus, .ian-form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 123, 255, .15); }
.ian-form input[type="file"] { font-size: .9rem; }
.ian-form textarea { resize: vertical; min-height: 110px; }
.ian-form__fine { font-size: .82rem; color: var(--ink-3); }
.ian-fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 8px; margin: 0 0 18px; background: var(--white); }
.ian-fieldset legend { font-family: var(--font-display); font-weight: 700; padding: 0 8px; margin-left: -8px; }
.ian-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ian-grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .ian-grid-2, .ian-grid-3 { grid-template-columns: 1fr; } }
.ian-consent label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.ian-consent input { margin-top: .3em; flex: none; width: 18px; height: 18px; accent-color: var(--blue); }
.ian-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ian-segmented { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.ian-segmented legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; width: 100%; }
.ian-segmented label { margin: 0; cursor: pointer; }
.ian-segmented input { position: absolute; opacity: 0; }
.ian-segmented span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid #cfd7e4; font-weight: 500; font-size: .9rem; background: var(--white); }
.ian-segmented input:checked + span { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.ian-segmented input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.ian-appointment-only { display: none; }
.ian-lead-form.is-appointment .ian-appointment-only { display: grid; }
.ian-notice { padding: 14px 16px; border-radius: 10px; margin: 0 0 16px; border: 1px solid; font-size: .95rem; }
.ian-notice--success { background: #e9f8f1; border-color: #a7e3c8; color: #0b5e3f; }
.ian-notice--warning { background: #fff6e8; border-color: #f6d39a; color: #7a4600; }
.ian-notice--error { background: #fdecec; border-color: #f3b4b6; color: #8f1d22; }
.ian-notice--info { background: #edf4ff; border-color: #bcd4ff; color: #173f86; }
.ian-notice a { color: inherit; font-weight: 700; }
.ian-field { margin-bottom: 14px; }
.ian-field fieldset { border: 0; padding: 0; margin: 0; }
.ian-field fieldset legend { font-weight: 600; margin-bottom: 6px; }
.ian-field fieldset label { font-weight: 500; margin: 10px 0 4px; }
.ian-hours { width: 100%; border-collapse: collapse; }
.ian-hours th, .ian-hours td { padding: 4px 6px 4px 0; text-align: left; font-size: .9rem; }
.ian-tier-note { display: block; font-size: .78rem; color: var(--ink-3); margin-top: 4px; }
.ian-locked { padding: 10px 14px; border-radius: 10px; background: var(--paper); color: var(--ink-3); font-size: .9rem; }
.ian-form-wrap { max-width: 820px; }

/* Owner dashboard -------------------------------------------------------- */
.ian-dashboard { display: grid; gap: 20px; }
.ian-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.ian-panel h2, .ian-panel h3 { margin-top: 0; }
.ian-panel .login-username, .ian-panel .login-password, .ian-panel .login-remember { margin-bottom: 12px; }
.ian-panel .login-submit input { background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)); color: #fff; border: 0; padding: 12px 22px; border-radius: 10px; font-weight: 600; cursor: pointer; }
.ian-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ian-tabs a { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.ian-tabs a[aria-current] { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.ian-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 12px; }
.ian-stat { padding: 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.ian-stat__num { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--navy-900); }
.ian-stat__label { font-size: .82rem; color: var(--ink-3); }
.ian-table-wrap { overflow-x: auto; }
.ian-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ian-table th, .ian-table td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.ian-lead { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; margin-bottom: 8px; }
.ian-lead summary { padding: 12px 0; cursor: pointer; }
.ian-lead dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; }
.ian-lead dt { font-weight: 600; color: var(--ink-3); }
.ian-lead dd { margin: 0; }
.ian-inline-form { display: flex; gap: 8px; align-items: center; padding-bottom: 14px; flex-wrap: wrap; }
.ian-inline-form label { display: flex; gap: 8px; align-items: center; margin: 0; }
.ian-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.ian-thumb { display: grid; gap: 4px; font-weight: 400 !important; font-size: .82rem; }
.ian-thumb img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.ian-upsell { font-size: .92rem; color: var(--ink-2); margin: 0; }
.ian-claim-target { margin-bottom: 20px; border-left: 4px solid var(--blue); }
.ian-claim-target h2 { margin: 0 0 4px; }

/* Pagination ------------------------------------------------------------- */
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager .page-numbers.current { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.pager a.page-numbers:hover { border-color: var(--blue); color: var(--blue-deep); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--black); color: #9aa6ba; padding: 64px 0 24px; font-size: .93rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { max-width: 34ch; }
.brand--footer { margin-bottom: 12px; }
.footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--silver); margin-bottom: 14px; font-family: var(--font); font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: #9aa6ba; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer-base p { margin: 0; max-width: 80ch; }
.footer-base a { color: #b9c4d6; }

/* WordPress core classes ------------------------------------------------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .85rem; color: var(--ink-3); }

@media print {
	.site-header, .site-footer, .hero__fx, .actions, .filters, .cta-band { display: none !important; }
	body { background: #fff; }
}
