/* 
    Khan Saab Technical Services - Premium LIGHT Design System
    Theme: Modern Luxury Technical (Clean White & Gold)
*/

:root {
    /* Color Palette - LIGHT EDITION */
    --primary: #0A0A1F;
    /* Deep Navy for text/branding */
    --secondary: #F8F9FA;
    /* Soft Light Gray for sections */
    --accent: #FFD700;
    --accent-dark: #C5A000;
    --accent-glow: rgba(255, 215, 0, 0.2);
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --bg-white: #FFFFFF;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(0, 0, 0, 0.05);
    --whatsapp: #25D366;
    --emergency: #FF3B30;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;

    /* Shadows & Effects */
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.1);
    --glass: blur(10px) saturate(150%);

    /* Fluid type (premium layer) */
    --fluid-display: clamp(2.25rem, 1.2rem + 4vw, 5.5rem);
    --fluid-h2: clamp(1.85rem, 1.1rem + 2.8vw, 3.75rem);
    --noise-opacity: 0.035;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Do not use overflow-x: hidden here — it breaks position:sticky on the nav (scroll containment). */
    overflow-x: visible;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: visible;
}

main {
    min-width: 0;
}

img,
video {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
.heading-serif {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: clamp(3.5rem, 10vw, 6.25rem) 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Navbar — sticky to viewport while scrolling (do not set position on .site-nav; it shares the same <nav>) */
.navbar,
nav.navbar.site-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass);
    border-bottom: 1px solid var(--card-border);
    padding: 12px 0;
    transition: 0.3s;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: auto;
    width: auto;
    max-height: clamp(2.5rem, 10vw, 3.5rem);
    display: block;
    transition: 0.3s;
}

.nav-links {
    list-style: none;
    /* display and gap: Tailwind utilities on .site-nav__desktop */
}

.nav-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--accent-dark);
}

/* Mobile drawer navigation (paired with js/nav-responsive.js) */

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
}

.site-nav__desktop {
    flex: 1 1 auto;
    justify-content: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.site-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(10, 10, 31, 0.12);
    border-radius: 0.375rem;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.site-nav__toggle:hover {
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.08);
}

.site-nav__bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 1.25rem;
}

.site-nav__bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.site-nav--open .site-nav__bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav--open .site-nav__bars span:nth-child(2) {
    opacity: 0;
}

.site-nav--open .site-nav__bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 12000;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.28s ease, visibility 0.28s;
}

.nav-open .site-nav-drawer {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.site-nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 31, 0.45);
    backdrop-filter: blur(4px);
}

.site-nav-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100vw - 1.25rem, 22rem);
    max-width: 100%;
    height: 100%;
    max-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-open .site-nav-drawer__panel {
    transform: translateX(0);
}

.site-nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 1.25rem;
    border-bottom: 1px solid rgba(10, 10, 31, 0.08);
}

.site-nav-drawer__title {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.55;
}

.site-nav-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    border-radius: 0.375rem;
}

.site-nav-drawer__close:hover {
    background: rgba(10, 10, 31, 0.06);
}

.site-nav-drawer__list {
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
    overflow-y: auto;
    flex: 1;
}

.site-nav-drawer__list li {
    border-bottom: 1px solid rgba(10, 10, 31, 0.06);
}

.site-nav-drawer__list a {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    min-height: 2.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary);
    opacity: 0.75;
    transition: background 0.2s, opacity 0.2s, color 0.2s;
}

.site-nav-drawer__list a:hover,
.site-nav-drawer__list a:focus-visible {
    opacity: 1;
    background: rgba(255, 215, 0, 0.12);
    color: var(--accent-dark);
    outline: none;
}

.site-nav-drawer__list a.active {
    opacity: 1;
    color: var(--accent-dark);
    border-left: 3px solid var(--accent);
    padding-left: calc(1.25rem - 3px);
}

/* Services flyout (desktop) */
.navbar,
.site-nav {
    overflow: visible;
}

.site-nav__item--dropdown {
    position: relative;
}

.site-nav__item--dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav__chev {
    font-size: 0.55rem;
    opacity: 0.55;
    transition: transform 0.2s ease;
}

.site-nav__item--dropdown:hover > a .site-nav__chev,
.site-nav__item--dropdown:focus-within > a .site-nav__chev {
    transform: rotate(-180deg);
}

.site-nav__dropdown--panel {
    position: absolute;
    left: 0;
    top: 100%;
    margin: 0;
    padding: 0.4rem 0;
    list-style: none;
    min-width: 17rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--card-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 1001;
    pointer-events: none;
}

.site-nav__item--dropdown:hover .site-nav__dropdown--panel,
.site-nav__item--dropdown:focus-within .site-nav__dropdown--panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
    pointer-events: auto;
}

.site-nav__dropdown--panel > li {
    list-style: none;
    margin: 0;
}

.site-nav__dropdown--panel a[role="menuitem"] {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary);
    white-space: nowrap;
}

.site-nav__dropdown--panel a[role="menuitem"]:hover,
.site-nav__dropdown--panel a[role="menuitem"]:focus-visible {
    background: var(--secondary);
    color: var(--accent-dark);
    outline: none;
}

/* Drawer: nested services */
.site-nav-drawer__sublist {
    list-style: none;
    margin: 0.35rem 0 0.75rem 0;
    padding: 0.25rem 0 0.25rem 0.75rem;
    border-left: 2px solid rgba(255, 215, 0, 0.35);
}

.site-nav-drawer__sublist a {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.08em !important;
    opacity: 0.65 !important;
}

.site-nav-drawer__sublist a:hover {
    opacity: 1 !important;
}

.site-nav-drawer__foot {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(10, 10, 31, 0.08);
    margin-top: auto;
}

body.nav-open {
    overflow: hidden;
    touch-action: none;
}

@media (min-width: 1024px) {
    .site-nav-drawer {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-nav-drawer,
    .site-nav-drawer__panel,
    .site-nav__bars span,
    .site-nav--open .site-nav__bars span:nth-child(1),
    .site-nav--open .site-nav__bars span:nth-child(3) {
        transition: none !important;
    }
}

/* Top announcement bar — logo palette (navy + gold), aligned actions */
.top-bar {
    position: relative;
    z-index: 50;
    overflow-x: clip;
    min-width: 0;
    background: linear-gradient(92deg, #05050d 0%, #0a0a1f 38%, #0f1024 62%, #080816 100%);
    color: rgba(255, 252, 245, 0.9);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 215, 0, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 24px rgba(0, 0, 0, 0.2);
}

.top-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255, 215, 0, 0.45) 50%, transparent 95%);
    pointer-events: none;
    opacity: 0.85;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
    min-height: 2.625rem;
}

.top-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    line-height: 1.25;
    color: rgba(255, 250, 240, 0.88);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.top-info > i:first-of-type {
    color: var(--accent);
    font-size: 0.875rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.35));
}

.top-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 !important;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.94) !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.top-links a:hover {
    color: var(--primary) !important;
    background: linear-gradient(135deg, #fff6b0 0%, var(--accent) 42%, var(--accent-dark) 100%);
    border-color: rgba(255, 215, 0, 0.75);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
    transform: translateY(-1px);
}

.top-links a .fas,
.top-links a .fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    font-size: 0.78rem;
    line-height: 1;
}

.top-links a .fa-phone {
    color: var(--accent);
    font-size: 0.72rem;
}

.top-links a .fab.fa-whatsapp {
    color: #25d366;
    font-size: 0.85rem;
    transform: translateY(0.5px);
}

.top-links a:hover .fab.fa-whatsapp {
    color: var(--primary);
}

.top-links a:hover .fa-phone {
    color: var(--primary);
}

@media (max-width: 639.98px) {
    .top-bar {
        /* Keep readable on phones — avoid sub-11px type */
        font-size: max(0.6875rem, 2.9vw);
        letter-spacing: 0.1em;
    }

    .top-bar-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .top-info--tagline {
        max-width: 100%;
    }

    .top-info--tagline * {
        max-width: 100%;
    }

    .top-links--actions {
        justify-content: stretch;
        width: 100%;
        gap: 0.5rem;
    }

    .top-links--actions a {
        flex: 1 1 calc(50% - 0.25rem);
        min-height: 2.75rem;
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    .top-links__label {
        display: inline;
        word-break: break-word;
    }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
    .top-bar-content {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .top-info {
        flex: 1 1 55%;
        min-width: 0;
    }

    .top-links {
        flex: 1 1 auto;
        justify-content: flex-end;
    }
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.1));
    z-index: -1;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    max-width: 800px;
}

.h2-subheading {
    font-size: 1.1rem;
    letter-spacing: 4px;
    font-weight: 400;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    border: none;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(10, 10, 31, 0.1);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.pill-card {
    background: var(--bg-white);
    border: 1px solid var(--card-border);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
}

.pill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pill-card i {
    color: var(--accent-dark);
    font-size: 2.8rem;
    margin-bottom: 25px;
    display: block;
}

.pill-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

/* Work / Portfolio */
.work-card {
    border-radius: 12px;
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-premium);
    position: relative;
    cursor: pointer;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.work-card:hover img {
    transform: scale(1.1);
}

/* Checklist */
.checklist {
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.15rem;
    font-weight: 500;
}

/* Emergency Banner */
.bg-emergency-banner {
    background: var(--emergency);
    color: white;
    padding: 80px 0;
}

.bg-emergency-banner h2,
.bg-emergency-banner p {
    color: white;
}

/* Footer */
footer.site-footer {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(165deg, #14142a 0%, var(--primary) 48%, #04040c 100%) !important;
}

footer.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.28), transparent);
    pointer-events: none;
    z-index: 1;
}

footer.site-footer > .container {
    position: relative;
    z-index: 2;
}

footer.site-footer h4 {
    color: var(--accent);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 1.35rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 800;
}


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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* Legal bar: copyright left, designer credit right */
.footer-design-credit,
.site-footer__bottom {
    margin-top: clamp(2.5rem, 6vw, 3.5rem);
    padding-top: clamp(1.35rem, 3vw, 1.75rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1.5rem;
}

.site-footer__copyright {
    margin: 0;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    font-weight: 600;
    text-align: left;
    flex: 1 1 auto;
    min-width: min(100%, 12rem);
}

.footer-design-credit__text {
    margin: 0;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
    flex: 0 0 auto;
    margin-left: auto;
}

.footer-design-credit__link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-design-credit__link:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer.site-footer .site-footer__brand p {
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.65;
}

footer.site-footer .site-footer__logo {
    opacity: 0.92;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {

    .d-none-mobile {
        display: none;
    }

    .hero {
        height: 70vh;
    }

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

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px) + 0.5rem);
    right: max(1rem, env(safe-area-inset-right, 0px) + 0.5rem);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.site-fab-stack {
    gap: 0.65rem;
}

.site-fab-btn {
    width: clamp(3.35rem, 12vw, 5rem);
    height: clamp(3.35rem, 12vw, 5rem);
    min-width: 3.25rem;
    min-height: 3.25rem;
    touch-action: manipulation;
}

/*
 * Do not style bare `.fab` — Font Awesome Brands uses the same class on <i>
 * (e.g. fa-whatsapp). Float buttons use Tailwind on `.fab-container > a`.
 */

/* Utilities */
.bg-secondary {
    background: var(--secondary);
}

.text-center {
    text-align: center;
}

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

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3.5rem;
}

.mb-16 {
    margin-bottom: 4.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

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

.uppercase {
    text-transform: uppercase;
}

.font-bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.flex-gap {
    display: flex;
    gap: 20px;
}

.w-full {
    width: 100%;
}

.area-tag {
    display: inline-block;
    padding: 12px 28px;
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 50px;
    margin: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: 0.3s;
}

.area-tag:hover {
    border-color: var(--accent-dark);
    color: var(--accent-dark);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    font-family: inherit;
    margin-bottom: 18px;
    background: var(--bg-white);
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 10, 31, 0.05);
    outline: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

/* --- Premium Futuristic Additions --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(255,255,255,0.4);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-panel:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(255,255,255,0.6);
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.glow-text {
    text-shadow: 0 0 20px var(--accent-glow);
}

.hover-glow:hover {
    box-shadow: 0 0 30px var(--accent-glow);
}

/* Hero: popped Google reviews trust chip (sits above slides) */
.hero-google-pop {
    transform: rotate(-2.5deg);
    box-shadow:
        0 24px 48px rgba(10, 10, 31, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.95),
        0 0 0 5px rgba(255, 215, 0, 0.14);
    animation: heroGooglePop 4.5s ease-in-out infinite;
}

@keyframes heroGooglePop {
    0%, 100% {
        transform: rotate(-2.5deg) translateY(0);
    }
    50% {
        transform: rotate(-1deg) translateY(-10px);
    }
}

.hero-google-pop:hover,
.hero-google-pop.glass-panel:hover {
    animation: none;
    transform: rotate(0deg) translateY(-6px) scale(1.03);
    box-shadow:
        0 32px 64px rgba(10, 10, 31, 0.22),
        0 0 0 1px rgba(255, 255, 255, 1),
        0 0 0 6px rgba(255, 215, 0, 0.22);
}

/* ========== Premium / futuristic layer ========== */

html.js-premium {
    scroll-behavior: smooth;
}

body.page-is-exiting {
    opacity: 0;
    filter: blur(6px);
    transition: opacity 0.32s ease, filter 0.32s ease;
}

/* Film grain + subtle mesh (global) */
body.has-noise::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: var(--noise-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

@media (prefers-reduced-motion: reduce) {
    body.has-noise::before {
        display: none;
    }
}

/* Skip link */
.skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 8px;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Focus visibility (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(255, 215, 0, 0.95);
    outline-offset: 3px;
}

/* Fluid display type for main marketing headings */
.hero-premium .hero-content h1.serif {
    font-size: var(--fluid-display) !important;
}

main#main-content h2.serif.display-fluid {
    font-size: var(--fluid-h2) !important;
}

/* --- “Cinema” dark hero --- */
.hero.hero-premium {
    --hero-gx: 50%;
    --hero-gy: 40%;
}

.hero.hero-premium .hero-overlay {
    background: linear-gradient(
        105deg,
        rgba(10, 10, 31, 0.94) 0%,
        rgba(10, 10, 31, 0.72) 42%,
        rgba(10, 10, 31, 0.35) 100%
    );
    z-index: 1;
}

.hero.hero-premium .swiper-slide > .absolute.inset-0.bg-cover {
    z-index: 0;
}

.hero.hero-premium .hero-cursor-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(
        520px circle at var(--hero-gx, 50%) var(--hero-gy, 45%),
        rgba(255, 215, 0, 0.16),
        transparent 58%
    );
    mix-blend-mode: screen;
}

.hero.hero-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 55% at 85% 12%, rgba(255, 215, 0, 0.09), transparent 52%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(0, 0, 0, 0.45), transparent 55%);
}

.hero.hero-premium .container {
    position: relative;
    z-index: 4;
}

.hero.hero-premium .hero-google-slot {
    z-index: 5;
}

.hero.hero-premium .swiper-pagination {
    z-index: 6;
}

.hero.hero-premium .hero-content h4 {
    color: rgba(255, 215, 0, 0.92);
}

.hero.hero-premium .hero-content h1.serif {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.hero.hero-premium .hero-content .text-gradient {
    background: linear-gradient(135deg, #fff2a8 0%, #ffd700 45%, #c5a000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero.hero-premium .hero-content p.text-muted,
.hero.hero-premium .hero-content .text-muted {
    color: rgba(255, 255, 255, 0.74) !important;
}

.hero.hero-premium .btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.hero.hero-premium .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* Hero CTAs: row layout, WhatsApp optical alignment, quote button */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .hero-cta-row {
        gap: 0.85rem;
    }
}

.hero.hero-premium .hero-cta-row .btn {
    align-items: center;
    justify-content: center;
}

.hero.hero-premium .hero-livechat-btn {
    gap: 0.5rem;
    min-height: 3.15rem;
}

.hero.hero-premium .hero-livechat-btn__wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0;
    padding: 0;
    font-size: 1.12rem;
    line-height: 0;
    color: var(--accent);
}

.hero.hero-premium .hero-livechat-btn__wa .fab.fa-whatsapp {
    display: block;
    line-height: 1;
    transform: translateY(0.5px);
}

.hero.hero-premium .hero-quote-btn {
    border-color: rgba(255, 215, 0, 0.52) !important;
    color: #fffef2 !important;
    background: rgba(255, 215, 0, 0.09) !important;
    gap: 0.5rem;
    min-height: 3.15rem;
}

.hero.hero-premium .hero-quote-btn:hover {
    background: rgba(255, 215, 0, 0.2) !important;
    border-color: rgba(255, 215, 0, 0.92) !important;
    color: #fff !important;
}

.hero.hero-premium .swiper-slide .glass-panel .text-primary {
    color: rgba(255, 255, 255, 0.95) !important;
}

.hero.hero-premium .swiper-slide .glass-panel .text-muted {
    color: rgba(255, 255, 255, 0.65) !important;
}

.hero.hero-premium .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

.hero.hero-premium .swiper-pagination-bullet-active {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.55);
}

/* Scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Magnetic buttons keep smooth return */
.btn-magnetic {
    transition: transform 0.2s ease-out, box-shadow 0.3s ease, background 0.3s ease;
}

/* Stats strip */
.stats-strip {
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.06), transparent);
    pointer-events: none;
}

.stats-strip__value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 600;
    color: var(--accent);
    line-height: 1.1;
}

.stats-strip__label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-top: 0.5rem;
}

.stats-strip__note {
    font-size: 0.6rem;
    opacity: 0.35;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* How we work — 4-step timeline (editorial / premium treatment) */
.workflow-showcase {
    background:
        linear-gradient(165deg, #ffffff 0%, #fafbfc 42%, #f4f5f8 100%);
    color: var(--text-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.workflow-showcase__glow {
    position: absolute;
    inset: -25% -12% auto;
    height: 62%;
    background:
        radial-gradient(ellipse 55% 48% at 12% 0%, rgba(255, 215, 0, 0.09), transparent 58%),
        radial-gradient(ellipse 45% 40% at 88% 12%, rgba(10, 10, 31, 0.035), transparent 52%);
    pointer-events: none;
    z-index: 0;
}

.workflow-showcase__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.05'/%3E%3C/svg%3E");
    mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
}

.workflow-showcase__header {
    display: grid;
    gap: 2rem;
    margin-bottom: clamp(2.75rem, 5.5vw, 4.25rem);
}

@media (min-width: 1024px) {
    .workflow-showcase__header {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
        align-items: end;
        gap: clamp(2rem, 4vw, 3.5rem);
    }
}

.workflow-showcase__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 1.1rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(10, 10, 31, 0.42);
}

.workflow-showcase__eyebrow-line {
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-dark), rgba(255, 215, 0, 0.35), transparent);
    border-radius: 1px;
    flex-shrink: 0;
}

.workflow-showcase__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.05rem + 3vw, 3.15rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--primary);
    text-wrap: balance;
}

.workflow-showcase__title em {
    font-style: italic;
    font-weight: 600;
    color: var(--accent-dark);
}

.workflow-showcase__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
}

@media (min-width: 1024px) {
    .workflow-showcase__aside {
        align-items: flex-end;
        text-align: right;
        padding-bottom: 0.15rem;
    }
}

.workflow-showcase__intro {
    margin: 0;
    max-width: 26rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(10, 10, 31, 0.52);
    font-weight: 500;
}

.workflow-showcase__deco {
    display: block;
    width: min(100%, 5rem);
    height: 1px;
    border: none;
    border-radius: 0;
    background: linear-gradient(90deg, var(--accent-dark), rgba(255, 215, 0, 0.25), transparent);
    opacity: 0.65;
    position: relative;
    box-shadow: none;
}

.workflow-showcase__deco::after {
    display: none;
}

@media (min-width: 1024px) {
    .workflow-showcase__deco {
        margin-left: auto;
        background: linear-gradient(270deg, var(--accent-dark), rgba(255, 215, 0, 0.25), transparent);
    }
}

.workflow-showcase__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    z-index: 1;
}

.workflow-step-arrow {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.15rem 0;
    color: var(--accent-dark);
    opacity: 0.55;
    font-size: 0.8rem;
    pointer-events: none;
}

.workflow-step-arrow__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 899px) {
    .workflow-step-arrow i {
        transform: rotate(90deg);
    }
}

@media (min-width: 900px) {
    .workflow-showcase__steps {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 1.1rem 0.35rem;
        align-items: stretch;
        padding-top: 0.35rem;
    }

    .workflow-step-arrow {
        align-self: start;
        padding-top: calc(1.65rem + 28px - 0.35rem);
        padding-bottom: 0;
        opacity: 0.58;
    }

    .workflow-step-arrow i {
        transform: none;
    }

    .workflow-showcase__steps::before {
        content: '';
        position: absolute;
        left: 3%;
        right: 3%;
        top: calc(1.65rem + 28px);
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(197, 160, 0, 0.22) 8%,
            rgba(255, 215, 0, 0.55) 35%,
            rgba(255, 215, 0, 0.55) 65%,
            rgba(197, 160, 0, 0.22) 92%,
            transparent
        );
        box-shadow: 0 0 24px rgba(255, 215, 0, 0.12);
        z-index: 0;
        pointer-events: none;
    }
}

.workflow-step {
    position: relative;
    z-index: 1;
    padding: 0 0.25rem;
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.35s ease;
}

@media (min-width: 900px) {
    .workflow-step {
        padding: 1.65rem 1.25rem 1.85rem;
        border-radius: 22px;
        border: 1px solid rgba(10, 10, 31, 0.06);
        background:
            linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 251, 0.96) 100%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            0 22px 48px -28px rgba(10, 10, 31, 0.14);
    }
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
    .workflow-step:hover {
        transform: translateY(-3px);
        border-color: rgba(10, 10, 31, 0.1);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 1),
            0 28px 56px -24px rgba(10, 10, 31, 0.16),
            0 0 0 1px rgba(255, 215, 0, 0.12);
    }
}

@media (max-width: 899px) {
    .workflow-step {
        padding: 1.25rem 1.2rem 1.35rem;
        border-radius: 18px;
        border: 1px solid rgba(10, 10, 31, 0.055);
        background: linear-gradient(168deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 247, 249, 0.97) 100%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            0 18px 40px -28px rgba(10, 10, 31, 0.12);
    }

    .workflow-step:first-child {
        padding-top: 1.25rem;
    }

    .workflow-step__text {
        max-width: none;
        padding-right: 0;
    }

    .workflow-showcase__intro {
        max-width: none;
    }
}

.workflow-step__marker {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 0, 0.55);
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), transparent 52%),
        linear-gradient(155deg, #ffffff 0%, #eef0f4 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.65) inset,
        0 10px 26px rgba(10, 10, 31, 0.08),
        0 0 20px rgba(255, 215, 0, 0.06);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease,
        background 0.4s ease;
    will-change: transform;
}

@media (min-width: 900px) {
    .workflow-step__marker {
        margin-left: 0;
        margin-right: auto;
    }
}

.workflow-step__num {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: var(--accent-dark);
    display: inline-block;
    transition: color 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
    .workflow-step:hover .workflow-step__marker {
        transform: scale(1.06) translateY(-2px);
        border-color: rgba(255, 255, 255, 0.14);
        background: var(--primary);
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.06) inset,
            0 12px 28px rgba(0, 0, 0, 0.35);
    }

    .workflow-step:hover .workflow-step__num {
        color: #ffffff;
        transform: scale(1.04);
    }
}

@media (hover: none) {
    .workflow-step:active .workflow-step__marker {
        transform: scale(1.03);
        border-color: rgba(255, 255, 255, 0.12);
        background: var(--primary);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    }

    .workflow-step:active .workflow-step__num {
        color: #ffffff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .workflow-step {
        transition-duration: 0.01ms !important;
    }

    .workflow-step:hover {
        transform: none;
    }

    .workflow-step__marker,
    .workflow-step__num {
        transition-duration: 0.01ms !important;
    }

    .workflow-step:hover .workflow-step__marker,
    .workflow-step:hover .workflow-step__num,
    .workflow-step:active .workflow-step__marker {
        transform: none;
    }
}

.workflow-step__title {
    margin: 0 0 0.6rem;
    font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.05rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--primary);
    text-align: center;
    line-height: 1.25;
}

@media (min-width: 900px) {
    .workflow-step__title {
        text-align: left;
    }
}

.workflow-step__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.68;
    color: rgba(10, 10, 31, 0.5);
    text-align: center;
}

@media (min-width: 900px) {
    .workflow-step__text {
        text-align: left;
        max-width: none;
    }
}

/* Homepage FAQ (native details/summary) */
.faq-section__container {
    width: 100%;
}

.faq-section__header {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-section__eyebrow {
    letter-spacing: 0.24em;
    opacity: 0.85;
}

.faq-section__lede {
    color: rgba(10, 10, 31, 0.52);
}

.faq-section__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

@media (min-width: 1100px) {
    .faq-section__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem 1.25rem;
        align-items: start;
    }
}

.faq-section__item {
    border-radius: 1rem;
    border: 1px solid rgba(10, 10, 31, 0.08);
    background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 10px 36px rgba(10, 10, 31, 0.05);
    overflow: hidden;
    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.faq-section__item:hover {
    border-color: rgba(10, 10, 31, 0.12);
}

.faq-section__item[open] {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 14px 40px rgba(10, 10, 31, 0.07);
    border-color: rgba(197, 160, 0, 0.28);
}

.faq-section__item summary {
    cursor: pointer;
    list-style: none;
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: 1.1rem 1.25rem;
    font-size: clamp(0.94rem, 0.88rem + 0.2vw, 1.04rem);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    text-align: left;
}

@media (min-width: 768px) {
    .faq-section__item summary {
        padding: 1.2rem 1.5rem;
    }
}

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

.faq-section__chev {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(10, 10, 31, 0.055);
    color: var(--accent-dark);
    font-size: 0.68rem;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.faq-section__item[open] .faq-section__chev {
    transform: rotate(180deg);
    background: rgba(255, 215, 0, 0.2);
}

.faq-section__body {
    padding: 0 1.25rem 1.15rem;
    border-top: 1px solid rgba(10, 10, 31, 0.065);
}

@media (min-width: 768px) {
    .faq-section__body {
        padding: 0 1.5rem 1.25rem;
    }
}

.faq-section__body p {
    margin: 0;
    padding-top: 0.9rem;
    font-size: 0.9375rem;
    line-height: 1.68;
    color: rgba(10, 10, 31, 0.56);
    max-width: none;
}

@media (prefers-reduced-motion: reduce) {
    .faq-section__chev {
        transition-duration: 0.01ms !important;
    }

    .faq-section__item[open] .faq-section__chev {
        transform: rotate(180deg);
    }
}

/* Testimonials — centered carousel with peeking side slides (index) */
.testimonials-carousel {
    position: relative;
    padding-bottom: 0.25rem;
}

.testimonials-nav-btn {
    flex-shrink: 0;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(197, 160, 0, 0.35);
    background: var(--primary);
    color: var(--accent);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
    box-shadow: 0 10px 28px -12px rgba(10, 10, 31, 0.35);
}

/* Lighter controls so they sit with the cards, not like the global FABs */
.testimonials-nav-btn--overlay {
    position: absolute;
    z-index: 30;
    top: 42%;
    transform: translateY(-50%);
    width: 2.45rem;
    height: 2.45rem;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary);
    border: 1px solid rgba(10, 10, 31, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 22px -8px rgba(10, 10, 31, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.testimonials-nav-btn--overlay.testimonials-swiper-btn-prev {
    left: max(0.15rem, env(safe-area-inset-left, 0px));
}

.testimonials-nav-btn--overlay.testimonials-swiper-btn-next {
    right: max(0.15rem, env(safe-area-inset-right, 0px));
}

.testimonials-nav-btn--overlay:hover:not(.swiper-button-disabled) {
    transform: translateY(-50%) scale(1.05);
    border-color: rgba(197, 160, 0, 0.55);
    color: var(--accent-dark);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 28px -10px rgba(10, 10, 31, 0.2);
}

.testimonials-nav-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.testimonials-nav-btn.swiper-button-disabled {
    opacity: 0.32;
    cursor: not-allowed;
}

.testimonials-nav-btn--overlay.swiper-button-disabled {
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .testimonials-nav-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1.05rem;
    }

    .testimonials-nav-btn--overlay {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 0.88rem;
    }
}

/* Swiper bundle loads after style.css; !important wins so side slides can peek */
.testimonials-section .testimonialsSwiper--peek.swiper {
    overflow: visible !important;
}

.testimonials-section .testimonialsSwiper {
    padding-bottom: 2.75rem;
}

.testimonials-section .testimonialsSwiper--peek .swiper-wrapper {
    align-items: stretch;
}

.testimonials-section .testimonialsSwiper--peek .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.testimonials-section .testimonialsSwiper--peek .swiper-slide .testimonial-card {
    height: 100%;
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
    opacity: 0.5;
    transform: scale(0.94);
    box-shadow: 0 12px 36px -22px rgba(10, 10, 31, 0.1);
}

.testimonials-section .testimonialsSwiper--peek .swiper-slide-active .testimonial-card {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 18px 48px -20px rgba(10, 10, 31, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-section .testimonialsSwiper--peek .swiper-slide .testimonial-card {
        transition: none;
    }
}

.testimonial-card {
    margin: 0 auto;
    max-width: 100%;
    padding: 1.65rem 1.5rem 1.75rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(10, 10, 31, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 18px 48px -20px rgba(10, 10, 31, 0.12);
    text-align: center;
}

.testimonial-card__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.testimonial-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 2px solid rgba(197, 160, 0, 0.42);
    background: linear-gradient(145deg, #ffffff, #eceef2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar__icon {
    font-size: 2.35rem;
    line-height: 1;
    color: rgba(10, 10, 31, 0.24);
}

.testimonial-card__stars {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    line-height: 1;
}

.testimonial-card__quote {
    margin: 0 0 1.15rem;
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
    font-style: italic;
    line-height: 1.55;
    color: var(--text-muted);
}

.testimonial-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
}

.testimonial-card__name {
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.testimonial-card__role {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(10, 10, 31, 0.45);
    letter-spacing: 0.04em;
}

.testimonials-swiper-pagination.swiper-pagination {
    bottom: 0 !important;
}

.testimonials-swiper-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: rgba(10, 10, 31, 0.22);
    opacity: 1;
}

.testimonials-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--accent-dark);
    transform: scale(1.15);
}

/* Section label + animated line */
.section-head__line {
    width: min(220px, 60vw);
    height: 10px;
}

.section-head__line svg {
    width: 100%;
    height: 100%;
    display: block;
}

[data-line-animate] path {
    fill: none;
    stroke-width: 2;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-line-animate].is-line-active path {
    stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
    [data-line-animate] path {
        stroke-dashoffset: 0;
        transition: none;
    }
}

/* Gradient hairline card frame */
.card-premium-border {
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.card-premium-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.55),
        rgba(10, 10, 31, 0.12) 45%,
        rgba(255, 215, 0, 0.35)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.card-premium-border > * {
    position: relative;
    z-index: 2;
}

/* Elevated form panel */
.form-elevated {
    box-shadow:
        0 40px 80px rgba(10, 10, 31, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Editorial split (services) */
.editorial-split img {
    box-shadow: 0 40px 100px rgba(10, 10, 31, 0.12);
}

/* Navbar depth on premium pages */
body.has-premium-ui .navbar {
    box-shadow: 0 8px 30px rgba(10, 10, 31, 0.06);
}

main#main-content {
    outline: none;
    /* Clip stray horizontal overflow here so html/body can stay overflow-x:visible for sticky nav */
    overflow-x: clip;
    min-width: 0;
}

footer.site-footer {
    overflow-x: clip;
    min-width: 0;
}

/* ---------- Contact / quote (premium) ---------- */

.contact-quote-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(168deg, #f8f9fb 0%, #ffffff 42%, #f3f4f7 100%);
}

.contact-quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 85% 55% at 100% 8%, rgba(255, 215, 0, 0.09), transparent 52%),
        radial-gradient(ellipse 55% 45% at 0% 92%, rgba(10, 10, 31, 0.045), transparent 48%);
}

.contact-quote-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 0, 0.35), transparent);
    pointer-events: none;
}

.contact-quote-section__inner {
    position: relative;
    z-index: 1;
}

.contact-quote-lead {
    position: relative;
    padding-left: 0;
}

@media (min-width: 1024px) {
    .contact-quote-lead {
        padding-left: 1.25rem;
        border-left: 3px solid rgba(255, 215, 0, 0.55);
    }
}

.contact-quote-eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-channel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-channel-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-channel-icon {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    box-shadow:
        0 14px 34px rgba(10, 10, 31, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-channel-row:hover .contact-channel-icon {
    transform: translateY(-2px);
    box-shadow:
        0 18px 40px rgba(10, 10, 31, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-channel-icon--phone,
.contact-channel-icon--whatsapp {
    background: var(--primary);
    color: var(--accent);
}

/* Same nominal icon size; brand marks share one optical box */
.contact-channel-icon .channel-ico {
    font-size: 1.2rem;
    display: block;
    line-height: 1;
    transform: translateY(0.5px);
}

.contact-channel-body {
    min-width: 0;
}

.contact-quote-form {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(10, 10, 31, 0.06);
}

.contact-quote-form input,
.contact-quote-form select,
.contact-quote-form textarea {
    border: 1px solid rgba(10, 10, 31, 0.06);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-quote-form input:focus,
.contact-quote-form select:focus,
.contact-quote-form textarea:focus {
    border-color: rgba(197, 160, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Quote request form — fieldsets & service-specific panels */
.quote-request-form .quote-fieldset {
    border: 1px solid rgba(10, 10, 31, 0.08);
    border-radius: 1.5rem;
    padding: 1.25rem 1.25rem 1.5rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.65);
}

.quote-request-form .quote-fieldset + .quote-fieldset {
    margin-top: 1.25rem;
}

.quote-request-form .quote-legend {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(10, 10, 31, 0.92);
    opacity: 1;
    padding: 0 0.35rem 0.35rem;
}

/* Single-line field labels (quote + contact) — bold, readable caps */
.quote-field-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(10, 10, 31, 0.92);
    line-height: 1.45;
}

@media (min-width: 640px) {
    .quote-field-label {
        font-size: 0.75rem;
        letter-spacing: 0.09em;
    }
}

.quote-field-label--legend {
    display: block;
}

/* Communication preference radios */
.quote-page-form fieldset label.inline-flex,
.quote-request-form fieldset label.inline-flex {
    font-size: 0.9375rem;
    font-weight: 700;
    color: rgba(10, 10, 31, 0.9);
}

.quote-request-form .quote-service-panel {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(10, 10, 31, 0.1);
}

.quote-request-form .quote-panel-title {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

.quote-request-form select.quote-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230A0A1F'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.75rem;
}

.quote-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Quote page — wider layout, two columns on large screens */
.quote-page-section {
    background: linear-gradient(180deg, #fbfbfc 0%, #f4f5f7 100%);
}

/* Hero + form band: grow past 1400px on wide screens so the intake does not sit in a narrow column */
.quote-page-hero .container.quote-page-inner,
.quote-page-section > .container.quote-page-inner {
    max-width: min(1680px, 94vw);
    padding-left: clamp(1rem, 3.5vw, 2.75rem);
    padding-right: clamp(1rem, 3.5vw, 2.75rem);
}

.quote-page-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.quote-page-form__intro {
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(10, 10, 31, 0.07);
}

.quote-page-form__grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

@media (min-width: 1024px) {
    .quote-page-form__grid {
        display: grid;
        grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
        gap: 1.25rem 2rem;
        align-items: start;
    }
}

.quote-page-form__col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.quote-page-form__col .quote-fieldset + .quote-fieldset {
    margin-top: 0;
}

.quote-page-form.quote-request-form .quote-fieldset {
    padding: 1rem 1.15rem 1.2rem;
}

.quote-page-form__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

/* ---------- Why us / property care (premium) ---------- */

.why-premium {
    position: relative;
    background: linear-gradient(152deg, #eceef3 0%, #f9fafb 42%, #e8eaef 100%);
}

.why-premium__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(10, 10, 31, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 31, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 20%, transparent 75%);
}

.why-premium__glow {
    position: absolute;
    width: min(90vw, 720px);
    height: min(90vw, 720px);
    top: -25%;
    right: -15%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 68%);
    filter: blur(2px);
}

.why-premium__eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 1rem;
    opacity: 0.95;
}

.why-premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.why-premium-list__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(10, 10, 31, 0.07);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 8px 32px rgba(10, 10, 31, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.why-premium-list__item:hover {
    border-color: rgba(197, 160, 0, 0.4);
    box-shadow: 0 16px 48px rgba(10, 10, 31, 0.08);
    transform: translateX(6px);
}

.why-premium-list__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary);
    background: linear-gradient(145deg, #ffe566 0%, var(--accent) 45%, var(--accent-dark) 100%);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.35);
}

.why-premium-list__text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.45;
    padding-top: 0.15rem;
}

@media (min-width: 768px) {
    .why-premium-list__text {
        font-size: 1.15rem;
    }
}

.why-premium-visual {
    position: relative;
}

.why-premium-visual__frame {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    box-shadow:
        0 48px 100px rgba(10, 10, 31, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.why-premium-visual__frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.75) 0%,
        rgba(255, 255, 255, 0.15) 42%,
        rgba(10, 10, 31, 0.25) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.why-premium-visual__img {
    display: block;
    width: 100%;
    min-height: 280px;
    max-height: 520px;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
    .why-premium-visual__img {
        min-height: 380px;
    }
}

.why-premium-visual__frame:hover .why-premium-visual__img,
.why-premium-visual__frame:focus-within .why-premium-visual__img {
    transform: scale(1.08);
}

.why-premium-visual__mesh {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        165deg,
        rgba(10, 10, 31, 0.05) 0%,
        transparent 42%,
        rgba(10, 10, 31, 0.55) 100%
    );
}

.why-premium-stat {
    position: absolute;
    z-index: 4;
    left: 1.25rem;
    bottom: 1.25rem;
    right: 1.25rem;
    max-width: 16rem;
    padding: 1.25rem 1.5rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 24px 60px rgba(10, 10, 31, 0.2);
}

@media (min-width: 640px) {
    .why-premium-stat {
        left: auto;
        right: 1.75rem;
        bottom: 1.75rem;
        max-width: 14.5rem;
    }
}

.why-premium-stat__value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.why-premium-stat__label {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .why-premium-list__item:hover {
        transform: none;
    }

    .why-premium-visual__frame:hover .why-premium-visual__img {
        transform: scale(1.03);
    }
}

/* Form submit feedback (contact / quote redirects) */
#form-feedback:not(.hidden) {
    position: fixed;
    top: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    max-width: 36rem;
    width: calc(100% - 2rem);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-hover);
    font-size: 0.875rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.45;
}

#form-feedback.form-feedback--ok {
    background: var(--primary);
    color: #fff;
    border: 1px solid rgba(255, 215, 0, 0.35);
}

#form-feedback.form-feedback--err {
    background: var(--emergency);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Site-wide: prevent grid children from forcing horizontal scroll (quote, etc.) */
.quote-request-form .grid > *,
.quote-request-form .grid > div {
    min-width: 0;
}

@media (max-width: 639px) {
    a.work-card,
    .work-card {
        height: min(28rem, 72svh) !important;
        min-height: 16rem;
    }
}

/* Stats strip: responsive columns without overflow on narrow phones */
.stats-strip__grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
}

@media (min-width: 480px) {
    .stats-strip__grid {
        grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
    }
}

/* Safe horizontal insets on notched phones (nav + top bar inner) */
@media (max-width: 639.98px) {
    .site-nav .nav-content.site-nav__inner,
    .top-bar .top-bar-content {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }
}

/* Hero (legacy non-Swiper): fluid headings on small screens */
@media (max-width: 767.98px) {
    .hero:not(.hero-premium) h1 {
        font-size: clamp(2rem, 9vw, 2.75rem) !important;
        line-height: 1.12;
    }

    .hero:not(.hero-premium) {
        min-height: 70svh;
        height: auto;
        padding: 3rem 0;
    }
}

/* Premium hero: slightly tighter type on very small phones (fluid-display min is 2.25rem) */
@media (max-width: 389.98px) {
    .hero.hero-premium .hero-content h1.serif,
    .hero.hero-premium .hero-content h2.serif {
        font-size: clamp(1.85rem, 8.5vw, 2.5rem) !important;
        line-height: 1.08;
    }
}