/* Shared site polish: consistent, restrained navigation across pages */
* {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

::selection {
    background: #FFD700;
    color: #000000;
}

:root {
    /* Most pages load Inter, but inline tokens still reference Outfit. */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
    --type-h1: clamp(2.6rem, 5vw, 4.2rem);
    --type-h2: clamp(2rem, 3.4vw, 3rem);
    --type-h3: clamp(1.3rem, 2vw, 1.75rem);
    --type-body: clamp(1rem, 1.1vw, 1.15rem);
    --nav-height: 80px;
    --nav-pad-x: clamp(1rem, 3.2vw, 2.25rem);

    /* Shared theme tokens (moved out of page-level inline CSS) */
    --bg-void: #000000;
    --bg-spotlight: radial-gradient(circle at 50% 20%, #102030 0%, #000000 80%);
    --bg-surface: rgba(10, 20, 30, 0.4);
    --radius-lg: 1.5rem;
    --radius-xl: 2.5rem;
    --warm-taupe: #2E2A25;
    --warm-taupe-glass: rgba(46, 42, 37, 0.3);
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-float: 0 24px 64px rgba(0, 0, 0, 0.5);
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
    --glass-base: #0f1520;
    --sapphire-glass: var(--glass-base);
    --glass-blur: none;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    /* Grounded border */
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    /* Reduced shadow spread */
    /* Avoid magenta/purple refraction; keep it sapphire + gold. */

    /* Visual upgrade tokens */
    --ink: #f5f7f9;
    --ink-muted: rgba(245, 247, 249, 0.72);
    --gold-core: #f4d77a;
    --gold-deep: #b8860b;
    --panel: #0d1217;
    --panel-border: rgba(212, 175, 55, 0.15);
    --panel-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    --glass-strong: none;
    --metallic-tonal: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.05));
    --surface-refractive: linear-gradient(115deg,
            transparent 42%,
            rgba(255, 255, 255, 0.08) 48%,
            rgba(212, 175, 55, 0.12) 52%,
            transparent 58%);
    --high-gloss-highlight: linear-gradient(45deg, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 55%);
    --surface-border: 1px solid rgba(255, 255, 255, 0.12);
    --gold-grad: linear-gradient(90deg, #B8860B 0%, #FFD700 25%, #FFFFFF 50%, #FFD700 75%, #B8860B 100%);
    --gold-metallic: var(--gold-grad);
    --gold-warm: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    --text-main: #FFFFFF;
    --text-muted: #9ba1a6;
    --accent-amber: #FFD700;
    --border-gold: 1px solid rgba(212, 175, 55, 0.4);

    /* Layout Utilities */
    --section-pad: clamp(4rem, 8vw, 8rem);
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #f3f5f7;
    line-height: 1.7;
    font-size: var(--type-body);
    padding-top: var(--nav-height);
    overscroll-behavior-y: none;
}

.skip-to-content {
    position: absolute;
    top: -48px;
    left: 0;
    background: #FFD700;
    color: #000;
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus,
.skip-to-content:focus-visible {
    top: 0;
    outline: none;
}

/* Lightbox scroll locking (set/unset via js/site.js). */
body.lb-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

picture,
picture img {
    display: block;
}

body.home-page,
body.no-nav {
    padding-top: 0;
}

p {
    color: rgba(243, 245, 247, 0.88);
}

h1,
h2,
h3 {
    letter-spacing: -0.01em;
}

h1 {
    font-family: var(--font-display);
    font-size: var(--type-h1);
    line-height: 1.28;
    display: inline-block;
    padding-bottom: 0.18em;
    overflow: visible;
}

h2 {
    font-family: var(--font-display);
    font-size: var(--type-h2);
    line-height: 1.1;
    overflow: visible;
}

h3 {
    font-family: var(--font-display);
    font-size: var(--type-h3);
    line-height: 1.2;
    overflow: visible;
}

p,
li,
table,
th,
td,
label,
input,
select,
textarea {
    font-family: var(--font-main);
}

.container {
    width: min(1120px, calc(100% - 3rem));
    margin-left: auto;
    margin-right: auto;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 var(--nav-pad-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    /* Force consistent nav typography across pages, regardless of page-level tokens. */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: rgba(8, 22, 33, 0.94) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar .logo {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #fff !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    letter-spacing: 0.1em;
    font-weight: 700;
}

.navbar .nav-links {
    display: flex;
    flex: 1;
    gap: clamp(0.9rem, 2.2vw, 1.6rem);
    align-items: center;
    justify-content: flex-end;
    margin-left: clamp(1rem, 2.2vw, 2.2rem);
    background: transparent !important;
}

.navbar .nav-links a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #fff !important;
    text-decoration: none;
    letter-spacing: 0.01em;
    font-weight: 500;
    text-transform: none !important;
    font-size: 0.84rem;
    white-space: nowrap;
    padding: 0.35rem 0.6rem;
}

.navbar .nav-est {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 215, 122, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    text-transform: uppercase;
}

.navbar .menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    /* Force non-white icon color over page-level inline CSS. */
    color: #5f6872 !important;
    -webkit-text-fill-color: #5f6872 !important;
    font-size: 0;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
}

@media (min-width: 969px) {
    .navbar .menu-toggle {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

.navbar .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.28);
    color: rgba(255, 215, 0, 0.9);
}

.navbar .menu-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.5);
    color: rgba(255, 215, 0, 0.95);
}

.navbar .menu-toggle .menu-icon {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    position: relative;
    transform: translateY(-0.5px);
    transition: background-color 0.2s ease;
}

.navbar .menu-toggle .menu-icon::before,
.navbar .menu-toggle .menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    top: 0;
    transition: transform 0.22s ease;
}

.navbar .menu-toggle .menu-icon::before {
    transform: translateY(-6px);
}

.navbar .menu-toggle .menu-icon::after {
    transform: translateY(6px);
}

.navbar .menu-toggle.is-open .menu-icon {
    background: transparent;
}

.navbar .menu-toggle.is-open .menu-icon::before {
    transform: rotate(45deg);
}

.navbar .menu-toggle.is-open .menu-icon::after {
    transform: rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

/* Tone down auto-generated visual noise and keep UX focused */
.preloader,
.cursor,
.cursor-dot,
.cursor-light {
    display: none !important;
}

.section,
section {
    scroll-margin-top: 88px;
}

.hero p,
.hero .hero-subtitle,
.hero .hero-description {
    max-width: 62ch;
    margin-left: auto;
    margin-right: auto;
}

/* Unified button system */
.btn-primary,
.btn-luxury,
button.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.85rem 2rem;
    border-radius: 999px !important;
    text-decoration: none !important;
    letter-spacing: 0.04em !important;
    font-weight: 500 !important;
    font-family: var(--font-main);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.9);
    outline-offset: 2px;
}

:focus-visible {
    outline: 2px solid #FFD700;
    outline-offset: 4px;
    border-radius: 4px;
}

.home-page {
    opacity: 0;
    animation: pageLoad 0.6s ease-out forwards;
}

@keyframes pageLoad {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove promotional/gimmick overlays for a cleaner, more editorial feel */
.social-proof {
    display: none !important;
}



footer {
    border-top: 1px solid rgba(212, 175, 55, 0.22) !important;
}

img {
    image-rendering: auto;
    max-width: 100%;
    height: auto;
}

/* Mobile stability */
main,
header,
section,
footer {
    overflow-x: hidden;
}

.container,
.section,
.case-study,
.case-content,
.case-sidebar,
.service-card,
.gallery-item,
.faq-item,
.contact-info,
.form-container {
    min-width: 0;
}

.services-grid,
.gallery-grid,
.faq-grid,
.contact-grid {
    min-width: 0;
}

.services-grid>*,
.gallery-grid>*,
.faq-grid>*,
.contact-grid>* {
    min-width: 0;
}

table,
.data-table,
.spec-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

table th,
table td,
.data-table th,
.data-table td,
.spec-table th,
.spec-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

table thead th,
.data-table thead th,
.spec-table thead th {
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    font-weight: 600;
    color: var(--text-main);
}

/* ── Global Layout Components ── */
.section-pad {
    padding: var(--section-pad) 0;
}

.page-hero {
    padding: calc(var(--nav-height) + 4rem) var(--nav-pad-x) 4rem;
    text-align: center;
    background: var(--bg-spotlight);
    border-bottom: var(--border-gold);
}

.page-hero .eyebrow {
    font-family: var(--font-mono);
    color: var(--gold-core);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.page-hero h1 {
    margin-bottom: 1.5rem;
}

.page-hero .lead {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    color: var(--ink-muted);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Pill Grid (Service Areas, Tags) */
.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 3rem;
}

.pill {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ink-muted);
    border-radius: 999px;
    transition: all 0.3s ease;
}

.pill:hover {
    border-color: var(--gold-core);
    color: #fff;
    background: rgba(212, 175, 55, 0.08);
}

/* Sidebar / Glass Panel */
.glass-panel {
    background: var(--sapphire-glass);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.glass-panel h3 {
    color: var(--gold-core);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    color: var(--ink-muted);
    font-size: 0.95rem;
}

.checklist li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-core);
    font-weight: 800;
}

@media (max-width: 768px) {

    table,
    .data-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table th,
    .data-table td {
        white-space: nowrap;
    }
}

@media (max-width: 968px) {
    :root {
        --nav-height: calc(70px + env(safe-area-inset-top));
    }

    .navbar {
        height: var(--nav-height);
        padding: env(safe-area-inset-top) 1rem 0;
        background: #081621 !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow: visible;
    }

    .navbar .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100svh - var(--nav-height));
        z-index: 10000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.9rem;
        background: #081621 !important;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.28s ease;
        margin-left: 0;
        padding: 1.5rem;
    }

    .navbar .nav-links.active,
    .navbar .nav-links.nav-active,
    .navbar .menu-toggle[aria-expanded="true"]+.nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navbar .nav-links a {
        font-size: 1rem;
        letter-spacing: 0.04em;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 0.75rem 1rem;
        border-radius: 12px;
        touch-action: manipulation;
    }

    .navbar .nav-est {
        margin: 0.4rem 0 0;
    }

    .navbar .menu-toggle {
        display: inline-flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 10001;
    }



    .hero,
    [style*="background-attachment: fixed"] {
        background-attachment: scroll !important;
    }

    .hero-content-3d,
    .gallery-item.tilt,
    .case-sidebar {
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* === Rendering Performance === */

/* Skip rendering for off-screen sections until scrolled into view.
   contain-intrinsic-size gives the browser a placeholder height so
   scroll-bar length stays stable as sections load.                */
.section,
section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* Promote hover-animated cards to their own compositing layer */
.service-card,
.case-study,
.faq-item,
.gallery-item {
    will-change: transform;
}

/* Isolate footer rendering from main content repaints */
.site-footer {
    contain: layout style paint;
}

/* === Visual Upgrade Pass (modern, minimal, premium) === */

body {
    position: relative;
    color: var(--ink);
    background-color: #05070a !important;
}

/* Keep page backgrounds transparent so the global gradient reads through */
main,
header,
section,
footer,
.section {
    background: transparent !important;
}

body::before {
    content: none;
    /* De-AI pass: removed aurora background */
}

main,
header,
section,
footer {
    position: relative;
    z-index: 1;
}

.section,
section {
    padding: clamp(3.75rem, 7.5vw, 6.5rem) 0;
}

/* Footer: consistent, finished look across pages. */
.site-footer {
    background: rgba(5, 14, 21, 0.88) !important;
    /* Default footer is compact (some pages only show a copyright line). */
    padding: 1.5rem 1.25rem;
    border-top: var(--border-gold);
    margin-top: 1.75rem;
}

.site-footer.site-footer--grid {
    /* Pages with a full footer grid need more breathing room. */
    padding: 3.5rem 2rem;
}

.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: #FFD700;
}



.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.25rem;
    max-width: 1100px;
    margin: 0 auto 2.25rem;
    width: 100%;
}

.footer-brand {
    font-size: 1.4rem;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.footer-brand span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: normal;
    margin-top: 0.25rem;
}

.footer-section h5 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 2;
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
}

/* Layout rhythm */
.section .container>*+* {
    margin-top: 1.75rem;
}

.section h2+p,
.section h3+p {
    margin-top: 0.75rem;
}

.services-grid,
.faq-grid,
.gallery-grid,
.contact-grid {
    gap: clamp(1.25rem, 2.4vw, 2rem) !important;
}

h1,
h2,
h3 {
    line-height: 1.1;
}

h1 {
    letter-spacing: -0.02em;
}

h2 {
    letter-spacing: -0.015em;
}

p {
    color: var(--ink-muted);
}

.hero h1,
.hero-title,
header h1 {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45 !important;
    padding-bottom: 0.3em !important;
    overflow: visible;
    display: inline-block;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.hero h1 .italic-accent,
.hero-title .italic-accent,
header h1 .italic-accent {
    display: inline-block !important;
    padding-bottom: 0.35em !important;
    padding-right: 0.08em;
    line-height: 1.3 !important;
    overflow: visible;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transform: translateZ(0);
}

/* Global italic-accent safety for descenders */
.italic-accent {
    display: inline-block;
    padding-bottom: 0.3em;
    line-height: 1.2;
    overflow: visible;
}

.hero p {
    font-size: var(--type-body);
}

/* Hero overlay soft-light polish */
.hero-overlay {
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.35), rgba(5, 7, 10, 0.7)) !important;
}

/* Section rhythm helpers */
.section+.section {
    padding-top: clamp(2.5rem, 5vw, 4rem);
}

.service-card,
.case-study,
.faq-item,
.contact-info,
.form-container,
.gallery-item {
    background-color: var(--panel) !important;
    border: 1px solid var(--panel-border) !important;
    box-shadow: var(--panel-shadow) !important;
    border-radius: 18px !important;
    backdrop-filter: var(--glass-strong);
    padding: 1.75rem 2rem;
}

.service-card:hover,
.faq-item:hover,
.gallery-item:hover,
.case-study:hover {
    transform: translateY(-4px);
    transition: transform 0.25s ease;
}

.service-card:hover,
.faq-item:hover,
.gallery-item:hover,
.case-study:hover,
.contact-info:hover,
.form-container:hover {
    border-color: rgba(244, 215, 122, 0.28) !important;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45) !important;
}

.gallery-item img {
    filter: saturate(1.05) contrast(1.02);
}

button.gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: zoom-in;
    text-align: inherit;
}

button.gallery-item:focus-visible {
    outline: 2px solid rgba(244, 215, 122, 0.9);
    outline-offset: 3px;
}

.btn-primary,
button.btn-primary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(244, 215, 122, 0.35) !important;
    color: #f4d77a !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-luxury {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(244, 215, 122, 0.45) !important;
    color: #FFD700 !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary:hover,
.btn-luxury:hover,
button.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(244, 215, 122, 0.6) !important;
}

.btn-primary:active,
.btn-luxury:active,
button.btn-primary:active {
    transform: translateY(0) scale(0.98) !important;
}

.navbar .nav-links a:hover {
    color: #f4d77a !important;
}

.navbar .nav-links .nav-active,
.navbar .nav-links a[aria-current="page"] {
    color: #f4d77a !important;
    text-shadow: 0 0 12px rgba(244, 215, 122, 0.2);
}

.lang-switch {
    font-size: 0.75rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-opt {
    transition: 0.3s;
}

.lang-opt:hover,
.lang-opt.active {
    color: #FFD700;
}

.form-input,
select.form-input,
textarea.form-input {
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(10, 14, 20, 0.65) !important;
}

.form-input:focus {
    border-color: rgba(244, 215, 122, 0.6) !important;
    box-shadow: 0 0 0 2px rgba(244, 215, 122, 0.15) !important;
}

/* Density control: collapsible knowledge + specs */
details.kb-toggle,
details.spec-toggle {
    background: var(--panel) !important;
    border: 1px solid var(--panel-border) !important;
    border-radius: 16px !important;
    box-shadow: var(--panel-shadow) !important;
    padding: 0;
    margin: 1.25rem 0;
    overflow: hidden;
}

details.kb-toggle summary,
details.spec-toggle summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    padding: 1.25rem 1.5rem;
    padding-right: 3rem;
}

details.kb-toggle summary::-webkit-details-marker,
details.spec-toggle summary::-webkit-details-marker {
    display: none;
}

/* ------------------------------------------------------------
   Shared Page Components (Pricing/Quote/KB Articles)
   ------------------------------------------------------------ */

.section-pad {
    padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

.page-hero {
    position: relative;
    padding: clamp(4.75rem, 8vw, 6.5rem) 0 clamp(2.5rem, 4vw, 3.25rem);
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    text-align: center;
    background:
        radial-gradient(80% 120% at 50% 10%, rgba(16, 32, 48, 0.85) 0%, rgba(0, 0, 0, 0.92) 60%, rgba(0, 0, 0, 1) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 1));
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background: var(--diamond-refraction);
    background-size: 220% 220%;
    transform: translateZ(0);
    filter: blur(0.2px);
}

.eyebrow {
    margin: 0 0 0.75rem 0;
    font-family: var(--font-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: rgba(255, 215, 0, 0.85);
}

.lead {
    max-width: 64ch;
    margin: 1rem auto 0;
    color: rgba(243, 245, 247, 0.88);
}

.muted {
    color: rgba(155, 161, 166, 0.92);
}

.mini-muted {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(155, 161, 166, 0.9);
}

.qa-eyebrow-compact {
    margin: 0 0 0.8rem 0;
}

.qa-title-compact {
    margin: 0 0 0.4rem 0;
    color: #fff;
    font-size: 1.35rem;
}

.qa-updated-compact {
    margin: 0 0 0.35rem 0;
    font-size: 0.85rem;
    color: rgba(155, 161, 166, 0.82);
}

.qa-body-tight {
    margin: 0;
}

.hero-actions {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    color: rgba(255, 215, 0, 0.95);
    border: 1px solid rgba(244, 215, 122, 0.35);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    font-weight: 600;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.5);
    border-color: rgba(244, 215, 122, 0.55);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(244, 215, 122, 0.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(244, 215, 122, 0.35);
    padding-bottom: 0.15rem;
}

.text-link:hover {
    border-bottom-color: rgba(244, 215, 122, 0.75);
}

.card-grid {
    display: grid;
    gap: clamp(1rem, 2.4vw, 1.5rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card {
    background: var(--glass-base);
    border: var(--glass-border);
    border-radius: 18px;
    padding: 1.4rem 1.4rem 1.25rem;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.feature-card h2,
.feature-card h3 {
    margin-top: 0;
}

.glass-panel {
    background: var(--glass-base);
    border: var(--glass-border);
    border-radius: 22px;
    padding: 1.6rem 1.6rem 1.4rem;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.glass-panel.center-panel {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.split {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: start;
}

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

.stack {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.steps {
    margin: 1.25rem 0 0;
    padding-left: 1.25rem;
}

.steps li+li {
    margin-top: 0.6rem;
}

.trust-strip {
    padding: clamp(2.75rem, 5vw, 4.25rem) 0;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.trust-title {
    margin-top: 0;
    text-align: center;
}

.trust-strip .trust-grid {
    display: grid;
    margin-top: 1.75rem;
    gap: clamp(0.9rem, 2.2vw, 1.25rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.trust-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.25rem 1.25rem 1.1rem;
}

.trust-card h3 {
    margin: 0 0 0.5rem 0;
    color: rgba(255, 215, 0, 0.92);
}

.trust-card p {
    margin: 0;
    color: rgba(243, 245, 247, 0.86);
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 215, 122, 0.3);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(243, 245, 247, 0.9);
    font-size: 0.9rem;
}

.quote-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: start;
}

@media (max-width: 968px) {
    .quote-layout {
        grid-template-columns: 1fr;
    }
}

.quote-card {
    background: var(--glass-base);
    border: var(--glass-border);
    border-radius: 22px;
    padding: 1.6rem;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.quote-form label {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quote-form label>span {
    color: rgba(155, 161, 166, 0.95);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 14, 20, 0.65);
    color: rgba(243, 245, 247, 0.95);
}

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

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: rgba(244, 215, 122, 0.6);
    box-shadow: 0 0 0 2px rgba(244, 215, 122, 0.14);
}

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

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-actions {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.checklist {
    padding-left: 1.2rem;
}

.checklist li+li {
    margin-top: 0.45rem;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    clip-path: inset(50%);
}

.kb-article h1 {
    max-width: 20ch;
}

.kb-nav {
    margin-top: 2rem;
}



details.kb-toggle summary::after,
details.spec-toggle summary::after {
    content: "+";
    font-size: 1.2rem;
    color: #f4d77a;
    transition: transform 0.2s ease;
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
}

details.kb-toggle[open] summary::after,
details.spec-toggle[open] summary::after {
    content: "-";
}

.kb-summary,
.spec-summary {
    display: block;
    color: var(--ink-muted);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.kb-body,
.spec-body {
    margin-top: 0;
    padding: 0 1.5rem 1.5rem;
}

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    text-decoration-color: rgba(244, 215, 122, 0.7);
}

@media (max-width: 968px) {

    .section,
    section {
        padding: clamp(3rem, 8vw, 5rem) 0;
    }

    .service-card,
    .case-study,
    .faq-item,
    .contact-info,
    .form-container,
    .gallery-item {
        border-radius: 16px !important;
    }
}

@media (max-width: 768px) {
    .kb-page .container {
        padding: 3.5rem 1.25rem;
    }

    .kb-page header {
        padding: 4rem 1.25rem 3rem;
        margin-bottom: 3.5rem;
    }

    .kb-page article {
        padding: 2.25rem 1.5rem;
        margin-bottom: 2.5rem;
    }

    .kb-page .kb-toggle summary {
        padding: 1.4rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .kb-page .kb-toggle summary::after {
        top: 1.2rem;
        transform: none;
    }

    .kb-page .kb-toggle summary h2 {
        font-size: 1.6rem;
        line-height: 1.25;
        text-align: left;
    }

    .kb-page .kb-summary {
        font-size: 0.95rem;
    }

    .kb-page .kb-body {
        padding: 0 1.25rem 1.5rem;
    }

    .kb-page .entity-cloud {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .kb-page .container {
        padding: 3rem 1rem;
    }

    .kb-page header {
        padding: 3.25rem 1rem 2.5rem;
        margin-bottom: 3rem;
    }

    .kb-page h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .kb-page article {
        padding: 2rem 1.2rem;
    }

    .kb-page .kb-toggle summary {
        padding: 1.1rem 1rem;
    }

    .kb-page .kb-toggle summary::after {
        top: 0.95rem;
        right: 0.9rem;
        transform: none;
    }

    .kb-page .kb-toggle summary h2 {
        font-size: 1.4rem;
        line-height: 1.25;
        width: 100%;
    }

    .kb-page .kb-summary {
        font-size: 0.9rem;
    }

    .kb-page .kb-body {
        padding: 0 1rem 1.25rem;
    }

    .kb-page .entity-pill {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
    }

    .kb-page .data-table th,
    .kb-page .data-table td {
        padding: 0.75rem 0.6rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 360px) {
    .kb-page h1 {
        font-size: 2rem;
    }

    .kb-page .kb-toggle summary h2 {
        font-size: 1.25rem;
    }
}

/* Aurora animation removed during De-AI Grounding pass */

/* ── Service Card Image Overlay ── */
.service-card[style*="background-image"] {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(8, 22, 33, 0.92) 0%,
            rgba(8, 22, 33, 0.6) 50%,
            rgba(8, 22, 33, 0.35) 100%);
    transition: background 0.5s ease;
    z-index: 1;
}

.service-card:hover .service-card__overlay {
    background: linear-gradient(to top,
            rgba(8, 22, 33, 0.85) 0%,
            rgba(8, 22, 33, 0.45) 50%,
            rgba(8, 22, 33, 0.2) 100%);
}

.service-card__content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

/* ── Card Hover Micro-Animations ── */
.service-card,
.card,
.faq-item,
.gallery-item {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.35s ease;
}

.service-card:hover,
.card:hover,
.faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(255, 215, 0, 0.06);
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {

    .service-card:hover,
    .card:hover,
    .faq-item:hover,
    .gallery-item:hover {
        transform: none;
    }
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* ── Staggered Grid Cascade ── */
.services-grid>.reveal:nth-child(1) {
    transition-delay: 0s;
}

.services-grid>.reveal:nth-child(2) {
    transition-delay: 0.12s;
}

.services-grid>.reveal:nth-child(3) {
    transition-delay: 0.24s;
}

.gallery-grid>.reveal:nth-child(1) {
    transition-delay: 0s;
}

.gallery-grid>.reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.gallery-grid>.reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.gallery-grid>.reveal:nth-child(4) {
    transition-delay: 0.24s;
}

.gallery-grid>.reveal:nth-child(5) {
    transition-delay: 0.32s;
}

.gallery-grid>.reveal:nth-child(6) {
    transition-delay: 0.40s;
}

/* ── Full-Width Image Break ── */
.image-break {
    width: 100%;
    height: 45vh;
    min-height: 280px;
    max-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    margin: 3rem 0;
}

.image-break::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(8, 22, 33, 0.4) 0%,
            rgba(8, 22, 33, 0) 30%,
            rgba(8, 22, 33, 0) 70%,
            rgba(8, 22, 33, 0.4) 100%);
}

/* Parallax fallback on mobile (background-attachment:fixed is buggy) */
@media (max-width: 768px) {
    .image-break {
        background-attachment: scroll;
        height: 35vh;
    }
}

/* ========================================
   Homepage-Specific Styles
   Extracted from index.html inline <style>
   ======================================== */
/* Homepage-specific styles only. Global theme/reset/live gradient in css/site.css */

/* Feature 30: Nav Badge */
.nav-badge {
    font-size: 0.6em;
    background: var(--ruby-grad);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: super;
    margin-left: 4px;
    box-shadow: 0 2px 8px rgba(255, 61, 96, 0.4);
}

/* Feature 33: Portfolio Filters */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Feature 3: Page Transition handled in css/site.css (.home-page) */

/* HERO SECTION (2025-2026 Immersive) */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height, 80px);
    background: transparent !important;
}

.hero-bg-slider {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-image: image-set(url('../images/img_4.webp') type('image/webp'), url('../images/img_4.webp') type('image/jpeg'));
    animation: kenBurns 25s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.08) translate(-1%, 1%);
    }

    100% {
        transform: scale(1.04) translate(1%, -0.5%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-slider {
        animation: none;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 22, 33, 0.7), rgba(8, 22, 33, 0.9));
    z-index: 1;
}

.hero-noise {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
}

.hero-subtitle {
    color: #FFD700 !important;
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: none !important;
    -webkit-text-fill-color: #FFD700 !important;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.hero h1 .italic-accent {
    color: #FFD700;
    font-style: italic;
    background: var(--gold-grad);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldRain 3s ease-in-out infinite;
    display: inline;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: rgba(15, 41, 61, 0.4);
    border: var(--diamond-border);
    color: #FFD700;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: badgeGlow 4s infinite alternate;
    position: relative;
    overflow: hidden;
    /* Mobile Touch Target */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Sparkle Overlay */
.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--diamond-sparkle);
    opacity: 0.5;
    mix-blend-mode: overlay;
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.1);
        border-color: rgba(255, 215, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.5);
    }
}

.hero-badge:hover {
    border-color: #FFD700;
    transform: translateY(-2px);
    background: rgba(15, 41, 61, 0.6);
}

/* Mobile stability and touch optimization */
body {
    /* Ensure physics don't break in iframe */
    width: 100%;
    height: 100%;
    overscroll-behavior-y: none;
    /* Prevent bounce in embed */
}

.section {
    padding: 6rem 2rem;
    background: transparent !important;
    will-change: transform;
    /* Performance hint */
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 1.5rem;
    }

    /* Mobile Touch Targets */
    button,
    a,
    .service-card,
    .hero-badge {
        touch-action: manipulation;
        min-height: 44px;
        /* Apple Human Interface Guidelines */
    }

    /* Reduce blur for mobile performance */
    .service-card {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

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

.trust-section {
    background: transparent !important;
    border-bottom: var(--border-gold);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

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

.trust-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: #FFD700 !important;
    background: var(--gold-grad);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldRain 6s linear infinite;
}

.trust-label {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: none !important;
    -webkit-text-fill-color: var(--text-muted) !important;
}

/* Feature 9: Partner Logo Slider */
.partners-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
    padding: 1.5rem 0;
    position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-void), transparent);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-void), transparent);
}

.partners-track {
    display: flex;
    gap: 4rem;
    animation: marqueeScroll 20s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

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

.partner-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.partner-text:hover {
    color: #FFD700;
}

.partner-sep {
    color: rgba(255, 215, 0, 0.3);
    margin: 0 1.5rem;
}

/* TYPOGRAPHY */
h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #FFFFFF !important;
    margin-bottom: 3rem;
    text-align: center;
    background: none !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

h2 .italic-accent {
    color: #FFD700 !important;
    font-style: italic;
    background: var(--gold-grad);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldRain 6s linear infinite;
}

h3 {
    font-size: 1.5rem;
    color: #FFD700 !important;
    margin-bottom: 1rem;
    background: none !important;
    -webkit-text-fill-color: #FFD700 !important;
}

p,
li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    /* Base padding for all screens */
}

.service-card {
    background-color: var(--glass-base);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border) !important;
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    transition: all 0.6s var(--ease-elastic);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    /* Feature 4: Staggered Reveal */
    opacity: 0;
    transform: translateY(40px);
    animation: staggerReveal 0.8s ease-out forwards;
    /* Feature 7: 3D Tilt */
    --rotateX: 0deg;
    --rotateY: 0deg;
    transform-style: preserve-3d;
}

.services-grid {
    perspective: 1000px;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes staggerReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-float);
}

/* Diamond Refraction Wipe */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: var(--diamond-refraction);
    transform: skewX(-25deg);
    transition: 0.5s;
    opacity: 0;
    pointer-events: none;
}

.service-card:hover::after {
    left: 200%;
    opacity: 0.6;
    transition: 0.7s ease-in-out;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    margin: 0;
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s ease;
}

.gallery-item:hover {
    border-color: #FFD700;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Feature 15: Lazy Loading Blur-up */
.blur-load {
    filter: blur(20px);
    opacity: 0;
    transition: filter 0.5s ease-out, opacity 0.5s ease-out, transform 0.5s ease;
}

.blur-load.loaded {
    filter: blur(0);
    opacity: 1;
}

/* CONTACT FORM */
.contact-form-container {
    max-width: 600px;
    margin: 3rem auto;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    background: rgba(0, 0, 0, 0.6);
}

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

.form-error {
    color: #ff3d60;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-success {
    display: none;
    text-align: center;
    color: #FFD700;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.form-success h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

/* Feature 22: Google Maps */
.map-container {
    margin: 4rem auto 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    height: 400px;
    position: relative;
    max-width: 900px;
    box-shadow: var(--shadow-float);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: none;
    transition: filter 0.5s ease;
}

.map-container:hover .map-iframe {
    filter: none;
}

/* Feature 10: Testimonials */
.testimonials-section {
    background: var(--bg-surface) !important;
    text-align: center;
    padding: 6rem 2rem;
}

.quote-icon {
    font-size: 4rem;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    color: #FFFFFF !important;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

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

/* CONTACT */
.contact-section {
    background: transparent !important;
    text-align: center;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.contact-label {
    color: #FFD700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-value {
    color: #FFFFFF;
    font-size: 1.2rem;
}

.social-icons-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-icons-bar a {
    color: var(--text-muted);
    transition: 0.3s;
}

.social-icons-bar a:hover {
    color: #FFD700;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 33, 0.95);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    font-size: 2.5rem;
    color: #FFFFFF;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2;
}

.close-lightbox:hover {
    color: #FFD700;
}

.close-lightbox:focus-visible {
    outline: 2px solid rgba(244, 215, 122, 0.9);
    outline-offset: 4px;
}

/* ANIMATIONS */
@keyframes goldRain {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.reveal-stone {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

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

/* Feature 10: Testimonial Carousel */
.testimonials-section {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, rgba(15, 41, 61, 0.2) 0%, transparent 100%);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 280px;
    overflow: hidden;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s var(--ease-elastic);
    background: var(--glass-base);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card.prev {
    opacity: 0;
    transform: translateX(-100px);
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: #FFD700;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    padding: 6px;
    border: 0;
    box-sizing: content-box;
    background-clip: content-box;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.testimonial-dot.active {
    background: #FFD700;
    transform: none;
    box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.45);
}

.testimonial-dot:focus-visible {
    outline: 2px solid rgba(244, 215, 122, 0.9);
    outline-offset: 3px;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 968px) {
    .hero {
        min-height: 100svh;
        justify-content: center;
        padding-top: 70px;
    }

    .hero-content {
        margin: 0 auto;
        padding: 1.25rem 1.25rem 2rem;
        transform: none;
    }

    .hero h1 {
        margin-bottom: 1.8rem;
    }

    .hero-badge,
    .hero-subtitle {
        margin-bottom: 1.2rem;
    }

    .trust-grid {
        gap: 2rem;
        padding: 0 1.5rem;
        /* Prevent edge clipping on mobile */
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem;
        /* Prevent edge clipping on mobile */
    }

    .contact-details {
        gap: 3rem;
    }

    :root {
        --glass-blur: blur(12px) saturate(180%);
    }

    .testimonials-section {
        padding: 4rem 1rem;
    }

    .testimonials-carousel {
        height: 420px;
        max-width: 100%;
    }

    .testimonial-card {
        padding: 1.5rem 1.25rem;
        border-radius: 1.25rem;
    }

    .testimonial-stars {
        margin-bottom: 1rem;
    }

    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }

    .testimonial-dots {
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .testimonial-dot {
        width: 12px;
        height: 12px;
        padding: 10px;
        box-sizing: content-box;
        background-clip: content-box;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        /* Prevent edge clipping on mobile */
    }
}



.footer-explore-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-explore-link:hover,
.footer-explore-link:focus-visible {
    color: #FFD700;
}

/* Print Styles & Gradient Borders */
.card-gradient {
    background: linear-gradient(var(--bg-void), var(--bg-void)) padding-box,
        var(--gold-grad) border-box;
    border: 1px solid transparent !important;
    border-radius: 1rem;
}

/* Allow inline background-image to show on service cards */
.service-card[style*="background-image"] {
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 1rem;
}

@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .hero,

    .lightbox,
    .menu-toggle,
    .newsletter,
    footer,
    nav,
    video {
        display: none !important;
    }

    .section {
        page-break-inside: avoid;
        color: #000 !important;
    }

    * {
        text-shadow: none !important;
        box-shadow: none !important;
    }
}

.form-section {
    border: 1px solid rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.form-header {
    color: #FFD700;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

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

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
    cursor: pointer;
}

.app-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.form-input.is-small {
    padding: 0.5rem;
    font-size: 0.9rem;
}

/* Feature 36: Parallax Override */
.hero {
    background-attachment: fixed !important;
}

/* App Polish & Utility Styles */
html,
body {
    overscroll-behavior-y: none;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

input,
textarea,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    user-select: text;
    -webkit-user-select: text;
}

a:active,
button:active,
.btn-luxury:active {
    transform: scale(0.96);
}

/* Feature 11: Utility Styles */
.hull-part,
.counter-part,
.handle-part {
    transition: fill 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ============================================================
   MOBILE VISUAL FIXES — comprehensive pass 2026-02-25
   Addresses: cramped form, table overflow, excessive padding,
   section/hero spacing, split layout stacking.
   ============================================================ */

/* --- Spec / data tables: always scrollable on mobile --- */
.spec-table,
table:not(.data-table) {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 768px) {

    /* Make ALL tables horizontally scrollable — not just .data-table */
    .spec-table,
    table:not(.data-table) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    /* Restore normal flow to table body for inline scrolling */
    .spec-table thead,
    .spec-table tbody,
    .spec-table tfoot {
        display: table;
        width: 100%;
    }

    /* Container: reduce fat horizontal padding sitewide on mobile */
    .container,
    .kb-article {
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }

    /* section-pad: reduce vertical breathing room */
    .section-pad {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* Glass panels: reduce internal padding so content isn't squished */
    .glass-panel {
        padding: 1.25rem 1rem !important;
    }

    /* Hero sections: less vertical padding on small screens */
    .page-hero,
    .hero {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }

    /* Split layout (service-areas, etc.): stack vertically */
    .split {
        display: block !important;
    }

    .split>aside,
    .split>section {
        width: 100% !important;
        margin-bottom: 2rem;
    }

    /* form-grid-2: always stack on mobile — catches global + page-level instances */
    .form-grid-2 {
        grid-template-columns: 1fr !important;
    }

    /* App rows in form: allow wrapping select to go full width */
    .app-row {
        flex-wrap: wrap;
    }

    .app-row .form-input.is-small {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* form-section internal padding: breathe on mobile */
    .form-section {
        padding: 1rem 0.85rem !important;
    }

    /* Footer grid: reduce padding on narrow screens */
    .site-footer.site-footer--grid {
        padding: 2rem 1.1rem !important;
    }

    /* Footer grid columns: 2 cols on mobile instead of 4 */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }

    /* Pill grids: wrap cleanly */
    .pill-grid {
        gap: 0.4rem;
    }

    /* Card grids: force 1 col below 500px */
    .card-grid {
        grid-template-columns: 1fr !important;
    }

    /* ROI / comparison tables inside glass panels:
       allow them to scroll rather than squish text */
    .glass-panel table,
    .glass-panel .spec-table {
        font-size: 0.82rem;
    }

    /* Checklist items: always readable */
    .checklist li,
    .feature-list li {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    /* h2 on mobile: reduce bottom margin from global 3rem */
    h2 {
        margin-bottom: 1.5rem !important;
    }

    /* hero-actions buttons: stack on very small screens */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary,
    .hero-actions .btn-luxury {
        width: 100%;
        text-align: center;
    }
}

/* Extra small: 375px and below */
@media (max-width: 420px) {

    /* Contact-us form: reduce outer container padding further */
    .form-container {
        padding: 1rem 0.85rem !important;
        border-radius: 1rem !important;
    }

    .contact-info {
        padding: 1rem 0.85rem !important;
        border-radius: 1rem !important;
    }

    /* Appointment date + slot: stack vertically */
    .form-grid-2[style*="gap"] {
        grid-template-columns: 1fr !important;
    }

    /* Footer: single column */
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    /* KB articles: even tighter */
    .kb-article {
        padding-left: 0.9rem !important;
        padding-right: 0.9rem !important;
    }
}

/* === Extracted Utility Classes === */
.footer-reg-no {
    opacity: 0.6;
    font-size: 0.8em;
    margin-left: 10px;
}

.quote-text {
    opacity: 0.85;
    font-style: italic;
    font-size: 0.93rem;
}

.housing-tag {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Kitchen Cost Estimator ──────────────────────────────── */

.est-step {
    border: none;
    padding: 0;
    margin: 0 0 1.6rem;
}

.est-step legend {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--gold-core);
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

.est-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.6rem;
}

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

.est-options--3col {
    grid-template-columns: repeat(3, 1fr);
}

.est-card {
    cursor: pointer;
    display: block;
}

.est-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.est-card-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--panel-border);
    background: var(--panel);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.est-card-inner strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

.est-card-sub {
    font-size: 0.78rem;
    color: var(--ink-muted);
    line-height: 1.3;
}

.est-card input:checked+.est-card-inner {
    border-color: var(--gold-core);
    background: rgba(244, 215, 122, 0.08);
    box-shadow: 0 0 0 1px var(--gold-core), 0 4px 20px rgba(244, 215, 122, 0.1);
}

.est-card input:focus-visible+.est-card-inner {
    outline: 2px solid var(--gold-core);
    outline-offset: 2px;
}

.est-card:hover .est-card-inner {
    border-color: rgba(244, 215, 122, 0.5);
    background: rgba(244, 215, 122, 0.04);
}

/* Result panel */
.est-result {
    margin-top: 2rem;
    padding: 1.6rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(244, 215, 122, 0.06), rgba(12, 18, 26, 0.5));
    border: 1px solid rgba(244, 215, 122, 0.25);
    text-align: center;
    transition: transform 0.3s var(--ease-smooth);
}

.est-result-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-core);
    margin-bottom: 0.5rem;
}

.est-result-range {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}

.est-bnd {
    font-weight: 400;
    font-size: 0.65em;
    color: var(--ink-muted);
    margin-right: 0.15em;
}

.est-dash {
    margin: 0 0.15em;
    color: var(--ink-muted);
}

.est-result-note {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-top: 0.6rem;
    line-height: 1.5;
}

/* Responsive: stack on small screens */
@media (max-width: 600px) {

    .est-options,
    .est-options--2col,
    .est-options--3col {
        grid-template-columns: 1fr 1fr;
    }

    .est-result-range {
        font-size: 1.8rem;
    }
}