/* ============================================================
   NEPTUNE ELEVATORS v2.0 — HOMEPAGE STYLES
   Hero, Stats, About, Features, Products, Testimonial, FAQ, CTA
   Clean corporate design — no glow effects, no AI-looking quirks
   ============================================================ */

/* ============================================================
   SECTION 1: HERO
   Full viewport, clean typography, solid overlays
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-950);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 147, 204, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(74, 122, 184, 0.1) 0%, transparent 40%);
    z-index: 3;
    pointer-events: none;
    animation: heroMesh 12s ease-in-out infinite alternate;
}

@keyframes heroMesh {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

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

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s var(--ease-smooth);
    z-index: 1;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 2;
}

.hero-slide.is-active .hero-bg-img {
    animation: heroZoom 8s var(--ease-smooth) forwards;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform, opacity;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    /* Keep the text zone dark across changing slide imagery. */
    background:
        linear-gradient(90deg, rgba(5, 10, 20, 0.94) 0%, rgba(5, 10, 20, 0.76) 42%, rgba(5, 10, 20, 0.34) 78%, rgba(5, 10, 20, 0.58) 100%),
        linear-gradient(180deg, rgba(5, 10, 20, 0.62) 0%, rgba(5, 10, 20, 0.18) 45%, rgba(5, 10, 20, 0.78) 100%);
    z-index: 2;
}

/* Noise texture on hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    /* Was space-24 (96px) top/bottom, which — stacked with the label, title,
       subtitle, quicklinks, CTAs and trust strip below — pushed the whole
       hero well past one screen's height on desktop, and far past it on
       mobile where the same spacing was never reduced. */
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.hero-inner {
    max-width: 900px;
    padding: var(--space-8) var(--space-10);
    border-left: 3px solid var(--accent-primary);
    background: rgba(5, 10, 20, 0.24);
    text-shadow: 0 2px 14px rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(2px);
}

.hero-label {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.hero-label .section-label {
    /* Base .section-label is 11-12px with 0.2em letter-spacing — too small
       and, on this dark hero background, too low-contrast to read comfortably.
       Bumped size/weight and switched to the brighter blue for legibility. */
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--gold-400);
    text-shadow: 0 1px 6px rgba(5, 10, 20, 0.6);
}

.hero-label .gold-line {
    background: linear-gradient(90deg, var(--gold-500), transparent);
    width: 80px;
}

.hero-title {
    font-size: var(--text-hero);
    font-weight: var(--font-black);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: #FFFFFF;
    margin-bottom: var(--space-6);
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(5, 10, 20, 0.5), 0 1px 3px rgba(5, 10, 20, 0.4);
}

.hero-title br {
    display: none;
}

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

.hero-subtitle {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: #F5F3EF;
    max-width: 640px;
    margin-bottom: var(--space-10);
    text-shadow: 0 1px 8px rgba(5, 10, 20, 0.5);
}

.hero-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.hero-quicklink {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-5);
    border: 1px solid rgba(232, 228, 220, 0.35);
    border-radius: var(--radius-full, 999px);
    background: rgba(5, 10, 20, 0.3);
    color: #F5F3EF;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-wide);
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background var(--duration-base) var(--ease-smooth),
                border-color var(--duration-base) var(--ease-smooth),
                transform var(--duration-base) var(--ease-smooth);
}

.hero-quicklink:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-on-dark);
    transform: translateY(-2px);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero-cta .btn-lg {
    padding: var(--space-4) var(--space-8);
}

/* The outline "Call" button's default blue border/text (--border-gold is a
   low-opacity blue, --accent-primary a mid-tone blue) reads fine on the
   light cta-section backgrounds it's used on elsewhere, but doesn't have
   enough contrast against a photo. Lighten it here specifically. */
.hero-cta .btn-gold-outline {
    background: rgba(5, 10, 20, 0.35);
    border-color: rgba(245, 243, 239, 0.75);
    color: #FFFFFF;
    backdrop-filter: blur(4px);
}

.hero-cta .btn-gold-outline:hover {
    background: rgba(245, 243, 239, 0.15);
    border-color: #FFFFFF;
    box-shadow: none;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
    font-size: var(--text-sm);
    color: #D8D3C8;
    text-shadow: 0 1px 6px rgba(5, 10, 20, 0.6);
}

.hero-trust strong {
    color: var(--accent-primary);
    font-weight: var(--font-bold);
}

.hero-trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(232, 228, 220, 0.4);
    flex-shrink: 0;
}

/* Scroll Indicator */
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    opacity: 0.6;
}

.hero-scroll-text {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: var(--border-default);
    position: relative;
    overflow: hidden;
}

.hero-scroll-dot {
    width: 1px;
    height: 16px;
    background: var(--accent-primary);
    position: absolute;
    top: 0;
    animation: scrollPulse 2s var(--ease-in-out) infinite;
}

.hero-slider-dots {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 5;
}

.hero-slider-dot {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: background var(--duration-normal) var(--ease-out);
}

.hero-slider-dot.is-active {
    background: var(--accent-primary);
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 767px) {
    .hero-slider-dots {
        bottom: var(--space-6);
    }

    .hero-slider-dot {
        width: 28px;
    }

    /* The desktop spacing below (same on every screen size until now) made
       the hero run far taller than the viewport on phones, pushing the
       trust strip / call button area down past the fold. Compact it. */
    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding-top: var(--space-10);
        padding-bottom: var(--space-10);
    }

    .hero-inner {
        padding: var(--space-6) var(--space-5);
    }

    .hero-label {
        margin-bottom: var(--space-4);
    }

    .hero-title {
        margin-bottom: var(--space-4);
    }

    .hero-subtitle {
        margin-bottom: var(--space-6);
    }

    .hero-quicklinks {
        gap: var(--space-2);
        margin-bottom: var(--space-5);
    }

    .hero-cta {
        margin-bottom: var(--space-5);
    }

    .hero-trust {
        margin-bottom: var(--space-4);
    }

    /* Decorative only — the first thing to go when space is tight. */
    .hero-scroll {
        display: none;
    }
}

@keyframes scrollPulse {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(200%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-dot {
        animation: none;
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================================
   SECTION 2: STATS / TRUST SIGNALS
   Clean counter numbers with gold accent lines
   ============================================================ */

.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-12);
    }
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-black);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--space-3);
    overflow-wrap: break-word;
}

.stat-suffix {
    color: var(--accent-primary);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.stat-line {
    width: 40px;
    height: 2px;
    background: var(--accent-primary);
    margin: 0 auto;
    opacity: 0.5;
}

/* ============================================================
   SECTION 3: ABOUT
   Asymmetric 2-column layout
   ============================================================ */

.about-section {
    background: var(--bg-primary);
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-16);
    }
}

.about-content {
    max-width: 600px;
}

.about-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.about-body {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.about-body p {
    margin-bottom: var(--space-4);
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.about-cta {
    margin-top: var(--space-4);
}

/* ============================================================
   SECTION 3A: KERALA HOME LIFTS
   ============================================================ */
.kerala-home-lifts {
    background: var(--navy-900);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.kerala-home-lifts .content-body ul {
    margin: var(--space-6) 0;
    padding-left: var(--space-6);
}

.kerala-home-lifts .content-body li {
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
}

.kerala-visual-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-default);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-6);
}

.kerala-visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kerala-visual {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    padding: var(--space-8);
}

.kerala-visual-badge {
    text-align: center;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
}

.kerala-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.kerala-visual-item {
    text-align: center;
    padding: var(--space-5);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
}

.kerala-visual-number {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.kerala-visual-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-normal);
}

[data-theme="light"] .kerala-home-lifts {
    background: var(--warm-100);
}

[data-theme="light"] .kerala-visual {
    background: var(--warm-50);
}

[data-theme="light"] .kerala-visual-item {
    background: #FFFFFF;
}

@media (max-width: 767px) {
    .kerala-visual-grid {
        grid-template-columns: 1fr;
    }

    .kerala-visual {
        margin-top: var(--space-8);
    }
}

/* About Image Grid */
.about-images {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-4);
    height: 500px;
}

.about-image-wrap {
    border-radius: var(--radius-default);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-subtle);
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    transition: border-color var(--duration-normal) var(--ease-out);
    pointer-events: none;
}

.about-image-wrap:hover::after {
    border-color: var(--border-gold);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.about-image-wrap:hover .about-img {
    transform: scale(1.03);
}

.about-img-main {
    grid-row: span 2;
}

.about-img-secondary {
    grid-row: span 1;
}

@media (max-width: 767px) {
    .about-images {
        height: 350px;
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   SECTION 3B: SERVICES — icon strip (no card boxes)
   ============================================================ */

.service-strip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

@media (min-width: 768px) {
    .service-strip {
        flex-direction: row;
        align-items: flex-start;
    }
}

.service-strip-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
}

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

@media (min-width: 768px) {
    .service-strip-item {
        border-bottom: none;
        border-left: 1px solid var(--border-subtle);
    }

    .service-strip-item:first-child {
        border-left: none;
    }
}

.service-strip-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    color: var(--accent-primary);
}

.service-strip-item h3 {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0;
}

.service-strip-item p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
    margin: 0;
    max-width: 240px;
}

/* ============================================================
   SECTION 3C: PROCESS — numbered timeline
   ============================================================ */

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

@media (min-width: 768px) {
    .process-timeline {
        flex-direction: row;
        gap: 0;
    }
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-4);
    padding: 0 var(--space-5);
}

.process-step-circle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
    flex-shrink: 0;
    z-index: 1;
}

@media (min-width: 768px) {
    .process-step:not(.process-step-last) .process-step-circle::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 100%;
        width: calc(100% + var(--space-10));
        height: 2px;
        background: var(--border-gold);
        transform: translateY(-50%);
    }
}

.process-step h3 {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0;
}

.process-step p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
    margin: 0;
    max-width: 240px;
}

/* ============================================================
   SECTION 4B: WHY NEPTUNE — compact advantage pills
   ============================================================ */

.advantage-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

.advantage-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full, 999px);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    background: var(--bg-primary);
    cursor: default;
    transition: border-color var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.advantage-pill:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.advantage-pill svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* ============================================================
   SECTION 4: FEATURES / BENEFITS
   Two-column layout: list + image
   ============================================================ */

.features-section {
    background: var(--bg-secondary);
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
    border-top: 1px solid var(--border-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.features-content {
    max-width: 600px;
}

.features-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.features-intro {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.feature-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.feature-item:hover {
    border-color: var(--border-subtle);
    box-shadow: none;
    transform: none;
}

.features-list .feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin-top: 3px;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--accent-primary);
}

.feature-text h3 {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.feature-text p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
    margin: 0;
}

.features-image {
    position: relative;
    border-radius: var(--radius-default);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    aspect-ratio: 4 / 3;
}

.features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   SECTION 5: PRODUCTS PREVIEW
   Clean card grid with sharp borders
   ============================================================ */

.products-section {
    background: var(--bg-primary);
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
    border-top: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-16);
}

.section-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.section-subheading {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.section-header .gold-line-lg {
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

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

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

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-slow) var(--ease-out);
}

.product-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md), var(--shadow-gold);
    transform: translateY(-4px);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

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

.product-card-body {
    padding: var(--space-6);
}

.product-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    text-wrap: balance;
}

.product-card-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.product-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--accent-primary);
    transition: gap var(--duration-normal) var(--ease-out);
}

.product-card:hover .product-card-arrow {
    gap: var(--space-3);
}

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

/* ============================================================
   SECTION 6: TESTIMONIAL
   Clean quote styling, no decorative borders
   ============================================================ */

.testimonial-section {
    background: var(--bg-secondary);
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
    position: relative;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--border-gold);
}

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

.testimonial-quote-mark {
    color: var(--accent-primary);
    opacity: 0.3;
    margin-bottom: var(--space-6);
}

.testimonial-quote {
    font-size: var(--text-xl);
    font-style: italic;
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    margin-bottom: var(--space-8);
}

.testimonial-quote p {
    margin: 0;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--border-subtle);
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-name {
    display: block;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    font-style: normal;
    color: var(--text-primary);
}

.testimonial-role {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ============================================================
   SECTION 7: FAQ
   Minimal accordion
   ============================================================ */

.faq-section {
    background: var(--bg-primary);
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
    border-top: 1px solid var(--border-subtle);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    background: var(--bg-secondary);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--text-primary);
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-out);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--duration-normal) var(--ease-out);
    color: var(--text-muted);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
    padding: 0 var(--space-5) var(--space-5);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

.faq-answer-inner p {
    margin: 0;
}

/* ============================================================
   SECTION 8: CTA BANNER
   Full-width call-to-action with solid background
   ============================================================ */

.cta-section {
    background: var(--navy-900);
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-content {
    max-width: 600px;
}

.cta-heading {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    text-wrap: balance;
}

.cta-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 767px) {
    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-cta .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .hero-quicklink {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }

    .hero-trust {
        font-size: var(--text-xs);
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

    .about-heading,
    .section-heading,
    .features-heading,
    .cta-heading {
        font-size: var(--text-2xl);
    }

    .testimonial-quote {
        font-size: var(--text-lg);
    }

    .feature-item {
        flex-direction: column;
        gap: var(--space-3);
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */

[data-theme="light"] .hero-bg-overlay {
    background:
        linear-gradient(90deg, rgba(5, 10, 20, 0.9) 0%, rgba(5, 10, 20, 0.7) 42%, rgba(5, 10, 20, 0.3) 78%, rgba(5, 10, 20, 0.52) 100%),
        linear-gradient(180deg, rgba(5, 10, 20, 0.58) 0%, rgba(5, 10, 20, 0.16) 45%, rgba(5, 10, 20, 0.72) 100%);
}

[data-theme="light"] .hero {
    background: var(--warm-50);
}

[data-theme="light"] .cta-section {
    background: var(--warm-100);
}

/* inner-pages.css gives .feature-item a card background in light mode
   (shared with blog-card/gallery-item/faq-item on other pages); the
   homepage's "Why choose Neptune" list is a plain checklist, not a card,
   so it needs a higher-specificity override to win regardless of load order. */
[data-theme="light"] .features-list .feature-item {
    background: none;
}

/* ============================================================
   VISUAL REFRESH (v2)
   Rounded, layered, photo-forward — same content and palette.
   Kept as one block at the end so it can be diffed against the
   `design-v1` tag (or removed) without touching the rules above.
   ============================================================ */

/* ---------- Hero: inset rounded window, scrim instead of boxed panel ---------- */

.hero {
    margin: 0 var(--refresh-gutter);
    border-radius: var(--refresh-hero-radius);
    min-height: clamp(620px, calc(100vh - 210px), 780px);
    isolation: isolate;
}

.hero-bg-overlay,
[data-theme="light"] .hero-bg-overlay {
    background:
        linear-gradient(90deg, rgba(5, 10, 20, 0.86) 0%, rgba(5, 10, 20, 0.62) 42%, rgba(5, 10, 20, 0.08) 78%),
        linear-gradient(0deg, rgba(5, 10, 20, 0.45) 0%, rgba(5, 10, 20, 0) 40%);
}

.hero-content {
    padding-top: var(--space-12);
    padding-bottom: calc(var(--space-16) + 40px);
}

.hero-inner {
    max-width: 760px;
    padding: 0;
    border-left: 0;
    background: none;
    backdrop-filter: none;
    text-shadow: none;
}

.hero-label {
    display: inline-flex;
    gap: var(--space-3);
    padding: 9px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    margin-bottom: var(--space-6);
}

.hero-label::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4FC3F0;
    flex-shrink: 0;
}

.hero-label .gold-line {
    display: none;
}

.hero-label .section-label {
    font-size: var(--text-xs);
    letter-spacing: 0.16em;
    color: #FFFFFF;
    text-shadow: none;
}

.hero-title {
    font-size: clamp(3.25rem, 6vw + 1rem, 6.5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-shadow: none;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    text-shadow: none;
    margin-bottom: var(--space-8);
}

.hero-quicklink {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(8px);
}

.hero-cta {
    align-items: center;
}

.hero-cta .btn-lg {
    min-height: 56px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--space-7);
}

.hero-cta .btn-gold-outline {
    padding-right: var(--space-7);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
}

.hero-cta .btn-primary {
    --btn-pr: 9px;
    padding-right: 9px;
}

.hero-scroll {
    display: none;
}

.hero-slider-dots {
    left: auto;
    right: var(--space-12);
    bottom: var(--space-10);
    transform: none;
    gap: var(--space-2);
}

.hero-slider-dot {
    width: 44px;
    height: 6px;
    border-radius: 6px;
}

.hero-slider-dot.is-active {
    background: #FFFFFF;
}

/* ---------- Stats: floating card overlapping the hero edge ---------- */

.stats-section {
    background: transparent;
    border: 0;
    padding: 0;
    margin-top: -64px;
    position: relative;
    z-index: 5;
}

.stats-section .container {
    max-width: 1240px;
}

.stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: var(--space-8) 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
}

.stat-item {
    padding: 0 var(--space-4);
}

.stat-item + .stat-item {
    border-left: 1px solid var(--border-subtle);
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-2);
}

.stat-label {
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.stat-line {
    display: none;
}

/* ---------- About: intentional three-photo composition ---------- */

.about-section {
    padding-top: var(--space-28);
}

.about-images {
    display: block;
    position: relative;
    height: 640px;
}

.about-images::before {
    content: '';
    position: absolute;
    right: -24px;
    top: 36px;
    width: 72%;
    height: 88%;
    border-radius: var(--radius-2xl);
    background: var(--bg-tertiary);
}

.about-image-wrap {
    position: absolute;
    z-index: 1;
    border: 0;
    border-radius: 32px;
    box-shadow: var(--shadow-float);
}

.about-image-wrap:nth-child(1) {
    left: 0;
    top: 0;
    width: 62%;
    height: 82%;
}

.about-image-wrap:nth-child(2) {
    right: 0;
    top: 8%;
    width: 50%;
    height: 52%;
    border: 8px solid var(--bg-primary);
}

.about-image-wrap:nth-child(3) {
    left: 36%;
    bottom: 0;
    width: 44%;
    height: 34%;
    border: 8px solid var(--bg-primary);
    border-radius: 28px;
}

.about-image-wrap::after {
    display: none;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.about-feature-item {
    gap: var(--space-3);
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
}

.about-feature-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-glow);
}

.about-feature-icon svg {
    width: 14px;
    height: 14px;
}

/* ---------- Section rhythm: alternate tones, no hairline borders ---------- */

#services,
.features-section,
.products-section,
.testimonial-section,
.faq-section {
    background: var(--bg-primary);
    border: 0;
}

#process,
#why-neptune,
#projects,
section[aria-label="Common home lift issues"] {
    background: var(--bg-secondary);
    border: 0;
}

/* ---------- Kerala: large rounded panel, stats card overlapping the photo ---------- */

.kerala-home-lifts {
    margin: var(--space-20) var(--refresh-gutter) 0;
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
    border: 0;
    border-radius: var(--refresh-panel-radius);
}

.kerala-visual-image {
    aspect-ratio: 5 / 4;
    border: 0;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
    margin-bottom: 0;
}

.kerala-visual {
    position: relative;
    z-index: 2;
    width: min(360px, 90%);
    margin: -56px 0 0 -40px;
    padding: var(--space-5) var(--space-6) var(--space-6);
    border: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
}

.kerala-visual-badge {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
}

.kerala-visual-grid {
    gap: var(--space-4);
}

.kerala-visual-item {
    padding: 0;
    background: transparent;
    border: 0;
}

.kerala-visual-number {
    font-size: var(--text-2xl);
}

/* ---------- Services: one rounded card ---------- */

.service-strip {
    padding: var(--space-10) var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--space-12);
}

section[aria-label="Common home lift issues"] .service-strip {
    background: var(--bg-primary);
    box-shadow: none;
}

.service-strip-icon {
    width: 68px;
    height: 68px;
}

/* ---------- Photos: bigger radius ---------- */

.features-image {
    border: 0;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
}

/* ---------- Product & project cards ---------- */

.product-card {
    padding: var(--space-3) var(--space-3) var(--space-6);
    background: var(--bg-secondary);
    border: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.product-card:hover {
    border: 0;
    box-shadow: var(--shadow-float);
    transform: translateY(-6px);
}

#projects .product-card {
    background: var(--bg-primary);
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-image {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-default);
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-6) var(--space-4) 0;
}

.product-card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.25;
}

.product-card-desc {
    flex: 1;
}

.product-card-arrow {
    align-self: flex-start;
}

/* A lone last card in a 3-up grid sits centred instead of stranded left. */
@media (min-width: 1024px) {
    .products-grid > .product-card:last-child:nth-child(3n + 1) {
        grid-column: 2;
    }
}

.product-card-arrow {
    font-weight: 700;
}

.product-card-arrow svg {
    box-sizing: content-box;
    width: 14px;
    height: 14px;
    padding: 8px;
    border-radius: 50%;
    background: var(--accent-glow);
}

/* ---------- Testimonial: raised card, quote badge on its edge ---------- */

.testimonial-section {
    padding-top: var(--space-28);
}

.testimonial-section::before {
    display: none;
}

.testimonial-inner {
    position: relative;
    max-width: 1000px;
    padding: var(--space-16) var(--space-16) var(--space-12);
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
}

.testimonial-quote-mark {
    position: absolute;
    left: 50%;
    top: -32px;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: #FFFFFF;
    opacity: 1;
    box-shadow: 0 14px 28px -10px rgba(0, 129, 178, 0.6);
}

.testimonial-quote-mark svg {
    width: 26px;
    height: 26px;
}

.testimonial-quote {
    font-size: var(--text-3xl);
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.015em;
}

.testimonial-author {
    padding: 10px 26px 10px 10px;
    background: var(--bg-primary);
    border-radius: var(--radius-full);
}

/* ---------- FAQ: roomy rounded rows with a disc chevron ---------- */

.faq-list {
    max-width: 860px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.faq-question {
    min-height: 68px;
    padding: 0 var(--space-4) 0 var(--space-7);
    font-size: var(--text-lg);
    font-weight: 600;
}

.faq-question svg {
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    padding: 11px;
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.faq-item.open {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.faq-item.open .faq-question svg {
    background: var(--accent-primary);
    color: #FFFFFF;
}

.faq-answer-inner {
    padding: 0 var(--space-7) var(--space-6);
    font-size: var(--text-base);
}

/* ---------- Closing CTA: inset rounded panel ---------- */

.cta-section {
    margin: 0 var(--refresh-gutter) var(--space-24);
    padding: var(--space-20) var(--space-10);
    border: 0;
    border-radius: var(--refresh-panel-radius);
    overflow: hidden;
}

.cta-section::before {
    background-image: radial-gradient(circle at 96% 0%, rgba(0, 129, 178, 0.13), rgba(0, 129, 178, 0) 50%);
    opacity: 1;
}

.cta-heading {
    font-size: var(--text-4xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.cta-actions .btn:not(.btn-primary) {
    border: 1.5px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
    .hero {
        min-height: 0;
    }

    .hero-content {
        padding-top: var(--space-16);
        padding-bottom: calc(var(--space-10) + 32px);
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .hero-slider-dots {
        display: none;
    }

    .stats-section {
        margin-top: -32px;
    }

    .stats-section .container {
        padding-left: var(--space-5);
        padding-right: var(--space-5);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--space-2) 0;
    }

    .stat-item {
        padding: var(--space-5) var(--space-3);
    }

    .stat-item + .stat-item {
        border-left: 0;
    }

    .stat-item:nth-child(even) {
        border-left: 1px solid var(--border-subtle);
    }

    .stat-item:nth-child(n + 3) {
        border-top: 1px solid var(--border-subtle);
    }

    .stat-number {
        font-size: var(--text-4xl);
    }

    .about-section {
        padding-top: var(--space-20);
    }

    .about-images {
        height: 440px;
    }

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

    .kerala-home-lifts {
        margin-top: var(--space-12);
        padding-top: var(--space-16);
        padding-bottom: var(--space-16);
    }

    .kerala-visual {
        width: 100%;
        margin: var(--space-4) 0 0;
    }

    .testimonial-inner {
        padding: var(--space-12) var(--space-6) var(--space-8);
    }

    .testimonial-quote {
        font-size: var(--text-xl);
    }

    .faq-question {
        padding-left: var(--space-5);
        font-size: var(--text-base);
    }

    .cta-section {
        padding: var(--space-12) var(--space-6);
        margin-bottom: var(--space-16);
    }
}

/* ============================================================
   MOBILE BANNER — OPTION B: "lean overlay"
   Phones only (<768px). Keeps the full-photo banner but disciplines the
   text stack: one-line label, smaller type, one swipeable pill row, both
   buttons on one row, and the shade concentrated in the bottom half so
   the top of the photo stays clear. Same markup and copy as desktop.
   ============================================================ */

@media (max-width: 767px) {
    .hero {
        min-height: 600px;
        align-items: flex-end;
    }

    .hero-bg-overlay,
    [data-theme="light"] .hero-bg-overlay {
        background: linear-gradient(0deg, rgba(5, 10, 20, 0.93) 0%, rgba(5, 10, 20, 0.86) 50%, rgba(5, 10, 20, 0.6) 63%, rgba(5, 10, 20, 0) 80%);
    }

    /* A phone shows ~28% of the landscape photo's width; centre-cropping
       lands on empty wall, so aim each slide at its lift. */
    .hero-slide:nth-child(1) .hero-bg-img { object-position: 88% 50%; }
    .hero-slide:nth-child(2) .hero-bg-img { object-position: 78% 50%; }
    .hero-slide:nth-child(3) .hero-bg-img { object-position: 66% 50%; }

    .hero-content {
        padding-top: 0;
        padding-bottom: 50px; /* clears the stats card that overlaps the bottom edge */
    }

    .hero-content .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 11px;
    }

    .hero-label {
        align-self: flex-start;
        max-width: 100%;
        margin: 0;
        padding: 8px 13px;
    }

    .hero-label .section-label {
        font-size: 9.5px;
        letter-spacing: 0.1em;
        line-height: 1.4;
        text-wrap: balance;
    }

    .hero-title {
        margin: 0;
        font-size: min(2.9rem, calc((100vw - 60px) / 7));
        line-height: 1;
        text-shadow: 0 2px 14px rgba(5, 10, 20, 0.55);
    }

    .hero-subtitle {
        margin: 0;
        max-width: none;
        font-size: 14px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 10px rgba(5, 10, 20, 0.85), 0 0 2px rgba(5, 10, 20, 0.5);
    }

    /* One swipeable row instead of two wrapped rows; bleeds to the card edge. */
    .hero-quicklinks {
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0 -18px 0 0;
        padding-right: 18px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
        mask-image: linear-gradient(90deg, #000 90%, transparent);
    }

    .hero-quicklinks::-webkit-scrollbar {
        display: none;
    }

    .hero-quicklink {
        flex-shrink: 0;
        height: 32px;
        padding: 0 14px;
        font-size: 12px;
        font-weight: 600;
        background: rgba(5, 10, 20, 0.5);
        border-color: rgba(255, 255, 255, 0.34);
    }

    .hero-cta .btn-gold-outline {
        background: rgba(5, 10, 20, 0.5);
        border-color: rgba(255, 255, 255, 0.6);
    }

    .hero-cta {
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
        margin: 3px 0 0;
    }

    .hero-cta .btn-lg {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        min-height: 52px;
        padding: 0 10px;
        font-size: 12.5px;
        letter-spacing: 0.06em;
        white-space: nowrap;
    }

    .hero-cta .btn-primary {
        flex-grow: 1.15;
    }

    .hero-cta .btn-primary > svg {
        display: none;
    }
}

/* Shorter banner on shorter screens so both buttons stay above the fold. */
@supports (height: 1svh) {
    @media (max-width: 767px) {
        .hero {
            min-height: clamp(540px, calc(100svh - 100px), 600px);
        }
    }
}

/* Smaller phones: tighten the button labels so both still share a row;
   below 340px stack them rather than squeeze the labels further. */
@media (max-width: 380px) {
    .hero-cta .btn-lg {
        padding: 0 8px;
        font-size: 12px;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 339px) {
    .hero-cta {
        flex-direction: column;
    }
}
