/* 
   K9 Trainology - Design Lock Trace
   Strict adherence to home.png and mobile.png
*/

:root {
    /* --- COLOR CORRECTION (Warm/Cinematic Contract) --- */

    /* Primary Accent: Muted Copper-Burnt Orange (Not Neon) */
    --c-rust: #B55823;
    --c-rust-dark: #8F4218;

    /* Darks: Deep Warm Brown/Espresso (NO Pure Black) */
    --c-dark: #1F1B18;
    --c-footer: #161311;
    /* Deepest Forest/Earth Brown */

    /* Lights: Warm Parchment/Taupe (NO Cool Gray) */
    --c-paper: #F2EFE9;
    --c-white: #FFFFFF;

    /* Text */
    --c-text-main: #2E2926;
    /* Warm Charcoal */
    --c-text-muted: #7A7269;
    /* Warm Taupe */

    /* Metals */
    --c-gold: #C2A676;
    /* Muted Antique Gold */

    /* Fonts */
    --f-serif: 'Playfair Display', serif;
    --f-sans: 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --container-max: 1280px;
    --header-h-desktop: 110px;
    --header-h-mobile: 110px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-sans);
    color: var(--c-text-main);
    background: var(--c-paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAPHY SYSTEM (Luxury/High-Contrast) --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--f-serif);
    color: var(--c-text-main);
    font-weight: 600;
    /* Substantial */
    line-height: 1.2;
}

h1 {
    letter-spacing: -0.02em;
    /* Cinematic tightening */
}

h2 {
    letter-spacing: -0.01em;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* UTILS */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* BUTTONS */
.btn {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    /* Engraved feel */
    letter-spacing: 2px;
    /* Premium spacing */
    font-family: var(--f-sans);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* BUTTONS with Burnished Depth */
.btn-primary,
.btn-hero {
    /* Multi-layered gradient for rounded tactile feel */
    background: linear-gradient(180deg, #D97334 0%, #B55823 40%, #944015 100%);
    color: white;
    border: 1px solid #753310;
    /* Inner Box Shadow for 'Inset' shine at top, Drop shadow for lift */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    padding: 16px 36px;
}

.btn-primary:hover,
.btn-hero:hover {
    background: linear-gradient(180deg, #E68445 0%, #C46430 40%, #A64D1F 100%);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.5);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.75rem;
    background: var(--c-rust);
    color: white;
    border-radius: 2px;
}

.btn-hero {
    padding: 20px 44px;
    font-size: 0.95rem;
    letter-spacing: 3px;
    /* Extra wide for hero */
}

.btn-primary {
    font-size: 1rem;
}

/* --- BAND 1: HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background: #2A2F22;
    /* Dark Olive-Brown Base */
    /* Cinematic Lighting: Dark Olive Base + Copper Glow Accent + Vertical Gradient */
    background: radial-gradient(circle at 90% 20%, rgba(196, 106, 43, 0.15) 0%, rgba(42, 47, 34, 0) 60%),
        linear-gradient(180deg, #2A2F22 0%, #1C2016 100%);
    border-bottom: 1px solid rgba(196, 106, 43, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    /* Heavier shadow for depth */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    max-width: 1400px;
    /* Wider for split nav */
}

/* Split Nav Links */
.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    /* Take up available space */
}

/* REMOVE DISCS/DOTS for WP Menus */
.nav-left ul,
.nav-left li,
.nav-right ul,
.nav-right li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    /* Keep horizontal */
    gap: 30px;
    /* Inherit gap */
}

.nav-left {
    justify-content: flex-end;
    padding-right: 40px;
}

.nav-left ul {
    justify-content: flex-end;
}

.nav-right ul {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-start;
    padding-left: 40px;
}

/* Navigation Links */
.nav-left a,
.nav-right a,
.nav-left li a,
.nav-right li a {
    color: #E6E1D8;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    font-family: var(--f-sans);
    opacity: 0.9;
    transition: all 0.2s;
}

.nav-left a:hover,
.nav-right a:hover {
    color: var(--c-rust);
    opacity: 1;
}

/* Centered Logo */
.logo-centered {
    flex: 0 0 auto;
    position: relative;
    text-align: center;
    z-index: 10;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-icon {
    font-family: 'Arial Black', sans-serif;
    /* Blocky fallback */
    font-size: 2.2rem;
    color: var(--c-rust);
    letter-spacing: -2px;
    line-height: 1;
}

.logo-text {
    font-family: var(--f-serif);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.desktop-logo-img {
    max-height: 80px;
    /* Increased from 60px/default */
    width: auto;
    object-fit: contain;
}

/* Header CTA Button */
.btn-header-cta {
    margin-left: 20px;
    background: var(--c-rust);
    border: 1px solid var(--c-rust-dark);
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    color: var(--c-gold);
}

.icon-link:hover {
    color: var(--c-rust);
}

/* Mobile Toggles */
.mobile-menu-toggle {
    display: none;
}

.desktop-only {
    display: flex;
}

/* Default Hidden State for Overlay */
.mobile-menu-overlay {
    display: none;
}

/* --- MOBILE HEADER & TOGGLES --- */
.mobile-header-bar {
    display: none;
    /* Hidden on desktop */
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo-img {
    max-height: 50px;
    /* Significantly larger on mobile */
    width: auto;
}

.mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    position: relative;
    display: inline-block;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
    width: 30px;
    height: 2px;
    background-color: #E6E1D8;
    position: absolute;
    transition: all 0.2s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: #E6E1D8;
    position: absolute;
    transition: all 0.2s ease;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    top: 8px;
}

/* Toggle Hover */
.mobile-menu-toggle:hover .hamburger-inner,
.mobile-menu-toggle:hover .hamburger-inner::before,
.mobile-menu-toggle:hover .hamburger-inner::after {
    background-color: var(--c-rust);
}

/* Toggle Active State (X Transform) */
body.mobile-menu-open .hamburger-inner {
    background-color: transparent !important;
}

body.mobile-menu-open .hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
    background-color: white;
    /* Keep white or use rust if preferred */
}

body.mobile-menu-open .hamburger-inner::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: white;
}

/* --- RESPONSIVE HEADER --- */
@media (max-width: 1100px) {
    .nav-left {
        gap: 15px;
        padding-right: 20px;
    }

    .nav-right {
        gap: 15px;
        padding-left: 20px;
    }

    .logo-text {
        letter-spacing: 1px;
    }
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }

    /* ... */

    .col-brand {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
    }

    .footer-logo-img {
        margin: 0 auto;
        display: block;
    }

    /* Force Mobile Logo Size - REFINED for Calm/Premium Feel */
    .mobile-logo img {
        max-height: 80px !important;
        /* ~72% of 110px header (was 60px) */
        width: auto;

        margin-top: 0;
        margin-bottom: 0;
        /* Let flexbox center it, or add slight offset via padding if strictly needed */
    }

    .mobile-logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 4px;
        /* Slight optical adjustment to push visual weight down */
    }

    .mobile-logo {
        flex: 1;
        justify-content: center;
    }

    .mobile-header-bar {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }



    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #1C2016;
        /* Brand Dark (Olive-Brown) */
        background: linear-gradient(180deg, #2A2F22 0%, #171A12 100%);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        padding: 20px;
    }

    .mobile-menu-close {
        position: absolute;
        top: 20px;
        left: 20px;
        /* User requested "X on LEFT" */
        background: none;
        border: none;
        color: var(--c-paper);
        font-size: 2.5rem;
        cursor: pointer;
        line-height: 1;
        padding: 10px;
    }

    .mobile-menu-close:hover {
        color: var(--c-rust);
    }

    /* Open State */
    body.mobile-menu-open {
        overflow: hidden;
        /* Prevent scrolling body */
    }

    body.mobile-menu-open .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
        display: flex;
        /* Ensure display is reset */
    }

    .mobile-nav-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        text-align: center;
        width: 100%;
    }

    /* RESET LIST STYLE for nav menus injected by WP */
    .mobile-nav-content ul,
    .mobile-nav-content li {
        list-style: none !important;
        margin: 0;
        padding: 0;
    }

    /* Ensure link tags are styled even if inside li */
    .mobile-nav-content a,
    .mobile-nav-content li a {
        font-family: var(--f-serif);
        font-size: 2rem;
        color: #F2EFE9;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 25px;
        display: block;
        text-align: center;
        opacity: 0.9;
        transition: all 0.3s ease;
    }

    .mobile-nav-content a:hover,
    .mobile-nav-content li a:hover {
        color: var(--c-rust) !important;
        opacity: 1;
    }
}

/* Desktop Logo - Relax constraints */
.logo-centered {
    flex: 0 1 auto;
    /* Allow growth */
    min-width: 200px;
    /* Ensure space */
}

.desktop-logo-img {
    max-height: 100px !important;
    /* Force larger size */
    width: auto;
}

/* --- BAND 2: HERO --- */
.hero-section {
    position: relative;
    height: 100vh;
    /* Full screen height */
    min-height: 100vh;
    background-color: var(--c-dark);
    background-image: url('../images/hero-dog.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding-top: 140px;
    /* Increased top padding for space above text */
    padding-bottom: 60px;
    /* Slight breathing room at bottom */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Warm brown gradient overlay */
    background: linear-gradient(to bottom, rgba(31, 27, 24, 0.4), rgba(31, 27, 24, 0.2));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--c-white);
    max-width: 1100px;
}

/* --- HERO TYPOGRAPHY --- */
.hero-content h1 {
    font-family: var(--f-serif);
    font-style: normal;
    /* Roman for luxury/heritage */
    font-size: 4.5rem;
    font-weight: 600;
    /* Substantial */
    color: var(--c-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-content p {
    font-family: var(--f-sans);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* --- BAND 3: TRUST STRIP (Luxury Redesign) --- */
.trust-strip {
    background: #FFF;
    /* Clean White for contrast */
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* Generous spacing */
    flex-wrap: wrap;

    font-family: var(--f-serif);
    /* Playfair Display */
    color: var(--c-text-main);
    /* Warm Charcoal */

    text-transform: uppercase;
    font-size: 1.25rem;
    /* Larger for presence (approx 30% increase) */
    letter-spacing: 0.15em;
    /* Editorial tracking */
    font-weight: 500;
}

/* The Luxury Separator Motif: Line + Dot */
.trust-separator {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Space between line and dot */
    opacity: 0.7;
    /* User requested subtle */
}

/* The Line using ::before */
.trust-separator::before {
    content: "";
    display: block;
    width: 24px;
    /* Short elegant line */
    height: 1px;
    background-color: var(--c-rust);
    /* Burnt Cognac */
}

/* The Dot using ::after */
.trust-separator::after {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--c-rust);
    /* Burnt Cognac */
}

/* Mobile: Stacked Vertical, No Separators */
/* Mobile: Horizontal Flow with Wrapping, Larger Text */
@media (max-width: 900px) {
    .trust-inner {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        /* Ensure vertical centering */
        gap: 12px;
        padding: 15px 0;
        font-size: 1.125rem;
        /* ~18px for readability */
        line-height: 1.35;
    }

    /* Prevent words from breaking awkwardly */
    .trust-inner>span:not(.trust-separator) {
        white-space: nowrap;
    }

    .trust-separator {
        display: flex !important;
        /* Visible separators */
        transform: scale(0.8);
        /* Slightly smaller on mobile */
    }
}

/* --- BAND 4: AUTHORITY --- */
.authority-section {
    position: relative;
    background-color: var(--c-dark);
    background-image: url('../images/field-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* Assume background image */
    padding: 140px 0 180px;
    /* Very generous vertical padding */
    text-align: center;
    color: white;
}

.authority-bg {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 15, 0.7);
    /* Dark overlay over field */
}

.authority-content {
    position: relative;
    z-index: 2;
}

.authority-content h2 {
    font-family: var(--f-serif);
    font-size: 3.5rem;
    font-weight: 400;
    /* Editorial */
    margin-bottom: 60px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    color: white;
}

.checklist-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    /* More horizontal breathing room */
    margin-bottom: 80px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    /* Slightly larger */
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: var(--f-serif);
    /* Switch to serif for text items can feel more premium */
}

.check-box {
    width: 28px;
    height: 28px;
    border: 2px solid var(--c-rust);
    color: var(--c-rust);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
}

.ky-cutout-divider {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 160px;
    background: url('../images/ky-cutout.png') no-repeat center bottom;
    background-size: contain;
    z-index: 3;
}

/* --- BAND 5: REVIEWS --- */
.reviews-section {
    background: var(--c-paper);
    padding: 180px 0 120px;
    /* Massive top padding to clear cutout gracefully */
}

.reviews-section h2 {
    text-align: center;
    font-family: var(--f-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--c-text-main);
    margin-bottom: 80px;
    letter-spacing: 1px;
}

.review-module {
    background: white;
    max-width: 1100px;
    margin: 0 auto;
    display: block;
    /* Removed grid for single column text */
    max-width: 800px;
    /* Constrain width for readability since image is gone */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    /* Soft, expansive shadow */
    border-radius: 2px;
}

.review-content {
    padding: 80px 60px;
    /* More internal breathing room */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-content .stars {
    color: var(--c-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.active-review {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.6rem;
    /* Larger quote */
    line-height: 1.7;
    /* Relaxed leading */
    color: var(--c-text-main);
    opacity: 0.9;
    border: none;
    margin-bottom: 30px;
}

.review-content cite {
    font-weight: 600;
    color: var(--c-rust);
    text-transform: uppercase;
    font-style: normal;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 40px;
    display: block;
}

.review-controls {
    display: flex;
    gap: 15px;
}

.control-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid #DDD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--c-rust);
    font-size: 1.2rem;
    transition: all 0.2s;
}

.control-arrow:hover {
    background: var(--c-rust);
    color: white;
    border-color: var(--c-rust);
}

.review-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 550px;
    /* Taller image */
}

.mobile-dots {
    display: none;
}

/* --- BAND 6: LOCATION --- */
.location-section {
    background: var(--c-footer);
    padding: 60px 0;
    color: white;
    text-align: center;
    border-top: 4px solid var(--c-rust);
}

.location-section h2 {
    font-family: var(--f-serif);
    margin-bottom: 30px;
}

.map-visual-placeholder {
    height: 300px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-image: url('../images/louisville-map.jpg');
    /* Real Image Reference */
    background-position: center;
    background-size: cover;
    border: 1px solid #333;
}

/* --- BAND 7: FOOTER --- */
.site-footer {
    /* Matching the Deep Warm Brown family from Header */
    /* Dark Olive-Brown Gradient (User Request) */
    background-color: #1C2016;
    background: linear-gradient(180deg, #2A2F22 0%, #171A12 100%);
    color: #9A948C;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.col-brand .logo {
    font-size: 1.4rem;
}

.site-footer h4 {
    color: white;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--c-rust);
}

.contact-detail {
    margin-top: 20px;
    line-height: 1.8;
    color: #CCC;
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
}

/* --- MOBILE CALL BAR --- */
.mobile-call-bar {
    display: none;
    /* Hidden on desktop */
}

/* --- RESPONSIVE / MOBILE TRACE --- */
@media (max-width: 900px) {

    .desktop-only,
    .nav-left,
    .nav-right,
    .header-cta {
        display: none !important;
    }

    /* --- MOBILE HEADER ICON SYSTEM (Consolidated) --- */
    /* 1) Mobile header row must be flex-centered */
    .mobile-header-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    /* 2) Left toggle + right email must have identical hitboxes */
    .mobile-menu-toggle,
    .mobile-header-right .icon-link {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        line-height: 1;
        background: transparent;
        border: 0;
        appearance: none;
        -webkit-appearance: none;
        box-sizing: border-box;
    }

    /* 3) Right wrapper neutral */
    .mobile-header-right {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        line-height: 1;
    }

    /* 4) Mail SVG visual size normalized to match hamburger */
    .mobile-header-right .icon-link svg {
        width: 24px;
        height: 24px;
        display: block;
    }

    /* 5) Hamburger visual size normalized */
    .hamburger-box {
        width: 24px;
        height: 24px;
        position: relative;
        display: inline-block;
    }

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        width: 24px;
        height: 2px;
        background-color: white;
        /* Ensure visibility */
        position: absolute;
        transition: all 0.2s ease;
        display: block;
    }

    .hamburger-inner {
        top: 50%;
        margin-top: -1px;
    }

    /* Center line */
    .hamburger-inner::before {
        top: -7px;
    }

    .hamburger-inner::after {
        top: 7px;
    }

    .site-header {
        height: var(--header-h-mobile);
        padding: 0 20px;
    }

    .hero-section {
        padding-top: var(--header-h-mobile);
        align-items: center;
        height: 100vh;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    /* .trust-inner handled in upper block */

    .checklist-grid {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .review-module {
        grid-template-columns: 1fr;
    }

    .review-visual {
        display: none;
    }

    /* Trace says mobile swipe, usually implies image might be hidden or stacked. User says "Mobile: swipe carousel". Without JS, just show text card. */
    .review-controls {
        display: none;
    }

    .mobile-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }

    /* Sidebar Mobile Toggle Utility */
    .hide-on-mobile {
        display: none !important;
    }


    .mobile-dots .dot {
        width: 10px;
        height: 10px;
        background: #DDD;
        border-radius: 50%;
    }

    .mobile-dots .dot.active {
        background: var(--c-rust);
    }

    .authority-content h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* MOBILE CALL BAR */
    /* MOBILE CALL BAR */
    .mobile-call-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        /* Match Header/Footer Dark Olive Gradient */
        background: radial-gradient(circle at 50% 0%, rgba(196, 106, 43, 0.1) 0%, rgba(42, 47, 34, 0) 70%),
            linear-gradient(180deg, #2A2F22 0%, #1C2016 100%);
        color: white;
        /* Ensure text/icon is white */
        padding: 15px;
        z-index: 2000;
        border-top: 1px solid rgba(196, 106, 43, 0.3);
        /* Match header border style */
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
        text-decoration: none;
        transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        /* Smooth ease-out */
    }

    .mobile-call-bar:active {
        transform: translateY(-2px);
        /* Slight lift */
        box-shadow: 0 4px 15px rgba(181, 88, 35, 0.4);
        /* Copper glow */
        background: radial-gradient(circle at 50% 0%, rgba(196, 106, 43, 0.25) 0%, rgba(42, 47, 34, 0) 70%),
            linear-gradient(180deg, #2A2F22 0%, #1C2016 100%);
        /* Intensify copper radial */
    }

    .mobile-call-bar .phone-icon {
        color: white;
        /* Force white icon */
        display: flex;
        /* Fix alignment */
        align-items: center;
    }

    .mobile-call-bar .phone-icon svg {
        fill: currentColor;
    }

    .call-text {
        font-family: var(--f-sans);
        /* Use Inter */
        font-weight: 700;
        /* Bold */
        text-transform: uppercase;
        font-style: normal;
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    body {
        padding-bottom: 70px;
    }

    /* Space for call bar */
}

/* --- INNER PAGE TEMPLATE (Luxury) --- */

/* 1. Page Hero */
.page-hero {
    position: relative;
    /* Height: auto allows content to dictate size, avoiding cutoff */
    height: auto;
    min-height: 45vh;
    /* Minimum height for visual impact */
    padding-bottom: 60px;
    /* Space for content at bottom */

    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Padding Top: Header Height + Buffer */
    /* If desktop header is 100px-110px, use ~160px start */
    padding-top: 160px;

    color: var(--c-white);
}

/* FIX: Sticky Header Overlap on Interior Pages */
/* Explicitly exclude homepage (body.home) to satisfy request */
body:not(.home) .page-hero {
    /* Safe Area: Dynamic Header Height + 24px Buffer */
    /* Fallback to 110px if JS not yet ready */
    padding-top: calc(var(--header-h, 110px) + 24px);
    transition: padding-top 0.1s linear;
    /* Smooth adjustment */
}

/* Mobile Hero Adjustments */
/* Mobile Hero Adjustments */
/* Mobile Hero Adjustments */
@media (max-width: 900px) {
    .page-hero {
        min-height: 50vh;
        /* Ensure tall enough on mobile (Increased 25%) */
        /* Adjusted padding: Header (110px) + 20px buffer */
        padding-top: 130px;
        padding-bottom: 40px;
    }

    body:not(.home) .page-hero {
        /* Mobile Safe Area: Dynamic Header Height + 16px */
        padding-top: calc(var(--header-h, 110px) + 16px);
    }

    .page-hero-content h1 {
        font-size: 2.4rem;
        /* Slightly smaller for mobile scaling */
        line-height: 1.2;
    }
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(31, 27, 24, 0.4), rgba(31, 27, 24, 0.3));
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: var(--c-white);
}

.page-hero-subtitle {
    font-family: var(--f-serif);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.header-spacer {
    height: var(--header-h-desktop);
    background: var(--c-dark);
}

/* 2. Layout Grid */
.page-layout-container {
    max-width: 1200px;
    /* Precise max-width per request */
    width: 92vw;
    /* Consistent responsiveness */
    margin: 0 auto;
    padding: 96px 0;
    /* CALM VERTICAL RHYTHM: Increased from 80px */
}

.page-grid {
    display: grid;
    grid-template-columns: 1.65fr 0.95fr;
    /* Specific ratio */
    gap: 28px;
    /* Specific gap */
    align-items: start;
}

.page-grid.has-sidebar .page-main-content {
    /* Grid handles width */
    max-width: 100%;
}

.page-grid.has-sidebar .page-sidebar {
    /* Grid handles width */
    min-width: unset;
}

.page-grid.no-sidebar .page-main-content {
    grid-column: 1 / -1;
    max-width: 900px;
    margin: 0 auto;
}

/* ... (Typography) ... */

/* ... */

/* 7. Footer Grid Strict Alignment */
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1120px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.col-info {
    text-align: right;
}

.col-info ul {
    justify-content: flex-end;
    /* If nav uses flex */
    align-items: flex-end;
    display: flex;
    flex-direction: column;
}

.col-brand {
    text-align: left;
}

.site-footer {
    /* Matching the Deep Warm Brown family from Header */
    /* Dark Olive-Brown Gradient (User Request) */
    background-color: #1C2016;
    background: linear-gradient(180deg, #2A2F22 0%, #171A12 100%);
    color: #9A948C;
    padding: 80px 0 40px;
}

/* 3. Main Content Typography (Luxury Editorial) */

/* HEADINGS */
.page-main-content h2 {
    font-family: var(--f-serif);
    font-size: 2.4rem;
    /* Slightly larger, confidence */
    font-weight: 400;
    /* Elegant, not bold */
    color: var(--c-text-main);
    margin-top: 80px;
    /* Generous breathing room above */
    margin-bottom: 32px;
    /* Clear separation from content */
    position: relative;
    /* For potential subtle accents */
    line-height: 1.3;
}

.page-main-content h2:first-child {
    margin-top: 0;
}

.page-main-content h3 {
    font-family: var(--f-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: #4A4A4A;
    /* Soft Charcoal */
    margin-top: 48px;
    /* Distinct block separation */
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

/* BODY TEXT */
.page-main-content p {
    font-family: var(--f-sans);
    font-size: 1.125rem;
    /* Approx 18px for desktop readability */
    line-height: 1.75;
    /* Loose, airy line height */
    color: #4A4A4A;
    /* Warm Charcoal, never pure black */
    margin-bottom: 24px;
    max-width: 75ch;
    /* Editorial line length constraint */
}

/* LISTS */
.page-main-content ul {
    margin-bottom: 32px;
    margin-top: 16px;
    max-width: 70ch;
}

.page-main-content li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.page-main-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--c-rust);
    border-radius: 50%;
    /* Elegant dot instead of check for default, or keep check if preferred */
}

/* 4. Sidebar Card */
.sidebar-card {
    background: #FFF;
    /* Slightly lighter than page paper if needed, or stick to paper */
    background: var(--c-paper);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle frame */
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Soft lift */
}

.sidebar-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(197, 88, 35, 0.2);
    padding-bottom: 15px;
    display: inline-block;
}

.sidebar-info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--c-text-main);
}

.sidebar-info-row svg {
    color: var(--c-rust);
}

.btn-sidebar {
    display: inline-block;
    background: linear-gradient(135deg, #a64d1e, #8f4218);
    color: white;
    padding: 14px 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
    width: 100%;
}

.btn-sidebar:hover {
    background: #7a3612;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(181, 88, 35, 0.3);
}

.sidebar-note {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    font-family: var(--f-serif);
    /* Classy touch */
    font-style: italic;
    margin-top: 10px;
}

/* Sidebar proof list: premium single-column, subtle checks */
.k9-proof-list {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
    text-align: left;
}

.k9-proof-list li {
    position: relative;
    padding-left: 30px;
    margin: 10px 0;
    line-height: 1.35;
}

/* Subtle check icon (warm neutral, not bright green) */
.k9-proof-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    opacity: .75;
    font-weight: 600;
}

/* Social proof line */
.k9-proof-note {
    margin: 16px 0 14px;
    text-align: center;
}

/* Center the Google image reliably */
.k9-google-proof {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* ================================
   K9 Sidebar – Luxury Styling
   ================================ */

/* Sidebar card container */
.sidebar-card .k9-sidebar {
    border: 1px solid rgba(166, 90, 42, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 28px 24px;
}

/* Sidebar title with subtle accent underline */
.sidebar-card .k9-sidebar-title {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
    padding-bottom: 14px;
    margin-bottom: 26px;
}

.sidebar-card .k9-sidebar-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 120px;
    height: 2px;
    background: #A65A2A;
    /* copper accent */
    opacity: .55;
    border-radius: 2px;
}

/* Proof list */
.sidebar-card .k9-proof-list {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
}

.sidebar-card .k9-proof-list li {
    position: relative;
    padding-left: 30px;
    margin: 12px 0;
    line-height: 1.35;
}

/* Subtle checkmark */
.sidebar-card .k9-proof-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    opacity: .55;
    transform: translateY(1px);
}

/* Social proof line */
.sidebar-card .k9-proof-note {
    text-align: center;
    margin: 22px 0 34px;
}

/* Google logo image */
.sidebar-card .k9-google-proof-logo {
    display: block;
    margin: 0 auto;
    max-width: 50%;
    width: 50%;
    height: auto;
}

/* Stars + caption */
.sidebar-card .k9-google-proof-below {
    text-align: center;
    margin-top: 10px;
}

.sidebar-card .k9-stars {
    font-size: 20px;
    letter-spacing: 5px;
    line-height: 1;
    margin: 8px 0 12px;
    color: #C8A46E;
    /* warm gold */
    opacity: .95;
}

.sidebar-card .k9-google-caption {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 24px;
    line-height: 1.25;
    color: #6B4A2E;
    /* warm brown */
}

/* Mobile refinement */
@media (max-width:480px) {
    .sidebar-card .k9-google-caption {
        font-size: 22px;
    }

    .sidebar-card .k9-stars {
        font-size: 19px;
        letter-spacing: 4px;
    }
}

/* Soft fade separators around Google trust section */
.sidebar-card .k9-proof-note::after,
.sidebar-card .k9-google-proof-below::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin: 34px 0;
    background: linear-gradient(to right,
            transparent,
            rgba(166, 90, 42, 0.25),
            transparent);
}

/* Remove bottom separator after Google caption if needed */
.sidebar-card .k9-google-proof-below::after {
    margin-top: 32px;
}

/* REMOVE inner box styling – let sidebar-card handle structure */
.sidebar-card .k9-sidebar {
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.separator-line {
    width: 50px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 20px auto 0;
}

/* 5. Sidebar Image Bar */
.sidebar-image-bar {
    margin-top: 40px;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.sidebar-image-bar .btn-primary-copper {
    position: relative;
    z-index: 2;
    min-width: unset;
    padding: 12px 24px;
    font-size: 0.85rem;
}

/* 6. Bottom CTA Strip */
.bottom-cta-strip {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    color: white;
    background: var(--c-dark);
    margin-top: 0;
}

.bottom-cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/field-bg.jpg');
    /* Reuse existing asset or fallback */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.bottom-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.bottom-cta-content h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
}

.bottom-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-family: var(--f-sans);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .page-hero {
        height: 25vh;
        min-height: 200px;
    }

    .page-hero-content h1 {
        font-size: 2.5rem;
    }

    .page-layout-container {
        padding: 40px 20px;
    }

    .page-grid {
        grid-template-columns: 1fr;
        /* Switch to single column */
        gap: 60px;
    }

    .page-grid.has-sidebar .page-sidebar {
        width: 100%;
        max-width: 450px;
        min-width: unset;
        margin: 0 auto;
        /* Center the sidebar stack */
    }

    footer {
        display: none !important;
    }


    .sidebar-card {
        padding: 30px 20px;
        margin: 0 auto;
        /* Ensure card itself centers */
    }

    /* Footer Fix */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

/* --- 8. LUXURY CONTACT TEMPLATE --- */
.luxury-contact-wrapper {
    background-color: var(--c-paper);
    padding: 80px 0 100px;
    /* Generous vertical space */
    position: relative;
    /* Optional: subtle texture overlay could go here if assets existed */
}

.luxury-form-card {
    background: #FFF;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 28px;
    /* Luxury soft corner */
    box-shadow: 0 20px 60px rgba(31, 27, 24, 0.06),
        0 1px 3px rgba(31, 27, 24, 0.05);
    /* Deep soft shadow */
    padding: 60px 80px;
    /* Spacious desktop padding */
    position: relative;
    overflow: hidden;
    /* Ensure texture or children stay inside radii */
    border: 1px solid rgba(196, 106, 43, 0.08);
    /* Extremely subtle copper hint */
}

/* Subtle Texture Hint (CSS Config) */
.luxury-form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1h2v2H1V1zm4 4h2v2H5V5zm4 4h2v2H9V9zm4 4h2v2h-2v-2z' fill='%23B55823' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.luxury-card-content {
    position: relative;
    z-index: 1;
    /* Above texture */
}

/* Typography Overrides for Form Context */
.luxury-card-content h1,
.luxury-card-content h2 {
    text-align: center;
    font-family: var(--f-serif);
    font-size: 2.8rem;
    color: var(--c-text-main);
    margin-bottom: 0.5em;
}

.luxury-card-content p {
    font-family: var(--f-sans);
    color: var(--c-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    /* Readable line length */
    margin: 0 auto 40px;
    /* Center text block */
    text-align: center;
    line-height: 1.6;
}

/* --- FLUENT FORMS LUXURY SKIN --- */
/* Wrapper */
.fluentform-widget-wrapper {
    max-width: 700px;
    margin: 0 auto;
    /* Center the form fields */
}

/* Labels */
.fluentform .ff-el-input--label {
    font-family: var(--f-sans);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--c-rust);
    /* Copper labels for premium feel */
    margin-bottom: 8px;
}

/* Inputs */
.fluentform .ff-el-form-control {
    height: 52px !important;
    /* Tall touch-friendly input */
    border-radius: 12px !important;
    border: 1px solid #E5E0DA !important;
    background: #FAFAF8 !important;
    /* Slight off-white input bg */
    padding: 0 20px !important;
    font-size: 1rem !important;
    font-family: var(--f-sans) !important;
    color: var(--c-dark) !important;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.fluentform .ff-el-form-control:focus {
    border-color: var(--c-rust) !important;
    background: #FFF !important;
    box-shadow: 0 0 0 3px rgba(181, 88, 35, 0.1) !important;
    /* Focus ring */
    outline: none;
}

/* Textarea */
.fluentform textarea.ff-el-form-control {
    height: auto !important;
    min-height: 140px;
    padding: 20px !important;
}

/* Checkbox */
.fluentform .ff-el-form-check-label {
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

/* Submit Button */
.fluentform .ff-btn-submit {
    display: block;
    width: 100%;
    margin-top: 20px;
    background: linear-gradient(180deg, #D97334 0%, #B55823 100%);
    color: white;
    font-family: var(--f-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    padding: 18px 0;
    /* Tall button */
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(181, 88, 35, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.fluentform .ff-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(181, 88, 35, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(180deg, #E68445 0%, #C46430 100%);
}

.fluentform .ff-btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(181, 88, 35, 0.3);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .luxury-contact-wrapper {
        padding: 40px 0 60px;
    }

    .luxury-form-card {
        padding: 40px 24px;
        margin: 0 16px;
        /* 16px side margins as requested */
        width: auto;
        border-radius: 20px;
    }

    .luxury-card-content h1,
    .luxury-card-content h2 {
        font-size: 2rem;
    }

    .fluentform .ff-el-form-control {
        height: 56px !important;
        /* Even taller for mobile */
    }
}



/* --- 9. LUXURY REVIEWS REDESIGN --- */
.reviews-section {
    background: var(--c-paper);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* For carousel swipes */
}

/* The Card */
.review-card {
    background: #FFFCF7;
    /* Warm Ivory */
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 15px 40px rgba(31, 27, 24, 0.05);
    /* Soft, luxurious shadow */
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.review-card .label {
    font-family: var(--f-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-text-muted);
    margin-bottom: 20px;
    display: block;
}

.review-card .stars {
    color: var(--c-gold);
    font-size: 1.25rem;
    margin-bottom: 30px;
    display: block;
}

/* Typography */
.review-quote {
    font-family: var(--f-serif);
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--c-text-main);
    margin-bottom: 20px;
    font-style: normal;
    /* Elegant roman */
    min-height: 3.6em;
    /* Reserve space for ~2-3 lines */
}

.review-author {
    font-family: var(--f-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    color: var(--c-rust);
    /* Brand Accent */
    display: block;
    margin-top: 30px;
}

/* Read More Affordance */
.review-read-more {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--f-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-text-muted);
    border-bottom: 1px solid currentColor;
    cursor: pointer;
    transition: color 0.2s;
}

.review-read-more:hover {
    color: var(--c-rust);
}

/* Controls - Desktop */
.review-controls-desktop {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: -80px;
    right: -80px;
    transform: translateY(-50%);
    pointer-events: none;
    /* Let clicks pass through if wide */
}

.control-arrow {
    width: 50px;
    height: 50px;
    background: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--c-text-muted);
    font-size: 1.2rem;
    transition: all 0.2s ease;
    pointer-events: auto;
    /* Re-enable clicks */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.control-arrow:hover {
    background: var(--c-rust);
    color: white;
    border-color: var(--c-rust);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .review-card {
        padding: 40px 24px;
        margin: 0 20px;
        border-radius: 16px;
    }

    .review-quote {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .review-controls-desktop {
        display: none;
        /* Hide arrows on mobile */
    }
}

/* Modal for Long Reviews */
.review-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(31, 27, 24, 0.6);
    /* Warm dark dim */
    backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.review-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.review-modal-card {
    background: #FFFCF7;
    width: 100%;
    max-width: 600px;
    padding: 50px;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.review-modal-overlay.active .review-modal-card {
    transform: translateY(0);
}

.review-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--c-text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 10px;
}

.review-modal-quote {
    font-family: var(--f-serif);
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--c-text-main);
    margin-bottom: 30px;
}

/* =========================================================
   INTERIOR PAGE HERO FIX (DO NOT AFFECT HOMEPAGE)
   Fix fixed-header overlap + prevent hero text clipping
========================================================= */

/* Use a single source of truth for header height */
:root {
    --header-h: var(--header-h-desktop);
}

@media (max-width: 900px) {
    :root {
        --header-h: var(--header-h-mobile);
    }
}

/* Only interior pages */
body:not(.home) .page-hero {
    /* Give guaranteed clearance for the fixed header + breathing room */
    padding-top: calc(var(--header-h) + 48px) !important;
    padding-bottom: 72px !important;

    /* Prevent “too short hero” on some mobile states */
    min-height: 420px;
    /* Nice responsive min-height without being huge */
    min-height: clamp(360px, 50vh, 560px);

    /* Keeps hero layout stable */
    height: auto !important;
}

/* Make sure hero content never sits under the header visually */
body:not(.home) .page-hero-content {
    padding-top: 0 !important;
}

/* IMPORTANT: remove/override the conflicting 25vh rule */
@media (max-width: 900px) {
    body:not(.home) .page-hero {
        height: auto !important;
        min-height: clamp(320px, 52vh, 520px) !important;
        padding-top: calc(var(--header-h) + 40px) !important;
        padding-bottom: 56px !important;
    }
}

/* =========================================================
   GLOBAL LUXURY CONTENT STYLING (Interior Pages Only)
   Strictly scoped to body:not(.home) .page-main-content
========================================================= */

/* --- Base Container & Text --- */
body:not(.home) .page-main-content {
    /* Editorial Line Length for Readability */
    max-width: 800px;
    /* ~75ch */
    margin: 0 auto;
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.75;
    color: var(--c-text-main);
    /* Warm Charcoal */
    padding-bottom: 80px;
}

body:not(.home) .page-main-content p {
    margin-bottom: 1.8rem;
    font-family: var(--f-sans);
    font-weight: 400;
}

/* --- Headings (High Contrast Hierarchy) --- */
body:not(.home) .page-main-content h1,
body:not(.home) .page-main-content h2,
body:not(.home) .page-main-content h3,
body:not(.home) .page-main-content h4,
body:not(.home) .page-main-content h5,
body:not(.home) .page-main-content h6 {
    font-family: var(--f-serif);
    color: var(--c-text-main);
    line-height: 1.25;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

/* H1 is typically the Hero Title, so we focus on H2 as primary page headings */
body:not(.home) .page-main-content h2 {
    font-size: 2.4rem;
    /* ~38-40px */
    font-weight: 500;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 1rem;
}

/* Optional Editorial Underline for H2 */
body:not(.home) .page-main-content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--c-rust);
    opacity: 0.3;
    /* Subtle */
    position: absolute;
    bottom: 0;
    left: 0;
}

body:not(.home) .page-main-content h3 {
    font-size: 1.75rem;
    /* ~28px */
    font-weight: 500;
    margin-top: 2.8rem;
    margin-bottom: 1rem;
    color: var(--c-text-main);
}

body:not(.home) .page-main-content h4 {
    font-size: 1.35rem;
    /* ~22px */
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 2.2rem;
    margin-bottom: 0.8rem;
    color: var(--c-text-muted);
    /* Muted Taupe for sub-sections */
}

/* --- Editorial Quotes --- */
body:not(.home) .page-main-content blockquote {
    margin: 3rem 0;
    padding: 2.5rem 3rem;
    background-color: #F9F7F2;
    /* Soft Ivory/Paper */
    border-left: 4px solid var(--c-rust);
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--c-dark);
}

body:not(.home) .page-main-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-family: var(--f-sans);
    font-size: 0.9rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-text-muted);
}

/* --- Lists (Elevated) --- */
body:not(.home) .page-main-content ul,
body:not(.home) .page-main-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

body:not(.home) .page-main-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

/* --- Review Card Google Trust Integration --- */
.review-card .k9-proof-note {
    margin: 0 0 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-text-muted);
}

.review-card .k9-google-proof-logo {
    display: block;
    margin: 0 auto;
    max-width: 140px;
    height: auto;
}

.review-card .k9-google-proof-below {
    margin-top: 15px;
    margin-bottom: 30px;
}

.review-card .k9-stars {
    color: #C8A46E;
    font-size: 1.1rem;
    letter-spacing: 4px;
    margin-bottom: 5px;
}

.review-card .k9-google-caption {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--c-text-main);
    font-size: 1.1rem;
}


/* Custom Bullet: Rust Dot */
body:not(.home) .page-main-content ul li {
    list-style: none;
}

body:not(.home) .page-main-content ul li::before {
    content: "•";
    color: var(--c-rust);
    font-size: 1.5rem;
    line-height: 1;
    /* Match line height center */
    position: absolute;
    left: -1.2rem;
    top: -2px;
    /* Optical adjustment */
}

/* --- Links (Understated) --- */
body:not(.home) .page-main-content a {
    color: var(--c-rust-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(181, 88, 35, 0.3);
    transition: all 0.2s ease;
}

body:not(.home) .page-main-content a:hover {
    color: var(--c-rust);
    border-bottom-color: var(--c-rust);
}

/* --- Media --- */
body:not(.home) .page-main-content img,
body:not(.home) .page-main-content figure {
    max-width: 100%;
    height: auto;
    margin: 2.5rem 0;
    border-radius: 2px;
    /* Subtle softening */
}

body:not(.home) .page-main-content figcaption {
    font-family: var(--f-sans);
    font-size: 0.85rem;
    color: var(--c-text-muted);
    margin-top: 0.8rem;
    text-align: center;
    font-style: italic;
}

/* --- Dividers --- */
body:not(.home) .page-main-content hr {
    border: 0;
    height: 1px;
    background: var(--c-rust);
    opacity: 0.2;
    margin: 4rem auto;
    max-width: 200px;
    /* Short elegant divider */
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    body:not(.home) .page-main-content {
        font-size: 1rem;
        /* 16px */
        line-height: 1.65;
    }

    body:not(.home) .page-main-content h2 {
        font-size: 2rem;
        /* ~32px */
        margin-top: 2.5rem;
    }

    body:not(.home) .page-main-content h3 {
        font-size: 1.5rem;
        /* ~24px */
        margin-top: 2rem;
    }


    body:not(.home) .page-main-content blockquote {
        padding: 1.5rem 1.5rem;
        font-size: 1.2rem;
    }
}

/* =========================================================
   FOOTER SOCIAL ICONS
   Settings managed in Customizer > K9 Options
========================================================= */

.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    justify-content: center;
    /* Centered as requested */
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gold);
    /* Default: Muted Antique Gold */
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--c-rust);
    /* Hover: Burnt Rust */
    opacity: 1;
    transform: translateY(-2px);
    /* Subtle lift */
}

/* Mobile Alignment (Already centered by base rule, but keeping scope clean) */
@media (max-width: 900px) {
    .footer-social {
        justify-content: center;
    }
}

/* --- HERO OPTIMIZATION (Semantic IMG) --- */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Behind overlay */
}

/* --- FOOTER LOGO FIX (CLS + Regression) --- */
.footer-logo-img {
    height: auto;
    width: auto;
    max-width: 200px;
    /* Restore prev size */
    display: block;
    /* Ensure block layout */
}

/* --- SELF-HOSTED FONTS --- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/playfair-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-latin-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Semantic Page Hero Image (LCP Optimization) */
.page-hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Behind overlay */
}

.page-hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- BOARD & TRAIN TEMPLATE SCOPED STYLES --- */
/* --- BOARD & TRAIN TEMPLATE SPECIFIC (FORM + UNIQUE SIDEBAR) --- */
.page-template-template-board-and-train .sidebar-card {
    padding: 40px 30px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    background: #FDFBFA;
    border-radius: 8px;
}

.page-template-template-board-and-train .sidebar-card h3 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--c-text-main);
}

/* Fluent Forms Scoped Polish */
.page-template-template-board-and-train .fluentform .ff-el-group label.ff-el-is-label-top {
    font-family: var(--f-sans) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: var(--c-rust) !important;
    opacity: 0.75;
    margin-bottom: 6px !important;
    font-weight: 500 !important;
}

.page-template-template-board-and-train .fluentform .ff-el-group {
    margin-bottom: 12px !important;
}

.page-template-template-board-and-train .fluentform .ff-el-form-control {
    height: 52px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 4px !important;
    background: #fff !important;
    padding: 10px 15px !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
}

.page-template-template-board-and-train .fluentform .ff-el-form-control:focus {
    border-color: var(--c-rust) !important;
    box-shadow: 0 0 0 3px rgba(181, 88, 35, 0.05) !important;
}

.page-template-template-board-and-train .hero-trust-band {
    font-family: var(--f-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--c-rust);
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-secondary-outline {
    display: inline-block;
    padding: 16px 36px;
    font-family: var(--f-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    background: transparent;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--c-white);
    transform: translateY(-1px);
}

.bt-content-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--c-text-main);
}

.bt-content-body p {
    margin-bottom: 25px;
}

.bt-faq-section h2 {
    font-size: 2.2rem !important;
    margin-top: 0 !important;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.faq-item {
    background: rgba(0, 0, 0, 0.01);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Sidebar Specifics */
.sidebar-proof-list li span:first-child {
    font-weight: bold;
}

.sidebar-trust-stars {
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--c-text-muted);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .page-template-template-board-and-train .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-template-template-board-and-train .hero-cta-group .btn-primary-copper,
    .page-template-template-board-and-train .hero-cta-group .btn-secondary-outline {
        width: 100%;
        text-align: center;
    }

    .bt-faq-section {
        margin-top: 40px !important;
        padding-top: 40px !important;
    }

    .bt-faq-section h2 {
        font-size: 1.8rem !important;
        text-align: center !important;
    }
}

.page-template-template-board-and-train .fluentform textarea.ff-el-form-control {
    height: auto !important;
    min-height: 100px !important;
}

.page-template-template-board-and-train .fluentform .ff-btn-submit {
    height: 52px !important;
    padding: 0 35px !important;
    background: var(--c-rust) !important;
    border: none !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    box-shadow: 0 4px 10px rgba(181, 88, 35, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1) !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-template-template-board-and-train .fluentform .ff-btn-submit:hover {
    background: var(--c-rust-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(181, 88, 35, 0.25) !important;
}

.page-template-template-board-and-train .fluentform .ff-el-group.ff-btns-left {
    justify-content: center !important;
    display: flex !important;
    margin-top: 25px !important;
    margin-bottom: 5px !important;
}

.page-template-template-board-and-train .luxury-form-card {
    margin-top: 35px !important;
    margin-bottom: 0 !important;
}

.page-template-template-board-and-train .k9-bt-form-proof-divider {
    width: 40px;
    height: 1px;
    background: var(--c-rust);
    opacity: 0.2;
    margin: 55px auto 45px;
}