:root {
    --bg-dark: #0a0a0a;
    --bg-texture: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" 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)" opacity="0.05"/%3E%3C/svg%3E');
    --orange-accent: #ff8a00;
    --text-white: #ffffff;
    --text-muted: #e0e0e0;
    --dark-card: rgba(255, 255, 255, 0.03);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: var(--bg-texture);
    pointer-events: none;
    z-index: -2;
}

/* Fixed Parallax Background */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.35;
    border-radius: 50%;
    animation: drift 20s ease-in-out infinite alternate;
    will-change: transform;
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--orange-accent), transparent);
    top: -20vh;
    left: -10vw;
}

.blob-2 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #ff2a00, transparent);
    bottom: -30vh;
    right: -10vw;
    animation-delay: -10s;
}

@keyframes drift {
    0% { margin-left: 0; margin-top: 0; }
    50% { margin-left: 5vw; margin-top: 5vh; }
    100% { margin-left: -5vw; margin-top: -5vh; }
}

.rocket {
    position: absolute;
    bottom: 15%;
    left: 0;
    color: rgba(255, 138, 0, 0.25);
    font-size: 6rem;
    will-change: transform;
    transform: rotate(45deg); /* Pointing forward and up */
}

.highlight {
    color: var(--orange-accent);
    font-weight: 600;
}

.script-text {
    font-family: 'Caveat', cursive;
    color: var(--orange-accent);
    font-size: 1.4em;
    display: inline-block;
    transform: rotate(-5deg);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.5s ease;
}

.script-text:hover {
    transform: rotate(-5deg) scale(1.08);
    text-shadow: 0 0 24px rgba(255, 138, 0, 0.6);
}

.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100vw;
    height: 100vh;
    scroll-snap-type: x mandatory;
    overscroll-behavior: contain;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Common Section Styles */
section {
    min-width: 100vw;
    min-height: 100vh;
    flex-shrink: 0;
    padding: 60px 5%;
    display: flex;
    align-items: center;
    position: relative;
}

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

/* Generic Layout Classes */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.center-layout {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.image-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-image {
    max-width: 100%;
    height: auto;
    display: block;
}

#chapter-2 .section-title {
    font-size: 3rem;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--orange-accent);
    font-weight: 500;
    margin-bottom: 30px;
}

.body-text {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--orange-accent);
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 138, 0, 0.5);
    background-color: #ff9b26;
    gap: 14px;
}

.btn:hover::before {
    left: 130%;
}

.btn:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--orange-accent);
    border: 2px solid var(--orange-accent);
    box-shadow: none;
    padding: 13px 33px;
}

.btn-outline:hover {
    background-color: var(--orange-accent);
    color: #000;
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

.btn-sm {
    font-size: 0.95rem;
    padding: 10px 22px;
}

.btn-sm.btn-outline {
    padding: 8px 20px;
}

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

.tool-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--orange-accent);
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap 0.25s ease;
}

.tool-card:hover .card-link {
    gap: 12px;
}

/* --- Chapter 1: The Hook --- */
#chapter-1 {
    background: radial-gradient(circle at center, rgba(40,40,40,0.5) 0%, rgba(10,10,10,1) 100%);
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

#chapter-1::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

#chapter-1 .container {
    position: relative;
    z-index: 2;
}

/* --- Chapter 3: Toolkit (Services) --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--orange-accent);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.35s ease,
                box-shadow 0.35s ease,
                border-left-width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.tool-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(255, 138, 0, 0.15);
    border-left-width: 6px;
}

.tool-card:hover::after {
    opacity: 1;
}

.tool-card h4 {
    font-size: 1.2rem;
    color: var(--orange-accent);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.tool-card:hover h4 {
    transform: translateX(4px);
}

/* --- Chapter 4: The Strategy --- */
.journey-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--dark-card);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid transparent;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    cursor: default;
}

.step-item:hover {
    transform: translateX(10px);
    background: rgba(255, 138, 0, 0.08);
    border-color: rgba(255, 138, 0, 0.35);
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.12);
}

.step-number {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--orange-accent);
    min-width: 40px;
    transition: transform 0.35s ease, text-shadow 0.35s ease;
}

.step-item:hover .step-number {
    transform: scale(1.15);
    text-shadow: 0 0 16px rgba(255, 138, 0, 0.6);
}

/* --- Chapter 6: Alliance --- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(255,138,0,0.2);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    cursor: default;
}

.stat-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 138, 0, 0.06);
    border-color: var(--orange-accent);
    box-shadow: 0 14px 36px rgba(255, 138, 0, 0.2);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--orange-accent);
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-box:hover i {
    transform: scale(1.2) rotate(-8deg);
}

.stat-box p {
    font-weight: 500;
    font-size: 1.1rem;
}

/* --- Chapter 7: Contact --- */
.contact-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: default;
}
.contact-item:hover {
    transform: translateX(6px);
    color: var(--orange-accent);
}
.contact-item i {
    color: var(--orange-accent);
    font-size: 1.5rem;
    width: 30px;
    flex-shrink: 0;
    padding-top: 4px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-item:hover i {
    transform: scale(1.2) rotate(-6deg);
}
.contact-item span {
    flex: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* --- Responsive --- */

/* Tablet and below: stack split layouts, shrink title */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .section-title {
        font-size: 3rem;
    }
    .section-subtitle {
        font-size: 1.5rem;
    }
    section {
        padding: 80px 5%;
    }
    .rocket {
        font-size: 4rem;
    }
}

/* Small tablets / large phones: single-column grids */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    .body-text {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }
    .btn {
        font-size: 1rem;
        padding: 13px 28px;
    }
    .btn-outline {
        padding: 11px 26px;
    }
}

/* Phones */
@media (max-width: 600px) {
    section {
        padding: 70px 6% 55px;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }
    .body-text {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    .btn {
        font-size: 0.92rem;
        padding: 11px 22px;
    }
    .btn-outline {
        padding: 9px 20px;
    }
    .script-text {
        font-size: 1.2em;
    }
    .stats-grid {
        gap: 10px;
    }
    .stat-box {
        padding: 14px 10px;
    }
    .stat-box i {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }
    .stat-box p {
        font-size: 0.85rem;
    }
    .step-item {
        padding: 10px 16px;
        gap: 12px;
        border-radius: 30px;
    }
    .step-number {
        font-size: 1.4rem;
        min-width: 26px;
    }
    .tool-card {
        padding: 16px 18px;
    }
    .tool-card h4 {
        font-size: 1rem;
    }
    .tool-card p {
        font-size: 0.88rem;
        line-height: 1.5;
    }
    .contact-item {
        font-size: 0.92rem;
        gap: 10px;
    }
    .contact-item i {
        font-size: 1.1rem;
        width: 22px;
    }
    .rocket {
        font-size: 3rem;
    }
    .blob-1, .blob-2 {
        filter: blur(70px);
    }
}

/* Very small / ultra-narrow */
@media (max-width: 380px) {
    .section-title {
        font-size: 1.6rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .body-text {
        font-size: 0.88rem;
        margin-bottom: 14px;
    }
    .btn {
        font-size: 0.88rem;
        padding: 10px 18px;
    }
    section {
        padding: 64px 5% 48px;
    }
}

/* Mobile-only continuation slides: hidden on desktop */
.mobile-only-section { display: none !important; }
/* Inline elements (buttons, rows) that replace a desktop element on mobile */
.mobile-only-inline { display: none !important; }
/* Items hidden on mobile (e.g. cards moved to a continuation slide) */
.mobile-hide { /* shown on desktop */ }

/* --- Mobile: keep horizontal scroll, make it touch-friendly --- */
@media (max-width: 768px) {
    .horizontal-scroll-container {
        height: 100vh;
        height: 100dvh;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    section {
        min-width: 100vw;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        overflow-y: auto;
        align-items: safe center;
        padding: 70px 6% 55px;
        /* Block native vertical pan inside a section so the JS handler can convert
           vertical swipes into horizontal navigation */
        touch-action: pan-x;
    }
    section::-webkit-scrollbar { display: none; }
    .mobile-only-section { display: flex !important; }
    .mobile-only-inline { display: block !important; }
    .mobile-hide { display: none !important; }

    /* Each mobile slide shows only 2 cards (the rest live on the continuation slide),
       so a single column keeps each card readable */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 16px;
    }
    .tool-card {
        padding: 14px 16px;
    }
    .tool-card .card-link {
        margin-top: 6px;
        font-size: 0.88rem;
    }

    /* Tone down blobs on small screens to reduce paint cost */
    .blob-1, .blob-2 {
        opacity: 0.25;
    }
}


/* Short viewports (landscape phones): compact vertical rhythm */
@media (max-height: 600px) and (orientation: landscape) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    .body-text {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    section {
        padding: 60px 5% 60px;
    }
    .services-grid {
        margin-top: 20px;
        gap: 14px;
    }
    .tool-card {
        padding: 16px 20px;
    }
    .step-item {
        padding: 10px 18px;
    }
    .slider-dots {
        bottom: 10px;
    }
}

/* --- Top Header: Logo + Hamburger --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    pointer-events: none;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid transparent;
}

/* Inner pages scroll vertically, so content slides under the transparent
   header and collides with the logo/hamburger. Give those pages a solid
   translucent bar. Home opts out — each chapter is locked to 100vh so
   nothing ever scrolls under it. */
body.page .site-header {
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(255, 138, 0, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.site-header .logo,
.site-header .hamburger {
    pointer-events: auto;
}

.site-header .logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.site-header .logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(255, 138, 0, 0.55));
}

.hamburger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 138, 0, 0.4);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hamburger i {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hamburger:hover {
    background: var(--orange-accent);
    color: #000;
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(255, 138, 0, 0.5);
}

.hamburger:hover i {
    transform: rotate(90deg);
}

/* --- Offcanvas Menu --- */
.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 200;
}

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

.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 85vw;
    height: 100vh;
    background: #111;
    border-left: 1px solid rgba(255, 138, 0, 0.25);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 201;
    display: flex;
    flex-direction: column;
    padding: 30px 35px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

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

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.offcanvas-close {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.offcanvas-close:hover {
    background: rgba(255, 138, 0, 0.15);
    color: var(--orange-accent);
}

.offcanvas-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offcanvas-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.offcanvas-nav a:hover {
    background: rgba(255, 138, 0, 0.1);
    color: var(--orange-accent);
    transform: translateX(4px);
}

.offcanvas-nav .nav-num {
    font-family: 'Caveat', cursive;
    color: var(--orange-accent);
    font-size: 1.4rem;
    min-width: 24px;
}

.offcanvas-nav i {
    color: var(--orange-accent);
    width: 20px;
    text-align: center;
}

.nav-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 500;
    font-size: 1.05rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-dropdown-toggle > span {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-dropdown-toggle:hover {
    background: rgba(255, 138, 0, 0.1);
    color: var(--orange-accent);
}

.nav-dropdown-toggle .chevron {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.has-dropdown.open .nav-dropdown-toggle .chevron {
    transform: rotate(180deg);
    color: var(--orange-accent);
}

.nav-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-left: 20px;
}

.has-dropdown.open .nav-submenu {
    max-height: 400px;
}

.nav-submenu a {
    padding: 10px 16px;
    font-size: 0.95rem;
    border-left: 2px solid rgba(255, 138, 0, 0.2);
    border-radius: 0 8px 8px 0;
}

.nav-submenu a:hover {
    border-left-color: var(--orange-accent);
}

.offcanvas-footer {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .site-header { padding: 15px 20px; }
    .site-header .logo img { height: 40px; }
    .hamburger { width: 44px; height: 44px; font-size: 1.1rem; }
}

/* --- Slider Controls: Prev/Next Arrows + Pagination Dots --- */
.slider-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 138, 0, 0.4);
    color: var(--text-white);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.slider-arrow:hover:not(:disabled) {
    background: var(--orange-accent);
    color: #000;
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.slider-prev { left: 25px; }
.slider-next { right: 25px; }

.slider-dots {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 90;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    border: 1px solid rgba(255, 138, 0, 0.2);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

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

.slider-dot.active {
    background: var(--orange-accent);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(255, 138, 0, 0.6);
}

@media (max-width: 600px) {
    .slider-arrow { width: 44px; height: 44px; font-size: 0.95rem; }
    .slider-prev { left: 12px; }
    .slider-next { right: 12px; }
    .slider-dots { bottom: 18px; gap: 8px; padding: 8px 14px; }
    .slider-dot { width: 8px; height: 8px; }
    .slider-dot.active { width: 22px; }
}

/* --- Scroll-triggered animations --- */
.anim {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.9s ease;
    will-change: opacity, transform;
}

.anim-up    { transform: translateY(40px); }
.anim-down  { transform: translateY(-40px); }
.anim-left  { transform: translateX(-50px); }
.anim-right { transform: translateX(50px); }
.anim-scale { transform: scale(0.88); }
.anim-blur  { filter: blur(12px); }

.anim.in-view {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    filter: blur(0);
}

/* Text reveal: clip-path sweep for titles */
.anim-reveal {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
}
.anim-reveal.in-view {
    clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
    .anim, .anim-reveal {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        clip-path: none !important;
        filter: none !important;
    }
}

/* --- Slide transition: soften (blur + dim) the scroll container during nav.
   The fixed background, blobs and rocket sit outside the container so they
   stay sharp and continue to animate, giving a sense of depth while the
   foreground softens through the snap. --- */
.horizontal-scroll-container {
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.horizontal-scroll-container.transitioning {
    filter: blur(14px) brightness(0.45);
    will-change: filter;
}

@media (prefers-reduced-motion: reduce) {
    .horizontal-scroll-container,
    .horizontal-scroll-container.transitioning {
        transition: none !important;
        filter: none !important;
    }
}

/* Floating WhatsApp CTA — site-wide */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.18);
    z-index: 9999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: whatsapp-pulse 2s ease-out infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0, 0, 0, 0.22);
}

.whatsapp-float:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@keyframes whatsapp-pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    70%  { transform: scale(1.4); opacity: 0;   }
    100% { transform: scale(1.4); opacity: 0;   }
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float::before { animation: none; }
    .whatsapp-float:hover,
    .whatsapp-float:focus-visible { transform: none; }
}

/* Floating Call CTA — site-wide */
.call-float {
    position: fixed;
    right: 22px;
    bottom: 110px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--orange-accent, #ff8a00);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(255, 138, 0, 0.45), 0 4px 10px rgba(0, 0, 0, 0.18);
    z-index: 9999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.call-float::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 138, 0, 0.55);
    animation: call-pulse 2s ease-out infinite;
    animation-delay: 1s;
}

.call-float:hover,
.call-float:focus-visible {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    box-shadow: 0 14px 30px rgba(255, 138, 0, 0.55), 0 6px 14px rgba(0, 0, 0, 0.22);
}

.call-float:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.call-float .fa-phone {
    animation: call-shake 2.2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes call-pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    70%  { transform: scale(1.4); opacity: 0;   }
    100% { transform: scale(1.4); opacity: 0;   }
}

@keyframes call-shake {
    0%, 60%, 100% { transform: rotate(0); }
    5%, 15%, 25%  { transform: rotate(-18deg); }
    10%, 20%, 30% { transform: rotate(18deg); }
    35%           { transform: rotate(0); }
}

@media (max-width: 600px) {
    .call-float {
        right: 16px;
        bottom: 92px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .call-float::before { animation: none; }
    .call-float .fa-phone { animation: none; }
    .call-float:hover,
    .call-float:focus-visible { transform: none; }
}
