/*
Theme Name: vicesanti36
Theme URI: https://detailingvice.com
Author: Detailing Vice
Description: Premium automotive detailing theme - dark, editorial aesthetic. ACF editable version.
Version: 4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vice-theme
*/

:root {
    --ink: #0a0a0a;
    --ink-soft: #141414;
    --ink-elev: #1a1a1a;
    --cream: #f5f5f0;
    --teal: #008080;
    --white: #ffffff;

    /* rgba tokens for theme switching */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-faint: rgba(255, 255, 255, 0.05);
    --border-mid: rgba(255, 255, 255, 0.2);
    --text-muted-7: rgba(245, 245, 240, 0.7);
    --text-muted-6: rgba(245, 245, 240, 0.6);
    --text-muted-5: rgba(245, 245, 240, 0.5);
    --text-muted-4: rgba(245, 245, 240, 0.4);
    --text-muted-35: rgba(245, 245, 240, 0.35);
    --text-muted-85: rgba(245, 245, 240, 0.85);
    --text-muted-8: rgba(245, 245, 240, 0.8);
    --text-muted-3: rgba(245, 245, 240, 0.3);
    --overlay-bg: rgba(10, 10, 10, 0.95);
    --hero-overlay-1: rgba(10, 10, 10, 0.7);
    --hero-overlay-2: rgba(10, 10, 10, 0.85);
    --service-overlay: rgba(10, 10, 10, 0.2);
    --service-overlay-2: rgba(10, 10, 10, 0.6);
    --ba-before-overlay: rgba(10, 10, 10, 0.4);
    --editorial-overlay-mid: rgba(0, 0, 0, 0.2);
    --stripe-light: rgba(255, 255, 255, 0.03);
    --teal-glow: rgba(0, 128, 128, 0.2);
    --teal-num: rgba(0, 128, 128, 0.3);
    --teal-hover-bg: rgba(0, 128, 128, 0.05);
}

html[data-theme="light"] {
    --ink: #ffffff;
    --ink-soft: #f0e6c4;
    --ink-elev: #e4d8a8;
    --cream: #131313;
    --teal: #2e474e;
    --white: #ffffff;

    --border-subtle: rgba(46, 71, 78, 0.18);
    --border-faint: rgba(46, 71, 78, 0.12);
    --border-mid: rgba(46, 71, 78, 0.25);
    --text-muted-7: rgba(19, 19, 19, 0.82);
    --text-muted-6: rgba(19, 19, 19, 0.72);
    --text-muted-5: rgba(19, 19, 19, 0.62);
    --text-muted-4: rgba(19, 19, 19, 0.55);
    --text-muted-35: rgba(19, 19, 19, 0.50);
    --text-muted-85: rgba(19, 19, 19, 0.92);
    --text-muted-8: rgba(19, 19, 19, 0.86);
    --text-muted-3: rgba(19, 19, 19, 0.45);
    --overlay-bg: rgba(254, 247, 224, 0.97);
    --hero-overlay-1: rgba(46, 71, 78, 0.3);
    --hero-overlay-2: rgba(46, 71, 78, 0.65);
    --service-overlay: rgba(254, 247, 224, 0.1);
    --service-overlay-2: rgba(254, 247, 224, 0.5);
    --ba-before-overlay: rgba(254, 247, 224, 0.3);
    --stripe-light: rgba(46, 71, 78, 0.05);
    --teal-glow: rgba(46, 71, 78, 0.15);
    --teal-num: rgba(46, 71, 78, 0.55);
    --teal-hover-bg: rgba(46, 71, 78, 0.08);
    --editorial-overlay-mid: rgba(0, 0, 0, 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--ink);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    color: inherit;
}

h1,
h2,
h3,
.logo-text,
.eyebrow {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    line-height: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.eyebrow {
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.text-teal {
    color: var(--teal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--cream);
    color: var(--ink);
}

.btn-primary:hover {
    background-color: var(--teal);
    color: var(--white);
}

.btn-outline {
    border: 1px solid var(--text-muted-4);
    color: var(--cream);
}

.btn-outline:hover {
    background-color: var(--cream);
    color: var(--ink);
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-left.is-visible {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-right.is-visible {
    transform: translateX(0);
}

.reveal-scale {
    transform: scale(0.96);
}

.reveal-scale.is-visible {
    transform: scale(1);
}

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 96px;
    background: var(--overlay-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    display: flex;
    align-items: center;
}

@media (max-width: 640px) {
    .navbar {
        height: 76px;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.25em;
}

.logo-img {
    height: 64px;
    width: auto;
    display: block;
}

@media (max-width: 640px) {
    .logo-img {
        height: 48px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--cream);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--teal);
}

.chevron {
    font-size: 0.6rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ─── Mega Menu (full-width) ─── */
.nav-services-parent {
    position: static;
}

.nav-services-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--cream);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-services-btn:hover,
.nav-services-btn.active {
    color: var(--teal);
}

.nav-services-btn .chevron {
    font-size: 0.55rem;
    transition: transform 0.2s;
}

.nav-services-btn.active .chevron {
    transform: rotate(180deg);
}

.mega-menu {
    position: fixed;
    top: 96px;
    left: 0;
    width: 100%;
    background: var(--overlay-bg);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    backdrop-filter: blur(10px);
}

.mega-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mega-menu-inner {
    display: flex;
    gap: 2.5rem;
    padding: 2rem 0;
    align-items: stretch;
}

/* Left panel — service list */
.mega-menu-left {
    width: 220px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-subtle);
    padding-right: 2rem;
}

.mega-all-services {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--teal);
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: opacity 0.2s;
}

.mega-all-services:hover {
    opacity: 0.7;
}

.mega-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-services-list li {
    margin: 0;
}

.mega-service-link {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted-6);
    text-decoration: none;
    padding: 0.4rem 0;
    transition: color 0.2s;
}

.mega-service-link:hover,
.mega-service-link.is-hovered {
    color: var(--cream);
}

.mega-service-link.is-hovered {
    color: var(--teal);
}

/* Right panel — single preview image, capped at the height of the
   service list. Card is absolutely positioned so its image doesn't
   inflate the flex container. */
.mega-menu-right {
    flex: 1;
    position: relative;
    align-self: stretch;
}

.mega-img-card {
    position: absolute;
    inset: 0;
    overflow: hidden;
    text-decoration: none;
}

.mega-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.mega-img-card:hover img {
    transform: scale(1.05);
}

.mega-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.1) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.mega-img-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 2rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu.open,
.mobile-menu.is-open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--cream);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.5rem 0;
}

.mobile-menu a.btn-primary {
    color: var(--ink);
    padding: 1rem;
    text-align: center;
}

/* ─── Hero ─── */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Optional static hero image (sits over the video; user enables via ACF) */
.hero-static-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--hero-overlay-1), var(--hero-overlay-2), var(--ink));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 0.95;
    max-width: 900px;
    margin-bottom: 2rem;
}

.hero h1.eyebrow {
    font-size: 0.75rem;
    line-height: normal;
    max-width: none;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.95;
    max-width: 900px;
    margin-bottom: 2rem;
}

.hero-subtitle {
    margin-top: 1.5rem;
    max-width: 48rem;
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.3;
    /* Forced white in both light and dark modes — looks better than the
       theme-aware muted color, which becomes dark in light mode. */
    color: #ffffff;
}

/* Keep the teal accent word in the hero H1 (e.g. "Miami") in the dark-mode
   cyan #008080 even in light mode — visually punchier than the muted
   light-mode --teal (#2e474e). Scoped to .hero h1 so other section
   headings using .text-teal still pick up the theme variable. */
.hero h1 .text-teal {
    color: #008080;
}

/* Specialties Split eyebrows ("Core Specialty" / "Specialist Care") —
   forced to the dark-mode cyan #008080 in both themes for visual
   consistency with the hero accents. */
.split-block>.eyebrow {
    color: #008080;
}

/* ─── Scroll to Top button (global, fixed bottom-right) ─── */
.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #008080;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 990;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 128, 128, 0.35);
    padding: 0;
}

.scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #00a0a0;
    box-shadow: 0 8px 22px rgba(0, 128, 128, 0.5);
}

.scroll-top:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.scroll-top svg {
    display: block;
}

@media (max-width: 640px) {
    .scroll-top {
        right: 1rem;
        bottom: 1rem;
        width: 44px;
        height: 44px;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted-7);
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── Logo Marquee ─── */
.marquee-section {
    background: var(--ink-soft);
    border-top: 1px solid var(--border-faint);
    border-bottom: 1px solid var(--border-faint);
    padding: 2.5rem 0;
    overflow: hidden;
}

.marquee-track {
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 4.5rem;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-brand svg {
    height: 3rem;
    width: auto;
    color: var(--cream);
    fill: var(--cream);
    opacity: 0.35;
    transition: opacity 0.3s;
}

.marquee-brand:hover svg {
    opacity: 0.75;
}

@media (min-width: 768px) {
    .marquee-brand svg {
        height: 4.25rem;
    }
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ─── Trust Bar ─── */
.trust-bar {
    background: var(--ink-soft);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    text-align: center;
    padding: 2.5rem 1rem;
    border-right: 1px solid var(--border-subtle);
}

.trust-item:last-child {
    border-right: none;
}

.trust-num {
    font-size: 2rem;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Reserva el alto de 2 líneas siempre para que items de 1 línea
       (ej. "Show Prep") queden alineados con los de 2 líneas
       ("Classics First", "By Appointment", etc.) — los labels de abajo
       arrancan en la misma posición Y en todas las celdas. */
    min-height: 2.3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--teal);
    margin-top: 0.5rem;
}

/* ─── Specialties Split ─── */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.split-block h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.split-block p {
    color: var(--text-muted-7);
    margin-bottom: 1rem;
}

.split-block ul {
    list-style: none;
    margin-bottom: 2rem;
}

.split-block li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--text-muted-85);
}

.split-block li::before {
    content: "— ";
    color: var(--teal);
}

.split-border {
    padding-left: 3rem;
    border-left: 1px solid var(--border-subtle);
}

/* Image slot for the Classic & Vintage / Exotic & Luxury split blocks.
   Fixed height (not aspect-ratio) so both blocks render at the exact same
   physical size — the right block has extra padding-left from .split-border
   which makes its column narrower, so aspect-ratio gave a shorter image
   than the left block. */
.split-block-image {
    height: 380px;
    width: 100%;
    background: repeating-linear-gradient(45deg, var(--ink-soft), var(--ink-soft) 10px, rgba(255, 255, 255, 0.05) 10px, rgba(255, 255, 255, 0.05) 20px);
    border: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

@media (max-width: 768px) {
    .split-block-image {
        height: auto;
        aspect-ratio: 16/10;
    }
}

.split-block-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-block-image-placeholder {
    position: relative;
    z-index: 1;
    opacity: 0.5;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

/* ─── Sections ─── */
.section {
    padding: 100px 0;
}

.bg-soft {
    background-color: var(--ink-soft);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-muted-7);
}

.about-stats {
    border-left: 1px solid var(--border-subtle);
    padding-left: 3rem;
}

.stat {
    margin-bottom: 2rem;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--teal);
}

.stat p {
    font-size: 0.75rem;
    color: var(--text-muted-5);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    display: block;
    text-decoration: none;
    color: var(--cream);
    background: var(--ink-elev);
    padding: 2.5rem;
    border: 1px solid var(--border-faint);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--teal);
    background: var(--teal-hover-bg);
}

.service-card:hover h3 {
    color: var(--teal);
}

.service-num {
    display: block;
    font-size: 0.75rem;
    color: var(--teal);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    transition: color 0.3s;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted-6);
}

.learn-more {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--teal);
}

.service-cta {
    grid-column: span 1;
    background: var(--ink-soft);
    border: 1px dashed var(--border-subtle);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-cta h3 {
    color: var(--text-muted-4);
}

.service-cta p {
    color: var(--text-muted-6);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

@media (min-width: 1024px) {
    .lg-span-2 {
        grid-column: span 2;
    }
}

/* ─── Services Marquee (home only) — auto-scroll with manual nav ─── */
/* JS-driven horizontal scroll. The track is now scrollable (overflow-x:
   auto on the wrapper). JS auto-advances scrollLeft on a slow tick AND
   resets to 0 when it reaches the midpoint (duplicate cards make the
   loop seamless). Prev/Next buttons jump one card width. */
.services-marquee {
    position: relative;
    margin-top: 1rem;
}

.services-marquee-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    will-change: scroll-position;
    padding: 0.25rem 0;
    /* Soft fade on the edges so cards don't pop in/out hard */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.services-marquee-track::-webkit-scrollbar {
    display: none;
}

.service-card-marquee {
    flex: 0 0 280px;
    min-height: 280px;
}

/* ── Prev / Next nav buttons ── */
.marquee-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink-elev);
    color: var(--cream);
    border: 1px solid var(--border-mid);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.marquee-prev {
    left: 0.5rem;
}

.marquee-next {
    right: 0.5rem;
}

.marquee-nav:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 8px 22px rgba(0, 128, 128, 0.45);
}

.marquee-nav:active {
    transform: translateY(-50%) scale(0.96);
}

.marquee-nav:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}

.marquee-nav svg {
    display: block;
    flex-shrink: 0;
}

/* Light mode */
html[data-theme="light"] .marquee-nav {
    background: rgba(254, 247, 224, 0.95);
    border-color: rgba(46, 71, 78, 0.35);
    color: #2e474e;
}

html[data-theme="light"] .marquee-nav:hover {
    background: #2e474e;
    border-color: #2e474e;
    color: #fef7e0;
    box-shadow: 0 8px 22px rgba(46, 71, 78, 0.35);
}

@media (max-width: 640px) {
    .marquee-nav {
        width: 40px;
        height: 40px;
    }

    .marquee-prev {
        left: 0.25rem;
    }

    .marquee-next {
        right: 0.25rem;
    }
}

/* ─── Blog section header (home) ─── */
.blog-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.blog-view-all {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-family: 'Outfit', sans-serif;
    color: var(--cream);
    text-decoration: none;
    border-bottom: 1px solid var(--teal);
    padding-bottom: 0.4rem;
    white-space: nowrap;
    transition: color 0.3s;
    flex-shrink: 0;
}

.blog-view-all:hover {
    color: var(--teal);
}

/* ─── Blog grid home — standalone, sin conflicto con .blog-grid ─── */
.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

@media (max-width: 1024px) {
    .blog-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-grid-home {
        grid-template-columns: 1fr;
    }
}

.blog-grid-home .blog-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.blog-grid-home .blog-img {
    aspect-ratio: 16/10;
    margin-bottom: 1rem;
}

/* ─── Process ─── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
}

.process-step {
    background: var(--ink-soft);
    padding: 3rem;
}

.process-num {
    font-size: 5rem;
    color: var(--teal-num);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted-7);
}

/* ─── Testimonials ─── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    border: 1px solid var(--border-subtle);
    background: var(--ink-soft);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--teal);
    font-size: 1rem;
    letter-spacing: 0.3em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1;
}

.stars svg {
    flex-shrink: 0;
}

/* Buttons with an inline SVG icon (CTA buttons across page templates) */
.btn-with-icon {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
}

.btn-with-icon svg {
    flex-shrink: 0;
}

.testimonial-card p {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.testimonial-author strong {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted-5);
}

/* ─── FAQ ─── */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-item summary {
    padding: 1.25rem 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--teal);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding-bottom: 1.25rem;
    color: var(--text-muted-7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Blog ─── */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.follow-link {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-bottom: 1px solid var(--teal);
    padding-bottom: 0.25rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.blog-item {
    display: block;
    min-width: 0;
}

.blog-card {
    text-decoration: none;
    color: var(--cream);
    display: block;
    cursor: pointer;
}

.blog-img {
    aspect-ratio: 16/10;
    background-color: var(--ink-elev);
    margin-bottom: 1.5rem;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    transition: opacity 0.5s;
}

.blog-card:hover .blog-img {
    opacity: 1;
}

.blog-card:hover h3 {
    color: var(--teal);
}

.blog-card h3 {
    transition: color 0.3s;
}

.blog-meta {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

/* Blog Post Page */
.blog-post-image {
    aspect-ratio: 21/9;
    overflow: hidden;
    margin-bottom: 3rem;
    background: var(--ink-soft);
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.blog-post-content {
    font-size: 1.1rem;
    color: var(--text-muted-7);
    line-height: 1.9;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content h2,
.blog-post-content h3 {
    color: var(--cream);
    margin-top: 2rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

.blog-post-content a {
    color: var(--teal);
}

.blog-post-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--ink-soft);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.blog-post-cta h3 {
    margin-bottom: 1.5rem;
}

/* About / Heritage features — 4 items in a 2-col grid with teal slash */
.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    padding: 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid var(--border-faint);
    padding-top: 1rem;
    color: var(--text-muted-85);
}

.about-features li::before {
    content: "/";
    color: var(--teal);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
}

@media (max-width: 640px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Single blog post — wide layout matching service detail */
.blog-single-container {
    max-width: 1400px;
}

.blog-single-container .blog-post-image {
    aspect-ratio: 21/9;
    max-height: 560px;
}

/* Cap text body width inside the wide container so lines stay readable.
   Title, image, and CTA still span the full container width. */
.blog-single-container .blog-post-content {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Service Areas ─── */
.areas-grid {
    display: grid;
    /* 5 columns on desktop so all service-area cards stay on one line. */
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    background: transparent;
    margin-top: 2.5rem;
}

/* Responsive break-down — drop to fewer columns on tighter viewports */
@media (max-width: 1100px) {
    .areas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

@media (max-width: 720px) {
    .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .areas-grid { grid-template-columns: 1fr; }
}

.area-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--cream);
    background: var(--ink-elev);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem 1.75rem 1.5rem;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease,
                background 0.3s ease,
                box-shadow 0.3s ease;
    isolation: isolate;
}

/* Teal accent bar that grows from the bottom-left on hover */
.area-card::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.area-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 128, 128, 0.45);
    background: var(--ink-elev);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 128, 128, 0.08);
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 128, 128, 0.12);
    border: 1px solid rgba(0, 128, 128, 0.3);
    color: var(--teal);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s ease;
}

.area-card:hover .area-card-pin {
    background: rgba(0, 128, 128, 0.2);
    border-color: var(--teal);
    transform: scale(1.05);
}

.area-card-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: var(--cream);
    margin: 0 0 0.65rem;
    transition: color 0.3s ease;
}

.area-card:hover .area-card-name {
    color: var(--teal);
}

.area-card-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted-7);
    margin: 0 0 1.5rem;
    flex: 1;
}

.area-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--teal);
    padding-top: 1rem;
    border-top: 1px solid var(--border-faint);
    margin-top: auto;
    transition: gap 0.25s ease, color 0.25s ease;
}

.area-card-cta svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.area-card:hover .area-card-cta {
    gap: 0.75rem;
    color: var(--cream);
}

.area-card:hover .area-card-cta svg {
    transform: translateX(2px);
}

/* Light mode */
html[data-theme="light"] .area-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(46, 71, 78, 0.18);
}

html[data-theme="light"] .area-card:hover {
    background: rgba(46, 71, 78, 0.04);
    border-color: rgba(46, 71, 78, 0.4);
    box-shadow: 0 14px 32px rgba(46, 71, 78, 0.12);
}

html[data-theme="light"] .area-card-pin {
    background: rgba(46, 71, 78, 0.08);
    border-color: rgba(46, 71, 78, 0.25);
    color: #2e474e;
}

html[data-theme="light"] .area-card:hover .area-card-pin {
    background: rgba(46, 71, 78, 0.15);
    border-color: #2e474e;
}

html[data-theme="light"] .area-card-name {
    color: #131313;
}

html[data-theme="light"] .area-card:hover .area-card-name {
    color: #2e474e;
}

@media (max-width: 640px) {
    .areas-grid {
        gap: 1rem;
    }
    .area-card {
        padding: 1.75rem 1.5rem 1.25rem;
    }
    .area-card-name {
        font-size: 1.2rem;
    }
}

/* ─── Instagram ─── */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}

.insta-item {
    aspect-ratio: 1;
    background: var(--ink-elev);
    border: 1px solid var(--border-faint);
    transition: border-color 0.3s;
}

.insta-item:hover {
    border-color: var(--teal);
}

/* Limitar el feed de Smash Balloon a 8 posts como fallback CSS */
.sbi_load_btn_section {
    display: none !important;
}

.sbi_item:nth-child(n+9) {
    display: none !important;
}

/* ─── Exotics ─── */
.section-desc {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 4rem;
    color: var(--text-muted-7);
}

.exotics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.exotico-item {
    background: var(--ink-elev);
    padding: 2.5rem;
    border: 1px solid var(--border-faint);
    transition: border-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.exotico-item,
.exotico-item h3,
.exotico-item p,
.exotico-item .learn-more {
    text-decoration: none;
}

.exotico-item:hover {
    border-color: var(--teal-num);
}

.exotico-item h3 {
    margin-bottom: 0.75rem;
}

.exotico-item p {
    font-size: 0.85rem;
    color: var(--text-muted-6);
}

/* ─── Final CTA ─── */
.final-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--teal-glow), transparent 60%);
}

/* ─── Service Detail Page ─── */
.service-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
}

.service-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    animation: slow-zoom 20s ease-in-out infinite alternate;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.15) 28%,
            rgba(0, 0, 0, 0.04) 55%,
            rgba(0, 0, 0, 0.45) 80%,
            var(--ink) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    text-align: left;
    /* width:100% locks the container to the flex parent's full width
       (capped by max-width:1400px from .container rules). Without it
       short headings looked horizontally centered because flex auto
       margins were redistributing leftover space differently than in
       the body sections. align-self is left default so the parent's
       align-items:center vertically centers the content as before. */
    width: 100%;
}

/* Hero text alignment — every descendant MUST left-align so short
   headings (e.g. "WRAPS") and long ones (e.g. "AUTO DETAILING") start
   at the exact same X position, matching the body sections below.
   !important wins against any plugin / SEO breadcrumb override. */
.service-hero-content,
.service-hero-content h1,
.service-hero-content h2,
.service-hero-content h3,
.service-hero-content p,
.service-hero-content .eyebrow,
.service-hero-content .back-link,
.service-hero-content > * {
    text-align: left !important;
}

.service-hero-content h1 {
    font-size: 1rem;
    line-height: 1.2;
    margin: 0 0 0.25rem;
}

.service-hero-content h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.9;
    margin: 0 !important;
    display: block;
    width: 100%;
}

.back-link {
    color: var(--teal);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--cream);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
}

.service-lead {
    font-size: 1.5rem;
    color: var(--text-muted-85);
    line-height: 1.4;
    margin-bottom: 2rem;
    text-align: left;
}

/* Tagline below the hero is now an <h2> for SEO. Override the global
   uppercase / letter-spacing / huge-size rules so it visually keeps the
   editorial-lead look. */
h2.service-lead {
    text-transform: none;
    letter-spacing: -0.005em;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
}

/* H2 inside the service detail body (e.g. "What Is Paint Correction?"). */
.service-detail-paragraphs .service-detail-h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 2.5rem 0 1.25rem;
    color: var(--cream);
}

.service-detail-paragraphs>p:first-child {
    margin-top: 0;
}

.service-detail-text p {
    color: var(--text-muted-7);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-expect {
    background: var(--ink-soft);
    padding: 3rem;
    border: 1px solid var(--border-faint);
    position: relative;
    overflow: hidden;
}

.expect-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--teal);
}

.service-expect h3 {
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--teal);
    margin-bottom: 1.5rem;
}

.service-expect ul {
    list-style: none;
}

.service-expect li {
    padding: 0.75rem 0;
    color: var(--text-muted-6);
    display: flex;
    gap: 1rem;
    font-size: 0.95rem;
}

.slash {
    color: var(--teal);
}

/* ─── Service Detail — long-form sections ─── */

/* Wider container for service detail body, matching React's container-editorial */
.service-detail-page .container {
    max-width: 1400px;
}

/* Classic + Exotic split */
.service-split.section {
    border-top: 1px solid var(--border-subtle);
}

.service-split-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .service-split-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .service-split-right {
        border-left: 1px solid var(--border-subtle);
        padding-left: 4rem;
    }
}

.service-split-grid h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(1.875rem, 3.2vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.service-split-text {
    color: var(--text-muted-7);
    line-height: 1.7;
    font-size: 1.0625rem;
}

/* Process / Tiers */
.service-process-section {
    border-top: 1px solid var(--border-subtle);
}

.service-process-header {
    max-width: 48rem;
    margin-bottom: 4rem;
}

.service-process-header h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.service-process-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border-subtle);
}

@media (min-width: 768px) {
    .service-process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.service-process-step {
    background: var(--ink);
    padding: 2.5rem;
}

.service-process-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    color: var(--teal-num);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.service-process-step h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.service-process-step p {
    color: var(--text-muted-7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA card to fill the empty cell when process steps are odd */
.service-process-cta {
    background: var(--ink-soft);
    border: 1px dashed var(--border-subtle);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-process-cta h3 {
    color: var(--text-muted-4);
    margin-bottom: 1rem;
}

.service-process-cta p {
    color: var(--text-muted-6);
    margin-bottom: 1.5rem;
}

.service-process-cta .btn {
    align-self: flex-start;
}

/* Service Tiers / Options */
.service-tiers-section {
    border-top: 1px solid var(--border-subtle);
}

.service-tiers-header {
    max-width: 48rem;
    margin-bottom: 4rem;
}

.service-tiers-header h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.service-tiers-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border-subtle);
}

@media (min-width: 768px) {
    .service-tiers-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.service-tier-card {
    background: var(--ink-soft);
    padding: 2.5rem;
}

.service-tier-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.service-tier-card p {
    color: var(--text-muted-7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Service-specific FAQs */
.service-faqs-section {
    border-top: 1px solid var(--border-subtle);
}

.service-faqs-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .service-faqs-grid {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }
}

.service-faqs-grid h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.service-faqs-list .faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.service-faqs-list .faq-item summary {
    padding: 1.5rem 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    list-style: none;
}

.service-faqs-list .faq-item summary::-webkit-details-marker {
    display: none;
}

.service-faqs-list .faq-item summary::after {
    content: '+';
    float: right;
    color: var(--teal);
}

.service-faqs-list .faq-item[open] summary::after {
    content: '−';
}

.service-faqs-list .faq-item p {
    padding: 0 0 1.5rem;
    color: var(--text-muted-7);
    line-height: 1.7;
}

@keyframes slow-zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* ─── 404 ─── */
.error-page {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.error-bg {
    font-size: clamp(10rem, 25vw, 20rem);
    opacity: 0.04;
    position: absolute;
    user-select: none;
    font-weight: 700;
}

.error-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.error-content h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.error-content p {
    color: var(--text-muted-6);
    max-width: 400px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

/* ─── Contact ─── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 5rem;
}

.info-list {
    margin-top: 3rem;
}

.info-list p {
    margin-bottom: 1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-mid);
    padding: 1rem 0;
    color: var(--cream);
    font-family: inherit;
    width: 100%;
    font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--teal);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted-35);
}

/* ─── Before & After ─── */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ba-card {}

.ba-placeholder {
    aspect-ratio: 4/5;
    background: var(--ink-elev);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(245, 245, 240, 0.3);
}

.ba-label {
    margin-top: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(245, 245, 240, 0.85);
}

/* ─── Portfolio ─── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    auto-rows: 200px;
    gap: 0.75rem;
}

.portfolio-item {
    background: var(--ink-elev);
    border: 1px solid var(--border-faint);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    transition: border-color 0.3s;
}

.portfolio-item:hover {
    border-color: var(--teal);
}

.portfolio-item span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover span {
    opacity: 1;
}

.portfolio-tall {
    grid-row: span 2;
    min-height: 415px;
}

/* Make CPT images fill the portfolio cell */
.portfolio-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.04);
}

.portfolio-item span {
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: 1rem;
    margin: -1.25rem;
    width: calc(100% + 2.5rem);
}

/* About / Deep Dive image photos */
.about-image-photo,
.deepdive-image-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    border: 1px solid var(--border-subtle);
}

/* Before/After actual images take over the placeholder */
.ba-after img,
.ba-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Classic Care Deep Dive ─── */
.deepdive-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
}

.deepdive-image {
    position: sticky;
    top: 8rem;
    align-self: start;
}

.deepdive-content h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

.deepdive-text {
    margin-top: 2rem;
}

.deepdive-text p {
    color: var(--text-muted-7);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.deepdive-sub {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.deepdive-sub h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.deepdive-sub p {
    font-size: 0.9rem;
    color: var(--text-muted-7);
    line-height: 1.6;
}

/* ─── Location Map ─── */
.location-section {
    border-top: 1px solid var(--border-subtle);
}

.location-iframe {
    filter: grayscale(1) contrast(1.1) invert(1) hue-rotate(180deg);
}

html[data-theme="light"] .location-iframe {
    filter: none !important;
}

.location-grid {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
}

.location-info {
    background: var(--ink-soft);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-block {}

/* Eyebrow with inline icon (Address / Contact / Hours) */
.location-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal);
}

.location-icon {
    flex-shrink: 0;
    color: var(--teal);
    display: inline-block;
    vertical-align: middle;
}

.location-value {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.location-link {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    color: var(--cream);
    transition: color 0.3s;
}

.location-link:hover {
    color: var(--teal);
}

a.location-value {
    text-decoration: none;
    transition: color 0.3s;
}

a.location-value:hover {
    color: var(--teal);
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted-8);
    padding: 0.15rem 0;
}

.location-map {
    background: var(--ink-soft);
    min-height: 420px;
}

/* ─── Before/After Slider ─── */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.ba-card {}

.ba-slider {
    position: relative;
    aspect-ratio: 4/5;
    cursor: ew-resize;
    user-select: none;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--ink-soft);
    /* Block browser-native touch scroll/zoom while the user drags the
       comparison handle. Without this, vertical page scroll fights the
       horizontal drag on mobile. */
    touch-action: none;
    -ms-touch-action: none;
    -webkit-user-drag: none;
}

/* touch-action doesn't fully propagate when a descendant has its own
   touch-action default. Force it down to all the slider's children so
   the browser never tries to scroll/zoom regardless of where the user's
   finger lands inside the slider. */
.ba-slider *,
.ba-slider img,
.ba-before,
.ba-after,
.ba-handle,
.ba-handle-btn {
    touch-action: none;
}

.ba-after {
    position: absolute;
    inset: 0;
}

/* clip-path clips the right portion — image stays at full slider size */
.ba-before {
    position: absolute;
    inset: 0;
    clip-path: inset(0 50% 0 0);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--teal);
    pointer-events: none;
}

.ba-handle-btn {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: var(--cream);
    border: 2px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 0.75rem;
    pointer-events: none;
}

.ba-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    background: repeating-linear-gradient(45deg, var(--stripe-light), var(--stripe-light) 10px, transparent 10px, transparent 20px);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted-5);
}

.ba-before .ba-placeholder {
    width: 100%;
}

.ba-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 1rem;
    color: var(--text-muted-85);
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
}

/* ─── Full Footer ─── */
.site-footer {
    background: var(--ink-soft);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 5rem 2rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {}

.footer-logo {
    height: 6rem;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

@media (max-width: 640px) {
    .footer-logo {
        height: 5rem;
    }
}

.footer-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 500;
}

.footer-tagline {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted-6);
    line-height: 1.6;
    max-width: 280px;
}

.footer-socials {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    color: var(--cream);
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--teal);
    border-color: var(--teal);
}

.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--teal);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--text-muted-8);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-address {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-muted-85);
    line-height: 1.6;
}

.footer-address a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.footer-address a:hover {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    font-size: 0.75rem;
    color: var(--text-muted-5);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    text-decoration: none;
    color: var(--text-muted-5);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--cream);
}

/* ─── Individual Page Templates ─── */
.page-content {
    padding-top: 140px;
    padding-bottom: 80px;
}

.page-content:has(> .page-hero-fullbg) {
    padding-top: 0;
}

.page-container {
    max-width: 1400px;
    padding: 0 2.5rem;
}

@media (min-width: 1024px) {
    .page-container {
        padding: 0 4rem;
    }
}

/* Tailwind-style width utilities used across page templates */
.max-w-3xl {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-4xl {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-5xl {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-6xl {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 0.92;
    margin-bottom: 2rem;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted-7);
    max-width: none;
    margin: 1.5rem auto 0;
    white-space: nowrap;
}

@media (max-width: 860px) {
    .page-subtitle {
        white-space: normal;
        max-width: 520px;
    }
}

.page-lead {
    font-size: 1.25rem;
    color: var(--text-muted-7);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* About Page */
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.about-lead {
    font-size: 1.125rem;
    color: var(--text-muted-7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-page-stats {
    border-left: 1px solid var(--border-subtle);
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* About / Academy / Car Shows — long-form section blocks */
.about-sections {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-section .eyebrow {
    margin-bottom: 1rem;
}

/* Spacing between consecutive .about-section siblings when they are NOT
   wrapped in .about-sections (which has its own flex gap). Without this,
   stacked sections on Academy / Car Shows / Exotics pages render with the
   eyebrow of one section glued to the paragraph of the previous one. */
.about-section+.about-section {
    margin-top: 4rem;
}

/* Inside .about-sections the flex gap already handles spacing — disable
   the sibling margin to avoid double spacing. */
.about-sections .about-section+.about-section {
    margin-top: 0;
}

.about-section h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.about-text-block p {
    color: var(--text-muted-7);
    line-height: 1.7;
    font-size: 1.0625rem;
    margin-bottom: 1.25rem;
}

.about-text-block p:last-child {
    margin-bottom: 0;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 6rem;
}

.about-stat-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    line-height: 1;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.about-stat-item p {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--text-muted-5);
    margin: 0;
}

/* ── Page hero / section split layout (text + image side-by-side) ── */
.page-hero-split {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.page-hero-split-text {
    flex: 1;
    min-width: 0;
}

.page-hero-split-img {
    flex: 0 0 42%;
    max-width: 42%;
}

.page-hero-split-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.about-section-split {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-section-text {
    flex: 1;
    min-width: 0;
}

.about-section-img {
    flex: 0 0 40%;
    max-width: 40%;
}

.about-section-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* Exotics showcase image grid */
.exotics-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.exotics-showcase-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {

    .page-hero-split,
    .about-section-split {
        flex-direction: column;
    }

    .page-hero-split-img,
    .about-section-img {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .exotics-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.about-cta {
    margin-top: 5rem;
}

.about-cta .btn {
    padding: 1.25rem 2.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
}

@media (max-width: 768px) {
    .about-sections {
        margin-top: 3rem;
        gap: 3rem;
    }

    .about-stats-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 4rem;
    }

    .about-cta {
        margin-top: 3rem;
    }
}

/* ─── Interior page design system ─── */

/* Eyebrow accent line inside about-sections */
.about-section .eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-section .eyebrow::before {
    content: '';
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--teal);
    flex-shrink: 0;
    opacity: 0.65;
}

/* Tinted elevated card section */
.about-section.is-tinted {
    background: var(--ink-elev);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 3rem;
}

/* Large centered editorial statement */
.page-statement {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3.5rem 0;
    margin: 4rem 0 5rem;
    text-align: center;
}

.page-statement p {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.85rem);
    font-weight: 400;
    color: var(--text-muted-7);
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    letter-spacing: -0.01em;
}

/* Audience tag pills (Academy) */
.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.audience-tag {
    background: var(--teal-hover-bg);
    border: 1px solid var(--border-mid);
    color: var(--text-muted-7);
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
    border-radius: 100px;
    letter-spacing: 0.03em;
    transition: border-color 0.2s, color 0.2s;
}

.audience-tag:hover {
    border-color: var(--teal);
    color: var(--teal);
}

/* Show-prep numbered steps (Car Shows) */
.prep-steps {
    margin-top: 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

.prep-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-faint);
}

.prep-step:last-child {
    border-bottom: none;
}

.prep-step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
    opacity: 0.38;
    line-height: 1;
    min-width: 2.25rem;
    flex-shrink: 0;
    text-align: right;
}

.prep-step-text {
    flex: 1;
}

.prep-step-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 0.4rem;
}

.prep-step-text p {
    font-size: 0.9rem;
    color: var(--text-muted-6);
    line-height: 1.65;
    margin: 0 !important;
}

/* Stats — featured bordered display */
.stats-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 6rem;
}

.stat-featured-item {
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    transition: background 0.25s;
}

.stat-featured-item:last-child {
    border-right: none;
}

.stat-featured-item:hover {
    background: var(--teal-hover-bg);
}

.stat-featured-value {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.stat-featured-label {
    font-size: 0.75rem;
    color: var(--text-muted-5);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .stats-featured {
        grid-template-columns: 1fr;
    }

    .stat-featured-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .stat-featured-item:last-child {
        border-bottom: none;
    }

    .about-section.is-tinted {
        padding: 2rem;
    }

    .page-statement {
        padding: 2.5rem 0;
        margin: 3rem 0 3.5rem;
    }

    .prep-step {
        padding: 1.25rem 1.25rem;
        gap: 1rem;
    }

    .prep-step-num {
        font-size: 1.5rem;
        min-width: 1.75rem;
    }
}

/* Full-width image break between sections */
.img-break {
    width: 100%;
    margin: 3.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 21 / 9;
}

.img-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Brand / model pills */
.brand-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border: 1px solid var(--teal);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--teal);
}

/* Exotics Page */
.exotics-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Contact Page */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1200px;
}

.contact-details {
    margin-top: 3rem;
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    opacity: 0.5;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.25rem;
}

.contact-form-box {
    background: var(--ink-soft);
    padding: 3rem;
    border: 1px solid var(--border-subtle);
}

.contact-form-box form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-success {
    border-left: 3px solid var(--teal);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    background: rgba(0, 128, 128, 0.08);
    font-size: 0.9rem;
    color: var(--teal);
    letter-spacing: 0.03em;
}

.form-group {}

.form-group label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-mid);
    padding: 0.75rem 0;
    color: var(--cream);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted-35);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        padding: 1.75rem 0.5rem;
        min-width: 0;
    }

    .trust-num {
        font-size: 1.05rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .trust-label {
        font-size: 0.55rem;
        letter-spacing: 0.18em;
        margin-top: 0.4rem;
        line-height: 1.4;
        word-break: break-word;
    }

    .trust-item:nth-child(1),
    .trust-item:nth-child(2) {
        border-bottom: 1px solid var(--border-subtle);
    }

    .trust-item:nth-child(2),
    .trust-item:nth-child(4) {
        border-right: none;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

    .split-border {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-subtle);
        padding-top: 3rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-btns {
        flex-direction: column;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-hero {
        height: 50vh;
    }

    .footer-logo {
        margin-top: 2rem;
    }

    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-stats {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-subtle);
        padding-top: 2rem;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

    .exotics-page-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .ba-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-item:nth-child(9) {
        display: none;
    }

    .portfolio-tall {
        grid-row: span 1;
        min-height: 200px;
    }

    .deepdive-grid {
        grid-template-columns: 1fr;
    }

    .deepdive-image {
        position: static;
    }

    .container {
        padding: 0 1rem;
    }

    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .services-grid,
    .testimonial-grid,
    .blog-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    /* .areas-grid responsive columns are handled near the .area-card
       definition (5 → 3 → 2 → 1 cols at 1100/720/480px breakpoints). */

    .location-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ─── Navbar Actions Group ─── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-actions .nav-btn {
    height: 44px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.nav-actions .theme-toggle {
    height: 44px;
    width: 44px;
}

@media (max-width: 768px) {
    .nav-actions .nav-btn {
        display: none;
    }
}

/* ─── Theme Toggle Button ─── */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-mid);
    color: var(--cream);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    width: 11px;
    height: 11px;
    display: block;
}

.theme-toggle .icon-sun {
    display: block;
}

.theme-toggle .icon-moon {
    display: none;
}

html[data-theme="light"] .theme-toggle .icon-sun {
    display: none;
}

html[data-theme="light"] .theme-toggle .icon-moon {
    display: block;
}

@media (max-width: 768px) {
    .theme-toggle {
        display: flex;
    }
}

/* ─── Light mode overrides ─── */

/* Navbar */
html[data-theme="light"] .navbar {
    background: rgba(46, 71, 78, 0.97);
    border-bottom: 1px solid rgba(46, 71, 78, 0.4);
}

html[data-theme="light"] .nav-links a {
    color: #fef7e0;
}

html[data-theme="light"] .nav-links a:hover {
    color: #fef7e0;
    opacity: 0.65;
}

/* Services button (es <button>, no <a>, por eso no le aplica .nav-links a) */
html[data-theme="light"] .nav-services-btn {
    color: #fef7e0;
}

html[data-theme="light"] .nav-services-btn:hover,
html[data-theme="light"] .nav-services-btn.active {
    color: #fef7e0;
    opacity: 0.65;
}

html[data-theme="light"] .nav-services-btn .chevron {
    color: #fef7e0;
}

html[data-theme="light"] .mobile-toggle {
    color: #fef7e0;
}

html[data-theme="light"] .mobile-menu {
    background: #2e474e;
    border-bottom-color: rgba(254, 247, 224, 0.15);
}

html[data-theme="light"] .mobile-menu a {
    color: #fef7e0;
}

html[data-theme="light"] .mobile-menu a.btn-primary {
    background: #fef7e0;
    color: #2e474e;
}

html[data-theme="light"] .dropdown-preview {
    background: #2e474e;
    border-left-color: rgba(254, 247, 224, 0.15);
}

html[data-theme="light"] .dropdown-menu a,
html[data-theme="light"] .sub-menu a {
    background: #2e474e;
    color: #fef7e0;
}

html[data-theme="light"] .dropdown-menu a:first-child,
html[data-theme="light"] .sub-menu li:first-child a {
    border-top-color: rgba(254, 247, 224, 0.15);
}

html[data-theme="light"] .dropdown-menu a:last-child,
html[data-theme="light"] .sub-menu li:last-child a {
    border-bottom-color: rgba(254, 247, 224, 0.15);
}

html[data-theme="light"] .dropdown-menu a:hover,
html[data-theme="light"] .sub-menu a:hover {
    background: #fef7e0 !important;
    color: #2e474e !important;
    border-left-color: #fef7e0 !important;
    opacity: 1 !important;
}

html[data-theme="light"] .theme-toggle {
    border-color: rgba(254, 247, 224, 0.4);
    color: #fef7e0;
}

html[data-theme="light"] .theme-toggle:hover {
    border-color: #fef7e0;
    color: #fef7e0;
}

/* Hero overlay — reemplaza el gradiente que termina en crema */
html[data-theme="light"] .hero-overlay {
    background: linear-gradient(to bottom,
            rgba(46, 71, 78, 0.15) 0%,
            rgba(46, 71, 78, 0.45) 35%,
            rgba(46, 71, 78, 0.72) 65%,
            rgba(46, 71, 78, 0.92) 100%);
}

/* Hero — texto y botones sobre el overlay teal oscuro */
html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero h2 {
    color: #fef7e0;
}

html[data-theme="light"] .hero h2 .text-teal {
    color: #008080;
}

html[data-theme="light"] .hero-subtitle {
    color: #ffffff;
}

html[data-theme="light"] .hero-description {
    color: rgba(254, 247, 224, 0.85);
}

html[data-theme="light"] .hero .btn-primary {
    background: #fef7e0;
    color: #2e474e;
}

html[data-theme="light"] .hero .btn-primary:hover {
    background: #fef7e0;
    opacity: 0.88;
    color: #2e474e;
}

html[data-theme="light"] .hero .btn-outline {
    border-color: rgba(254, 247, 224, 0.55);
    color: #fef7e0;
}

html[data-theme="light"] .hero .btn-outline:hover {
    background: #fef7e0;
    color: #2e474e;
}

html[data-theme="light"] .hero .eyebrow {
    color: #008080;
    opacity: 1;
}

/* Botones globales en páginas con fondo crema */
html[data-theme="light"] .btn-primary {
    background-color: #2e474e;
    color: #fef7e0;
}

html[data-theme="light"] .btn-primary:hover {
    background-color: #2e474e;
    opacity: 0.82;
    color: #fef7e0;
}

html[data-theme="light"] .btn-outline {
    border-color: rgba(46, 71, 78, 0.5);
    color: #2e474e;
}

html[data-theme="light"] .btn-outline:hover {
    background: #2e474e;
    color: #fef7e0;
}

/* Navbar Book Now — botón sobre fondo teal */
html[data-theme="light"] .navbar .btn-primary {
    background: #fef7e0;
    color: #2e474e;
}

html[data-theme="light"] .navbar .btn-primary:hover {
    opacity: 0.88;
}

/* Otros elementos */
/* Light-mode .area-card hover styling lives near the .area-card definition.
   Old override that turned the entire card teal on hover removed in v7.9. */

html[data-theme="light"] .ba-handle-btn {
    background-color: #fef7e0;
    color: #2e474e;
    border-color: #2e474e;
}

html[data-theme="light"] .back-link {
    color: #2e474e;
}

html[data-theme="light"] .back-link:hover {
    color: #131313;
}

/* Service hero — el back-link queda sobre la imagen oscura del hero,
   así que en modo claro forzamos blanco para que se lea bien. */
html[data-theme="light"] .service-hero-content .back-link {
    color: #fff;
}

html[data-theme="light"] .service-hero-content .back-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .follow-link {
    border-bottom-color: #2e474e;
}

/* Footer — light mode: mismo fondo/palette que el navbar */
html[data-theme="light"] .site-footer {
    background: #2e474e;
    border-top-color: rgba(254, 247, 224, 0.1);
}

html[data-theme="light"] .footer-logo {
    filter: brightness(0) invert(1) !important;
}

html[data-theme="light"] .footer-name {
    color: #fef7e0;
}

html[data-theme="light"] .footer-tagline {
    color: rgba(254, 247, 224, 0.6);
}

html[data-theme="light"] .footer-heading {
    color: rgba(254, 247, 224, 0.45);
}

html[data-theme="light"] .footer-links a {
    color: rgba(254, 247, 224, 0.72);
}

html[data-theme="light"] .footer-links a:hover {
    color: #fef7e0;
}

html[data-theme="light"] .footer-address {
    color: rgba(254, 247, 224, 0.72);
}

html[data-theme="light"] .footer-address a:hover {
    color: #fef7e0;
}

html[data-theme="light"] .footer-bottom {
    border-top-color: rgba(254, 247, 224, 0.1);
}

html[data-theme="light"] .footer-bottom-inner {
    color: rgba(254, 247, 224, 0.5);
}

html[data-theme="light"] .footer-legal a {
    color: rgba(254, 247, 224, 0.5);
}

html[data-theme="light"] .footer-legal a:hover {
    color: #fef7e0;
}

html[data-theme="light"] .social-icon {
    color: rgba(254, 247, 224, 0.72);
    border-color: rgba(254, 247, 224, 0.22);
}

html[data-theme="light"] .social-icon:hover {
    color: #fef7e0;
    border-color: rgba(254, 247, 224, 0.55);
    background: rgba(254, 247, 224, 0.1);
}

/* ── Car Shows — event cards ── */
.events-section .eyebrow {
    margin-bottom: 1.25rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 212, 191, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.event-card.is-past {
    opacity: 0.7;
}

.event-card.is-past:hover {
    opacity: 1;
}

.event-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-img img {
    transform: scale(1.04);
}

.event-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fef7e0;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.event-card-body {
    padding: 1.25rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.event-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #008080;
    margin: 0;
}

.event-card-title {
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 0;
    color: var(--text-main);
    font-weight: 500;
}

.event-card-loc {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-muted-7);
    margin: 0;
}

.event-card-details {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted-7);
    margin: 0.25rem 0 0;
}

.event-card-link {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #008080;
    text-decoration: none;
    transition: gap 0.2s;
    align-self: flex-start;
}

.event-card-link:hover {
    color: var(--text-main);
}

html[data-theme="light"] .event-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .event-card:hover {
    border-color: #008080;
    background: rgba(0, 0, 0, 0.04);
}

/* Service detail — light mode */
html[data-theme="light"] .service-hero-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.18) 28%,
            rgba(0, 0, 0, 0.04) 55%,
            rgba(255, 255, 255, 0.25) 78%,
            rgba(255, 255, 255, 0.97) 100%);
}

html[data-theme="light"] .service-hero-bg img {
    opacity: 1;
}

/* Service hero text — light mode: use dark mode variable values */
html[data-theme="light"] .service-hero-content {
    --cream: #f5f5f0;
    --teal: #008080;
    --text-muted-7: rgba(245, 245, 240, 0.7);
    --text-muted-6: rgba(245, 245, 240, 0.6);
    --text-muted-85: rgba(245, 245, 240, 0.85);
    color: #f5f5f0;
}

html[data-theme="light"] .service-editorial-img img {
    opacity: 0.82;
}

/* Light mode: subtle black scrim over all hero sections */
html[data-theme="light"] .hero-overlay::after,
html[data-theme="light"] .service-hero-overlay::after,
html[data-theme="light"] .page-hero-fullbg-overlay::after,
html[data-theme="light"] .funnel-hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .event-card-title {
        font-size: 1.1rem;
    }
}

/* ─── Service Highlights Strip ─── */
.service-highlights-strip {
    border-top: 1px solid var(--border-subtle);
    background: var(--ink-soft);
}

.service-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-highlight-item {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
}

.service-highlight-item:last-child {
    border-right: none;
}

.service-highlight-stat {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--teal);
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.service-highlight-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted-5);
    font-family: 'Outfit', sans-serif;
}

/* ─── Tier card numbered ─── */
.service-tier-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    color: var(--teal-num);
    line-height: 1;
    margin-bottom: 1.5rem;
}

/* ─── Editorial Classic / Exotic rows ─── */
.service-editorial-row {
    border-top: 1px solid var(--border-subtle);
    overflow: hidden;
}

.service-classic-row {
    background: var(--ink);
}

.service-exotic-row {
    background: var(--ink-soft);
}

.service-editorial-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.service-editorial-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem;
}

.service-editorial-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.service-editorial-img {
    position: relative;
    overflow: hidden;
}

.service-editorial-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.service-editorial-img-overlay {
    position: absolute;
    inset: 0;
}

.service-editorial-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--teal);
    font-family: 'Outfit', sans-serif;
    border: 1px solid rgba(0, 128, 128, 0.4);
    padding: 0.5rem 1rem;
}

.service-editorial-badge--right {
    left: auto;
    right: 2rem;
}

/* ─── Service CTA Break ─── */
.service-cta-break {
    background: var(--ink-soft);
    border-top: 1px solid var(--border-subtle);
}

.service-cta-break-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.service-cta-break h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin-bottom: 0;
}

.service-cta-break-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
    flex-shrink: 0;
    padding-bottom: 0.25rem;
}

.service-cta-note {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted-3);
    font-family: 'Outfit', sans-serif;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .service-editorial-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .service-editorial-img {
        display: none;
    }

    .service-editorial-text {
        padding: 3rem 1.5rem;
    }

    .service-highlights-grid {
        grid-template-columns: 1fr;
    }

    .service-highlight-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .service-highlight-item:last-child {
        border-bottom: none;
    }

    .service-cta-break-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-cta-break-actions {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .service-detail-page .section {
        padding: 60px 0;
    }

    .service-hero {
        height: 55vh;
        min-height: 300px;
    }

    .service-hero-content {
        padding-top: 2rem;
    }

    .service-lead {
        font-size: 1.2rem;
    }

    .service-editorial-text {
        padding: 2.5rem 1rem;
    }

    .service-process-header,
    .service-tiers-header {
        margin-bottom: 2rem;
    }

    .service-cta-break-inner {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .service-detail-page .section {
        padding: 40px 0;
    }

    .service-hero-content h2 {
        font-size: 2.25rem;
        line-height: 1.05;
    }

    .service-expect {
        padding: 1.5rem;
    }

    .service-process-step,
    .service-tier-card {
        padding: 1.5rem;
    }

    .service-process-num,
    .service-tier-num {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-cta-break h2 {
        font-size: 2.25rem;
    }

    .service-highlight-item {
        padding: 2rem 1.25rem;
    }

    .service-faqs-list .faq-item summary {
        font-size: 0.85rem;
    }
}

/* Service detail sidebar — replaces the "What to Expect" list with an
   editor-uploaded image when ACF service_sidebar_image is set. */
.service-sidebar-image {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-faint);
    background: var(--ink-soft);
    border-radius: 4px;
    position: relative;
}

.service-sidebar-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

@media (max-width: 768px) {
    .service-sidebar-image img {
        aspect-ratio: 16 / 10;
    }
}

/* ================================================================
   FLUENT FORMS — funnel styling (Paint Correction, Ceramic, PPF)
   White card / dark text scheme. Teal (#008080) for accents and
   the active CTA, cream (#f5f5f0) for muted card backdrop and the
   button text on teal. All colors are hardcoded so the form looks
   identical in the Fluent Forms preview and on any embedding page.
================================================================ */
.fluentform {
    /* Self-contained white card */
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 3rem 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);

    font-family: 'Outfit', -apple-system, sans-serif;
    color: #131313;
    max-width: 760px;
    margin: 2rem auto;
}

.fluentform * {
    box-sizing: border-box;
}

/* ── Step header / section break titles ── */
.fluentform .ff_step_start_header,
.fluentform .ff-section_break {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.fluentform .ff_step_start_header:first-child,
.fluentform .ff-section_break:first-of-type {
    margin-top: 0.5rem;
}

.fluentform .ff_step_start_header h3,
.fluentform .ff-section_break .ff-el-section-title,
.fluentform h2.ff-section-title,
.fluentform h3.ff-section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #131313;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.fluentform .ff_step_start_header p,
.fluentform .ff-section_break p,
.fluentform .ff-section-description {
    font-size: 0.95rem;
    color: rgba(19, 19, 19, 0.65);
    margin: 0;
    line-height: 1.6;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

/* ── Field labels (ALL inputs) ── */
.fluentform .ff-el-input--label label,
.fluentform label.ff-el-input--label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #008080;
    font-weight: 600;
    margin-bottom: 0.65rem;
    display: block;
}

.fluentform .ff-el-input--label .ff-el-required,
.fluentform .ff_required {
    color: #008080;
    margin-left: 0.25rem;
}

/* ── Text inputs / textarea / select ── */
.fluentform .ff-el-form-control,
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform input[type="url"],
.fluentform input[type="number"],
.fluentform input[type="date"],
.fluentform textarea,
.fluentform select {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: #131313;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.fluentform select {
    background-image: linear-gradient(45deg, transparent 50%, #008080 50%),
        linear-gradient(135deg, #008080 50%, transparent 50%);
    background-position: calc(100% - 16px) calc(50% + 2px),
        calc(100% - 10px) calc(50% + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 32px;
    cursor: pointer;
}

.fluentform select option {
    background: #ffffff;
    color: #131313;
}

.fluentform .ff-el-form-control:focus,
.fluentform input:focus,
.fluentform textarea:focus,
.fluentform select:focus {
    outline: none;
    border-color: #008080;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.12);
}

.fluentform input::placeholder,
.fluentform textarea::placeholder {
    color: rgba(19, 19, 19, 0.4);
}

.fluentform textarea {
    min-height: 120px;
    resize: vertical;
}

/* ── Radio / checkbox choices — pill cards ── */
.fluentform .ff-el-form-check_wrapper,
.fluentform .ff-el-input--content {
    margin-top: 0.25rem;
}

.fluentform .ff-el-form-check {
    display: inline-flex;
    align-items: center;
    margin: 0 0.6rem 0.6rem 0;
    padding: 0;
}

.fluentform .ff-el-form-check input[type="radio"],
.fluentform .ff-el-form-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.fluentform .ff-el-form-check label,
.fluentform .ff-el-form-check .ff-el-form-check-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7rem;
    padding: 0.85rem 1.4rem;
    background: #f5f5f0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    color: #131313;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    margin: 0;
    line-height: 1.2;
}

.fluentform .ff-el-form-check label:hover {
    border-color: #008080;
    background: rgba(0, 128, 128, 0.06);
    color: #008080;
}

/* Selected state — covers ALL Fluent Forms HTML structures:
   1. label:has(input:checked) → input nested INSIDE label (FF default)
   2. input:checked + label    → input as previous sibling
   3. input:checked ~ label    → input as earlier sibling
   4. .ff-el-form-check.is-checked → wrapper class some FF versions add  */
.fluentform .ff-el-form-check label:has(input:checked),
.fluentform .ff-el-form-check .ff-el-form-check-label:has(input:checked),
.fluentform .ff-el-form-check input[type="radio"]:checked+label,
.fluentform .ff-el-form-check input[type="checkbox"]:checked+label,
.fluentform .ff-el-form-check input[type="radio"]:checked~label,
.fluentform .ff-el-form-check input[type="checkbox"]:checked~label,
.fluentform .ff-el-form-check.is-checked label,
.fluentform .ff-el-form-check.ff_item_selected label {
    background: #008080 !important;
    border-color: #008080 !important;
    color: #f5f5f0 !important;
    box-shadow: 0 4px 14px rgba(0, 128, 128, 0.28) !important;
    transform: translateY(-1px);
}

.fluentform .ff-el-form-check input[type="radio"]:focus-visible+label,
.fluentform .ff-el-form-check input[type="checkbox"]:focus-visible+label,
.fluentform .ff-el-form-check label:focus-within {
    outline: 2px solid #008080;
    outline-offset: 2px;
}

/* ── File upload dropzone ── */
.fluentform .ff_upload_btn,
.fluentform .ff-el-input--content [data-name*="upload"]+.ff_upload_btn,
.fluentform .ff-el-form-control[type="file"],
.fluentform .ff-uploader-holder,
.fluentform .ff_upload_btn_text {
    width: 100%;
}

.fluentform .ff_upload_btn,
.fluentform .ff-uploader-holder {
    background: #f5f5f0;
    border: 1px dashed rgba(0, 128, 128, 0.4);
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: rgba(19, 19, 19, 0.7);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.fluentform .ff_upload_btn:hover,
.fluentform .ff-uploader-holder:hover,
.fluentform .ff_upload_btn.ff-drag-over {
    border-color: #008080;
    background: rgba(0, 128, 128, 0.06);
    color: #131313;
}

.fluentform .ff_upload_btn .ff_upload_preview,
.fluentform .ff_upload_btn .ff_upload_btn_text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: #008080;
    font-weight: 600;
}

.fluentform .ff_upload_btn .ff_upload_btn_text::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23008080'><path d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ── Submit + paging buttons ──
   Fluent Forms applies its own blue background via inline-ish rules.
   We use !important on the visual properties to win that fight.
   Both Submit/Next/Previous share identical sizing so they line up. */
.fluentform .ff-btn,
.fluentform .ff-btn-submit,
.fluentform button.ff-btn-submit,
.fluentform input[type="submit"].ff-btn-submit,
.fluentform .ff-btn.ff-btn-submit,
.fluentform .ff-btn.ff-btn-next,
.fluentform .ff-btn.ff-btn-prev,
.fluentform .ff-btn-next,
.fluentform .ff-btn-prev,
.fluentform button.ff-btn,
.fluentform input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    height: 48px !important;
    padding: 0 2rem !important;
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    cursor: pointer !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    line-height: 1 !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    min-width: 160px;
}

/* PRIMARY (Submit / Next) — solid teal with cream text */
.fluentform .ff-btn-submit,
.fluentform button.ff-btn-submit,
.fluentform input[type="submit"].ff-btn-submit,
.fluentform .ff-btn.ff-btn-submit,
.fluentform .ff-btn.ff-btn-next,
.fluentform .ff-btn-next {
    background: #008080 !important;
    color: #f5f5f0 !important;
}

.fluentform .ff-btn-submit:hover,
.fluentform button.ff-btn-submit:hover,
.fluentform input[type="submit"].ff-btn-submit:hover,
.fluentform .ff-btn.ff-btn-submit:hover,
.fluentform .ff-btn.ff-btn-next:hover,
.fluentform .ff-btn-next:hover {
    background: #131313 !important;
    color: #f5f5f0 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}

/* SECONDARY (Previous) — outlined dark on cream */
.fluentform .ff-btn.ff-btn-prev,
.fluentform .ff-btn-prev {
    background: #f5f5f0 !important;
    border: 1px solid rgba(19, 19, 19, 0.18) !important;
    color: #131313 !important;
}

.fluentform .ff-btn.ff-btn-prev:hover,
.fluentform .ff-btn-prev:hover {
    background: #131313 !important;
    border-color: #131313 !important;
    color: #f5f5f0 !important;
    transform: translateY(-1px) !important;
}

/* Paging button row — Previous left, Submit/Next right, both centered vertically */
.fluentform .ff_paging_buttons,
.fluentform .step-nav,
.fluentform .ff-btn-next-prev-wrap {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 2.5rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* When only the Submit button is shown (no Previous), push it to the right */
.fluentform .ff_submit_btn_wrapper,
.fluentform .ff-el-submit {
    text-align: right;
    margin-top: 2rem;
}

/* ── Step progress indicator (top of multi-step form) ── */
.fluentform .ff-el-progress {
    background: rgba(0, 0, 0, 0.06);
    height: 6px;
    margin: 0 0 2rem;
    border-radius: 999px;
    overflow: hidden;
}

.fluentform .ff-el-progress-bar,
.fluentform .ff-el-progress>div {
    background: #008080;
    height: 100%;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 999px;
}

.fluentform .ff-el-progress-status,
.fluentform .ff-step-titles {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(19, 19, 19, 0.55);
    margin-bottom: 0.75rem;
    text-align: center;
    font-weight: 500;
}

/* Step titles strip (when shown) */
.fluentform .ff-step-titles {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.fluentform .ff-step-titles li {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.25rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    color: rgba(19, 19, 19, 0.55);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fluentform .ff-step-titles li.ff_active,
.fluentform .ff-step-titles li.active {
    color: #008080;
    border-bottom-color: #008080;
}

/* ── Help/hint text + errors ── */
.fluentform .ff-el-help-message,
.fluentform .ff-el-tooltip {
    font-size: 0.75rem;
    color: rgba(19, 19, 19, 0.55);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.fluentform .error,
.fluentform .ff-el-is-error,
.fluentform .text-danger,
.fluentform .ff-el-form-control.has-error,
.fluentform .error.text-danger {
    color: #c62828;
    font-size: 0.78rem;
    margin-top: 0.4rem;
}

.fluentform .ff-el-form-control.has-error,
.fluentform input.has-error,
.fluentform textarea.has-error,
.fluentform select.has-error {
    border-color: #c62828;
}

/* ── Field group spacing ── */
.fluentform .ff-el-group {
    margin-bottom: 1.75rem;
}

.fluentform .ff-t-cell {
    padding-right: 0.75rem;
}

.fluentform .ff-t-cell:last-child {
    padding-right: 0;
}

/* ── Consent / disclaimer block — clickable box ──
   For this to render as a real check, the field in Fluent Forms admin
   must be of type "Term & Condition" (NOT Custom HTML). When configured
   correctly, the rules below turn it into a full-width clickable box
   with a real checkbox at the left. */
.fluentform .ff_tc_field,
.fluentform .ff-el-form-check.ff_tc_field,
.fluentform .ff-el-form-check.ff_tc_acceptance,
.fluentform .ff-el-input--content[data-name*="tnc"] .ff-el-form-check,
.fluentform .ff-el-input--content[data-name*="terms"] .ff-el-form-check {
    display: block !important;
    width: 100% !important;
    margin: 1.5rem 0 !important;
}

.fluentform .ff_tc_field label,
.fluentform .ff-el-form-check.ff_tc_field label,
.fluentform .ff-el-form-check.ff_tc_acceptance label,
.fluentform .ff-el-input--content[data-name*="tnc"] .ff-el-form-check label,
.fluentform .ff-el-input--content[data-name*="terms"] .ff-el-form-check label {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.85rem !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 1rem 1.25rem !important;
    border-radius: 8px !important;
    background: #f5f5f0 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
    text-align: left !important;
    color: #131313 !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    line-height: 1.5 !important;
    transition: all 0.2s ease;
    box-shadow: none !important;
    transform: none !important;
}

.fluentform .ff_tc_field label:hover,
.fluentform .ff-el-form-check.ff_tc_field label:hover,
.fluentform .ff-el-form-check.ff_tc_acceptance label:hover {
    border-color: #008080 !important;
    background: rgba(0, 128, 128, 0.04) !important;
    color: #131313 !important;
}

/* Show the actual checkbox at the left of the consent box.
   The generic radio/checkbox rules above hide it (1×1 px) — re-show here. */
.fluentform .ff_tc_field input[type="checkbox"],
.fluentform .ff-el-form-check.ff_tc_field input[type="checkbox"],
.fluentform .ff-el-form-check.ff_tc_acceptance input[type="checkbox"],
.fluentform .ff-el-input--content[data-name*="tnc"] input[type="checkbox"],
.fluentform .ff-el-input--content[data-name*="terms"] input[type="checkbox"] {
    position: static !important;
    opacity: 1 !important;
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    accent-color: #008080;
    pointer-events: auto !important;
    cursor: pointer !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

/* Selected state — checked consent box: teal border + cream-tinted bg */
.fluentform .ff_tc_field label:has(input:checked),
.fluentform .ff-el-form-check.ff_tc_field label:has(input:checked),
.fluentform .ff-el-form-check.ff_tc_acceptance label:has(input:checked),
.fluentform .ff-el-input--content[data-name*="tnc"] .ff-el-form-check label:has(input:checked),
.fluentform .ff-el-input--content[data-name*="terms"] .ff-el-form-check label:has(input:checked) {
    border-color: #008080 !important;
    background: rgba(0, 128, 128, 0.08) !important;
    color: #131313 !important;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.08) !important;
}

/* ── Success message after submit ── */
.fluentform .ff-message-success,
.ff-message-success {
    background: rgba(0, 128, 128, 0.08);
    border: 1px solid #008080;
    color: #131313;
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ── Light/dark theme — the form card always stays white. ── */
html[data-theme="light"] .fluentform {
    box-shadow: 0 12px 40px rgba(46, 71, 78, 0.1);
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .fluentform {
        padding: 1.75rem 1.25rem;
    }

    .fluentform .ff-el-form-check {
        display: block;
        margin: 0 0 0.6rem 0;
    }

    .fluentform .ff-el-form-check label,
    .fluentform .ff-el-form-check .ff-el-form-check-label {
        width: 100%;
        min-width: 0;
    }

    .fluentform .ff-btn,
    .fluentform .ff-btn-submit,
    .fluentform .ff-btn-prev,
    .fluentform .ff-btn-next {
        width: 100% !important;
        min-width: 0;
    }

    .fluentform .ff_paging_buttons,
    .fluentform .step-nav {
        flex-direction: column-reverse !important;
    }
}

/* ─── Full-bleed page hero (About, Exotics, Academy, Car Shows) ─── */
.page-hero-fullbg {
    position: relative;
    height: 70vh;
    min-height: 460px;
    display: flex;
    align-items: center;
    background: var(--ink-soft);
    overflow: hidden;
}

.page-hero-fullbg-img {
    position: absolute;
    inset: 0;
}

.page-hero-fullbg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    animation: slow-zoom 20s ease-in-out infinite alternate;
}

.page-hero-fullbg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.05) 35%,
            rgba(0, 0, 0, 0.65) 75%,
            var(--ink) 100%);
}

.page-hero-fullbg-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.page-hero-fullbg-content .page-title {
    margin-top: 0.5rem;
    font-size: clamp(2rem, 5vw, 5rem);
    line-height: 0.92;
}

.page-hero-fullbg-content .about-lead {
    max-width: 680px;
    margin-top: 1rem;
    color: var(--text-muted-7);
}

/* Light mode: dark fixed bg, no gradient, vivid image, white text */
html[data-theme="light"] .page-hero-fullbg {
    background: #181818;
}

html[data-theme="light"] .page-hero-fullbg-img img {
    opacity: 0.75;
}

html[data-theme="light"] .page-hero-fullbg-overlay {
    background: none;
}

html[data-theme="light"] .page-hero-fullbg-content {
    --cream: #f5f5f0;
    --teal: #008080;
    --text-muted-7: rgba(245, 245, 240, 0.7);
    --text-muted-6: rgba(245, 245, 240, 0.6);
    --text-muted-5: rgba(245, 245, 240, 0.5);
    --text-muted-85: rgba(245, 245, 240, 0.85);
    color: #f5f5f0;
}

/* ─── Location / Service Area Pages ─── */
.location-hero {
    position: relative;
    height: 70vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: var(--ink-soft);
    overflow: hidden;
}

.location-hero-bg {
    position: absolute;
    inset: 0;
}

.location-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    animation: slow-zoom 20s ease-in-out infinite alternate;
}

.location-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.5) 80%,
            var(--ink) 100%);
}

.location-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.location-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Intro grid */
.location-intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
    align-items: start;
}

.location-intro-grid h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.location-intro-text {
    color: var(--text-muted-7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.location-intro-sidebar .service-expect a {
    color: var(--text-muted-6);
    text-decoration: none;
    transition: color 0.2s;
}

.location-intro-sidebar .service-expect a:hover {
    color: var(--teal);
}

/* Why grid */
.location-why-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.location-why-grid h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.location-why-text,
.location-why-body {
    padding-top: 0.5rem;
}

.location-why-body p {
    color: var(--text-muted-7);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.location-why-body p:last-child {
    margin-bottom: 0;
}

/* Services grid */
.location-services-header {
    margin-bottom: 3rem;
}

.location-services-header h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.location-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
}

.location-service-card {
    background: var(--ink-soft);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    transition: background 0.25s;
}

.location-service-card:hover {
    background: var(--ink-elev);
}

.location-service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--cream);
    margin: 0;
}

.location-service-card p {
    color: var(--text-muted-6);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* City-specific services grid */
.location-city-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.location-city-service {
    background: var(--ink-soft);
    padding: 2.5rem;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

.location-city-service h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--teal);
    margin: 0 0 1rem;
}

.location-city-service p {
    color: var(--text-muted-7);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0 0 1.25rem;
    flex: 1;
}

.location-city-service-link {
    color: var(--text-muted-5);
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s;
    margin-top: auto;
}

.location-city-service-link:hover {
    color: var(--teal);
}

/* Climate section */
.location-climate-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.location-climate-header h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin: 0;
}

.location-climate-body p {
    color: var(--text-muted-7);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.location-climate-body p:last-child {
    margin-bottom: 0;
}

/* Neighborhoods section */
.location-neighborhoods-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.location-neighborhoods-grid h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.location-neighborhoods-intro {
    color: var(--text-muted-7);
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.location-neighborhoods-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    gap: 3rem;
}

.location-neighborhoods-list li {
    padding: 0.6rem 0 0.6rem 1.1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted-7);
    font-size: 0.9rem;
    line-height: 1.5;
    break-inside: avoid;
    page-break-inside: avoid;
    position: relative;
}

.location-neighborhoods-list li::before {
    content: '/';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 600;
}

/* About section */
.location-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.location-about-grid h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.location-about-body {
    color: var(--text-muted-7);
    font-size: 1.05rem;
    line-height: 1.85;
    padding-top: 0.5rem;
}

/* Schedule section */
.location-schedule-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.location-schedule-inner h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.location-schedule-body p {
    color: var(--text-muted-7);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 0;
}

/* Location editorial — integrated photo inside Why / Climate sections */
.loc-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    overflow: hidden;
}

.loc-editorial-text {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.loc-editorial-text .eyebrow {
    margin-bottom: 0.5rem;
}

.loc-editorial-text h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem;
}

.loc-editorial-text p {
    color: var(--text-muted-7);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.1rem;
    max-width: 54ch;
}

.loc-editorial-text p:last-of-type {
    margin-bottom: 0;
}

.loc-editorial-img {
    position: relative;
    overflow: hidden;
}

.loc-editorial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* page-hero-fullbg responsive */
@media (max-width: 1024px) {
    .page-hero-fullbg {
        height: 60vh;
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .page-hero-fullbg {
        height: 55vh;
        min-height: 320px;
    }

    .page-hero-fullbg-content {
        padding-bottom: 2.5rem;
    }

    .page-hero-fullbg-content .about-lead {
        font-size: 0.95rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .location-intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .location-why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-city-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .location-climate-grid,
    .location-neighborhoods-grid,
    .location-about-grid,
    .location-schedule-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .loc-editorial {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .loc-editorial-img {
        height: 340px;
        order: -1;
    }

    .loc-editorial--reverse .loc-editorial-img {
        order: -1;
    }

    .loc-editorial-text {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .location-hero {
        height: 55vh;
    }

    .location-hero-content {
        padding-top: 2rem;
    }

    .location-hero-content h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .location-city-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .location-neighborhoods-list {
        columns: 1;
    }

    .location-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .location-city-service {
        padding: 1.75rem 1.25rem;
    }

    .loc-editorial-img {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .location-services-grid {
        grid-template-columns: 1fr;
    }

    .location-service-card {
        padding: 1.5rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   FUNNEL HERO (Service Funnel Pages — two-column layout)
══════════════════════════════════════════════════════════════════════════════ */

.funnel-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-start; /* navbar offset handled by content padding */
    overflow: hidden;
    background: var(--ink);
}

.funnel-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.funnel-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    animation: slow-zoom 20s ease-in-out infinite alternate;
}

.funnel-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.funnel-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: calc(96px + 3.5rem) 0 5rem; /* 96px = fixed navbar height */
    /* force dark-mode palette so text stays light in both themes */
    --cream: #f5f5f0;
    --teal: #008080;
    --text-muted-7:  rgba(245, 245, 240, 0.7);
    --text-muted-6:  rgba(245, 245, 240, 0.6);
    --text-muted-5:  rgba(245, 245, 240, 0.5);
    --text-muted-85: rgba(245, 245, 240, 0.85);
    color: #f5f5f0;
}

.funnel-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ── Left column ── */
.funnel-hero-left h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    margin: 0.5rem 0 1.25rem;
    color: var(--cream);
}

.funnel-lead {
    font-size: 1.1rem;
    color: var(--text-muted-85);
    margin: 0 0 1.75rem;
    line-height: 1.65;
}

.funnel-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.funnel-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text-muted-85);
    line-height: 1.4;
}

.funnel-trust-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Right column — form card ── */
.funnel-form-card {
    background: transparent;
    border: none;
    padding: 0;
}

.funnel-form-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cream);
    margin: 0 0 0.4rem;
    letter-spacing: 0.01em;
}

.funnel-form-card-sub {
    font-size: 0.875rem;
    color: var(--text-muted-6);
    margin: 0 0 1.5rem;
}

/* ── Light-mode override — keep dark card ── */
html[data-theme="light"] .funnel-hero { background: #181818; }
html[data-theme="light"] .funnel-hero-bg img { opacity: 0.6; }
html[data-theme="light"] .funnel-hero-overlay { background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%); }

/* ── Responsive ── */
@media (max-width: 960px) {
    .funnel-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .funnel-hero {
        min-height: auto;
    }
    .funnel-hero-content {
        padding: calc(96px + 2.5rem) 0 4rem;
    }
    .funnel-hero-left {
        text-align: center;
    }
    .funnel-hero-left .eyebrow {
        text-align: center;
    }
    .funnel-trust-list {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .funnel-hero-content {
        padding: calc(76px + 2rem) 0 3.5rem; /* 76px = mobile navbar height */
    }
}

@media (max-width: 600px) {
    .funnel-form-card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */

.pf-section {
    padding-top: 3rem;
}

/* Filter — custom dropdown */
.pf-filter {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.pf-filter-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--teal);
    white-space: nowrap;
}

.pf-dropdown {
    position: relative;
    min-width: 180px;
    user-select: none;
}

.pf-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--cream);
    padding: 0.45rem 0;
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, color 0.2s;
}

html[data-theme="light"] .pf-dropdown-btn {
    color: #131313;
    border-bottom-color: rgba(19,19,19,0.25);
}

.pf-dropdown-btn:hover,
.pf-dropdown.is-open .pf-dropdown-btn {
    border-bottom-color: var(--teal);
    color: var(--teal);
}

.pf-dropdown-arrow {
    flex-shrink: 0;
    color: rgba(255,255,255,0.4);
    transition: transform 0.25s, color 0.2s;
}

html[data-theme="light"] .pf-dropdown-arrow {
    color: rgba(19,19,19,0.4);
}

.pf-dropdown.is-open .pf-dropdown-arrow,
.pf-dropdown-btn:hover .pf-dropdown-arrow {
    transform: rotate(180deg);
    color: var(--teal);
}

.pf-dropdown-list {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--ink-elev);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 2px solid var(--teal);
    overflow: hidden;
    z-index: 100;
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.55);
}

html[data-theme="light"] .pf-dropdown-list {
    background: #ffffff;
    border-color: rgba(19,19,19,0.1);
    border-top-color: var(--teal);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.pf-dropdown.is-open .pf-dropdown-list {
    display: block;
}

.pf-dropdown-list li {
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

html[data-theme="light"] .pf-dropdown-list li {
    color: rgba(19,19,19,0.7);
}

.pf-dropdown-list li:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

html[data-theme="light"] .pf-dropdown-list li:hover {
    background: rgba(19,19,19,0.05);
    color: #131313;
}

.pf-dropdown-list li.is-active {
    color: var(--teal);
}

/* Photo grid */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1rem;
}

.pf-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    background: var(--ink-soft);
}

.pf-item--wide {
    grid-column: span 2;
}

.pf-item img {
    position: absolute;
    inset: 0;
	width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.pf-item:hover img {
    transform: scale(1.04);
}

.pf-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1.1rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.pf-item:hover .pf-item-overlay,
.pf-item:focus .pf-item-overlay {
    opacity: 1;
}

.pf-item-service {
    display: block;
    font-size: 0.62rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.3rem;
}

.pf-item-caption {
    display: block;
    font-size: 0.82rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.3;
}

.pf-item:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

.pf-empty {
    text-align: center;
    color: var(--text-muted-7);
    padding: 3rem 0;
}

/* Lightbox */
.pf-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.pf-lightbox.is-open {
    display: flex;
}

.pf-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}

.pf-lightbox-inner {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 1100px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.pf-lightbox-inner img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.pf-lightbox-caption {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-align: center;
    margin: 0;
}

.pf-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 2;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s;
}

.pf-lightbox-close:hover {
    color: var(--teal);
}

/* Responsive */
@media (max-width: 960px) {
    .pf-grid {
        grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 260px;
    }
    .pf-item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .pf-grid {
        grid-template-columns: 1fr;
		grid-auto-rows: 260px;
    }
    .pf-item--wide {
        grid-column: span 1;
    }
    .pf-item:nth-child(9) {
        display: none;
    }
}