:root {
    /* Mortox-alt design system â€” see design_system_alt.md */
    --font-main: 'General Sans', 'Inter', sans-serif;
    --font-alt: 'Inclusive Sans', sans-serif;
    --font-display: 'Satoshi', sans-serif;

    --color-white: #ffffff;
    --color-black: #0a1c3d;
    /* dark navy blue, replaces near-black */
    --color-off-white: #f7f7f8;
    --color-surface: #f8f9fd;

    --color-accent: #006fe6;
    --color-accent-2: #2051ff;

    --color-text-muted: rgba(255, 255, 255, 0.75);
    --color-border: rgba(255, 255, 255, 0.15);

    --max-content-width: 1440px;
}

/* ==========================================================================
   Accessibility & WCAG 2.2 Compliant Foundations
   ========================================================================== */

/* Skip to Content Navigation Landmark (WCAG 2.4.1 Level A) */
.skip-to-content {
    position: absolute;
    top: -120px;
    left: 20px;
    background: #006fe6;
    color: #ffffff !important;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    z-index: 9999999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.skip-to-content:focus {
    top: 20px;
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* Global High-Contrast Focus Visible Outline (WCAG 2.4.7 & 2.4.13) */
:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 3px;
}

/* Accessible reduced motion preference (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
    font-family: 'Satoshi', sans-serif !important;
    text-wrap: pretty;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Wrapper (Full Screen) */
.hero-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('images/hero background.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('images/hero background overlay.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Top Utility Bar (contact info above the navbar) â€”
   hidden on mobile so it doesn't disturb the hero's one-screen framing. */
.topbar {
    position: relative;
    z-index: 10;
    display: none;
    background-color: #06132b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .topbar {
        display: block;
    }
}

.topbar-inner {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.topbar-items {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

a.topbar-item:hover {
    color: var(--color-white);
}

.topbar-item i {
    color: var(--color-accent);
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 0;
    background-color: #0284c7;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.site-logo-img {
    height: 32px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.site-logo-footer {
    height: 42px;
    max-width: 260px;
}

/* Two-line Satoshi Brand Text Logo */
.brand-text-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
    text-decoration: none;
    font-family: 'Satoshi', 'Satori', var(--font-display, sans-serif);
    user-select: none;
    transition: opacity 0.2s ease;
}

.brand-text-logo:hover {
    opacity: 0.88;
}

.brand-text-logo .logo-line-1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.05;
}

.brand-text-logo .logo-line-2 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent, #0099ff);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.1;
}

.logo-icon {
    width: 24px;
    height: 24px;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2.5rem;
    }
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-btn {
    display: inline-block;
    color: var(--color-white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-accent);
    border: none;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-btn:hover {
    background-color: var(--color-accent-2);
    color: var(--color-white);
}

/* Nav Action & Mobile Hamburger */
.nav-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    color: #ffffff;
    font-size: 1.85rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.nav-hamburger-btn:hover {
    color: #ffffff;
    opacity: 0.85;
    transform: scale(1.06);
    background: transparent;
}

.nav-hamburger-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.nav-hamburger-btn i,
.nav-hamburger-btn i.ph {
    font-size: 1.85rem;
    line-height: 1;
    display: block;
}

@media (min-width: 1024px) {
    .nav-hamburger-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.85rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .site-logo-img {
        height: 32px;
        max-width: 180px;
    }

    .nav-action {
        gap: 0.5rem;
    }

    .nav-action .nav-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 0.825rem;
        white-space: nowrap;
    }
}

/* ==========================================================================
   OFF-CANVAS MOBILE / TABLET MENU DRAWER
   ========================================================================== */
.offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 12, 26, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.offcanvas-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 380px);
    background: #0a1c3d;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 9999;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.offcanvas-drawer.active {
    transform: translateX(0);
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-logo-img {
    height: 32px;
    width: auto;
}

.offcanvas-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.offcanvas-close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(90deg);
}

.offcanvas-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex-grow: 1;
}

.offcanvas-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.offcanvas-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.offcanvas-link i {
    font-size: 1.25rem;
    color: var(--color-accent);
}

.offcanvas-link:hover,
.offcanvas-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.offcanvas-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.offcanvas-accordion-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.offcanvas-accordion-toggle i.caret-icon {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.25s ease;
}

.offcanvas-accordion.open .offcanvas-accordion-toggle i.caret-icon {
    transform: rotate(180deg);
}

.offcanvas-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.offcanvas-accordion.open .offcanvas-submenu {
    max-height: 260px;
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
}

.offcanvas-sublink {
    display: block;
    padding: 0.45rem 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.offcanvas-sublink:hover {
    color: var(--color-accent);
}

.offcanvas-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.offcanvas-contact-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
}

.offcanvas-contact-item i {
    color: var(--color-accent);
}

.offcanvas-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem;
    background: var(--color-accent);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.offcanvas-cta-btn:hover {
    background: var(--color-accent-2);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Pushes content to the bottom */
    padding-bottom: 6rem;
}

.content-container,
.container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Hero copy block */
.hero-layout {
    width: 100%;
}

/* --- Today's Rate Card ---
   Desktop: absolutely positioned into the hero's bottom-right, sitting
   alongside the copy. Mobile: pulled out of the hero viewport entirely and
   flowed underneath it, so the first screen shows only the copy + CTAs and
   nothing overlaps the faces in the background photo. */
.rate-card-wrap {
    position: relative;
    z-index: 10;
    padding: 0 2rem 4rem;
}

@media (min-width: 1024px) {
    .hero-copy {
        max-width: 760px;
    }

    .rate-card-wrap {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 6rem;
        width: 100%;
        max-width: var(--max-content-width, 1440px);
        padding: 0 2rem;
        display: flex;
        justify-content: flex-end;
        pointer-events: none;
    }

    .rate-card-wrap .rate-card {
        pointer-events: auto;
    }
}

/* Liquid-glass rate card (approximation ported from a 21st.dev component).
   Layer stack, bottom â†’ top:
     .rate-card-glass  â€” frosted + SVG-distorted backdrop (the "liquid" ripple)
     .rate-card-tint   â€” brand-blue translucent tint (keeps white text readable)
     .rate-card-shine  â€” inner-edge highlight + diagonal sheen
     .rate-card-content â€” the actual copy, on top
   Real "Liquid Glass" is Apple-platform only; this is a CSS/SVG approximation. */
/* Off-layout container for the SVG filter <defs>. */
.glass-filter-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* No `isolation: isolate` here on purpose: an isolated element becomes a
   "backdrop root", and a backdrop root cuts its descendants' backdrop-filter
   off from everything painted outside it â€” the glass layer would have had the
   hero photo to sample and instead sampled nothing. */
.rate-card {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    /* Shared with .rate-card-glass, whose clip-path has to cut the bleeding
       backdrop back to exactly this shape. */
    --glass-radius: 24px;
    --glass-bleed: 96px;
    max-width: 380px;
    border-radius: var(--glass-radius);
    padding: 2.5rem;
    color: var(--color-white);
    /* Safety net that clips the over-sized glass layer in browsers without
       clip-path; the clip-path itself is the primary one. */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.22),
        0 24px 48px rgba(0, 0, 0, 0.35);
}

/* The frosted layer.

   blur() only samples pixels *directly behind* the element, so at the card's
   own edges it runs out of source data and the frost visibly thins out â€”
   nearby content never diffuses inward the way it does through real glass.
   Fix from joshwcomeau.com/css/backdrop-filter: bleed the filtered layer well
   past the element (he doubles a header's height), then clip the result back.
   He masks with a linear-gradient, which can't do rounded corners; a
   `clip-path: inset(â€¦ round â€¦)` is the same post-filter clip but in the card's
   exact rounded-rect shape, so no SVG mask is needed.

   pointer-events matters here: the bleed overlaps the hero CTAs on mobile and
   would otherwise swallow their clicks. */
.rate-card-glass {
    position: absolute;
    inset: calc(var(--glass-bleed) * -1);
    z-index: 0;
    pointer-events: none;
    clip-path: inset(var(--glass-bleed) round var(--glass-radius));
    /* -webkit- first so it stays the fallback: engines that reject the
       reference filter in the standard declaration below (Safari, and
       Chromium's backdrop-filter, which ignores url() refs) drop that whole
       declaration and keep this one. Reversed, the plain blur would win in
       every browser and the SVG ripple would never render.
       saturate() restores the colour blurring muddies; brightness() dims the
       photo just enough to hold the white type's contrast. */
    -webkit-backdrop-filter: blur(10px) saturate(160%) brightness(92%);
    backdrop-filter: blur(10px) saturate(160%) brightness(92%) url(#glass-distortion);
}

.rate-card-tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    /* Lighter, cleaner tint â€” leans on the brand accent (cyan-blue) rather than
       indigo so it reads as glass, not a purple panel. A soft darken toward the
       bottom-left keeps the text legible without a heavy overall fill. */
    background:
        linear-gradient(160deg, rgba(0, 153, 255, 0.10) 0%, rgba(32, 81, 255, 0.16) 100%),
        radial-gradient(120% 120% at 15% 25%, rgba(10, 28, 61, 0.32) 0%, rgba(10, 28, 61, 0) 55%);
}

/* Edge separation, the article's second trick: a thin ring that filters the
   backdrop *again* at a different blur and brightness. Real glass is thickest
   where you look through it edge-on, and that mismatch between rim and face is
   what sells the depth. The two-gradient mask keeps only the border box minus
   the padding box â€” i.e. the 3px ring â€” and the transparent border reserves it. */
.rate-card-edge {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    border: 3px solid transparent;
    -webkit-backdrop-filter: blur(4px) saturate(160%) brightness(125%);
    backdrop-filter: blur(4px) saturate(160%) brightness(125%);
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.rate-card-shine {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    /* Refracted-edge highlights: a bright top-left inner bevel and a softer
       bottom-right one, echoing the CodePen shader's lens edge-lighting â€”
       but done with static box-shadows, so there's no render loop. */
    box-shadow:
        inset 1px 1px 1px 0 rgba(255, 255, 255, 0.28),
        inset -1px -1px 1px 1px rgba(255, 255, 255, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%);
}

/* A crisp light rim that traces the whole edge, like the lens boundary in the
   shader. Uses a masked border ring â€” still pure CSS, no JS. */
.rate-card-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.12)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.rate-card-content {
    position: relative;
    z-index: 4;
    /* Soft shadow lets the glass stay transparent while keeping text readable
       over the brighter parts of the hero photo. */
    text-shadow: 0 1px 12px rgba(10, 28, 61, 0.45);
}

/* No backdrop-filter support â†’ opaque brand fill so white text stays readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .rate-card {
        background-color: var(--color-accent-2);
        background-image: linear-gradient(160deg, #2f5cff 0%, var(--color-accent-2) 55%, #1a41e0 100%);
    }

    .rate-card-glass,
    .rate-card-edge,
    .rate-card-tint {
        display: none;
    }
}

/* Respect users who prefer reduced transparency â†’ solid brand card, no ripple. */
@media (prefers-reduced-transparency: reduce) {
    .rate-card {
        background-color: var(--color-accent-2);
        background-image: linear-gradient(160deg, #2f5cff 0%, var(--color-accent-2) 55%, #1a41e0 100%);
    }

    .rate-card-glass,
    .rate-card-edge,
    .rate-card-tint {
        display: none;
    }

    .rate-card-shine {
        background: none;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

.rate-card-label {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.rate-card-value {
    font-size: clamp(3.25rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--color-white);
}

.rate-card-asterisk {
    font-size: 0.45em;
    font-weight: 500;
    vertical-align: super;
    margin-left: 0.1em;
    opacity: 0.85;
}

.rate-card-meta {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.rate-card-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.22);
    margin: 1.75rem 0 1.25rem;
}

.rate-card-note {
    font-size: 0.6875rem;
    line-height: 1.4;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1023px) {
    .rate-card {
        max-width: 100%;
        padding: 2rem;
        /* Full-width card, so a smaller bleed already covers the blur radius â€”
           and it keeps the filtered area (and its cost) down on phones. */
        --glass-bleed: 64px;
    }

    /* Hero copy fills exactly one screen (viewport minus the navbar), so the
       rate card below it starts past the fold instead of squeezing the
       headline up over the background photo. */
    .hero-content {
        min-height: calc(100svh - 5rem);
        padding-bottom: 3rem;
    }

    /* The card makes .hero-wrapper taller than the viewport. With
       `background-size: cover` that extra height re-scales the photo and crops
       the subjects out sideways. Pinning the image to exactly one screen tall,
       top-aligned, reproduces the original 100vh framing so the faces stay put;
       the strip behind the card falls back to the navy page color. */
    .hero-wrapper {
        background-size: auto 100svh;
        background-position: center top;
        background-color: var(--color-black);
    }

    /* The overlay spans the whole wrapper and carries a vertical fade that
       dissolves the photo into the same navy, so the photo's bottom edge is
       invisible and the rate card sits on one continuous hero background.
       Both layers are sized to 100svh, so the gradient's stops stay locked to
       the photo regardless of how tall the card below it is. */
    .hero-overlay {
        height: auto;
        bottom: 0;
        background-image:
            linear-gradient(to bottom,
                rgba(10, 28, 61, 0) 42%,
                rgba(10, 28, 61, 0.6) 66%,
                #0a1c3d 82%,
                #0a1c3d 100%),
            url('images/hero background overlay.svg');
        /* The gradient goes fully opaque at 82% â€” roughly 150px before the
           photo's bottom edge â€” so the image ends inside an already-solid navy
           band. Any drift between `svh` and the real navbar height therefore
           can't expose a visible seam. */
        background-size: 100% 100svh, auto 100svh;
        background-position: center top, center top;
        background-repeat: no-repeat, no-repeat;
    }
}

.eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.headline {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    max-width: 800px;
}

.sub-headline {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 650px;
    margin-bottom: 1.5rem;
}

/* Trust Strip */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-white);
    font-weight: 500;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: #4ade80;
    /* Subtle green tick */
}

.white-check {
    color: var(--color-white);
    /* White tick for the bottom bar */
}

.bottom-trust-strip {
    margin-bottom: 0;
    justify-content: space-between;
    width: 100%;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* On phones the two hero CTAs stack full-width instead of sitting side by side */
@media (max-width: 767px) {
    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-group .btn {
        width: 100%;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-dark {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-dark:hover {
    background-color: var(--color-accent);
}

.btn-icon {
    transform: rotate(-45deg);
    /* Diagonal arrow for Call Now */
}

.btn-icon-right {
    /* Straight right arrow */
}

/* --------------------------------------------------------------------------
   Directional "Flair" Button System (Cursor-Tracking Magnetic Ripple Fill)
   Ported from Nano Ceramic 9H design system
   -------------------------------------------------------------------------- */
.btn-flair {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-flair-fill {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform-origin: 0 0;
    transform: translate(var(--btn-fx, 50%), var(--btn-fy, 50%)) scale(var(--btn-fs, 0));
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: transform;
    z-index: 0;
}

.btn-flair-fill::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 240%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--flair-fill-bg, #0099ff);
    transform: translate(-50%, -50%);
}

.btn-flair-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: none;
    transition: color 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn-flair .btn-icon,
.btn-flair .btn-icon-right,
.btn-flair i {
    transition: transform 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn-flair.is-flairing .btn-icon {
    transform: rotate(-45deg) translate(2px, -2px);
}

.btn-flair.is-flairing .btn-icon-right,
.btn-flair.is-flairing i {
    transform: translateX(4px);
}

/* Flair Variants for All Buttons Across the Website */
.btn-primary.btn-flair,
.calc-btn.btn-flair,
.relume-hero-btn-primary.btn-flair,
.relume-action-btn.btn-flair,
button[type="submit"].btn-flair {
    --flair-fill-bg: linear-gradient(135deg, #0072db 0%, #00509d 100%);
    background-color: var(--color-accent);
}

.btn-primary.btn-flair .btn-flair-label,
.calc-btn.btn-flair .btn-flair-label,
.relume-hero-btn-primary.btn-flair .btn-flair-label,
.relume-action-btn.btn-flair .btn-flair-label,
button[type="submit"].btn-flair .btn-flair-label {
    color: #ffffff;
}

.sd-flair-ready .btn-primary.btn-flair.is-flairing,
.sd-flair-ready .calc-btn.btn-flair.is-flairing,
.sd-flair-ready .relume-hero-btn-primary.btn-flair.is-flairing,
.sd-flair-ready .relume-action-btn.btn-flair.is-flairing,
.sd-flair-ready button[type="submit"].btn-flair.is-flairing {
    box-shadow: 0 10px 24px rgba(0, 153, 255, 0.38);
    transform: translateY(-2px);
}

/* Dark Buttons (.btn-dark, .faq-btn, .featured-btn) */
.btn-dark.btn-flair {
    --flair-fill-bg: linear-gradient(135deg, #0099ff 0%, #0072db 100%);
    background-color: var(--color-black, #0f172a);
}

.btn-dark.btn-flair .btn-flair-label {
    color: #ffffff;
}

.sd-flair-ready .btn-dark.btn-flair.is-flairing {
    box-shadow: 0 10px 24px rgba(0, 153, 255, 0.42);
    transform: translateY(-2px);
}

.sd-flair-ready .btn-dark.btn-flair.is-flairing .btn-flair-label {
    color: #ffffff !important;
}

/* Navbar Action Button (.nav-btn) */
.nav-btn.btn-flair {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    --flair-fill-bg: linear-gradient(135deg, #0072db 0%, #00509d 100%);
    background-color: var(--color-accent);
}

.nav-btn.btn-flair .btn-flair-label {
    color: #ffffff;
}

.sd-flair-ready .nav-btn.btn-flair.is-flairing {
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.35);
    transform: translateY(-2px);
}

/* Secondary Button (.btn-secondary) */
.btn-secondary.btn-flair {
    --flair-fill-bg: #ffffff;
}

.sd-flair-ready .btn-secondary.btn-flair.is-flairing {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.sd-flair-ready .btn-secondary.btn-flair.is-flairing .btn-flair-label {
    color: #0369a1 !important;
}

/* Footer Primary Light Button (.btn-primary-light) */
.btn-primary-light.btn-flair {
    --flair-fill-bg: linear-gradient(135deg, #0099ff 0%, #0072db 100%);
    background-color: #ffffff !important;
}

.btn-primary-light.btn-flair .btn-flair-label {
    color: #0a1c3d !important;
}

.sd-flair-ready .btn-primary-light.btn-flair.is-flairing {
    box-shadow: 0 10px 24px rgba(0, 153, 255, 0.4);
    transform: translateY(-2px);
}

.sd-flair-ready .btn-primary-light.btn-flair.is-flairing .btn-flair-label {
    color: #ffffff !important;
}

/* Footer Outline Light Button (.btn-outline-light) */
.btn-outline-light.btn-flair {
    --flair-fill-bg: #ffffff;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.btn-outline-light.btn-flair .btn-flair-label {
    color: #ffffff !important;
}

.sd-flair-ready .btn-outline-light.btn-flair.is-flairing {
    border-color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sd-flair-ready .btn-outline-light.btn-flair.is-flairing .btn-flair-label {
    color: #0a1c3d !important;
}

/* Bottom Bar */
.hero-bottom-bar {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0;
}

.bottom-bar-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

/* About Us Section */
.about-section {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
}

.about-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

.about-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-header .eyebrow {
    color: var(--color-black);
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.04em;
    margin-top: 1rem;
    max-width: 800px;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
        align-items: center;
    }
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: clamp(1.1rem, 2vw, 1rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    will-change: transform;
}

.about-image-wrapper {
    position: relative;
    height: clamp(440px, 50vw, 580px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    /* Crisp border-radius clipping in Safari/WebKit */
}

.about-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 0% 0%;
    background-color: rgba(255, 255, 255, 0.05);
}

.about-image-caption {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    text-align: left;
    margin-top: -1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.about-image-caption strong {
    color: var(--color-black);
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

.about-quote {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.4;
    font-weight: 500;
    color: var(--color-black);
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-accent);
    font-style: italic;
}

.cta-know-more {
    align-self: flex-start;
}

/* Services Section (Light Mode) */
.services-section {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 8rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.services-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

.services-header {
    max-width: 800px;
    margin-bottom: 5rem;
}

.services-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.services-intro {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

/* 4x2 Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Service Card (Light Mode) */
.service-card {
    background-color: #f8f9fd;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
    color: var(--color-black);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    color: var(--color-black);
}

.service-card p {
    color: rgba(0, 0, 0, 0.65);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

.services-action {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

/* --- HOW WE WORK SECTIONS (ALL OPTIONS) --- */
.hww-section {
    padding: 8rem 0;
}

.hww-light {
    background-color: var(--color-white);
    color: var(--color-black);
}

.hww-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

.hww-header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hww-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.04em;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.hww-intro {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
    max-width: 650px;
}

/* Zig-Zag Structure */
.zigzag-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
}

.zigzag-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateX(-50%);
    z-index: 1;
}

.zigzag-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .zigzag-row {
        flex-direction: row;
        gap: 6rem;
    }

    .zigzag-row.zz-reverse {
        flex-direction: row-reverse;
    }
}

.zz-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 3;
}

/* Mobile dot positioning */
@media (max-width: 767px) {
    .zigzag-line {
        display: none;
    }

    .zz-dot {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0 auto;
    }
}

.zigzag-content {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .zigzag-content {
        text-align: left;
    }
}

.zigzag-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.zigzag-content p {
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
    font-size: 1.05rem;
}

.zigzag-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hww-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

.hww-real-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* --- HOW WE WORK: STICKY EDITORIAL LIST --- */
.hww-process-section {
    background-color: var(--color-white);
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hww-process-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 900px) {
    .hww-process-layout {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 5rem;
    }
}

/* Left panel stays put while the step list scrolls past it on desktop. */
.hww-process-aside {
    align-self: start;
}

@media (min-width: 900px) {
    .hww-process-aside {
        position: sticky;
        top: 6rem;
    }
}

.hww-process-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--color-black);
}

.hww-process-intro {
    margin-top: 1.25rem;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    max-width: 34ch;
}

.hww-process-cta {
    margin-top: 1.25rem;
}

/* The numbered list â€” no cards, just hairline-separated rows. */
.hww-process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.hww-process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: baseline;
    padding: clamp(1.75rem, 3vw, 2.5rem) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hww-process-step:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hww-process-num {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-accent);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.hww-process-body h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin-bottom: 0.6rem;
}

.hww-process-body p {
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    max-width: 52ch;
}

/* --- COMPARISON SECTION --- */
.comparison-section {
    position: relative;
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
    background-color: #f8f9fd;
}

.comparison-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='256' height='256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.comparison-section>.content-container {
    position: relative;
    z-index: 1;
}

.comparison-header {
    text-align: center;
    margin-bottom: 4rem;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
    background-color: var(--color-white);
}

/* Mobile Order Reversal */
.comp-you-header {
    order: 1;
}

.comp-you-1 {
    order: 2;
}

.comp-you-2 {
    order: 3;
}

.comp-you-3 {
    order: 4;
}

.comp-you-4 {
    order: 5;
}

.comp-we-header {
    order: 6;
}

.comp-we-1 {
    order: 7;
}

.comp-we-2 {
    order: 8;
}

.comp-we-3 {
    order: 9;
}

.comp-we-4 {
    order: 10;
}

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

    .comparison-grid>div {
        order: 0 !important;
    }
}

.comp-cell {
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .comp-cell {
        padding: 1.5rem 2rem;
    }
}

.comp-header {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.comp-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.comp-you,
.comp-you-header {
    background-color: var(--color-white);
    color: var(--color-black);
}

.comp-you {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .comp-you {
        border-right: 1px solid rgba(0, 0, 0, 0.06);
    }
}

.comp-we,
.comp-we-header {
    background-color: #0a1c3d;
    color: var(--color-white);
}

.comp-we {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-you:nth-last-child(2) {
    border-bottom: none;
}

.comp-we:last-child {
    border-bottom: none;
}

.comp-cell p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}

.comp-you p {
    color: rgba(0, 0, 0, 0.75);
}

.comp-we p {
    color: rgba(255, 255, 255, 0.9);
}

.comp-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.comp-you .comp-icon {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--color-black);
}

.comp-we .comp-icon {
    background-color: #0099ff;
    color: var(--color-black);
}

/* --- TESTIMONIAL SECTION --- */
.testimonial-section {
    position: relative;
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
    background-color: #0a1c3d;
    /* Deep Purple */
    color: var(--color-white);
    overflow: hidden;
}

.testimonial-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='256' height='256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.testimonial-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.testimonial-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.testimonial-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

@media (min-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
    }
}

.testimonial-grid.cols-2 {
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonial-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testi-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    transition: transform 0.3s ease;
}

.testi-card.highlight {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: none;
    z-index: 2;
}

@media (max-width: 1023px) {
    .testi-card.highlight {
        transform: scale(1);
    }
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.testi-card.highlight .testi-avatar {
    background-color: #0a1c3d;
    color: var(--color-white);
}

.testi-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testi-author p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.testi-card.highlight .testi-author p {
    color: rgba(0, 0, 0, 0.5);
}

.testi-body {
    flex-grow: 1;
}

.testi-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.testi-card.highlight .testi-body p {
    color: rgba(0, 0, 0, 0.85);
}

.testi-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 2rem;
}

.testi-stars {
    display: flex;
    gap: 0.25rem;
    color: #ffd700;
}

.testi-stars svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.testi-quote-icon {
    opacity: 0.08;
    color: var(--color-white);
}

.testi-card.highlight .testi-quote-icon {
    color: var(--color-black);
}

.testi-quote-icon svg {
    width: 48px;
    height: 48px;
}

/* --- SPLIT TESTIMONIAL SECTION --- */
.testi-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
}

@media (min-width: 992px) {
    .testi-split-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.testi-split-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
}

.testi-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 85% 50%;
    display: block;
}

.testi-split-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-black);
}

@media (max-width: 767px) {
    .testi-split-card {
        padding: 2.5rem;
    }
}

.testi-split-quote-icon {
    color: #0099ff;
    /* Light purple to match reference */
    width: 44px;
    height: 44px;
    margin-bottom: 2rem;
}

.testi-split-quote-icon svg {
    width: 100%;
    height: 100%;
}

.testi-split-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 3rem;
    font-weight: 400;
}

.testi-split-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
}

.testi-split-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.testi-split-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-split-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #0a1c3d;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.testi-split-author-info h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-black);
}

.testi-split-author-info p {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.55);
    margin: 0;
}

.testi-split-nav {
    display: flex;
    gap: 0.75rem;
}

.testi-nav-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 8px;
    background-color: #f8f9fd;
    color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.testi-nav-btn:hover {
    background-color: #e4e4e4;
    color: var(--color-black);
}

.testi-nav-btn svg {
    width: 20px;
    height: 20px;
}

.testi-cta-wrap {
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- CALCULATOR SECTIONS (OPTIONS 1-4) --- */
.calc-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

.calc-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calc-header .eyebrow {
    color: var(--color-black);
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.calc-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.calc-intro {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
    max-width: 650px;
}

.opt-number {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 8rem;
    font-weight: 700;
    opacity: 0.04;
    pointer-events: none;
    line-height: 1;
}

/* Base Link */
.calc-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--color-black);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.calc-link:hover {
    transform: translateX(8px);
}

/* Calculator Section Layout */
.calc-opt2-section {
    position: relative;
    padding: 8rem 0;
    background-color: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.calc-opt2-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .calc-opt2-layout {
        flex-direction: row;
        align-items: flex-start;
    }
}

.calc-opt2-left {
    flex: 1;
}

.calc-opt2-sticky {
    position: sticky;
    top: 120px;
}

.calc-opt2-sticky .calc-header {
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0;
}

.calc-opt2-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-opt2-card {
    padding: 3rem;
    background-color: #f8f9fd;
    border-radius: 16px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.calc-opt2-card:hover {
    background-color: #f0eee8;
    border-left-color: var(--color-black);
}

.calc-opt2-card h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.calc-opt2-card p {
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* --- CALCULATOR GSAP HORIZONTAL STACK VARIANT --- */
.calc-horiz-section {
    position: relative;
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
    background-color: #f8f9fd;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* Hide cards sliding up from outside */
}

.calc-horiz-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100vh;
    /* Fill the screen when pinned */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calc-horiz-container .calc-header {
    text-align: center;
    margin-bottom: 4rem;
}

.calc-horiz-cards {
    position: relative;
    width: 100%;
    flex: 1;
    /* Take up remaining height */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.horiz-card {
    position: absolute;
    top: 0;
    width: 380px;
    height: 420px;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    /* Cards start hidden below the container */
    transform: translateY(150vh);
}

.horiz-card .calc-link {
    margin-top: auto;
}

/* Distinct styling for stacking colors */
.calc-stacked-card-1 {
    background-color: #0a1c3d;
    z-index: 1;
}

.calc-stacked-card-1 h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.calc-stacked-card-1 p {
    color: rgba(255, 255, 255, 0.7);
}

.calc-stacked-card-2 {
    background-color: #ffffff;
    z-index: 2;
}

.calc-stacked-card-2 h3 {
    color: #0a1c3d;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.calc-stacked-card-2 p {
    color: rgba(0, 0, 0, 0.65);
}

.calc-stacked-card-3 {
    background-color: #eaf5ff;
    /* Light pink */
    z-index: 3;
}

.calc-stacked-card-3 h3 {
    color: #0a1c3d;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.calc-stacked-card-3 p {
    color: rgba(0, 0, 0, 0.7);
}

/* Ensure mobile responsiveness */
@media (max-width: 1024px) {
    .calc-horiz-section {
        overflow: visible;
    }

    .calc-horiz-container {
        height: auto;
    }

    .calc-horiz-cards {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .horiz-card {
        position: relative;
        transform: none !important;
        /* Disable GSAP transform on mobile */
        left: 0 !important;
        top: 0 !important;
        width: 100%;
        max-width: 500px;
        height: auto;
    }
}

/* --- BENEFITS SECTION --- */
.benefits-section {
    padding: 8rem 0;
    background-color: #ffffff;
}

.benefits-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

.benefits-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.benefits-header .eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.benefits-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--color-black);
}

.benefits-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
    margin: 1rem auto 0;
    max-width: 600px;
}

.benefits-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 3rem 2rem;
    align-items: stretch;
}

.benefits-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefits-center {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.benefits-center-img {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    background-color: #f8f9fd;
}

.benefit-card-small {
    background-color: #f8f9fd;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.5rem;
    color: var(--color-black);
}

.benefit-content-small h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.benefit-content-small p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.65);
}

.benefits-footer {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-footer p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .benefits-split-layout {
        grid-template-columns: 1fr 1fr;
    }

    .benefits-center {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 2rem;
    }
}

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

    .benefits-section {
        padding: 5rem 0;
    }
}

/* --- BENEFITS SECTION (GRID VARIANT) --- */
.benefits-section-variant {
    padding: clamp(3rem, 7vw, 6rem) 0;
    background-color: #f8f9fd;
}

.benefits-grid-variant {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card-variant {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.benefit-card-variant:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.benefit-content-variant {
    padding: 2rem;
}

.benefit-content-variant h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: #1f2937;
}

.benefit-content-variant p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefit-content-variant strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #1f2937;
    font-weight: 700;
}

/* Responsive Grid Variant */
@media (max-width: 1024px) {
    .benefits-grid-variant {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid-variant {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- STATS SECTION --- */
.stats-section {
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
    background-color: #ffffff;
    text-align: center;
}

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

.stats-massive-text {
    font-size: clamp(2.5rem, 5vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-black);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    letter-spacing: -0.03em;
}

.scrub-word {
    opacity: 0.15;
}

.stats-intro {
    font-size: 2rem;
    line-height: 1.6;
    color: var(--color-black);
    font-weight: 500;
    margin: 0 auto 5rem auto;
    max-width: 750px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Satoshi', var(--font-display), sans-serif !important;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.75);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 4rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
    background-color: #f8f9fd;
    color: var(--color-black);
}

.faq-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.faq-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faq-eyebrow {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-black);
}

.faq-title {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.faq-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 3rem;
}

.faq-cta-box {}

.faq-cta-box p {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 1.75rem 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

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

.faq-icon {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    color: rgba(0, 0, 0, 0.4);
}

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

.faq-answer {
    padding: 0 2rem 1.75rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}

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

    .faq-left {
        position: relative;
        top: 0;
    }
}

/* --- PREMIUM FEATURED SERVICES SECTION --- */
.featured-services-section {
    background-color: var(--color-white);
    color: var(--color-black);
    /* This section is pinned in place while horizontal scroll plays out
       (see script at the bottom of index.html), so on short viewports its
       total content height must stay inside one screen â€” otherwise the
       pin locks vertical scroll before the user can reach the rest.
       Fluid, viewport-scaled spacing keeps it compact on phones and
       roomy on laptop/desktop where there's height to spare. */
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
    overflow: hidden;
    /* Hide horizontal overflow */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* GSAP's pin only covers this section's own box height. If the
       (now compact) content is shorter than the screen, the pinned
       section leaves a gap at the bottom exposing the black <body>
       background behind it. A full-viewport min-height guarantees the
       white section always covers the whole screen while pinned. */
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.featured-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.featured-header {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: clamp(2rem, 4vw, 5rem);
}

@media (min-width: 768px) {
    .featured-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.featured-header-left {
    max-width: 600px;
}

.featured-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-black);
}

.featured-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--color-black);
}

.featured-header-right {
    max-width: 400px;
}

.featured-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1rem);
    text-wrap: pretty;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

/* Horizontal Track */
.featured-cards-wrapper {
    width: 100%;
}

.featured-cards-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding-bottom: clamp(1rem, 3vw, 2rem);
    /* space for shadows */
}

/* Individual Card */
.featured-card {
    /* Fluid width: always leaves room for the container's 2rem side
       padding plus a peek of the next card, so a full card is visible
       at any viewport width instead of jumping at a single breakpoint. */
    width: clamp(260px, calc(100vw - 7rem), 480px);
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: clamp(0.75rem, 2vw, 1.25rem);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.f-card-image-wrapper {
    width: 100%;
    /* Fluid height keeps the pinned section's total content short enough
       to fit inside short mobile viewports; caps back to the original
       300/360px once there's a laptop-sized viewport (and matching height)
       to spare. */
    height: clamp(160px, 40vw, 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fd;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: clamp(0.75rem, 3vw, 1.5rem);
}

@media (min-width: 768px) {
    .f-card-image-wrapper {
        height: 360px;
    }
}

/* The pin/scrub effect requires the whole section to fit inside one
   screen â€” the constraint is viewport HEIGHT, not width, so short
   phones (e.g. iPhone SE-class) need an extra compaction pass on top
   of the width-based clamps above. */
@media (max-height: 720px) {
    .featured-services-section {
        padding: 1.25rem 0;
    }

    .featured-header {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .featured-eyebrow {
        margin-bottom: 0.5rem;
    }

    .f-card-image-wrapper {
        height: 120px;
        margin-bottom: 0.5rem;
    }

    .featured-card {
        padding: 0.6rem;
    }

    .featured-cards-track {
        padding-bottom: 0.75rem;
    }
}

/* Extra tier for very short/older phones (e.g. iPhone SE 1st-gen class). */
@media (max-height: 600px) {
    .featured-services-section {
        padding: 0.75rem 0;
    }

    .featured-header {
        gap: 0.375rem;
        margin-bottom: 0.5rem;
    }

    .f-card-image-wrapper {
        height: 70px;
        margin-bottom: 0.25rem;
    }

    .featured-card {
        padding: 0.4rem;
    }

    .featured-cards-track {
        padding-bottom: 0.5rem;
    }
}

.f-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
}

.f-card-content {
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.f-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.f-card-desc {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
}

/* ========================================= */
/* BANK NETWORK â€” SHARED (header + tiles)    */
/* Used by both comparison options below.    */
/* ========================================= */
.bank-network-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.bank-network-header {
    max-width: 700px;
    margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
    text-align: center;
}

.bank-network-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-black);
}

.bank-network-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 1rem;
}

.bank-network-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

.bank-logo-tile {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bank-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.55);
    transition: filter 0.3s ease;
}

/* Option A keeps each bank's real brand colors instead of the
   grayscale/hover-reveal treatment used elsewhere. */
.bank-logo-grid .bank-logo-img {
    filter: none;
    max-height: 38px;
    max-width: 85%;
}

/* ========================================= */
/* BANK NETWORK — OPTION A: MINIMAL GRID     */
/* ========================================= */
.bank-network-section {
    background-color: #ffffff;
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.bank-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .bank-logo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .bank-logo-grid {
        /* 18 banks -> 6 columns x 3 rows */
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }
}

.bank-logo-grid .bank-logo-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

/* ========================================= */
/* BANK NETWORK â€” OPTION B: MARQUEE          */
/* ========================================= */
.bank-marquee-section {
    background-color: #f8f9fd;
    padding: clamp(3rem, 8vw, 8rem) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.bank-marquee-row {
    width: 100%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    /* fade the logos out at the edges instead of a hard cut */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.bank-marquee-row:last-child {
    margin-bottom: 0;
}

.bank-marquee-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
}

.bank-marquee-track .bank-logo-tile {
    aspect-ratio: unset;
    width: clamp(140px, 22vw, 200px);
    height: clamp(90px, 14vw, 130px);
    flex-shrink: 0;
}

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

.bank-marquee-track-left {
    animation: bank-marquee-scroll-left 40s linear infinite;
}

.bank-marquee-track-right {
    animation: bank-marquee-scroll-right 40s linear infinite;
}

@keyframes bank-marquee-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        /* content is duplicated once, so -50% is exactly one full loop */
        transform: translateX(-50%);
    }
}

@keyframes bank-marquee-scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

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

    .bank-marquee-track-left,
    .bank-marquee-track-right {
        animation: none;
    }
}

/* ========================================= */
/* PREMIUM FOOTER SECTION                    */
/* ========================================= */
.footer-section {
    background-color: #0a1c3d;
    color: var(--color-white);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-container,
.footer-container-premium {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Massive CTA Area */
.footer-cta-premium {
    text-align: center;
    padding-bottom: 5rem;
    margin-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}


.footer-massive-text {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
    color: #ffffff;
}

.footer-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-light {
    background-color: var(--color-white);
    color: var(--color-black);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-3px);
}

/* Main Footer Grid */
.footer-grid-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

@media (min-width: 992px) {
    .footer-grid-premium {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-socials-premium {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-socials-premium a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials-premium a:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-3px);
}

.footer-links-col h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom-premium {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-bottom-premium {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-credit {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: #38bdf8;
}

.footer-heart {
    color: #ef4444;
    display: inline-block;
    margin: 0 0.15rem;
}

/* ========================================= */
/* TICKER BAND (marquee stat strip)          */
/* ========================================= */
.ticker-band {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(0, 0, 0, 0.25);
    overflow: hidden;
    padding: 0.9rem 0;
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    animation: ticker-scroll 28s linear infinite;
}

.ticker-track span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

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

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

/* ========================================= */
/* PARTNER / BUSINESS-PARTNER BANNER         */
/* ========================================= */
.partner-banner {
    background-color: var(--color-accent);
    background-image: linear-gradient(120deg, var(--color-accent), var(--color-accent-2));
    padding: 3.5rem 0;
}

.partner-banner-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: space-between;
}

@media (min-width: 900px) {
    .partner-banner-container {
        flex-direction: row;
        align-items: center;
    }
}

.partner-banner-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.partner-banner-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
    flex-shrink: 0;
}

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

/* ========================================= */
/* SIMPLE VALUE-PROP / PARTNERS TEXT SECTION */
/* ========================================= */
.simple-section {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.simple-section-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.simple-section .about-title {
    margin-top: 0;
}

.partner-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background-color: #f8f9fd;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--color-black);
    font-weight: 500;
    font-size: 0.95rem;
}

.partner-badge i {
    color: var(--color-accent);
}

/* ========================================= */
/* EMI CALCULATOR                            */
/* ========================================= */
.emi-section {
    background-color: #f8f9fd;
    padding: 8rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.emi-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 1024px) {
    .emi-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.emi-card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.emi-field {
    margin-bottom: 2rem;
}

.emi-field:last-child {
    margin-bottom: 0;
}

.emi-field-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--color-black);
    font-size: 0.95rem;
}

.emi-field-value {
    color: var(--color-accent);
    font-weight: 700;
}

.emi-field input[type="range"] {
    width: 100%;
    accent-color: var(--color-accent);
    height: 4px;
    cursor: pointer;
}

.emi-result-card {
    background-color: #0a1c3d;
    color: var(--color-white);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    min-height: 100%;
}

.emi-result-main {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.emi-result-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.emi-result-amount {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-white);
}

.emi-breakdown {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.emi-breakdown-item {
    flex: 1;
    text-align: center;
}

.emi-breakdown-item .emi-result-label {
    margin-bottom: 0.5rem;
}

.emi-breakdown-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

/* ========================================= */
/* BRANCHES FILTER                           */
/* ========================================= */
.branches-section {
    background-color: var(--color-white);
    padding: 8rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.branch-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 3rem 0 3.5rem;
}

.branch-tab {
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    color: rgba(0, 0, 0, 0.65);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.branch-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-black);
}

.branch-tab.active {
    background-color: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .branch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .branch-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.branch-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 1.25rem;
    border-radius: 12px;
    background-color: #f8f9fd;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.branch-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.branch-chip i {
    color: var(--color-accent);
    font-size: 1.1rem;
}

.branch-chip.is-hidden {
    display: none;
}

/* ========================================= */
/* SIMPLE PAGE HEADER (non-hero inner pages)  */
/* ========================================= */
.page-header {
    background-color: var(--color-black);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.page-header .navbar {
    background-color: transparent;
    border-bottom: none;
}

.nav-link-active {
    opacity: 1 !important;
    color: var(--color-accent) !important;
}

.page-header-content {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) 2rem 0;
    text-align: center;
}

.page-header-content .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ========================================= */
/* HOME LOAN ELIGIBILITY CALCULATOR           */
/* ========================================= */
.eligibility-section {
    background-color: var(--color-surface);
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
}

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

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

@media (min-width: 1024px) {
    .eligibility-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
        gap: 3rem;
    }
}

.eligibility-card {
    border-radius: 24px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
}

.eligibility-inputs {
    background-color: var(--color-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

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

@media (min-width: 560px) {
    .input-row {
        grid-template-columns: 1fr 1fr;
    }
}

.input-group {
    margin-bottom: 1.75rem;
}

.input-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.6rem;
}

.input-optional {
    font-weight: 400;
    color: rgba(10, 28, 61, 0.45);
}

.input-value {
    color: var(--color-accent-2);
    font-weight: 700;
    white-space: nowrap;
}

.input-with-prefix {
    position: relative;
}

.input-with-prefix span {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(10, 28, 61, 0.4);
    font-weight: 600;
    pointer-events: none;
}

.eligibility-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.15rem;
    border-radius: 12px;
    border: 1.5px solid rgba(10, 28, 61, 0.12);
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-black);
    background-color: var(--color-white);
    transition: border-color 0.2s ease;
}

.eligibility-input.no-prefix {
    padding-left: 1rem;
}

.eligibility-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* EMI-strategy toggle (light, sits in the white input column) */
.mode-toggle {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.1rem;
}

.mode-toggle-btn {
    flex: 1;
    border: 1.5px solid rgba(10, 28, 61, 0.12);
    background-color: var(--color-white);
    color: var(--color-black);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mode-toggle-btn:hover {
    border-color: rgba(10, 28, 61, 0.28);
}

.mode-toggle-btn.is-active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.mode-toggle-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.mode-explainer {
    margin-top: 0.75rem;
    padding: 0.8rem 1rem;
    background-color: var(--color-surface);
    border: 1px solid rgba(10, 28, 61, 0.08);
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(10, 28, 61, 0.62);
}

.mode-explainer strong {
    color: var(--color-black);
    font-weight: 600;
}

.range-input {
    width: 100%;
    height: 6px;
    accent-color: var(--color-accent-2);
    cursor: pointer;
}

.eligibility-result {
    background-color: var(--color-black);
    color: var(--color-white);
    position: sticky;
    top: 2rem;
}

.result-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.5rem;
}

.result-amount {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.result-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 1.5rem 0;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.6rem 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.result-row strong {
    color: var(--color-white);
    font-weight: 600;
}

.result-note {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

.result-sub {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.35rem;
    min-height: 2.4em;
}

.eligibility-result .btn {
    width: 100%;
    margin-top: 1.75rem;
}

/* ========================================= */
/* ELIGIBILITY DISCLAIMER                     */
/* ========================================= */
.eligibility-disclaimer {
    background-color: var(--color-surface);
    padding: 0 0 clamp(2.5rem, 6.5vw, 5rem);
}

.disclaimer-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.75rem 2rem 0;
    border-top: 1px solid rgba(10, 28, 61, 0.08);
}

.disclaimer-box p {
    font-size: 0.8125rem;
    line-height: 1.7;
    color: rgba(10, 28, 61, 0.55);
}

.disclaimer-box strong {
    color: rgba(10, 28, 61, 0.75);
}

/* ========================================= */
/* SHARED SECTION HEADING (calculator page)   */
/* ========================================= */
.section-heading {
    max-width: 680px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}

.section-heading .eyebrow,
.elig-explainer-copy .eyebrow {
    color: var(--color-black);
    background-color: rgba(10, 28, 61, 0.05);
    border: 1px solid rgba(10, 28, 61, 0.1);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--color-black);
    margin-top: 1rem;
    line-height: 1.15;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: rgba(10, 28, 61, 0.65);
    margin-top: 1rem;
}

/* ========================================= */
/* WHAT IS ELIGIBILITY â€” EXPLAINER            */
/* ========================================= */
.elig-explainer {
    background-color: var(--color-white);
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
    border-top: 1px solid rgba(10, 28, 61, 0.06);
}

.elig-explainer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .elig-explainer-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
    }
}

.elig-explainer-copy p {
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    line-height: 1.65;
    color: rgba(10, 28, 61, 0.7);
    margin-top: 1.25rem;
}

.factor-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.factor-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-black);
}

.factor-list i {
    color: var(--color-accent);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.elig-illustration-card {
    background-color: var(--color-accent-2);
    background-image: linear-gradient(160deg, #2f5cff 0%, var(--color-accent-2) 55%, #1a41e0 100%);
    border-radius: 24px;
    padding: clamp(2rem, 3vw, 2.5rem);
    color: var(--color-white);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.elig-illustration-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.elig-illustration-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.elig-illustration-amount {
    font-size: clamp(2.25rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.elig-illustration-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.5rem;
}

.elig-illustration-footnote {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin-top: 1.25rem;
}

/* ========================================= */
/* HOW IT'S CALCULATED â€” METHOD STEPS         */
/* ========================================= */
.elig-method {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
}

.elig-method .section-title {
    color: var(--color-white);
}

.elig-method .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.elig-method .section-heading .eyebrow {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.elig-method-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .elig-method-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .elig-method-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.elig-method-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.elig-method-num {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.elig-method-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.6rem;
}

.elig-method-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* ========================================= */
/* ELIGIBILITY CRITERIA                       */
/* ========================================= */
.elig-criteria {
    background-color: var(--color-surface);
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
}

.criteria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .criteria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .criteria-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.criteria-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.criteria-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    display: block;
}

.criteria-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.criteria-label {
    font-size: 0.9rem;
    color: rgba(10, 28, 61, 0.6);
}

/* ========================================= */
/* TIPS TO IMPROVE ELIGIBILITY                */
/* ========================================= */
.elig-tips {
    background-color: var(--color-white);
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
}

.elig-tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .elig-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .elig-tips-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.elig-tip-card {
    background-color: var(--color-surface);
    border-radius: 16px;
    padding: 2rem;
}

.elig-tip-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(0, 153, 255, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.elig-tip-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.6rem;
}

.elig-tip-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(10, 28, 61, 0.65);
}

/* ========================================= */
/* ELIGIBILITY PAGE FAQ                       */
/* ========================================= */
.elig-faq {
    background-color: var(--color-surface);
    color: var(--color-black);
    padding: clamp(2.5rem, 6.5vw, 5rem) 0;
}

.elig-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* The shared .faq-question has no explicit color (it relies on its parent
   section being dark-on-light); the accordion's first item also ships open.
   Keep the summary text dark and remove the default focus outline seam. */
.elig-faq .faq-question {
    color: var(--color-black);
}

.elig-faq .faq-item summary:focus {
    outline: none;
}

.elig-faq .faq-item summary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.elig-faq-cta {
    max-width: 800px;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
    text-align: center;
}

.elig-faq-cta p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 1.25rem;
}

/* ========================================= */
/* CALCULATOR: PAIRED NUMBER + SLIDER INPUTS  */
/* ========================================= */
.input-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.input-label-row .input-label {
    margin-bottom: 0;
}

.input-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.65rem;
    border: 1.5px solid rgba(10, 28, 61, 0.12);
    border-radius: 8px;
    background-color: var(--color-white);
    transition: border-color 0.2s ease;
}

.input-mini:focus-within {
    border-color: var(--color-accent);
}

.input-mini input {
    width: 62px;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-black);
    text-align: right;
    -moz-appearance: textfield;
    appearance: textfield;
}

.input-mini input::-webkit-outer-spin-button,
.input-mini input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-mini-unit {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(10, 28, 61, 0.5);
}

/* Slider sits below its number field within the same group. */
.input-group .range-input {
    margin-top: 0.9rem;
}

/* ========================================= */
/* CALCULATOR: DONUT CHART (part-to-whole)    */
/* ========================================= */
.viz-block {
    /* Categorical slots validated on the navy result surface (#0a1c3d):
       blue principal, orange interest â€” CVD Î”E 26.8, contrast > 3:1. */
    --series-principal: #3987e5;
    --series-interest: #d95926;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.75rem;
    margin: 1.75rem 0 0.5rem;
}

.donut {
    position: relative;
    width: 156px;
    height: 156px;
    flex-shrink: 0;
}

/* SVG ring â€” anti-aliased edges, exact gaps (unlike conic-gradient). */
.donut-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.donut-seg {
    fill: none;
    stroke-width: 5;
    stroke-linecap: butt;
    transition: stroke-dasharray 0.25s ease;
}

#segPrincipal {
    stroke: var(--series-principal);
}

#segInterest {
    stroke: var(--series-interest);
}

.donut-hole {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.donut-pct {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
}

.donut-pct-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    flex: 1 1 130px;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.legend-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.legend-name {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.legend-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-white);
}

/* ========================================= */
/* CALCULATOR: NESTED VARIANT                 */
/* (navy result card nested inside white card)*/
/* ========================================= */
.eligibility-nested {
    background-color: var(--color-white);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    padding: clamp(1.25rem, 2.5vw, 2rem);
    gap: clamp(1rem, 2vw, 1.75rem);
    align-items: stretch;
}

/* Inputs become plain content â€” the white card is now the outer shell. */
.eligibility-nested .eligibility-inputs {
    background-color: transparent;
    box-shadow: none;
    padding: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* Result stays navy, but sits inside as a nested card (not a sticky sibling). */
.eligibility-nested .eligibility-result {
    position: static;
    border-radius: 20px;
}

/* Loan amount spelled out in Indian words, under the amount field. */
.amount-in-words {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-2);
    min-height: 1.2em;
}

/* White area result display inside eligibility-inputs (clean, uncontained) */
.eligibility-white-result {
    margin-top: 0;
    padding-top: 40px;
}

.eligibility-white-result .result-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(10, 28, 61, 0.65);
    margin-bottom: 0.35rem;
}

.eligibility-white-result .result-amount {
    font-size: clamp(2.5rem, 4.75vw, 3.4375rem);
    font-weight: 700;
    color: var(--color-black, #0a1c3d);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
    word-break: break-word;
}

/* ========================================= */
/* ABOUT PAGE â€” VALUES GRID                   */
/* ========================================= */
.values-section {
    background-color: var(--color-surface);
    color: var(--color-black);
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.values-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

.values-header {
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.values-eyebrow {
    color: var(--color-black);
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.values-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--color-black);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.values-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: rgba(10, 28, 61, 0.65);
}

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

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    position: relative;
    background-color: var(--color-white);
    border: 1px solid rgba(10, 28, 61, 0.08);
    border-radius: 20px;
    padding: clamp(2rem, 3.2vw, 2.75rem);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(10, 28, 61, 0.08);
    border-color: rgba(0, 153, 255, 0.35);
}

.value-index {
    position: absolute;
    top: clamp(1.5rem, 3vw, 2.25rem);
    right: clamp(1.5rem, 3vw, 2.25rem);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(10, 28, 61, 0.22);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: rgba(0, 153, 255, 0.1);
    color: var(--color-accent);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin-bottom: 0.6rem;
}

.value-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(10, 28, 61, 0.7);
}

/* ========================================= */
/* ABOUT PAGE â€” JOURNEY / TIMELINE            */
/* ========================================= */
.journey-section {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: clamp(3rem, 7vw, 6rem) 0;
}

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

.journey-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.journey-eyebrow {
    color: var(--color-black);
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.journey-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--color-black);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.journey-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: rgba(10, 28, 61, 0.65);
    max-width: 620px;
    margin: 0 auto;
}

.journey-timeline {
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Vertical spine */
.journey-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), rgba(0, 153, 255, 0.15));
}

.journey-item {
    position: relative;
    padding-left: 2.75rem;
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.journey-item:last-child {
    padding-bottom: 0;
}

/* Node dot */
.journey-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.15);
}

.journey-year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-2);
    margin-bottom: 0.4rem;
}

.journey-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin-bottom: 0.4rem;
}

.journey-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(10, 28, 61, 0.7);
    max-width: 620px;
}

/* ========================================= */
/* ABOUT PAGE — HERO & TRUST STRIP           */
/* ========================================= */
.about-hero-content {
    max-width: 980px;
}

.about-hero-content .page-title {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero-content .page-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: #38bdf8;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
    line-height: 1;
}

.about-hero-eyebrow i {
    font-size: 1.1rem;
    color: #38bdf8;
    display: inline-block;
    line-height: 1;
}

.about-hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.75rem;
    margin-top: 2rem;
}

.about-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.about-hero-trust-item i {
    color: var(--color-accent);
    font-size: 1.15rem;
}

@media (min-width: 992px) {
    .about-hero-trust {
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(1.25rem, 2vw, 2.25rem);
        width: 100%;
    }

    .about-hero-trust-item {
        white-space: nowrap;
    }
}

/* ========================================= */
/* ABOUT PAGE â€” SOCIAL PROOF / QUOTE BAND     */
/* ========================================= */
.about-proof-section {
    background-color: var(--color-surface);
    color: var(--color-black);
    padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.about-proof-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.about-proof-quote-mark {
    width: clamp(40px, 6vw, 56px);
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
    opacity: 0.9;
}

.about-proof-quote-mark svg {
    width: 100%;
    height: auto;
    display: block;
}

.about-proof-quote {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin-bottom: 2.25rem;
}

.about-proof-author {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
}

.about-proof-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-black);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-proof-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.about-proof-author-info strong {
    font-size: 1rem;
    color: var(--color-black);
    font-weight: 600;
}

.about-proof-author-info span {
    font-size: 0.85rem;
    color: rgba(10, 28, 61, 0.6);
}


/* ========================================= */
/* CONTACT PAGE — DARK HERO SPLIT (MATCHES SERVICES PAGE THEME) */
/* ========================================= */
.contact-split {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at 50% 0%, rgba(0, 153, 255, 0.18) 0%, transparent 60%),
        #0a1c3d;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Navbar sits transparent over the dark background */
.contact-split .navbar {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
}

.contact-split .logo,
.contact-split .nav-links>a,
.contact-split .nav-dropdown-toggle {
    color: rgba(255, 255, 255, 0.85);
}

.contact-split .nav-links>a:hover,
.contact-split .nav-dropdown-toggle:hover {
    color: var(--color-white);
}

.contact-split .nav-link-active {
    color: var(--color-accent) !important;
}

.contact-split-inner {
    flex: 1;
    width: 100%;
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: clamp(1.75rem, 3.5vw, 3.25rem) 2rem clamp(2rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 1000px) {
    .contact-split-inner {
        grid-template-columns: 1fr 1fr;
        gap: clamp(3rem, 6vw, 6rem);
    }
}

/* --- Left panel (white text on dark navy) --- */
.contact-split-left {
    max-width: 520px;
}

.contact-split-left .eyebrow {
    color: #70b8ff;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    margin-bottom: 1.5rem;
}

.contact-split-headline {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.045em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.contact-split-headline .accent {
    color: var(--color-accent);
    background: linear-gradient(135deg, #0099ff 0%, #70b8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-split-sub {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2.5rem;
    max-width: 460px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: #ffffff;
    transition: padding-left 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    border-radius: 8px;
}

a.contact-channel:hover {
    padding-left: 1.15rem;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 153, 255, 0.5);
}

.contact-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: rgba(0, 153, 255, 0.15);
    border: 1px solid rgba(0, 153, 255, 0.28);
    color: #70b8ff;
    font-size: 1.35rem;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

a.contact-channel:hover .contact-channel-icon {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.05);
}

.contact-channel-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-channel-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.15rem;
}

.contact-channel-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.contact-channel-arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

a.contact-channel:hover .contact-channel-arrow {
    color: var(--color-accent);
    transform: translateX(4px);
}

.contact-split-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.25rem;
}

.contact-split-hours {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-split-hours i {
    color: var(--color-accent);
    font-size: 1.1rem;
}

.contact-split-socials {
    display: flex;
    gap: 0.6rem;
}

.contact-split-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.contact-split-socials a:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* --- Right: Light Mode Form Card --- */
.contact-split-form-card {
    background: #ffffff;
    color: var(--color-black, #0f172a);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: clamp(1.5rem, 2.75vw, 2.25rem);
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.42), 0 12px 28px -10px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.12);
    justify-self: stretch;
}

@media (min-width: 1000px) {
    .contact-split-form-card {
        justify-self: end;
        width: 100%;
        max-width: 500px;
    }
}

.contact-form-title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.contact-form-sub {
    font-size: 0.92rem;
    line-height: 1.45;
    color: #475569;
    margin-bottom: 1.35rem;
}

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

/* Labels inside the light card */
.contact-split-form-card .input-label {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.88rem;
}

.contact-split-form-card .input-optional {
    color: #64748b;
    font-weight: 400;
}

.contact-field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 560px) {
    .contact-field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    font-size: 1rem;
    font-family: inherit;
    color: #0f172a;
    background-color: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-input::placeholder {
    color: #94a3b8;
}

.contact-input:focus {
    outline: none;
    border-color: var(--color-accent, #0099ff);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.18);
}

.contact-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.75rem;
    cursor: pointer;
}

/* Native dropdown options */
.contact-select option {
    color: #0f172a;
    background-color: #ffffff;
}

.contact-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

/* Primary submit button on the light card */
.contact-submit {
    align-self: stretch;
    width: 100%;
    margin-top: 0.25rem;
    background-color: #0a1c3d;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.95rem 1.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(10, 28, 61, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-submit:hover {
    background-color: var(--color-accent, #0099ff);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 153, 255, 0.35);
}

.contact-form-note {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #64748b;
    margin-top: 0.1rem;
    text-align: center;
}

.contact-form-note--error {
    color: #dc2626;
    font-weight: 500;
}

.contact-form-note--success {
    color: #16a34a;
    font-weight: 500;
}

/* ========================================= */
/* OUR BRANCHES SECTION (CONTACT PAGE)       */
/* ========================================= */
.branches-section {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background-color: var(--color-surface, #f8f9fd);
    color: var(--color-black, #0a1c3d);
}

.branches-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

.branches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .branches-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.branch-card {
    background-color: var(--color-white, #ffffff);
    border: 1.5px solid rgba(10, 28, 61, 0.08);
    border-radius: 20px;
    padding: clamp(1.75rem, 2.5vw, 2.25rem);
    box-shadow: 0 10px 30px rgba(10, 28, 61, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(10, 28, 61, 0.09);
    border-color: rgba(0, 111, 230, 0.3);
}

.branch-name {
    font-size: clamp(1.25rem, 1.8vw, 1.45rem);
    font-weight: 700;
    color: var(--color-black, #0a1c3d);
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
}

.branch-address {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(10, 28, 61, 0.72);
    margin: 0 0 1.75rem 0;
    flex-grow: 1;
}

.branch-head-info {
    display: flex;
    align-items: center;
}

.branch-head-text {
    font-size: 0.95rem;
    color: rgba(10, 28, 61, 0.75);
    line-height: 1.4;
    margin: 0;
}

.branch-head-text strong {
    color: var(--color-black, #0a1c3d);
    font-weight: 700;
}

/* ========================================= */
/* NAVBAR â€” CALCULATORS DROPDOWN              */
/* ========================================= */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-white);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.nav-dropdown-toggle:hover {
    opacity: 0.7;
}

.nav-dropdown-caret {
    font-size: 0.9em;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret,
.nav-dropdown.is-open .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 230px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem;
    background-color: #0a1c3d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
}

/* Invisible bridge so the menu doesn't drop while the cursor crosses the gap */
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(6px);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 0.85rem;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.nav-dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    opacity: 1;
}

.nav-dropdown-menu a.nav-dropdown-active {
    color: var(--color-accent);
    background-color: rgba(0, 153, 255, 0.1);
}

/* --- UI ILLUSTRATIONS --- */
:root {
    --primary: #0099ff;
    --primary-light: #e8f3fb;
    --primary-dark: #007acc;
    --ui-element-bg: #f3f4f6;
    --ui-window-bg: #ffffff;
    --ui-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.ui-canvas {
    background-color: var(--primary-light, #e8f3fb);
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ui-window {
    background-color: var(--ui-window-bg, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    box-shadow: var(--ui-shadow);
    width: 270px;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    padding: 1.25rem;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Generic UI Elements */
.ui-line {
    height: 8px;
    background-color: var(--ui-element-bg);
    border-radius: 4px;
    width: 100%;
}

.ui-line.short {
    width: 60%;
}

.ui-line.medium {
    width: 80%;
}

/* 1. Multiple Lenders */
.list-ui-v2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.list-item-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
    transition-delay: 0s;
}

.list-avatar {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background-color: var(--ui-element-bg);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
    transition-delay: 0s;
}

.list-icon {
    font-size: 14px;
    color: inherit;
    transition: color 0.3s ease;
}

.rate-badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    background-color: var(--ui-element-bg);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.35s ease;
    transition-delay: 0s;
}

/* Default state: Row 1 rests in a clean, subtle blue tint */
.list-item-v2.active {
    border-color: rgba(0, 153, 255, 0.25);
    background-color: rgba(0, 153, 255, 0.06);
}

.list-item-v2.active .list-avatar {
    background-color: rgba(0, 153, 255, 0.14);
    color: var(--primary);
}

.list-item-v2.active .rate-badge {
    color: var(--primary-dark);
    background-color: #ffffff;
    border-color: rgba(0, 153, 255, 0.2);
    box-shadow: 0 1px 3px rgba(0, 153, 255, 0.1);
}

/* ==========================================================================
   Concept 2: Staggered Step-Up Comparison Ladder (0.2s Stagger)
   0.0s: Row 3 (8.9%) -> 0.2s: Row 2 (8.5%) -> 0.4s: Row 1 (7.1% Winner!)
   ========================================================================== */

/* Step 1 (0.0s): Row 3 (8.9% - walk-in bank offer) evaluates */
.benefit-card-variant:hover .list-ui-v2 .list-item-v2:nth-child(3) {
    transform: translateX(4px);
    border-color: #cbd5e1;
    background-color: #f8fafc;
    transition-delay: 0s;
}

.benefit-card-variant:hover .list-ui-v2 .list-item-v2:nth-child(3) .rate-badge {
    color: #475569;
    background-color: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
    transition-delay: 0s;
}

/* Step 2 (0.2s): Row 2 (8.5% - average partner bank offer) evaluates */
.benefit-card-variant:hover .list-ui-v2 .list-item-v2:nth-child(2) {
    transform: translateX(4px);
    border-color: rgba(0, 153, 255, 0.32);
    background-color: rgba(0, 153, 255, 0.06);
    transition-delay: 0.2s;
}

.benefit-card-variant:hover .list-ui-v2 .list-item-v2:nth-child(2) .rate-badge {
    color: #0284c7;
    background-color: #ffffff;
    border-color: rgba(0, 153, 255, 0.25);
    box-shadow: 0 2px 6px rgba(0, 153, 255, 0.15);
    transition-delay: 0.2s;
}

/* Step 3 (0.4s): Row 1 (7.1% - Subhash Dhanawade lowest rate) wins with full solid blue glow! */
.benefit-card-variant:hover .list-ui-v2 .list-item-v2:nth-child(1) {
    transform: translateX(6px) scale(1.02);
    border-color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: 0 4px 16px rgba(0, 153, 255, 0.18);
    opacity: 1;
    transition-delay: 0.4s;
}

.benefit-card-variant:hover .list-ui-v2 .list-item-v2:nth-child(1) .list-avatar {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(0, 153, 255, 0.5);
    transition-delay: 0.4s;
}

.benefit-card-variant:hover .list-ui-v2 .list-item-v2:nth-child(1) .rate-badge {
    color: var(--primary-dark);
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(0, 153, 255, 0.4);
    transform: scale(1.1);
    transition-delay: 0.4s;
}

/* Competing higher offers dim slightly at 0.4s to let 7.1% shine */
.benefit-card-variant:hover .list-ui-v2 .list-item-v2:nth-child(2),
.benefit-card-variant:hover .list-ui-v2 .list-item-v2:nth-child(3) {
    opacity: 0.52;
    transition-delay: 0.4s;
}

/* 2. Doorstep Service (Dynamic Glow Calendar) */
.cal-v2-ui {
    justify-content: center;
    background: #ffffff;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cal-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    color: #64748b;
    font-size: 16px;
}

.cal-v2-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.cal-v2-dot {
    aspect-ratio: 1;
    border-radius: 8px;
    background-color: var(--ui-element-bg);
    transition: all 0.3s ease;
}

.cal-v2-dot.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    transform: scale(1.25);
    z-index: 2;
    position: relative;
    border: none;
}

.benefit-card-variant:hover .cal-v2-dot.active {
    box-shadow: 0 6px 20px rgba(0, 153, 255, 0.5), 0 0 30px rgba(0, 153, 255, 0.3);
    transform: scale(1.35);
}

.benefit-card-variant:hover .cal-v2-dot:not(.active) {
    opacity: 0.4;
    transform: scale(0.95);
}

/* 3. Paperwork Support (iOS Checklist) */
.premium-check-ui {
    justify-content: center;
    gap: 16px;
    background-color: var(--ui-window-bg, #ffffff);
}

.p-check-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

.p-check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.p-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e5e7eb;
    transition: transform 0.35s ease;
}

.p-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.p-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Default state: faint blue check mark badge */
.p-circle.active {
    background: rgba(0, 153, 255, 0.12);
    border: 1.5px solid rgba(0, 153, 255, 0.32);
    color: rgba(0, 153, 255, 0.65);
    box-shadow: 0 0 6px rgba(0, 153, 255, 0.08);
    transform: scale(1);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Staggered sequential hover animation: turns solid blue one by one with 0.2s delay */
.benefit-card-variant:hover .p-item:nth-child(1) {
    transform: translateX(5px);
    transition-delay: 0s;
}

.benefit-card-variant:hover .p-item:nth-child(1) .p-circle.active {
    background: var(--primary, #0099ff);
    border-color: var(--primary, #0099ff);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 153, 255, 0.6);
    transform: scale(1.12);
    transition-delay: 0s;
}

.benefit-card-variant:hover .p-item:nth-child(2) {
    transform: translateX(5px);
    transition-delay: 0.2s;
}

.benefit-card-variant:hover .p-item:nth-child(2) .p-circle.active {
    background: var(--primary, #0099ff);
    border-color: var(--primary, #0099ff);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 153, 255, 0.6);
    transform: scale(1.12);
    transition-delay: 0.2s;
}

.benefit-card-variant:hover .p-item:nth-child(3) {
    transform: translateX(5px);
    transition-delay: 0.4s;
}

.benefit-card-variant:hover .p-item:nth-child(3) .p-circle.active {
    background: var(--primary, #0099ff);
    border-color: var(--primary, #0099ff);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 153, 255, 0.6);
    transform: scale(1.12);
    transition-delay: 0.4s;
}

/* 4. Faster Approvals */
.prog-ui {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.prog-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: rgba(0, 153, 255, 0.1);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    overflow: hidden;
    height: 32px;
    min-width: 130px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.prog-state {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.prog-state.processing {
    transform: translateY(0);
    opacity: 1;
}

.prog-state.approved {
    transform: translateY(20px);
    opacity: 0;
}

.prog-badge i {
    font-size: 1rem;
}

.benefit-card-variant:hover .prog-badge {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
    transition-delay: 0.25s;
}

.benefit-card-variant:hover .prog-state.processing {
    transform: translateY(-20px);
    opacity: 0;
    transition-delay: 0.25s;
}

.benefit-card-variant:hover .prog-state.approved {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.25s;
}

.prog-track {
    width: 100%;
    height: 12px;
    background-color: var(--ui-element-bg);
    border-radius: 10px;
    overflow: hidden;
}

.prog-fill {
    height: 100%;
    width: 10%;
    background-color: var(--primary);
    border-radius: 10px;
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.benefit-card-variant:hover .prog-fill {
    width: 95%;
}

/* 5. Legal & Technical Verification — Clearance Deed with Marching Ants Stamp */
.deed-ui {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.deed-header {
    display: flex;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
    margin: 0;
}

.deed-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.deed-shield-icon {
    color: var(--primary, #0099ff);
    font-size: 15px;
    filter: drop-shadow(0 0 6px rgba(0, 153, 255, 0.4));
    transition: transform 0.35s ease, filter 0.35s ease;
    transition-delay: 0s;
}

.benefit-card-variant:hover .deed-shield-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(0, 153, 255, 0.7));
    transition-delay: 0.25s;
}

.deed-title {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.deed-doc-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 2px 0;
    width: 100%;
}

.deed-doc-body .ui-line {
    transition: background-color 0.35s ease, opacity 0.35s ease;
    transition-delay: 0s;
}

.benefit-card-variant:hover .deed-doc-body .ui-line {
    opacity: 0.85;
}

.deed-scan-line {
    position: absolute;
    left: -16px;
    right: -16px;
    height: 2px;
    top: -4px;
    background: linear-gradient(90deg, transparent 0%, #0099ff 25%, #38bdf8 50%, #0099ff 75%, transparent 100%);
    box-shadow: 0 0 10px #0099ff, 0 0 4px #38bdf8;
    opacity: 0;
    z-index: 4;
    pointer-events: none;
}

.benefit-card-variant:hover .deed-scan-line {
    animation: deedLaserSweep 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes deedLaserSweep {
    0% {
        top: -4px;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Official Stamp with Marching Ants Border */
.deed-verified-stamp {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-14deg) scale(1.4);
    width: 162px;
    height: 62px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 153, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0s;
}

.stamp-ants-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    border-radius: 8px;
}

.ants-rect {
    fill: none;
    stroke: var(--primary, #0099ff);
    stroke-width: 2.5;
    stroke-dasharray: 8 5;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    animation: stampMarchingAnts 0.8s linear infinite;
}

@keyframes stampMarchingAnts {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -26;
    }
}

.stamp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stamp-stars {
    font-size: 10px;
    letter-spacing: 4px;
    line-height: 1;
    color: var(--primary, #0099ff);
    margin-bottom: 4px;
    filter: drop-shadow(0 0 4px rgba(0, 153, 255, 0.5));
}

.stamp-text {
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1;
    color: var(--primary, #0099ff);
    text-transform: uppercase;
    font-family: inherit;
    text-shadow: 0 0 8px rgba(0, 153, 255, 0.35);
}

.benefit-card-variant:hover .deed-verified-stamp {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-8deg) scale(1);
    transition-delay: 0.2s;
}

/* 6. Lifetime Relationship Support — Minimal Wireframe UI (Card 3 Inspiration) */
.wire-timeline-ui {
    justify-content: center;
    gap: 16px;
    background-color: var(--ui-window-bg, #ffffff);
    padding: 1.25rem;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.wire-tl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 4px;
}

.wire-tl-title {
    font-weight: 700;
    color: #1f2937;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.wire-tl-badge {
    color: var(--primary, #0099ff);
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.35s ease, text-shadow 0.35s ease;
    transition-delay: 0s;
}

.wire-tl-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.wire-tl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e5e7eb;
    position: relative;
    z-index: 2;
    transition: transform 0.35s ease;
    transition-delay: 0s;
}

.wire-tl-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wire-tl-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #94a3b8;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0s;
}

/* Default state: Row 1 is base active in faint blue */
.wire-tl-circle.active {
    background: rgba(0, 153, 255, 0.12);
    border: 1.5px solid rgba(0, 153, 255, 0.35);
    color: rgba(0, 153, 255, 0.75);
    box-shadow: 0 0 6px rgba(0, 153, 255, 0.1);
}

.wire-tl-tag {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    min-width: 32px;
    flex-shrink: 0;
    transition: color 0.35s ease;
    transition-delay: 0s;
}

.wire-tl-item-1 .wire-tl-tag {
    color: #0284c7;
}

.wire-tl-item .ui-line {
    flex: 1;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
    transition-delay: 0s;
}

/* Staggered sequential hover animation (0.2s delay per step) */

/* Step 1 (0.0s): Row 1 highlights */
.benefit-card-variant:hover .wire-tl-item-1 {
    transform: translateX(5px);
    transition-delay: 0s;
}

.benefit-card-variant:hover .wire-tl-item-1 .wire-tl-circle.active {
    background: var(--primary, #0099ff);
    border-color: var(--primary, #0099ff);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 153, 255, 0.6);
    transform: scale(1.12);
    transition-delay: 0s;
}

.benefit-card-variant:hover .wire-tl-item-1 .wire-tl-tag {
    color: var(--primary, #0099ff);
    transition-delay: 0s;
}

.benefit-card-variant:hover .wire-tl-item-1 .ui-line {
    background-color: rgba(0, 153, 255, 0.25);
    box-shadow: 0 0 6px rgba(0, 153, 255, 0.15);
    transition-delay: 0s;
}

/* Step 2 (0.2s): Row 2 (Year 3) highlights */
.benefit-card-variant:hover .wire-tl-item-2 {
    transform: translateX(5px);
    transition-delay: 0.2s;
}

.benefit-card-variant:hover .wire-tl-item-2 .wire-tl-circle {
    background: var(--primary, #0099ff);
    border-color: var(--primary, #0099ff);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 153, 255, 0.6);
    transform: scale(1.12);
    transition-delay: 0.2s;
}

.benefit-card-variant:hover .wire-tl-item-2 .wire-tl-tag {
    color: var(--primary, #0099ff);
    transition-delay: 0.2s;
}

.benefit-card-variant:hover .wire-tl-item-2 .ui-line {
    background-color: rgba(0, 153, 255, 0.25);
    box-shadow: 0 0 6px rgba(0, 153, 255, 0.15);
    transition-delay: 0.2s;
}

/* Step 3 (0.4s): Row 3 (Year 5+) highlights & Header badge glows */
.benefit-card-variant:hover .wire-tl-item-3 {
    transform: translateX(5px);
    transition-delay: 0.4s;
}

.benefit-card-variant:hover .wire-tl-item-3 .wire-tl-circle {
    background: var(--primary, #0099ff);
    border-color: var(--primary, #0099ff);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 153, 255, 0.6);
    transform: scale(1.12);
    transition-delay: 0.4s;
}

.benefit-card-variant:hover .wire-tl-item-3 .wire-tl-tag {
    color: var(--primary, #0099ff);
    transition-delay: 0.4s;
}

.benefit-card-variant:hover .wire-tl-item-3 .ui-line {
    background-color: rgba(0, 153, 255, 0.25);
    box-shadow: 0 0 6px rgba(0, 153, 255, 0.15);
    transition-delay: 0.4s;
}

.benefit-card-variant:hover .wire-tl-badge {
    transform: scale(1.08);
    text-shadow: 0 0 10px rgba(0, 153, 255, 0.4);
    transition-delay: 0.4s;
}

/* --- 3D CAROUSEL SERVICES SECTION --- */
.services-3d-section {
    background-color: #f7f7f8;
    color: var(--color-black);
    padding: clamp(3rem, 8vw, 6rem) 0;
    overflow: hidden;
    position: relative;
    z-index: 20;
}

.services-3d-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.services-3d-header {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: clamp(3rem, 2vw, 6rem);
}

@media (min-width: 768px) {
    .services-3d-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.services-3d-header-left {
    max-width: 600px;
}

.services-3d-header-right {
    max-width: 400px;
}

.services-3d-carousel-wrapper {
    position: relative;
    width: 100%;
    /* Create a viewport for the 3D effect */
    perspective: 1500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-3d-carousel-track {
    position: relative;
    width: 100%;
    /* Max width of center card */
    max-width: 800px;
    /* Height based on aspect ratio approx */
    height: clamp(300px, 50vw, 500px);
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

/* Pagination Dots */
.s3d-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

/* --- MARQUEE SERVICES SECTION --- */
.services-marquee-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 2rem 0;
    cursor: grab;
    user-select: none;
}

.services-marquee-wrapper:active {
    cursor: grabbing;
}

.services-marquee-track {
    display: flex;
    width: max-content;
    gap: clamp(1rem, 2vw, 24px);
    padding: 0 clamp(1rem, 2vw, 24px);
    will-change: transform;
}

.marquee-card {
    position: relative;
    width: 500px;
    height: 375px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--color-black);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.marquee-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.marquee-card:hover .marquee-card-bg {
    transform: scale(1.05);
}

.marquee-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 60, 0.7);
    pointer-events: none;
    transition: background 0.3s ease;
}

.marquee-card:hover .marquee-card-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.marquee-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 36px;
    width: 100%;
    color: var(--color-white);
    pointer-events: none;
}

.marquee-card-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.marquee-card-desc {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transition: all 0.3s ease;
}

.marquee-card:hover .marquee-card-desc {
    opacity: 0.9;
    max-height: 100px;
    margin-top: 0.5rem;
}

.s3d-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.s3d-dot.active {
    background-color: var(--color-black);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .s3d-card.prev {
        transform: translateX(-20%) scale(0.85) translateZ(-100px);
    }

    .s3d-card.next {
        transform: translateX(20%) scale(0.85) translateZ(-100px);
    }
}

/* ==========================================================================
   SERVICE SINGLE PAGE STYLES (Home Loan, Business Loan, etc.)
   ========================================================================== */

/* Unified Service Page Header & Minimal Hero */
.service-page-header,
.about-page-header {
    background: radial-gradient(circle at 50% 0%, rgba(0, 153, 255, 0.18) 0%, transparent 60%),
        #0a1c3d;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-hero-minimal {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.5rem) 1.5rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.service-hero-minimal-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
    letter-spacing: -0.03em;
    margin-bottom: 0;
}

.service-hero-minimal-title .accent {
    color: var(--color-accent);
    background: linear-gradient(135deg, #0099ff 0%, #70b8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-hero-minimal-sub {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.65;
    color: var(--color-text-muted);
    max-width: 720px;
    margin: 0;
}

.service-hero-minimal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Services Main Page Hero Header (Image Layout Match) */
.services-hero-content {
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 4.75rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: #38bdf8;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
    line-height: 1;
}

.services-hero-eyebrow i {
    font-size: 1.1rem;
    color: #38bdf8;
    display: inline-block;
    line-height: 1;
}

.services-hero-title {
    font-family: var(--font-display), 'Satoshi', sans-serif !important;
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #ffffff;
    max-width: 820px;
    margin: 0 auto 1.35rem auto;
    text-align: center;
}

.services-hero-desc {
    font-family: var(--font-main), 'General Sans', 'Inter', sans-serif;
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.76);
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    .services-hero-content {
        padding: clamp(2rem, 5vw, 3rem) 1.25rem clamp(2rem, 4vw, 3rem);
    }

    .services-hero-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.14em;
        margin-bottom: 1.1rem;
    }

    .services-hero-title {
        font-size: clamp(2.15rem, 8vw, 2.75rem);
        line-height: 1.18;
        letter-spacing: -0.025em;
        margin-bottom: 1rem;
    }

    .services-hero-title br {
        display: none;
    }

    .services-hero-desc {
        font-size: 0.975rem;
        line-height: 1.55;
    }
}


/* Service Sticky Sub-Navigation */
.service-sticky-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(10, 28, 61, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.service-sticky-nav-inner {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.service-sticky-nav-inner::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1100px) {
    .service-sticky-nav-inner {
        justify-content: flex-start;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.service-nav-item {
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.service-nav-item:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-nav-item.active {
    color: #ffffff;
    background: var(--color-accent);
    border-color: var(--color-accent);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 153, 255, 0.4);
}

/* Light / Section Variations for Service Pages */
.service-content-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
    background-color: var(--color-surface);
    color: var(--color-black);
    position: relative;
}

.service-content-section.dark-mode {
    background-color: var(--color-black);
    color: var(--color-white);
}

.service-content-section.off-white {
    background-color: var(--color-off-white);
}

.service-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.service-section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(2rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.service-section-header.text-left {
    text-align: left;
    align-items: flex-start;
    margin: 0 0 clamp(2rem, 4vw, 3rem) 0;
}

.service-section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-black);
}

.service-section-sub {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.6;
    color: rgba(10, 28, 61, 0.7);
}

.service-content-section.dark-mode .service-section-sub {
    color: var(--color-text-muted);
}

/* Service Feature Cards Grid (Overview) */
.service-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .service-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-feature-card {
    background: var(--color-white);
    border: 1px solid rgba(10, 28, 61, 0.08);
    border-radius: 16px;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(10, 28, 61, 0.08);
}

.service-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-feature-card:hover::before {
    opacity: 1;
}

.service-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 153, 255, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.service-feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.3;
}

.service-feature-desc {
    font-size: 0.925rem;
    line-height: 1.6;
    color: rgba(10, 28, 61, 0.7);
}

/* Loan Types Grid */
.loan-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .loan-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .loan-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.loan-type-card {
    background: #ffffff;
    border: 1px solid rgba(10, 28, 61, 0.08);
    border-radius: 18px;
    padding: clamp(1.75rem, 2.5vw, 2.25rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(10, 28, 61, 0.04);
    transition: all 0.3s ease;
}

.loan-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 28, 61, 0.08);
    border-color: rgba(0, 153, 255, 0.3);
}

.loan-type-card-top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.loan-type-badge {
    align-self: flex-start;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: rgba(0, 153, 255, 0.08);
    color: var(--color-accent-2);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.loan-type-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.25;
}

.loan-type-desc {
    font-size: 0.925rem;
    line-height: 1.6;
    color: rgba(10, 28, 61, 0.75);
}

.loan-type-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(10, 28, 61, 0.12);
}

.loan-type-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(10, 28, 61, 0.85);
    line-height: 1.4;
}

.loan-type-features-list li i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.loan-type-card-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.loan-type-card-btn:hover {
    gap: 0.65rem;
}

/* Partner Banks Ecosystem Section */
.banks-ecosystem-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    backdrop-filter: blur(12px);
}

.banks-grid-service {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .banks-grid-service {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .banks-grid-service {
        grid-template-columns: repeat(6, 1fr);
    }
}

.bank-item-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    transition: all 0.25s ease;
}

.bank-item-box:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 153, 255, 0.4);
    transform: translateY(-3px);
}

.bank-item-logo {
    height: 38px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(1.05);
}

.bank-item-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-white);
}

.bank-item-tag {
    font-size: 0.7rem;
    color: var(--color-accent);
    font-weight: 500;
}

/* Ecosystem Key Pillars */
.bank-advantages-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .bank-advantages-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bank-adv-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bank-adv-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(0, 153, 255, 0.15);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.bank-adv-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bank-adv-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
}

.bank-adv-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Persona-based Eligibility & Documents Tab Component */
.service-tabs-wrapper {
    background: #ffffff;
    border: 1px solid rgba(10, 28, 61, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(10, 28, 61, 0.05);
    overflow: hidden;
}

.service-tab-headers {
    display: flex;
    background: var(--color-surface);
    border-bottom: 1px solid rgba(10, 28, 61, 0.08);
    overflow-x: auto;
}

.service-tab-button {
    flex: 1;
    min-width: 180px;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(10, 28, 61, 0.6);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
}

.service-tab-button i {
    font-size: 1.25rem;
}

.service-tab-button:hover {
    color: var(--color-black);
    background: rgba(0, 153, 255, 0.04);
}

.service-tab-button.active {
    color: var(--color-accent-2);
    background: #ffffff;
    border-bottom-color: var(--color-accent);
}

.service-tab-body {
    padding: clamp(1.75rem, 3.5vw, 3rem);
}

.service-tab-content {
    display: none;
}

.service-tab-content.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

.eligibility-table-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .eligibility-table-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.elig-criteria-box {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-left: 4px solid var(--color-accent);
}

.elig-criteria-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(10, 28, 61, 0.6);
}

.elig-criteria-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-black);
}

.elig-criteria-detail {
    font-size: 0.85rem;
    color: rgba(10, 28, 61, 0.7);
    line-height: 1.5;
}

/* Document Checklist Cards */
.doc-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .doc-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.doc-category-card {
    background: var(--color-surface);
    border: 1px solid rgba(10, 28, 61, 0.08);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doc-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.doc-category-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 153, 255, 0.12);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.doc-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
}

.doc-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.doc-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(10, 28, 61, 0.8);
    line-height: 1.45;
}

.doc-checklist li i {
    color: var(--color-accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* Fees & Taxes Section */
.fees-taxes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .fees-taxes-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.fee-table-card {
    background: #ffffff;
    border: 1px solid rgba(10, 28, 61, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 28, 61, 0.04);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.fee-table th {
    background: var(--color-surface);
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(10, 28, 61, 0.7);
    border-bottom: 1px solid rgba(10, 28, 61, 0.08);
}

.fee-table td {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(10, 28, 61, 0.85);
    border-bottom: 1px solid rgba(10, 28, 61, 0.06);
    vertical-align: top;
}

.fee-table tr:last-child td {
    border-bottom: none;
}

.tax-benefit-card {
    background: linear-gradient(145deg, #0a1c3d 0%, #102a5c 100%);
    color: var(--color-white);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 12px 30px rgba(10, 28, 61, 0.2);
}

.tax-benefit-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tax-benefit-title i {
    color: #10b981;
}

.tax-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tax-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tax-section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
}

.tax-limit-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.tax-item-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Process Timeline (5 Steps) */
.process-timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 640px) {
    .process-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-timeline-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.process-step-card {
    background: #ffffff;
    border: 1px solid rgba(10, 28, 61, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    box-shadow: 0 4px 14px rgba(10, 28, 61, 0.04);
}

.process-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.process-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.3;
}

.process-step-desc {
    font-size: 0.85rem;
    color: rgba(10, 28, 61, 0.7);
    line-height: 1.5;
}

/* FAQ Accordion Component */
.faq-accordion-container {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-accordion-card {
    background: #ffffff;
    border: 1px solid rgba(10, 28, 61, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(10, 28, 61, 0.03);
    transition: all 0.25s ease;
}

.faq-accordion-card:hover {
    border-color: rgba(0, 153, 255, 0.3);
}

.faq-accordion-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-black);
    cursor: pointer;
}

.faq-accordion-btn i {
    font-size: 1.15rem;
    color: var(--color-accent);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-accordion-card.open .faq-accordion-btn i {
    transform: rotate(180deg);
}

.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.faq-accordion-card.open .faq-accordion-body {
    padding-bottom: 1.35rem;
}

.faq-accordion-body p {
    font-size: 0.925rem;
    line-height: 1.65;
    color: rgba(10, 28, 61, 0.75);
    margin: 0;
}

/* Service CTA Banner */
.service-cta-banner-box {
    background: linear-gradient(135deg, #06132b 0%, #0a1c3d 50%, #153268 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.service-cta-banner-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.service-cta-banner-title {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    max-width: 750px;
}

.service-cta-banner-sub {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: var(--color-text-muted);
    max-width: 620px;
    line-height: 1.6;
}

.service-cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* =========================================================================
   GSAP MOTION LAB — 25 FRAMER & WEBFLOW STYLE TEXT ANIMATIONS
   Seamlessly integrated with styles2.css Design System
   ========================================================================= */

.anim-showcase-wrapper {
    background-color: var(--color-black);
    color: var(--color-white);
    position: relative;
    overflow-x: hidden;
}

/* Floating Top HUD Navigation Bar */
.anim-hud {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: var(--max-content-width, 1440px);
    height: 56px;
    background: rgba(6, 19, 43, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 1000;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.anim-hud-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--color-white);
}

.anim-hud-logo {
    height: 28px;
    width: auto;
}

.anim-hud-pill {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(0, 153, 255, 0.12);
    border: 1px solid rgba(0, 153, 255, 0.25);
    border-radius: 9999px;
    padding: 2px 8px;
    letter-spacing: 0.04em;
}

.anim-hud-tabs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.anim-hud-tab {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 9999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.anim-hud-tab.active {
    background: var(--color-accent);
    color: var(--color-white);
    font-weight: 600;
}

.anim-hud-tab.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.anim-hud-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.anim-hud-counter {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.anim-hud-counter-curr {
    color: var(--color-accent);
    font-size: 1rem;
}

.anim-hud-jump-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.anim-hud-jump-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
}

/* Timeline progress bar at bottom */
.anim-progress-line {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

.anim-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
}

/* Hero Section */
.anim-hero-section {
    padding-top: 130px;
    padding-bottom: 50px;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at 50% 10%, rgba(0, 153, 255, 0.12) 0%, transparent 60%);
}

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

/* Story Showcase Cards */
.anim-section-row {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.anim-card {
    width: 100%;
    max-width: 1120px;
    background: rgba(6, 19, 43, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3.5rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transition: border-color 0.3s ease;
}

.anim-card:hover {
    border-color: rgba(0, 153, 255, 0.35);
}

/* Card Header */
.anim-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.anim-card-meta {
    max-width: 680px;
}

.anim-tag-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.anim-index-pill {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(0, 153, 255, 0.12);
    border: 1px solid rgba(0, 153, 255, 0.25);
    border-radius: 9999px;
    padding: 2px 10px;
}

.anim-category-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.anim-card-title {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.anim-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.anim-tech-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.anim-tech-pill {
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-family: monospace;
}

/* Card Canvas / Display */
.anim-canvas {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1rem;
    position: relative;
    overflow: hidden;
}

/* Card Footer Dock */
.anim-card-dock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.anim-dock-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-anim-replay {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    padding: 0.6rem 1.35rem;
    background-color: var(--color-accent);
    border: none;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-anim-replay:hover {
    background-color: var(--color-accent-2);
    transform: translateY(-1px);
}

.btn-anim-code {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-anim-code:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.anim-trigger-indicator {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.anim-trigger-indicator i {
    color: var(--color-accent);
}

/* Code Snippet Drawer */
.anim-code-drawer {
    margin-top: 1.5rem;
    background: #040d1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.anim-code-drawer.open {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.75rem;
}

.anim-code-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.anim-code-lang {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--color-text-muted);
}

.btn-anim-copy {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.btn-anim-copy:hover {
    color: var(--color-white);
}

.anim-code-body {
    padding: 1.25rem;
    overflow-x: auto;
}

.anim-code-body pre {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Quick Jump Drawer */
.anim-jump-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: flex-end;
}

.anim-jump-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.anim-jump-drawer {
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: #06132b;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-jump-drawer-backdrop.open .anim-jump-drawer {
    transform: translateX(0);
}

.anim-jump-head {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.anim-jump-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
}

.anim-jump-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.3rem;
    cursor: pointer;
}

.anim-jump-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.anim-jump-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.anim-jump-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    transform: translateX(4px);
}

.anim-jump-num {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--color-accent);
    margin-right: 0.75rem;
}

/* =========================================================================
   SPECIFIC FRAMER & WEBFLOW TYPOGRAPHY DISPLAY CLASSES
   ========================================================================= */

.framer-char {
    display: inline-block;
    will-change: transform, opacity;
}

.framer-word {
    display: inline-block;
    white-space: nowrap;
    will-change: transform, opacity, filter;
}

.framer-line-mask {
    overflow: hidden;
    display: block;
}

.framer-line-inner {
    display: block;
    transform: translateY(105%);
    will-change: transform;
}

/* 01: Masked Line Rise */
.framer-display-1 {
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
}

/* 02: Smooth Letter Fade & Elevation */
.framer-display-2 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* 03: Editorial Scroll Scrub Opacity */
.framer-display-3 {
    font-size: clamp(1.8rem, 3.8vw, 3.2rem);
    font-weight: 600;
    line-height: 1.35;
    max-width: 880px;
    color: rgba(255, 255, 255, 0.18);
}

/* 04: SaaS Value-Prop Word Switcher */
.framer-rotator-headline {
    font-size: clamp(2rem, 4.8vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4em;
}

.framer-rotator-box {
    display: inline-block;
    height: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
}

.framer-rotator-word {
    color: var(--color-accent);
    display: block;
    line-height: 1.2em;
}

/* 05: Soft Blur-In & Focus Settlement */
.framer-display-5 {
    font-size: clamp(2.2rem, 4.8vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

/* 06: Subtle Gradient Shimmer */
.framer-display-6 {
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(110deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.5) 25%,
            #ffffff 50%,
            rgba(0, 153, 255, 0.9) 75%,
            rgba(255, 255, 255, 0.35) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: -150% 0;
}

/* 07: Letter-Spacing Compression */
.framer-display-7 {
    font-size: clamp(2.2rem, 4.8vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.12em;
}

/* 08: Subtle 3D Perspective Tilt Rise */
.framer-display-8 {
    font-size: clamp(2.4rem, 5.2vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    perspective: 1000px;
}

/* 09: Interactive Magnetic Text Link */
.framer-magnetic-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.framer-magnetic-link:hover {
    color: var(--color-accent);
}

/* 10: Curtain Clip-Path Reveal */
.framer-display-10 {
    font-size: clamp(2.4rem, 5.2vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    clip-path: polygon(0 0, 0 100%, 0 100%, 0 0);
}

/* 11: Minimalist Clean Character Decode */
.framer-display-11 {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.02em;
}

/* 12: Financial Metric Counter / Odometer Roll */
.framer-counter-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
}

.framer-counter-val {
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1;
}

.framer-counter-unit {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-accent);
}

.framer-counter-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* 13: Duotone Line-Sweep Highlight */
.framer-display-13 {
    font-size: clamp(2.2rem, 4.8vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    display: inline-block;
    position: relative;
}

.framer-highlight-stroke {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: left center;
}

/* 14: Duotone Interactive Hover Roll */
.framer-roll-container {
    height: 1.25em;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

.framer-roll-inner {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.framer-roll-item {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.25em;
}

.framer-roll-item.item-top {
    color: #ffffff;
}

.framer-roll-item.item-bottom {
    color: var(--color-accent);
}

/* 15: Cascading Sentence Stagger */
.framer-display-15 {
    max-width: 820px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.55;
    font-weight: 500;
    color: var(--color-white);
    text-align: center;
}

.framer-sentence {
    display: inline;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

/* 16: Subtle Scale-Up Display Headline */
.framer-display-16 {
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
}

/* 17: Word Stagger Masked Horizon */
.framer-display-17 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #ffffff;
    line-height: 1.25;
}

/* 18: Continuous Smooth Infinite Marquee */
.framer-marquee-outer {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.framer-marquee-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
}

.framer-marquee-item {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    margin-right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.framer-marquee-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* 19: Typewriter with Soft Pulse Caret */
.framer-typewriter-wrap {
    display: inline-flex;
    align-items: center;
    font-size: clamp(1.6rem, 3.6vw, 2.8rem);
    font-weight: 600;
    color: #ffffff;
}

.framer-caret {
    display: inline-block;
    width: 3px;
    height: 1.15em;
    background: var(--color-accent);
    margin-left: 6px;
}

/* 20: Dual-Tone Color Cascade */
.framer-display-20 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
}

/* 21: Scroll Parallax Depth Layering */
.framer-parallax-box {
    position: relative;
    padding: 2rem 0;
}

.framer-parallax-back {
    font-size: clamp(4rem, 10vw, 8.5rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: -0.04em;
    user-select: none;
    line-height: 1;
}

.framer-parallax-fore {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

/* 22: Subtle Character Wave Rise */
.framer-display-22 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
}

/* 23: Slow Aura Gradient Drift */
.framer-display-23 {
    font-size: clamp(2.6rem, 5.8vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-accent) 50%, #90cdf4 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 24: Card Focus Elevation on Scroll */
.framer-focus-card {
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.framer-display-24 {
    font-size: clamp(2.2rem, 4.8vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
}

/* 25: Choreographed Eyebrow, Title & Subtitle Trio */
.framer-trio-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 820px;
    margin: 0 auto;
}

.framer-trio-badge {
    opacity: 0;
    transform: translateY(12px);
}

.framer-trio-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(16px);
}

.framer-trio-sub {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateY(16px);
}

/* Upcoming Image Slot (Extensible for Image Animations) */
.framer-upcoming-box {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   Hero Section Choreographed Entrance (Framer Trio & Buttons)
   ========================================================================== */
@keyframes heroFailsafeReveal {
    to {
        opacity: 1;
    }
}

.hero-anim-ready .hero-copy .eyebrow,
.hero-anim-ready .hero-copy .headline,
.hero-anim-ready .hero-copy .sub-headline,
.hero-anim-ready .hero-copy .cta-group .btn,
.hero-anim-ready .contact-split .topbar,
.hero-anim-ready .contact-split .navbar,
.hero-anim-ready .contact-split-left .eyebrow,
.hero-anim-ready .contact-split-headline,
.hero-anim-ready .contact-split-sub,
.hero-anim-ready .contact-channel,
.hero-anim-ready .contact-split-meta,
.hero-anim-ready .contact-split-form-card {
    opacity: 0;
    animation: heroFailsafeReveal 0.3s ease 0.4s forwards;
}

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

    .hero-anim-ready .hero-copy .eyebrow,
    .hero-anim-ready .hero-copy .headline,
    .hero-anim-ready .hero-copy .sub-headline,
    .hero-anim-ready .hero-copy .cta-group .btn,
    .hero-anim-ready .contact-split .topbar,
    .hero-anim-ready .contact-split .navbar,
    .hero-anim-ready .contact-split-left .eyebrow,
    .hero-anim-ready .contact-split-headline,
    .hero-anim-ready .contact-split-sub,
    .hero-anim-ready .contact-channel,
    .hero-anim-ready .contact-split-meta,
    .hero-anim-ready .contact-split-form-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Word Stagger Masked Horizon Effect (Section Headings)
   ========================================================================== */
.word-horizon-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-top: 0.06em;
    padding-bottom: 0.16em;
    margin-top: -0.06em;
    margin-bottom: -0.16em;
}

.word-horizon-inner {
    display: inline-block;
    will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: reduce) {
    .word-horizon-mask {
        overflow: visible;
    }

    .word-horizon-inner {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}

/* ==========================================================================
   New Alternate Clear Blue Sky Hero Section
   ========================================================================== */
.hero-sky-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0284c7 0%, #0369a1 15%, #0284c7 38%, #38bdf8 68%, #7dd3fc 85%, #bae6fd 96%, #e0f2fe 100%);
    min-height: clamp(640px, 90vh, 860px);
    display: flex;
    align-items: center;
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: 0;
}

.hero-sky-ambient-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 45%);
    z-index: 1;
}

.hero-sky-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

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

.hero-sky-copy {
    max-width: 660px;
    padding-bottom: clamp(2rem, 4vw, 4rem);
}

.hero-sky-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 1px 4px rgba(2, 44, 84, 0.25);
}

.hero-sky-headline {
    color: #ffffff;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 12px rgba(2, 44, 84, 0.38), 0 12px 30px rgba(2, 44, 84, 0.2);
}

.hero-sky-subheadline {
    color: #ebf5fc;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 600px;
    text-shadow: 0 1px 6px rgba(2, 44, 84, 0.32);
}

.hero-sky-cta-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Trust Highlights Below CTA Buttons */
.hero-highlights {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    margin-top: clamp(1.75rem, 2.5vw, 2.25rem);
    flex-wrap: wrap;
}

.hero-highlight-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid #38BDF8;
    padding-left: 0.85rem;
    white-space: nowrap;
}

.hero-highlight-val {
    font-family: var(--font-display, 'Satoshi'), 'Inter', sans-serif;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 4px rgba(2, 6, 18, 0.4);
}

.hero-highlight-text {
    font-family: var(--font-main, 'General Sans', 'Inter', sans-serif);
    font-size: clamp(0.78rem, 0.95vw, 0.85rem);
    font-weight: 500;
    color: #38BDF8;
    letter-spacing: 0.02em;
    margin-top: 0.25rem;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(2, 6, 18, 0.35);
}

.hero-sky-btn-primary {
    background-color: #ffffff !important;
    color: #0369a1 !important;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(2, 44, 84, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-sky-btn-primary:hover {
    background-color: #f0f9ff !important;
    color: #0284c7 !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(2, 44, 84, 0.38);
}

.hero-sky-btn-secondary {
    background-color: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 1px 3px rgba(2, 44, 84, 0.25);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.hero-sky-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    transform: translateY(-2px);
}

/* Hero Flair Button Variants */
.hero-sky-btn-primary.btn-flair {
    --flair-fill-bg: linear-gradient(135deg, #0099ff 0%, #0072db 100%);
    background-color: #ffffff !important;
}

.hero-sky-btn-primary.btn-flair .btn-flair-label {
    color: #0369a1;
}

.sd-flair-ready .hero-sky-btn-primary.btn-flair:hover {
    background-color: #ffffff !important;
}

.sd-flair-ready .hero-sky-btn-primary.btn-flair.is-flairing {
    box-shadow: 0 14px 32px rgba(0, 153, 255, 0.42);
    transform: translateY(-2px);
}

.sd-flair-ready .hero-sky-btn-primary.btn-flair.is-flairing .btn-flair-label {
    color: #ffffff !important;
}

.hero-sky-btn-secondary.btn-flair {
    --flair-fill-bg: #ffffff;
    background-color: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.hero-sky-btn-secondary.btn-flair .btn-flair-label {
    color: #ffffff;
}

.sd-flair-ready .hero-sky-btn-secondary.btn-flair:hover {
    background-color: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.sd-flair-ready .hero-sky-btn-secondary.btn-flair.is-flairing {
    border-color: #ffffff !important;
    box-shadow: 0 14px 32px rgba(2, 44, 84, 0.35);
    transform: translateY(-2px);
}

.sd-flair-ready .hero-sky-btn-secondary.btn-flair.is-flairing .btn-flair-label {
    color: #0369a1 !important;
}

/* On Desktop: Sticky Bottom-Right Image */
@media (min-width: 992px) {
    .hero-sky-section {
        min-height: clamp(660px, calc(100vh - 105px), 920px);
    }

    .hero-sky-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
    }

    .hero-sky-media {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 3;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        width: clamp(560px, 53vw, 1020px);
        line-height: 0;
        pointer-events: none;
        margin: 0;
        padding: 0;
    }

    .hero-sky-image-wrapper {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        line-height: 0;
    }

    .hero-sky-portrait {
        width: 100%;
        height: auto;
        max-height: clamp(600px, 88vh, 880px);
        object-fit: contain;
        object-position: bottom right;
        display: block;
        vertical-align: bottom;
        margin-bottom: 0;
        filter: drop-shadow(-15px 20px 45px rgba(2, 44, 84, 0.3));
    }

    .hero-sky-floating-badge {
        position: absolute;
        bottom: 2.5rem;
        left: 2rem;
        pointer-events: auto;
        line-height: 1.4;
    }
}

/* Tablet & Mobile (Stacked) */
@media (max-width: 991px) {
    .hero-sky-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2.5rem;
        padding-bottom: 0;
    }

    .hero-sky-copy {
        max-width: 100%;
        text-align: center;
        padding-bottom: 1.5rem;
    }

    .hero-sky-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-sky-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-sky-cta-group {
        justify-content: center;
    }

    .hero-highlights {
        justify-content: center;
        flex-wrap: nowrap;
        gap: clamp(0.65rem, 2.8vw, 1.75rem);
    }

    .hero-highlight-item {
        text-align: left;
    }

    .hero-sky-media {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        position: relative;
        line-height: 0;
        margin-top: 1rem;
        pointer-events: auto;
    }

    .hero-sky-image-wrapper {
        width: 100%;
        max-width: 580px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        position: relative;
        line-height: 0;
        margin: 0 auto;
    }

    .hero-sky-portrait {
        width: 100%;
        height: auto;
        max-height: 520px;
        object-fit: contain;
        object-position: bottom center;
        display: block;
        vertical-align: bottom;
        margin-bottom: 0;
        filter: drop-shadow(0 15px 35px rgba(2, 44, 84, 0.25));
    }

    .hero-sky-floating-badge {
        position: absolute;
        bottom: 1.25rem;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        max-width: 320px;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    .hero-highlights {
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(0.5rem, 2.5vw, 1rem);
        width: 100%;
    }

    .hero-highlight-item {
        padding-left: clamp(0.45rem, 1.8vw, 0.7rem);
        border-left-width: 2px;
        min-width: 0;
        text-align: left;
    }

    .hero-highlight-val {
        font-size: clamp(1.05rem, 4.4vw, 1.35rem);
    }

    .hero-highlight-text {
        font-size: clamp(0.6rem, 2.55vw, 0.76rem);
        letter-spacing: 0;
    }
}

.hero-sky-floating-badge {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 16px 36px rgba(2, 44, 84, 0.22);
    z-index: 5;
    animation: heroBadgeFloat 4s ease-in-out infinite;
}

@keyframes heroBadgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.hero-badge-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0c2340;
    line-height: 1.2;
}

.hero-badge-text span {
    font-size: 0.75rem;
    color: #475569;
    font-weight: 500;
}

/* Original hero adjustments when moved below */
.hero-original {
    padding-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Entrance animation preparation */
.hero-anim-ready .hero-sky-eyebrow,
.hero-anim-ready .hero-sky-headline,
.hero-anim-ready .hero-sky-subheadline,
.hero-anim-ready .hero-sky-cta-group .btn,
.hero-anim-ready .hero-sky-media,
.hero-anim-ready .hero-apartment-section .navbar,
.hero-anim-ready .service-page-header .topbar,
.hero-anim-ready .service-page-header .navbar,
.hero-anim-ready .topbar,
.hero-anim-ready .navbar,
.hero-anim-ready .services-hero-eyebrow,
.hero-anim-ready .about-hero-eyebrow,
.hero-anim-ready .services-hero-title,
.hero-anim-ready .services-hero-desc,
.hero-anim-ready .service-hero-minimal-title,
.hero-anim-ready .service-hero-minimal-sub,
.hero-anim-ready .service-hero-minimal-actions,
.hero-anim-ready .page-header .topbar,
.hero-anim-ready .page-header .navbar,
.hero-anim-ready .page-header .page-title,
.hero-anim-ready .page-header .page-subtitle,
.hero-anim-ready .error-404-badge,
.hero-anim-ready .error-404-title,
.hero-anim-ready .error-404-sub,
.hero-anim-ready .error-404-actions,
.hero-anim-ready .error-404-quicklinks,
.hero-anim-ready .legal-page-header h1,
.hero-anim-ready .legal-page-header p {
    opacity: 0;
    animation: heroFailsafeReveal 0.3s ease 0.4s forwards;
}

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

    .hero-anim-ready .hero-sky-eyebrow,
    .hero-anim-ready .hero-sky-headline,
    .hero-anim-ready .hero-sky-subheadline,
    .hero-anim-ready .hero-sky-cta-group .btn,
    .hero-anim-ready .hero-sky-media,
    .hero-anim-ready .hero-apartment-section .navbar,
    .hero-anim-ready .service-page-header .topbar,
    .hero-anim-ready .service-page-header .navbar,
    .hero-anim-ready .topbar,
    .hero-anim-ready .navbar,
    .hero-anim-ready .services-hero-eyebrow,
    .hero-anim-ready .about-hero-eyebrow,
    .hero-anim-ready .services-hero-title,
    .hero-anim-ready .services-hero-desc,
    .hero-anim-ready .service-hero-minimal-title,
    .hero-anim-ready .service-hero-minimal-sub,
    .hero-anim-ready .service-hero-minimal-actions,
    .hero-anim-ready .page-header .topbar,
    .hero-anim-ready .page-header .navbar,
    .hero-anim-ready .page-header .page-title,
    .hero-anim-ready .page-header .page-subtitle,
    .hero-anim-ready .error-404-badge,
    .hero-anim-ready .error-404-title,
    .hero-anim-ready .error-404-sub,
    .hero-anim-ready .error-404-actions,
    .hero-anim-ready .error-404-quicklinks,
    .hero-anim-ready .legal-page-header h1,
    .hero-anim-ready .legal-page-header p {
        opacity: 1 !important;
    }
}

/* ==========================================================================
   Hero Section — Pure CSS/SVG Soft-Beam Backdrop (Claude Specification)
   ========================================================================== */
.hero-apartment-section {
    position: relative;
    overflow: hidden;
    background-color: #030a1c !important;
    min-height: 100vh;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-beam-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    background-color: #030a1c;
}

/* Layer 1, Base: Deep navy void with black corner shadows */
.hero-beam-base {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        /* Corner shadows: bottom-left and top-right nearly black */
        radial-gradient(ellipse 60% 60% at 0% 100%, #01040e 0%, rgba(1, 4, 14, 0.7) 40%, transparent 80%),
        radial-gradient(ellipse 55% 55% at 100% 0%, #01040e 0%, rgba(1, 4, 14, 0.7) 40%, transparent 75%),
        /* Base navy gradient: #0b1a33 top-left, #050d22 mid/top-right, #030a1c bottom-left */
        linear-gradient(135deg, #0b1a33 0%, #050d22 52%, #030a1c 100%);
}

/* Layer 2, Light Beam: Wide, heavily blurred diagonal band of light */
.hero-beam-light {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.hero-beam-light-drift {
    position: absolute;
    inset: -15%;
    width: 130%;
    height: 130%;
    filter: blur(100px);
    opacity: 0.96;
    will-change: transform;
    animation: beamAmbientDrift 26s ease-in-out infinite alternate;
    background:
        /* Core hotspot at 55% left, 52% top: brightest point #6a9fd4 fading to #3d628f into navy */
        radial-gradient(ellipse 62% 26% at 55% 52%,
            rgba(106, 159, 212, 0.95) 0%,
            rgba(61, 98, 143, 0.75) 32%,
            rgba(20, 48, 86, 0.35) 60%,
            transparent 80%),

        /* Left entry beam: enters at 35-45% height (centered ~16% left, 40% top), slopes gently downward */
        radial-gradient(ellipse 52% 24% at 16% 40%,
            rgba(90, 142, 194, 0.82) 0%,
            rgba(55, 90, 132, 0.58) 38%,
            rgba(16, 38, 70, 0.22) 68%,
            transparent 80%),

        /* Bottom-right dimmer glow: creates shallow arc curving down into bottom-right corner */
        radial-gradient(ellipse 48% 36% at 86% 82%,
            rgba(82, 132, 184, 0.72) 0%,
            rgba(48, 82, 122, 0.48) 42%,
            rgba(16, 36, 68, 0.18) 72%,
            transparent 84%),

        /* Broad continuous diagonal connector wash */
        radial-gradient(ellipse 85% 28% at 50% 52%,
            rgba(72, 118, 168, 0.55) 0%,
            rgba(34, 66, 104, 0.32) 48%,
            transparent 82%);
}

@keyframes beamAmbientDrift {
    0% {
        transform: translate3d(-1.5%, -0.5%, 0) scale(1);
    }

    50% {
        transform: translate3d(0%, 0.8%, 0) scale(1.02);
    }

    100% {
        transform: translate3d(1.5%, -0.5%, 0) scale(1);
    }
}

/* Layer 3, Vertical Fins: ~24 thin lines (roughly every 4.3% of width) */
.hero-beam-fins-dark {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    /* On dark areas: slightly darker than background (rgba(0,0,0,0.25)) */
    background: repeating-linear-gradient(90deg,
            rgba(0, 0, 0, 0.26) 0px,
            rgba(0, 0, 0, 0.26) 1.5px,
            transparent 1.5px,
            transparent calc(100% / 24));
    opacity: 0.9;
}

.hero-beam-fins-sheen {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    /* Where crossing bright beam & towards right: faint light streaks (rgba(140,180,255,0.35)) */
    background: repeating-linear-gradient(90deg,
            rgba(140, 180, 255, 0.35) 0px,
            rgba(140, 180, 255, 0.35) 1.5px,
            transparent 1.5px,
            transparent calc(100% / 24));
    -webkit-mask-image:
        radial-gradient(ellipse 65% 30% at 55% 52%, black 20%, transparent 75%),
        radial-gradient(ellipse 50% 40% at 86% 80%, black 25%, transparent 80%),
        radial-gradient(ellipse 55% 26% at 18% 40%, black 15%, transparent 75%);
    mask-image:
        radial-gradient(ellipse 65% 30% at 55% 52%, black 20%, transparent 75%),
        radial-gradient(ellipse 50% 40% at 86% 80%, black 25%, transparent 80%),
        radial-gradient(ellipse 55% 26% at 18% 40%, black 15%, transparent 75%);
    mix-blend-mode: overlay;
    opacity: 0.85;
}

/* Layer 4, Film Grain: Inline SVG feTurbulence (baseFrequency ~0.8) at 6-8% opacity */
.hero-beam-grain {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: 0.07;
}

/* Layer 5, Readability: Dark perimeter vignette + left-to-right gradient scrim */
.hero-beam-vignette {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background:
        /* Left-to-right gradient scrim for high text contrast */
        linear-gradient(to right,
            rgba(3, 10, 28, 0.65) 0%,
            rgba(3, 10, 28, 0.38) 36%,
            rgba(3, 10, 28, 0.1) 60%,
            transparent 75%),
        /* Subtle perimeter edge vignette */
        radial-gradient(ellipse 92% 82% at 50% 50%,
            transparent 45%,
            rgba(2, 6, 18, 0.42) 75%,
            rgba(1, 4, 12, 0.88) 100%),
        /* Bottom fade */
        linear-gradient(to bottom,
            transparent 80%,
            rgba(3, 10, 28, 0.98) 100%);
}

/* Typography adjustment matching specification */
.hero-apartment-section .hero-sky-subheadline {
    color: #a9bcd6;
    text-shadow: 0 1px 4px rgba(2, 6, 18, 0.5);
}

@media (max-width: 768px) {
    .hero-beam-light-drift {
        filter: blur(48px);
        opacity: 0.92;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-beam-light-drift {
        animation: none;
    }
}

/* Transparent Navbar within Hero Section */
.hero-apartment-section .navbar,
.hero-navbar {
    position: relative;
    z-index: 10;
    width: 100%;
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    padding: 1.25rem 0;
}

.hero-apartment-section .hero-sky-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hero-apartment-section .hero-sky-media {
    z-index: 3;
    bottom: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero-apartment-section .hero-sky-image-wrapper {
    align-items: flex-end;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero-apartment-section .hero-sky-portrait {
    display: block;
    vertical-align: bottom !important;
    margin-bottom: 0 !important;
    object-position: bottom center;
}

@media (min-width: 992px) {
    .hero-apartment-section {
        min-height: clamp(700px, 100vh, 940px);
    }

    .hero-apartment-section .hero-sky-subheadline {
        max-width: 560px;
    }

    /* Fit hero image on the extreme right side of the full content width of 1440px */
    .hero-apartment-section .hero-sky-media {
        position: absolute;
        bottom: 0 !important;
        right: calc(max(0px, (100vw - var(--max-content-width, 1440px)) / 2) + 2rem) !important;
        left: auto !important;
        width: clamp(540px, 48vw, 800px) !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: flex-end !important;
        pointer-events: none;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-apartment-section .hero-sky-image-wrapper {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: flex-end !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-apartment-section .hero-sky-portrait {
        object-position: bottom right !important;
        display: block !important;
        vertical-align: bottom !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: clamp(580px, 86vh, 880px) !important;
    }
}

@media (max-width: 991px) {
    .hero-apartment-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-apartment-section .hero-sky-container {
        padding-top: 1.5rem !important;
        padding-bottom: 0 !important;
    }

    .hero-apartment-section .hero-sky-copy {
        padding-bottom: 0.75rem !important;
    }

    .hero-apartment-section .hero-sky-media {
        align-items: flex-end;
        margin-top: -2.5rem !important;
        margin-bottom: 0 !important;
    }

    .hero-apartment-section .hero-sky-portrait {
        object-position: bottom center;
        margin-bottom: 0 !important;
        vertical-align: bottom !important;
        max-height: clamp(380px, 60vh, 520px);
    }
}

/* ==========================================================================
   Hero Curtain Reveal / Sticky Parallax Overlap Effect
   ========================================================================== */

/* Sticky underlay stage: anchors topbar + hero together as one sticky underlay */
.hero-curtain-stage {
    position: relative;
    width: 100%;
    z-index: 1;
    background-color: #0a1c3d;
}

@media (min-width: 992px) {
    .hero-curtain-stage {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1;
        overflow: hidden;
        will-change: transform;
    }

    /* Elevated foreground sheet rolling over the hero */
    .page-curtain-sheet {
        position: relative;
        z-index: 10;
        background-color: #ffffff;
        border-top-left-radius: 28px;
        border-top-right-radius: 28px;
        box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.75), 0 -1px 2px rgba(255, 255, 255, 0.08);
        margin-top: 0;
        overflow: hidden;
    }
}

@media (max-width: 991px) {

    /* Graceful standard flow on mobile for native touch performance */
    .hero-curtain-stage {
        position: relative;
    }

    .page-curtain-sheet {
        position: relative;
        z-index: 2;
        background-color: #ffffff;
        border-radius: 0;
        box-shadow: none;
    }
}

/* ==========================================================================
   RELUME-INSPIRED SERVICES SECTION & FEATURE CARDS
   ========================================================================== */
.relume-services-section {
    background-color: #f8fafc;
    padding: clamp(4rem, 7vw, 6.5rem) 1.5rem;
    position: relative;
}

.relume-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}

.relume-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.relume-header .eyebrow {
    background-color: rgba(0, 85, 170, 0.08);
    color: #0055aa;
    border: 1px solid rgba(0, 85, 170, 0.25);
    margin: 0 auto 0.75rem auto;
}

.relume-section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #0a1c3d;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    line-height: 1.15;
}

.relume-section-desc {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.relume-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
}

@media (min-width: 860px) {
    .relume-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

.relume-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
    position: relative;
}

.relume-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -12px rgba(10, 28, 61, 0.1);
    border-color: #0066cc;
}

.relume-media-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #0a1c3d;
}

.relume-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.relume-card:hover .relume-media-wrapper img {
    transform: scale(1.05);
}

.relume-media-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 28, 61, 0.25) 0%, transparent 40%, rgba(10, 28, 61, 0.35) 100%);
    pointer-events: none;
}

.relume-badge-top-left {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(10, 28, 61, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 2;
}

.relume-badge-top-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #0066cc;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.relume-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.relume-card-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0055aa;
    margin-bottom: 0.4rem;
}

.relume-card-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #0a1c3d;
    letter-spacing: -0.025em;
    margin: 0 0 0.35rem;
    line-height: 1.2;
}

.relume-card-lead {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin: 0 0 0.75rem 0;
    line-height: 1.45;
}

.relume-card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.relume-metrics-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.relume-metric-item {
    text-align: center;
    flex: 1;
}

.relume-metric-num {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a1c3d;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.relume-metric-label {
    display: block;
    font-size: 0.725rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 3px;
    text-transform: capitalize;
}

.relume-metric-sep {
    width: 1px;
    height: 28px;
    background-color: #e2e8f0;
    flex-shrink: 0;
}

.relume-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.relume-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
}

.relume-feature-list li i {
    color: #0066cc;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.relume-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: none;
}

.relume-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #0a1c3d;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.relume-action-btn i {
    transition: transform 0.25s ease;
}

.relume-action-btn:hover {
    background: #005bb5;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 91, 181, 0.3);
}

.relume-action-btn:hover i {
    transform: translateX(3px);
}

.relume-trust-micro {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.relume-trust-micro i {
    color: #0099ff;
    font-size: 1rem;
}

@media (max-width: 640px) {
    .relume-card-content {
        padding: 1.5rem;
    }

    .relume-media-wrapper {
        height: 200px;
    }

    .relume-metrics-bar {
        padding: 0.75rem 0.5rem;
    }

    .relume-metric-num {
        font-size: 1.05rem;
    }

    .relume-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .relume-action-btn {
        justify-content: center;
    }

    .relume-trust-micro {
        justify-content: center;
    }
}

/* Services Hero Trust Badges */
.services-hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.services-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.services-hero-trust-item i {
    color: #0099ff;
    font-size: 1.1rem;
}

.relume-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    text-align: left;
}

.relume-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.95rem;
    border-radius: 100px;
    background: rgba(0, 153, 255, 0.12);
    border: 1px solid rgba(0, 153, 255, 0.32);
    color: #38bdf8;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.relume-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0099ff;
    box-shadow: 0 0 10px #0099ff;
    display: inline-block;
}

.relume-hero-h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.14;
    color: #ffffff;
    letter-spacing: -0.035em;
    margin: 0;
}

.relume-hero-gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.relume-hero-paragraph {
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
    max-width: 620px;
}

.relume-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.25rem;
}

.relume-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #006fe6;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.65rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 111, 230, 0.32);
    border: 1px solid transparent;
}

.relume-hero-btn-primary:hover {
    background: #005ec4;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 111, 230, 0.45);
    color: #ffffff;
}

.relume-hero-btn-primary i {
    transition: transform 0.25s ease;
}

.relume-hero-btn-primary:hover i {
    transform: translateY(3px);
}

.relume-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.65rem;
    border-radius: 10px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.relume-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
}

.relume-hero-social-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.relume-stars {
    color: #f59e0b;
    font-size: 1rem;
    display: flex;
    gap: 2px;
}

.relume-proof-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

.relume-proof-text strong {
    color: #ffffff;
    font-weight: 600;
}

/* Relume Right Column - Bento Quick Navigator */
.relume-hero-card-side {
    position: relative;
    width: 100%;
}

.relume-bento-card {
    background: rgba(15, 33, 68, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.relume-bento-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.relume-bento-sublabel {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #38bdf8;
    display: block;
    margin-bottom: 0.25rem;
}

.relume-bento-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.015em;
}

.relume-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.25);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    flex-shrink: 0;
}

.relume-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

.relume-bento-tiles {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.relume-bento-tile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.relume-bento-tile:hover {
    background: rgba(0, 153, 255, 0.12);
    border-color: rgba(0, 153, 255, 0.45);
    transform: translateX(4px);
}

.bento-tile-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 153, 255, 0.15);
    border: 1px solid rgba(0, 153, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.relume-bento-tile:hover .bento-tile-icon-box {
    background: #0099ff;
    color: #ffffff;
    transform: scale(1.05);
}

.bento-tile-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bento-tile-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.bento-tile-stat {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 3px;
}

.bento-tile-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.relume-bento-tile:hover .bento-tile-arrow {
    color: #38bdf8;
    transform: translateX(3px);
}

.relume-bento-footer {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.relume-network-tag {
    color: #cbd5e1;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.relume-network-tag i {
    color: #0099ff;
}

.relume-network-banks {
    color: #94a3b8;
}

/* Bottom 4-Metric Relume Highlight Bar */
.relume-hero-stats-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 33, 68, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
}

.relume-hero-stat-card {
    flex: 1;
    text-align: center;
}

.relume-stat-number {
    display: block;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.relume-stat-text {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 4px;
}

.relume-hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .relume-hero-stats-strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .relume-hero-stat-sep {
        display: none;
    }

    .relume-hero-actions {
        width: 100%;
    }

    .relume-hero-btn-primary,
    .relume-hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   ABOUT US - PARTNERED WITH SECTION (RELUME LOGO 5 STYLE)
   ========================================================================== */
.partner-section {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: none;
    /* Removed bottom border per user request */
}

.partner-container {
    max-width: var(--max-content-width, 1440px);
    margin: 0 auto;
    padding: 0 2rem;
}

.partner-v2-container {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}

.partner-v2-left .eyebrow,
.partner-v2-left .about-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    color: #38bdf8;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0.85rem;
    line-height: 1;
}

.partner-v2-left .eyebrow i,
.partner-v2-left .about-hero-eyebrow i {
    font-size: 1.1rem;
    color: #38bdf8;
    display: inline-block;
    line-height: 1;
}

.partner-v2-left h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: #ffffff;
    font-weight: 700;
    margin: 0.5rem 0 0.85rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.partner-v2-left p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.65;
}

.partner-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.partner-v2-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
}

.partner-v2-card:hover {
    border-color: var(--color-accent);
    background: #f8f9fd;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.partner-v2-card i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 0.65rem;
    display: inline-block;
}

.partner-v2-card-icon-img {
    height: 46px;
    width: auto;
    max-width: 145px;
    object-fit: contain;
    margin: 0 auto 0.75rem;
    display: block;
    transition: transform 0.25s ease;
}

.partner-v2-card:hover .partner-v2-card-icon-img {
    transform: scale(1.08);
}

.partner-v2-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-black);
    font-weight: 700;
}

.partner-v2-card span {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    margin-top: 0.3rem;
    font-weight: 500;
}

@media (max-width: 768px) {

    .partner-v2-grid,
    .partner-v2-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SERVICES CATEGORIZATION & SECTION HEADERS (PREVIOUS DESIGN EXPANSION)
   ========================================================================== */
.relume-category-block {
    margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.relume-category-block:last-child {
    margin-bottom: 0;
}

.relume-cat-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: none;
}

.relume-cat-header-left {
    max-width: 680px;
}

.relume-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0055aa;
    background: rgba(0, 85, 170, 0.08);
    border: 1px solid rgba(0, 85, 170, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.relume-cat-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #0a1c3d;
    letter-spacing: -0.025em;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.relume-cat-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

.relume-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0a1c3d;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.relume-cat-badge i {
    color: #0099ff;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .relume-cat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
}

/* ==========================================================================
   Join Us As A Business Partner (Clarasight-Inspired Dark Blue Theme)
   ========================================================================== */
.partner-section,
.partner-hero-theme {
    background: radial-gradient(circle at 80% 25%, rgba(0, 153, 255, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #050d1e 0%, #0a1c3d 50%, #061129 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 1.5rem;
}

.partner-hero-theme {
    padding-top: clamp(6.5rem, 10vw, 8.5rem);
    padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partner-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.partner-layout-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

/* Left Content Column */
.partner-content-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Eyebrow Text (Background and border removed per request) */
.partner-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    color: #38bdf8;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
    backdrop-filter: none;
    line-height: 1;
}

.partner-pill-badge i {
    font-size: 1.1rem;
    color: #38bdf8;
}

/* Main Heading */
.partner-clarasight-title {
    font-family: var(--font-display, 'Satoshi', sans-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 1.25rem;
}

/* Subtitle */
.partner-clarasight-subtitle {
    font-size: clamp(1.02rem, 1.25vw, 1.15rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    margin: 0 0 2rem;
    font-weight: 400;
}

/* 2x2 Matrix Grid (Divider removed, placed above CTA button) */
.partner-matrix-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
    width: 100%;
    margin-top: 0;
    margin-bottom: 2.5rem;
    padding-top: 0;
    border-top: none;
}

.partner-matrix-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-matrix-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 153, 255, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.partner-matrix-icon i {
    color: #ffffff;
}

.partner-matrix-item:hover .partner-matrix-icon {
    transform: translateY(-2px) scale(1.05);
    background: rgba(0, 153, 255, 0.26);
    border-color: #38bdf8;
    color: #ffffff;
}

.partner-matrix-label {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* Contact Now Button (With magnetic flair hover animation matching other site buttons) */
.partner-action-wrap {
    display: flex;
    align-items: center;
}

.partner-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #0099ff 0%, #0072db 100%);
    color: #ffffff !important;
    padding: 0.9rem 2.25rem;
    border-radius: 999px;
    border: 1px solid #38bdf8;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-display, 'Satoshi', sans-serif);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px -4px rgba(0, 153, 255, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    --flair-fill-bg: #ffffff;
}

.partner-contact-btn .btn-flair-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    pointer-events: none;
    transition: color 0.2s ease;
}

.partner-contact-btn i {
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.partner-contact-btn:hover,
.partner-contact-btn.is-flairing {
    border-color: #ffffff;
    color: #0a1c3d !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(255, 255, 255, 0.28);
}

html:not(.sd-flair-ready) .partner-contact-btn:hover {
    background: #ffffff;
}

.partner-contact-btn:hover .btn-flair-label,
.partner-contact-btn.is-flairing .btn-flair-label {
    color: #0a1c3d !important;
}

.partner-contact-btn:hover i,
.partner-contact-btn.is-flairing i {
    transform: translateX(4px);
}

/* Right Media Card */
.partner-media-right {
    position: relative;
    display: flex;
    justify-content: center;
}

.partner-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #071530;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 25px 60px -15px rgba(0, 12, 35, 0.8), 0 0 50px rgba(0, 153, 255, 0.15);
    width: 100%;
    max-width: 520px;
}

.partner-image-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.5s ease;
}

.partner-image-card:hover img {
    transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .partner-layout-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .partner-content-left {
        align-items: center;
        text-align: center;
    }

    .partner-clarasight-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .partner-matrix-2x2 {
        text-align: left;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .partner-image-card {
        margin: 0 auto;
    }
}

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

    .partner-image-card img {
        height: 380px;
    }
}

/* ==========================================================================
   Floating WhatsApp Button & Tooltip
   ========================================================================== */
.floating-whatsapp-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    background-image: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42), 0 8px 24px rgba(4, 12, 26, 0.25);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.28s ease,
        background-color 0.2s ease;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp-icon {
    width: 34px;
    height: 34px;
    fill: #ffffff;
    display: block;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Button Hover & Focus States */
@media (hover: hover) and (pointer: fine) {
    .floating-whatsapp-btn:hover {
        transform: scale(1.08) translateY(-3px);
        box-shadow: 0 10px 28px rgba(37, 211, 102, 0.58), 0 12px 32px rgba(4, 12, 26, 0.32);
        color: #ffffff;
    }

    .floating-whatsapp-btn:hover .floating-whatsapp-icon {
        transform: scale(1.06);
    }

    .floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
    }
}

.floating-whatsapp-btn:active {
    transform: scale(0.95) translateY(0);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp-btn:focus-visible {
    outline: 3px solid #25D366;
    outline-offset: 4px;
}

.floating-whatsapp-btn:focus-visible .floating-whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Tooltip */
.floating-whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #0a1c3d;
    background: rgba(10, 28, 61, 0.96);
    color: #ffffff;
    font-family: var(--font-main, 'General Sans', 'Inter', sans-serif);
    font-size: 0.8125rem;
    /* 13px */
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.24s ease;
    z-index: 10;
}

/* Tooltip Arrow (pointing right on desktop) */
.floating-whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(10, 28, 61, 0.96);
}

/* Responsive adjustments for tablet and mobile */
@media (max-width: 768px) {
    .floating-whatsapp-btn {
        right: 18px;
        bottom: max(18px, env(safe-area-inset-bottom, 18px));
        width: 54px;
        height: 54px;
    }

    .floating-whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .floating-whatsapp-btn {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom, 16px));
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    /* On mobile, place tooltip above button to avoid clipping on left screen edge */
    .floating-whatsapp-tooltip {
        right: 0;
        top: auto;
        bottom: calc(100% + 12px);
        transform: translateY(6px);
        font-size: 0.75rem;
        padding: 6px 11px;
    }

    .floating-whatsapp-tooltip::after {
        top: 100%;
        bottom: auto;
        right: 18px;
        transform: none;
        border-width: 6px 6px 0 6px;
        border-color: rgba(10, 28, 61, 0.96) transparent transparent transparent;
    }

    @media (hover: hover) and (pointer: fine) {
        .floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
            transform: translateY(0);
        }
    }

    .floating-whatsapp-btn:focus-visible .floating-whatsapp-tooltip {
        transform: translateY(0);
    }
}

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

    .floating-whatsapp-btn,
    .floating-whatsapp-icon,
    .floating-whatsapp-tooltip {
        transition: none;
    }
}

/* ==========================================================================
   Photo Gallery & Lightbox Section (gallery.html)
   ========================================================================== */

.gallery-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
    background-color: var(--color-surface, #f8f9fd);
    position: relative;
}

.gallery-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Masonry Waterfall Layout via CSS Columns */
.gallery-masonry {
    column-count: 3;
    column-gap: 1.5rem;
    width: 100%;
}

@media (max-width: 991px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 1.25rem;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        column-count: 1;
        column-gap: 1rem;
    }
}

.gallery-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(10, 28, 61, 0.07);
    border: 1px solid rgba(10, 28, 61, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
    display: block;
    outline: none;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 111, 230, 0.16);
    border-color: rgba(0, 111, 230, 0.3);
}

.gallery-item:focus-visible {
    outline: 3px solid var(--color-accent, #006fe6);
    outline-offset: 3px;
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
    background: #eef2f7;
}

.gallery-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
}

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

/* Subtle zoom overlay cue on hover/focus */
.gallery-overlay-cue {
    position: absolute;
    inset: 0;
    background: rgba(10, 28, 61, 0.35);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-overlay-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-black, #0a1c3d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.gallery-item:hover .gallery-overlay-cue,
.gallery-item:focus-visible .gallery-overlay-cue {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay-icon,
.gallery-item:focus-visible .gallery-overlay-icon {
    transform: scale(1);
}

/* ==========================================================================
   Native <dialog> Lightbox (Accessible, Zero-caption, Keyboard & Touch Enabled)
   ========================================================================== */

dialog.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
    display: none;
    z-index: 999999;
}

dialog.gallery-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

dialog.gallery-lightbox:modal {
    overscroll-behavior: contain;
}

dialog.gallery-lightbox::backdrop {
    background: rgba(5, 12, 28, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    overscroll-behavior: contain;
}

.lightbox-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.5rem);
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 88vh;
    z-index: 10;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.3);
}

.lightbox-img.fade-out {
    opacity: 0;
    transform: scale(0.97);
}

/* Lightbox Action Controls */
.lightbox-btn {
    position: fixed;
    z-index: 100;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.08);
}

.lightbox-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    top: 24px;
    right: 28px;
}

.lightbox-nav-prev {
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav-prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-next {
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav-next:hover {
    transform: translateY(-50%) scale(1.08);
}

/* Counter Badge (Accessible Minimal Indicator) */
.lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 28, 61, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.04em;
    z-index: 100;
}

/* Mobile & Tablet Lightbox Refinements */
@media (max-width: 768px) {
    .lightbox-btn {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
    }

    .lightbox-nav-prev {
        left: 12px;
    }

    .lightbox-nav-next {
        right: 12px;
    }

    .lightbox-img {
        max-width: 94vw;
        max-height: 80vh;
    }

    .lightbox-counter {
        bottom: 16px;
        font-size: 0.8rem;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    .lightbox-nav-prev,
    .lightbox-nav-next {
        background: rgba(0, 0, 0, 0.45);
    }
}

/* ==========================================================================
   Photo Gallery & Lightbox Section (gallery.html)
   ========================================================================== */

.gallery-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
    background-color: var(--color-surface, #f8f9fd);
    position: relative;
}

.gallery-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Masonry Waterfall Layout via CSS Columns */
.gallery-masonry {
    column-count: 3;
    column-gap: 1.5rem;
    width: 100%;
}

@media (max-width: 991px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 1.25rem;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        column-count: 1;
        column-gap: 1rem;
    }
}

.gallery-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(10, 28, 61, 0.07);
    border: 1px solid rgba(10, 28, 61, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
    display: block;
    outline: none;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 111, 230, 0.16);
    border-color: rgba(0, 111, 230, 0.3);
}

.gallery-item:focus-visible {
    outline: 3px solid var(--color-accent, #006fe6);
    outline-offset: 3px;
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
    background: #eef2f7;
}

.gallery-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
}

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

/* Subtle zoom overlay cue on hover/focus */
.gallery-overlay-cue {
    position: absolute;
    inset: 0;
    background: rgba(10, 28, 61, 0.35);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-overlay-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-black, #0a1c3d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.gallery-item:hover .gallery-overlay-cue,
.gallery-item:focus-visible .gallery-overlay-cue {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay-icon,
.gallery-item:focus-visible .gallery-overlay-icon {
    transform: scale(1);
}

/* ==========================================================================
   Native <dialog> Lightbox (Accessible, Zero-caption, Keyboard & Touch Enabled)
   ========================================================================== */

dialog.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
    display: none;
    z-index: 999999;
}

dialog.gallery-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

dialog.gallery-lightbox:modal {
    overscroll-behavior: contain;
}

dialog.gallery-lightbox::backdrop {
    background: rgba(5, 12, 28, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    overscroll-behavior: contain;
}

.lightbox-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.5rem);
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 88vh;
    z-index: 10;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: opacity 0.22s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0, 0, 0, 0.3);
}

.lightbox-img.fade-out {
    opacity: 0;
    transform: scale(0.97);
}

/* Lightbox Action Controls */
.lightbox-btn {
    position: fixed;
    z-index: 100;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.08);
}

.lightbox-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    top: 24px;
    right: 28px;
}

.lightbox-nav-prev {
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav-prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-next {
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav-next:hover {
    transform: translateY(-50%) scale(1.08);
}

/* Counter Badge (Accessible Minimal Indicator) */
.lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 28, 61, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.04em;
    z-index: 100;
}

/* Mobile & Tablet Lightbox Refinements */
@media (max-width: 768px) {
    .lightbox-btn {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
    }

    .lightbox-nav-prev {
        left: 12px;
    }

    .lightbox-nav-next {
        right: 12px;
    }

    .lightbox-img {
        max-width: 94vw;
        max-height: 80vh;
    }

    .lightbox-counter {
        bottom: 16px;
        font-size: 0.8rem;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    .lightbox-nav-prev,
    .lightbox-nav-next {
        background: rgba(0, 0, 0, 0.45);
    }
}
