/**
 * Mannan Transport — inspired theme
 * Navy + amber logistics branding (reference: mannantransport.com)
 */

body.theme-alt {
    --primary: #e8a317;
    --primary-dark: #c9890d;
    --accent: #f5c542;
    --ink: #0a1628;
    --navy: #0f1f35;
    --text: #334155;
    --muted: #64748b;
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f7f8fa;
    --line: rgba(10, 22, 40, 0.08);
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.05);
    --shadow-md: 0 10px 32px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 24px 60px rgba(10, 22, 40, 0.12);
    --font-body: 'Montserrat', system-ui, sans-serif;
    --font-display: 'Montserrat', system-ui, sans-serif;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
}

body.theme-alt h1,
body.theme-alt h2,
body.theme-alt h3,
body.theme-alt h4,
body.theme-alt .hero-h1 {
    font-family: var(--font-display);
}

/* ─── HEADER: navy bar (logo is white) ─── */
body.theme-alt .header-wrapper {
    background: rgba(10, 22, 40, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 28px rgba(10, 22, 40, 0.25);
}

body.theme-alt .header-wrapper.scrolled,
body.theme-alt .header-wrapper.header-transparent {
    background: rgba(10, 22, 40, 0.98);
}

body.theme-alt .top-bar {
    display: none;
}

body.theme-alt .nav-container {
    width: min(1200px, 92%);
    height: 78px;
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

body.theme-alt .header-wrapper.scrolled .nav-container {
    height: 68px;
    margin-top: 0;
    background: transparent;
    box-shadow: none;
}

body.theme-alt .brand-logo-wrap {
    width: 220px;
    height: 64px;
    border-radius: 0;
    background: transparent;
}

body.theme-alt .brand-logo {
    max-height: 62px;
    width: auto;
    object-fit: contain;
    filter: none;
}

body.theme-alt .nav-item {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.88rem;
    opacity: 1;
}

body.theme-alt .header-wrapper.scrolled .nav-item {
    color: rgba(255, 255, 255, 0.9);
}

body.theme-alt .nav-item::after {
    background: var(--primary);
    height: 2px;
}

body.theme-alt .nav-item:hover,
body.theme-alt .nav-item.active {
    color: var(--primary);
    opacity: 1;
}

/* ─── NAV DROPDOWNS (Mannan-style) ─── */
body.theme-alt .nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

body.theme-alt .nav-dropdown-toggle {
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 8px 2px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.88rem;
    height: auto;
}

body.theme-alt .nav-dropdown-toggle:hover,
body.theme-alt .nav-dropdown-toggle.active {
    color: var(--primary);
}

body.theme-alt .nav-caret {
    transition: transform 0.25s ease;
    opacity: 0.85;
}

body.theme-alt .nav-dropdown:hover .nav-caret,
body.theme-alt .nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

body.theme-alt .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 260px;
    padding: 0.35rem 0;
    background: #f4f5f7;
    border-radius: 4px;
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1300;
}

body.theme-alt .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

body.theme-alt .nav-dropdown:hover .nav-dropdown-menu,
body.theme-alt .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.theme-alt .nav-dropdown-menu a {
    display: block;
    padding: 0.85rem 1.2rem;
    color: #222;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

body.theme-alt .nav-dropdown-menu a:last-child {
    border-bottom: none;
}

body.theme-alt .nav-dropdown-menu a:hover {
    background: #fff;
    color: var(--primary-dark, #c9890d);
    padding-left: 1.4rem;
}

body.theme-alt .nav-links .btn-primary {
    border-radius: 4px;
    background: var(--primary);
    color: var(--ink);
    box-shadow: none;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.theme-alt .nav-links .btn-primary::after {
    display: none;
}

body.theme-alt .nav-links .btn-primary:hover {
    background: var(--accent);
    color: var(--ink);
    transform: translateY(-1px);
}

body.theme-alt .nav-socials {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.35rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

body.theme-alt .nav-social-link {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.theme-alt .nav-social-link img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

body.theme-alt .nav-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--ink);
    transform: translateY(-1px);
}

body.theme-alt .mannan-menu-toggle {
    background: var(--primary);
    border-radius: 6px;
    color: var(--ink);
}

@media (max-width: 992px) {
    body.theme-alt .nav-socials {
        margin: 0.75rem 0 0;
        padding: 0.85rem 0 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        width: 100%;
        justify-content: flex-start;
    }

    body.theme-alt .mannan-mobile-menu {
        background: var(--ink);
    }

    body.theme-alt .mannan-mobile-menu .nav-item {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.08);
    }

    body.theme-alt .mannan-mobile-menu .nav-item.active,
    body.theme-alt .mannan-mobile-menu .nav-item:hover {
        color: var(--primary) !important;
        background: rgba(232, 163, 23, 0.12);
        border-color: rgba(232, 163, 23, 0.3);
    }

    body.theme-alt .nav-dropdown {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    body.theme-alt .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        min-height: 56px;
        padding: 0 20px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #fff !important;
    }

    body.theme-alt .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        min-width: 0;
        width: 100%;
        margin-top: 8px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 0.25rem 0;
    }

    body.theme-alt .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    body.theme-alt .nav-dropdown-menu a {
        color: rgba(255, 255, 255, 0.85);
        border-bottom-color: rgba(255, 255, 255, 0.08);
        white-space: normal;
    }

    body.theme-alt .nav-dropdown-menu a:hover {
        background: rgba(232, 163, 23, 0.12);
        color: var(--primary);
        padding-left: 1.2rem;
    }
}

/* ─── HOME HERO: cinematic Framer-style journey ─── */
body.theme-alt .hero-section {
    min-height: auto;
    background: var(--bg);
}

body.theme-alt .hero-section.inner-hero {
    --inner-hero-h: min(52svh, 560px);
    min-height: var(--inner-hero-h);
    height: auto;
    max-height: none;
    overflow: hidden;
}

/* About Us: show the full truck photo (no crop) */
body.theme-alt[data-page="about"] .hero-section.inner-hero {
    --inner-hero-h: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    background: #0a1628;
}

body.theme-alt[data-page="about"] .hero-bg-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #0a1628;
}

body.theme-alt[data-page="about"] .hero-bg-image img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: unset;
    object-position: center;
}

body.theme-alt[data-page="about"] .inner-hero .hero-overlay {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 100%;
}

body.theme-alt[data-page="about"] .inner-hero > .container {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

body.theme-alt[data-page="about"] .inner-hero .hero-content-inner {
    min-height: 0;
    max-height: none;
    height: auto;
    width: 100%;
    padding-top: 5.5rem;
    padding-bottom: 4rem;
    pointer-events: auto;
}

body.theme-alt[data-page="about"] .hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 768px) {
    body.theme-alt[data-page="about"] .inner-hero .hero-content-inner {
        padding-top: 4.5rem;
        padding-bottom: 3rem;
    }

    body.theme-alt[data-page="about"] .inner-hero .hero-p {
        max-width: 100%;
    }
}

/* Transportation + warehouse: split banner (same height as About Us) */
body.theme-alt[data-page="transportation"] .hero-section.inner-hero,
body.theme-alt[data-page="warehouse"] .hero-section.inner-hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.2fr);
    grid-template-rows: 1fr;
    align-items: stretch;
    width: 100%;
    height: var(--inner-hero-h);
    max-height: 560px;
    overflow: hidden;
    background: #0a1628;
}

body.theme-alt[data-page="transportation"] .hero-bg-image,
body.theme-alt[data-page="warehouse"] .hero-bg-image {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    inset: auto;
    width: 100%;
    min-height: var(--inner-hero-h);
    height: 100%;
    overflow: hidden;
    background: #0a1628;
}

body.theme-alt[data-page="transportation"] .hero-bg-image img,
body.theme-alt[data-page="warehouse"] .hero-bg-image img,
body.theme-alt[data-page="warehouse"] .hero-bg-image video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

body.theme-alt[data-page="transportation"] .inner-hero .hero-overlay,
body.theme-alt[data-page="warehouse"] .inner-hero .hero-overlay {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    inset: auto;
    z-index: 1;
    min-height: var(--inner-hero-h);
    height: 100%;
    background: #0a1628 !important;
}

body.theme-alt[data-page="transportation"] .inner-hero .hero-overlay::after,
body.theme-alt[data-page="warehouse"] .inner-hero .hero-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    right: -72px;
    width: 72px;
    height: 100%;
    background: linear-gradient(90deg, #0a1628 0%, rgba(10, 22, 40, 0) 100%);
    pointer-events: none;
}

body.theme-alt[data-page="transportation"] .inner-hero > .container,
body.theme-alt[data-page="warehouse"] .inner-hero > .container {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: var(--inner-hero-h);
    height: 100%;
    padding: 6rem 1.5rem 3rem max(1.5rem, calc((100vw - 1200px) / 2));
}

body.theme-alt[data-page="transportation"] .inner-hero .hero-content-inner,
body.theme-alt[data-page="warehouse"] .inner-hero .hero-content-inner {
    min-height: 0;
    max-height: none;
    height: auto;
    width: 100%;
    max-width: 520px;
    padding: 0;
    justify-content: center;
}

body.theme-alt[data-page="transportation"] .inner-hero .hero-h1,
body.theme-alt[data-page="warehouse"] .inner-hero .hero-h1 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.08;
    margin-bottom: 1rem;
    text-shadow: none;
}

body.theme-alt[data-page="transportation"] .inner-hero .hero-p,
body.theme-alt[data-page="warehouse"] .inner-hero .hero-p {
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 1.5rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-width: 460px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: none;
}

body.theme-alt[data-page="transportation"] .hero-wave,
body.theme-alt[data-page="warehouse"] .hero-wave {
    display: none;
}

@media (max-width: 900px) {
    body.theme-alt[data-page="transportation"] .hero-section.inner-hero,
    body.theme-alt[data-page="warehouse"] .hero-section.inner-hero {
        grid-template-columns: 1fr;
        grid-template-rows: min(38svh, 320px) auto;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    body.theme-alt[data-page="transportation"] .hero-bg-image,
    body.theme-alt[data-page="warehouse"] .hero-bg-image {
        grid-column: 1;
        grid-row: 1;
        min-height: min(38svh, 320px);
    }

    body.theme-alt[data-page="transportation"] .inner-hero .hero-overlay,
    body.theme-alt[data-page="warehouse"] .inner-hero .hero-overlay,
    body.theme-alt[data-page="transportation"] .inner-hero > .container,
    body.theme-alt[data-page="warehouse"] .inner-hero > .container {
        grid-column: 1;
        grid-row: 2;
        min-height: 0;
        height: auto;
    }

    body.theme-alt[data-page="transportation"] .inner-hero .hero-overlay::after,
    body.theme-alt[data-page="warehouse"] .inner-hero .hero-overlay::after {
        display: none;
    }

    body.theme-alt[data-page="transportation"] .inner-hero > .container,
    body.theme-alt[data-page="warehouse"] .inner-hero > .container {
        padding: 2rem 1.25rem 2.25rem;
    }
}

body.theme-alt .home-hero {
    height: auto;
    min-height: 0;
    padding: 0;
    background: var(--ink);
    overflow: hidden;
}

body.theme-alt .home-hero .hero-overlay {
    display: none;
}

body.theme-alt .home-hero-shell,
body.theme-alt .home-cinema {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: min(92svh, 900px);
}

body.theme-alt .home-cinema-stage {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    box-shadow: none;
    border: none;
}

body.theme-alt .cinema-scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08);
    transition:
        opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 3.8s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 1.1s;
    will-change: opacity, transform;
}

body.theme-alt .cinema-scene.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

body.theme-alt .cinema-scene.is-leaving {
    opacity: 0;
    visibility: visible;
    transform: scale(1.04);
}

body.theme-alt .home-hero .cinema-video,
body.theme-alt .home-hero .hero-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transform: scale(1.02);
}

body.theme-alt .home-hero .cinema-video.is-single {
    opacity: 1;
    visibility: visible;
    animation: cinemaKen 18s ease-in-out infinite alternate;
}

@keyframes cinemaKen {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

body.theme-alt .cinema-scene-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

body.theme-alt .cinema-photo {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
}

body.theme-alt .cinema-scene.is-active .cinema-photo--pan {
    animation: cinemaPan 7s ease-in-out both;
}

body.theme-alt .cinema-scene.is-active .cinema-photo--zoom {
    animation: cinemaZoom 7s ease-out both;
}

body.theme-alt .cinema-scene.is-active .cinema-photo--rush {
    animation: cinemaRush 7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cinemaPan {
    from { transform: scale(1.12) translateX(-2%); }
    to { transform: scale(1.05) translateX(2%); }
}

@keyframes cinemaZoom {
    from { transform: scale(1.18); }
    to { transform: scale(1.05); }
}

@keyframes cinemaRush {
    from { transform: scale(1.2) translateX(-4%); }
    to { transform: scale(1.05) translateX(3%); }
}

body.theme-alt .cinema-video--soft {
    opacity: 0.35;
    mix-blend-mode: screen;
}

body.theme-alt .cinema-route {
    margin-top: 1.75rem;
    max-width: 440px;
}

body.theme-alt .cinema-route-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
    padding-top: 1.35rem;
}

body.theme-alt .cinema-route-track::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 0.35rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(232, 163, 23, 0.2), rgba(232, 163, 23, 0.85), rgba(232, 163, 23, 0.25));
    border-radius: 999px;
}

body.theme-alt .cinema-route-stop {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    transition: color 0.3s;
}

body.theme-alt .cinema-route-stop.is-active {
    color: var(--primary);
}

body.theme-alt .cinema-route-stop.is-done {
    color: rgba(255, 255, 255, 0.75);
}

body.theme-alt .cinema-route-truck {
    position: absolute;
    top: -0.05rem;
    left: 0%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
        linear-gradient(145deg, var(--primary), #c9890d);
    box-shadow: 0 0 0 4px rgba(232, 163, 23, 0.25), 0 8px 18px rgba(0, 0, 0, 0.35);
    transition: left 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}

body.theme-alt .cinema-route-truck::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1.5px solid rgba(10, 22, 40, 0.35);
}

body.theme-alt .cinema-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(105deg, rgba(7, 14, 26, 0.92) 0%, rgba(7, 14, 26, 0.72) 38%, rgba(7, 14, 26, 0.28) 68%, rgba(7, 14, 26, 0.45) 100%),
        linear-gradient(180deg, rgba(7, 14, 26, 0.35) 0%, transparent 30%, rgba(7, 14, 26, 0.55) 100%);
    pointer-events: none;
}

body.theme-alt .cinema-grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.08;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.theme-alt .home-hero-fallback {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    min-height: min(92svh, 900px);
    padding: 7.5rem 4rem 4.5rem 6vw;
    background: transparent;
}

body.theme-alt .home-hero-fallback .hero-content-inner {
    min-height: 0;
    max-width: 560px;
    justify-content: center;
    padding: 0;
    color: #fff;
}

body.theme-alt .home-hero .homepage-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}

body.theme-alt .home-hero .slider-dots {
    z-index: 6;
}

body.theme-alt .hero-tagline {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.18em;
}

body.theme-alt .hero-tagline::before {
    background: var(--primary);
}

body.theme-alt .home-hero .hero-h1 {
    color: #fff;
    font-size: clamp(2.7rem, 5.2vw, 4.35rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.02;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    max-width: 12ch;
}

body.theme-alt .home-hero .hero-h1 em,
body.theme-alt .home-hero .hero-h1 span {
    color: var(--primary);
    font-style: normal;
}

body.theme-alt .home-hero .hero-p {
    background: transparent;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    max-width: 42ch;
    line-height: 1.65;
}

body.theme-alt .home-hero .btn-primary {
    background: var(--primary);
    color: var(--ink);
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(232, 163, 23, 0.35);
}

body.theme-alt .home-hero .btn-primary:hover {
    background: var(--accent);
    color: var(--ink);
}

body.theme-alt .home-hero .btn-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    border-radius: 4px;
}

body.theme-alt .home-hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

body.theme-alt .cinema-story {
    margin-top: 2.4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 420px;
}

body.theme-alt .cinema-story-kicker {
    margin: 0 0 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
}

body.theme-alt .cinema-story-line {
    margin: 0 0 1rem;
    font-family: var(--font-display, 'Montserrat', sans-serif);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    min-height: 1.5em;
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.theme-alt .cinema-story-line.is-swap {
    opacity: 0;
    transform: translateY(10px);
}

body.theme-alt .cinema-progress {
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
    margin-bottom: 0.95rem;
}

body.theme-alt .cinema-progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #f0c14d);
    transition: width 0.08s linear;
}

body.theme-alt .cinema-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

body.theme-alt .cinema-dot {
    width: 28px;
    height: 4px;
    border: none;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.22);
    transition: background 0.25s, width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body.theme-alt .cinema-dot.is-active {
    width: 44px;
    background: var(--primary);
}

body.theme-alt .cinema-dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

/* Inner pages hero */
body.theme-alt .inner-hero .hero-overlay {
    background: linear-gradient(
        110deg,
        rgba(10, 22, 40, 0.88) 0%,
        rgba(10, 22, 40, 0.45) 55%,
        rgba(10, 22, 40, 0.2) 100%
    );
}

body.theme-alt .inner-hero .hero-content-inner {
    min-height: var(--inner-hero-h, min(52svh, 560px));
    max-height: none;
    height: auto;
    padding-top: 6rem;
    padding-bottom: 4.75rem;
    color: #fff;
    box-sizing: border-box;
}

body.theme-alt .inner-hero .hero-cta-group {
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

body.theme-alt .inner-hero .hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    line-height: 0;
    pointer-events: none;
}

body.theme-alt .inner-hero .hero-wave svg {
    display: block;
    width: 100%;
    height: 48px;
}

body.theme-alt .inner-hero .hero-h1 {
    color: #fff;
    text-shadow: none;
}

body.theme-alt .inner-hero .hero-p {
    background: rgba(10, 22, 40, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
}

/* Contact hero — clean copy + highlight strip (no dense glass paragraph) */
body.theme-alt[data-page="contact"] .inner-hero .hero-p {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    max-width: 34rem;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.88);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.theme-alt .hero-highlights {
    list-style: none;
    margin: 1.1rem 0 1.35rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: 52rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 22, 40, 0.55);
    backdrop-filter: blur(8px);
}

body.theme-alt .hero-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.95rem 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
}

body.theme-alt .hero-highlight:last-child {
    border-right: none;
}

body.theme-alt .hero-highlight-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
}

body.theme-alt .hero-highlight-value {
    font-size: 0.92rem;
    font-weight: 650;
    color: #fff;
    line-height: 1.35;
    text-decoration: none;
    word-break: break-word;
}

a.hero-highlight-value:hover,
a.hero-highlight-value:focus-visible {
    color: var(--primary);
}

@media (max-width: 900px) {
    body.theme-alt .hero-highlights {
        grid-template-columns: 1fr 1fr;
    }

    body.theme-alt .hero-highlight:nth-child(2) {
        border-right: none;
    }

    body.theme-alt .hero-highlight:nth-child(1),
    body.theme-alt .hero-highlight:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 560px) {
    body.theme-alt .hero-highlights {
        grid-template-columns: 1fr;
    }

    body.theme-alt .hero-highlight {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.theme-alt .hero-highlight:last-child {
        border-bottom: none;
    }
}

body.theme-alt .hero-wave svg path {
    fill: #fff;
}

/* Buttons */
body.theme-alt .btn-primary {
    border-radius: 4px;
    background: var(--primary);
    color: var(--ink);
    box-shadow: 0 8px 22px rgba(232, 163, 23, 0.28);
    font-weight: 700;
}

body.theme-alt .btn-primary::after {
    display: none;
}

body.theme-alt .btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

body.theme-alt .btn-outline {
    border-radius: 4px;
}

/* Trust strip */
body.theme-alt .alt-trust-strip {
    background: var(--ink);
    padding: 2.75rem 0;
    border: none;
}

body.theme-alt .alt-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: left;
}

body.theme-alt .alt-trust-item {
    border-left: 3px solid var(--primary);
    padding-left: 1.25rem;
}

body.theme-alt .alt-trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
}

body.theme-alt .alt-trust-item span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* Section badges */
body.theme-alt .why-mini-title,
body.theme-alt .section-badge,
body.theme-alt .about-badge,
body.theme-alt .tag,
body.theme-alt .service-hero-badge,
body.theme-alt .v2-eyebrow {
    color: var(--primary-dark);
    background: rgba(232, 163, 23, 0.12);
    border: 1px solid rgba(232, 163, 23, 0.25);
}

body.theme-alt .stats-section {
    background: var(--ink) !important;
}

body.theme-alt .stat-number {
    color: var(--primary);
}

body.theme-alt .stat-label {
    color: rgba(255, 255, 255, 0.65);
}

/* Footer */
body.theme-alt .footer-modern.footer-tata {
    font-family: 'Montserrat', sans-serif;
    background: #f4f6f8;
    border-top-color: #0a1628;
    box-shadow: inset 0 3px 0 #e8a317;
}

body.theme-alt .footer-logo-img {
    max-height: 72px;
    filter: brightness(0) saturate(100%) invert(9%) sepia(18%) saturate(2450%) hue-rotate(182deg) brightness(95%);
}

/* Quote modal */
body.theme-alt .quote-left {
    background: linear-gradient(155deg, #08111f 0%, #142a45 55%, #0f172a 100%);
}

body.theme-alt .quote-badge {
    background: rgba(232, 163, 23, 0.16);
    border-color: rgba(232, 163, 23, 0.35);
    color: #fde68a;
}

body.theme-alt .quote-close-floating {
    background: rgba(255, 255, 255, 0.98);
}

body.theme-alt .quote-left h2::after,
body.theme-alt .quote-header h3::after {
    background: var(--primary);
}

body.theme-alt .quote-submit-btn {
    background: var(--primary);
    color: var(--ink);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(232, 163, 23, 0.3);
}

body.theme-alt .quote-form input:focus,
body.theme-alt .quote-form select:focus,
body.theme-alt .quote-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232, 163, 23, 0.15);
}

/* Contact */
body.theme-alt .premium-contact-section {
    background: #fff;
}

body.theme-alt .premium-contact-tag {
    color: var(--primary-dark);
    background: rgba(232, 163, 23, 0.12);
    border-color: rgba(232, 163, 23, 0.25);
}

body.theme-alt .premium-submit-btn {
    background: var(--primary);
    color: var(--ink);
    border-radius: 4px;
}

body.theme-alt .premium-submit-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* WhatsApp keep green */
body.theme-alt .whatsapp-float {
    background: #25d366;
}

/* Motion */
body.theme-alt .fm-hidden {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

body.theme-alt .fm-hidden.fm-in {
    opacity: 1;
    transform: translateY(0);
}

body.theme-alt .fm-hidden.fm-scale {
    transform: scale(0.96);
}

body.theme-alt .fm-hidden.fm-scale.fm-in {
    transform: scale(1);
}

body.theme-alt .reveal,
body.theme-alt .reveal-cascade,
body.theme-alt .reveal-img {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

body.theme-alt .reveal.reveal-active,
body.theme-alt .reveal.active,
body.theme-alt .reveal-cascade.reveal-active,
body.theme-alt .reveal-cascade.active,
body.theme-alt .reveal-img.reveal-active,
body.theme-alt .reveal-img.active,
body.theme-alt .reveal-img.fm-in {
    opacity: 1;
    transform: translateY(0);
}

body.theme-alt .reveal-cascade.active > *,
body.theme-alt .reveal-cascade.reveal-active > * {
    animation: fmStaggerIn 0.65s var(--ease-out) both;
}

body.theme-alt .reveal-cascade.active > *:nth-child(1),
body.theme-alt .reveal-cascade.reveal-active > *:nth-child(1) { animation-delay: 0.04s; }
body.theme-alt .reveal-cascade.active > *:nth-child(2),
body.theme-alt .reveal-cascade.reveal-active > *:nth-child(2) { animation-delay: 0.1s; }
body.theme-alt .reveal-cascade.active > *:nth-child(3),
body.theme-alt .reveal-cascade.reveal-active > *:nth-child(3) { animation-delay: 0.16s; }
body.theme-alt .reveal-cascade.active > *:nth-child(4),
body.theme-alt .reveal-cascade.reveal-active > *:nth-child(4) { animation-delay: 0.22s; }
body.theme-alt .reveal-cascade.active > *:nth-child(5),
body.theme-alt .reveal-cascade.reveal-active > *:nth-child(5) { animation-delay: 0.28s; }
body.theme-alt .reveal-cascade.active > *:nth-child(6),
body.theme-alt .reveal-cascade.reveal-active > *:nth-child(6) { animation-delay: 0.34s; }

@keyframes fmStaggerIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-alt .fm-hidden,
    body.theme-alt .reveal,
    body.theme-alt .reveal-cascade,
    body.theme-alt .reveal-img {
        opacity: 1;
        transform: none;
        transition: none;
    }

    body.theme-alt .home-hero .cinema-video,
    body.theme-alt .cinema-scene {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

@media (max-width: 992px) {
    body.theme-alt .home-hero-shell,
    body.theme-alt .home-cinema,
    body.theme-alt .home-hero-fallback {
        min-height: min(88svh, 760px);
    }

    body.theme-alt .home-hero-fallback {
        padding: 6.5rem 1.4rem 2.5rem;
        align-items: flex-end;
    }

    body.theme-alt .cinema-veil {
        background:
            linear-gradient(180deg, rgba(7, 14, 26, 0.55) 0%, rgba(7, 14, 26, 0.35) 35%, rgba(7, 14, 26, 0.92) 100%);
    }

    body.theme-alt .home-hero .hero-h1 {
        max-width: none;
    }

    body.theme-alt .alt-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   ACCESSIBILITY — focus + labels support
========================================================= */
body.theme-alt :focus {
    outline: none;
}

body.theme-alt :focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

body.theme-alt .nav-item:focus-visible,
body.theme-alt .nav-dropdown-toggle:focus-visible,
body.theme-alt .btn:focus-visible,
body.theme-alt .btn-primary:focus-visible,
body.theme-alt .btn-outline:focus-visible,
body.theme-alt .nav-social-link:focus-visible,
body.theme-alt .social-icon:focus-visible,
body.theme-alt .mannan-menu-toggle:focus-visible,
body.theme-alt .whatsapp-float:focus-visible,
body.theme-alt .quote-close:focus-visible,
body.theme-alt .mannan-service-card:focus-visible,
body.theme-alt .svc-side-list a:focus-visible,
body.theme-alt .nav-dropdown-menu a:focus-visible,
body.theme-alt .footer-tata-list a:focus-visible,
body.theme-alt .footer-contact-list a:focus-visible,
body.theme-alt .footer-bottom-links a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

body.theme-alt .nav-social-link:focus-visible,
body.theme-alt .social-icon:focus-visible,
body.theme-alt .mannan-menu-toggle:focus-visible,
body.theme-alt .whatsapp-float:focus-visible,
body.theme-alt .quote-close:focus-visible {
    border-radius: 999px;
}

body.theme-alt .btn:focus-visible,
body.theme-alt .btn-primary:focus-visible,
body.theme-alt .btn-outline:focus-visible {
    box-shadow: 0 0 0 3px rgba(232, 163, 23, 0.35);
}

body.theme-alt input:focus-visible,
body.theme-alt select:focus-visible,
body.theme-alt textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
}

body.theme-alt .mannan-service-card:focus-visible {
    border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
    body.theme-alt *,
    body.theme-alt *::before,
    body.theme-alt *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

