/* ═══════════════════════════════════════════════════════════════════════
   SHIFT — Modern Landing Page (Refreshed Design)
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    /* Core Brand Colors */
    --primary: #6366f1;
    /* Indigo */
    --secondary: #ec4899;
    /* Pink */
    --accent: #0ea5e9;
    /* Sky */

    /* Backgrounds */
    --bg-light: #ffffff;
    --bg-dark: #050511;
    /* Deepest Navy/Black */
    --bg-section: #0a0a16;
    --bg-card: rgba(20, 20, 35, 0.6);
    --bg-card-hover: rgba(30, 30, 50, 0.8);

    /* Text */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    /* For light sections */

    /* Gradients */
    --grad-main: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #ec4899 100%);
    --grad-glow: linear-gradient(180deg, rgba(99, 102, 241, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%);
    --grad-text: linear-gradient(90deg, #fff 0%, #e2e8f0 100%);

    /* Dimensions & Spacing */
    --max-width: 1200px;
    --nav-height: 80px;

    --font: 'Atkinson Hyperlegible', 'Inter', sans-serif;
}

/* ── Reset ────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow: hidden;
    /* Body doesn't scroll — slider does */
    height: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* ── Navigation ───────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more transparent initially */
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
    will-change: background, box-shadow;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-logo-text {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.23);
}

.nav-toggle {
    display: none;
}

/* Hide on desktop */

/* ── Hero ─────────────────────────────────────────────────────────── */
/* ── Brand Header (White Section) ─────────────────────────────────── */
.brand-header {
    background: #fff;
    padding-top: clamp(10px, 2vh, 40px);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: min(22vw, 22vh, 280px);
    height: min(22vw, 22vh, 280px);
    margin-bottom: -1.5rem;
    object-fit: contain;
}

.brand-logo-img-mobile {
    display: none;
}

@media (max-width: 768px) {
    .brand-logo-video {
        display: none;
    }

    .brand-logo-img-mobile {
        display: block;
    }
}

.brand-name {
    font-size: clamp(1.5rem, 3.5vh, 4rem);
    font-weight: 800;
    color: #000;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding-top: clamp(1rem, 2vh, 3rem);
    padding-bottom: clamp(1.5rem, 4vh, 5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Dark background for wave animation */
    background: #1e002e;
    overflow: hidden;
    min-height: 40vh;
}

/* Canvas background for waves */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Network canvas for About Section */
#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Typewriter Cursor */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--secondary);
    vertical-align: text-bottom;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: clamp(0.5rem, 1vh, 1rem) auto clamp(1.5rem, 2.5vh, 2rem);
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s;
    font-size: 1rem;
    cursor: pointer;
    text-transform: none;
}

.btn-primary {
    background: #ffffff;
    color: #db2777;
    /* Pink-ish text like reference */
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    border: 2px solid #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
    background: #fdf2f8;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* ── Sections ─────────────────────────────────────────────────────── */
.section {
    padding: clamp(2rem, 5vh, 6rem) 0;
    position: relative;
}

.slide>.section,
.slide.section {
    padding-top: calc(var(--nav-height) + clamp(1rem, 3vh, 4rem));
}

.section--dark {
    background: var(--bg-section);
    /* Pattern overlay if needed, or just dark */
    background-image:
        radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.15), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.1), transparent 40%);
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-label-pink {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #ec4899;
    /* Pink-500 */
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.section-subtitle,
.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: clamp(1.5rem, 3vh, 3rem);
    line-height: 1.7;
}

.text-gradient {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-header.text-center {
    margin: 0 auto clamp(1.5rem, 3vh, 4rem);
    max-width: 800px;
}

/* ── About Split Layout & Feature Cards ───────────────────────────── */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* More space for text */
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
    /* Align top */
}

.about-heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    /* ~32px, scales down on smaller screens */
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.about-hero-text {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: clamp(1rem, 2vh, 2.5rem);
    letter-spacing: -0.02em;
}

.grad-blue-pink {
    background: linear-gradient(90deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-blue {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-pink {
    background: linear-gradient(90deg, #ec4899 0%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc p {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.split-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #0b0b1a;
    /* Very dark navy */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    padding: 1.25rem 2rem;
    /* Adjusted padding for pill shape */
    border-radius: 999px;
    /* Full pill shape */
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Prepare for 3D tilt */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-active {
    transition: transform 0.1s ease-out;
    /* rapid follow */
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
    background: #0f0f22;
}

/* Icons for features */
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    /* Circle container */
    background: rgba(255, 255, 255, 0.05);
    /* Proper dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Icon specific glows */
.feature-card:nth-child(1) .feature-icon {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    border-color: rgba(236, 72, 153, 0.3);
}

.feature-card:nth-child(2) .feature-icon {
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-card:nth-child(3) .feature-icon {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-color: rgba(168, 85, 247, 0.3);
}

.feature-icon::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff;
    /* Reset other properties if necessary */
    filter: none;
}

/* Remove old pseudo-element styles if present in cascade target */
.feature-icon::before {
    display: none;
}

.icon-ring::after {
    content: '\f111';
    color: #ec4899;
}

.icon-chart::after {
    content: '\f080';
    color: #6366f1;
}

.icon-dash::after {
    content: '\f201';
    color: #a855f7;
}

.icon-stock::after {
    content: '\f468';
    color: #0ea5e9;
}

.feature-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    /* Centered with content */
}

/* Hide description in card if any, as reference is just title */
.feature-content p {
    display: none;
}

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

    .about-hero-text {
        font-size: 3rem;
    }
}

/* ── Process Steps ────────────────────────────────────────────────── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.process-card {
    background: var(--bg-card);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: clamp(1.25rem, 2.5vh, 2.5rem);
    position: relative;
    transition: 0.3s;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.3);
    border-color: var(--primary);
}

.process-number {
    font-size: clamp(2.5rem, 4vh, 4rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: clamp(0.75rem, 1.5vh, 1.5rem);
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.process-card h3 {
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    margin-bottom: clamp(0.5rem, 1vh, 1rem);
}

.process-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ── Case Study ───────────────────────────────────────────────────── */
.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background: rgba(10, 10, 20, 0.6);
    border-radius: 24px;
    padding: 2.5rem;
    border: 2px solid transparent;
    /* Prepare for colored border */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.challenge-card {
    border-color: #db2777;
    /* Pink/Red for Challenge */
    box-shadow: 0 0 30px rgba(219, 39, 119, 0.1);
}

.solution-card {
    border-color: #10b981;
    /* Green for Solution */
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.case-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.challenge-card .case-header h3 {
    color: #f472b6;
}

.solution-card .case-header h3 {
    color: #34d399;
}

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

.case-list li {
    font-size: 1rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.case-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: currentColor;
    font-weight: bold;
}

/* ── Impact Section ───────────────────────────────────────────────── */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 2rem);
    margin-top: clamp(1rem, 2vh, 2rem);
    text-align: center;
}

.impact-value {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.impact-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 300px;
    margin: 0 auto;
}

/* ── New Gradient Utilities ───────────────────────────────────────── */
.section-label-cyan {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #22d3ee;
    /* Cyan-400 */
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-pink {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Team (Matches User Photo) ────────────────────────────────────── */
#team {
    position: relative;
    background: #1e002e;
    /* Dark violet matches Hero */
    /* Subtle dimmer gradient overlay */
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    overflow: hidden;
}

#team-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#team>.container {
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: #f8fafc;
    border-radius: 30px;
    padding: clamp(1.5rem, 3vh, 3rem) clamp(1.25rem, 2vw, 2rem);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-avatar {
    width: min(150px, 15vh);
    height: min(150px, 15vh);
    margin: 0 auto clamp(0.75rem, 1.5vh, 1.5rem);
    border-radius: 50%;
    overflow: hidden;
    /* No border in example, or maybe simple white? */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    /* Dark text */
    margin-bottom: 0.5rem;
}

.team-role {
    color: #db2777;
    /* Pink/Magenta */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    display: block;
}

.team-bio {
    font-size: 0.95rem;
    color: #64748b;
    /* Slate-500 */
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* LinkedIn button (always visible, grows on card hover) */
.team-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0077b5;
    color: #fff;
    font-size: 1.4rem;
    margin: 1.25rem auto 0;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 119, 181, 0.4);
}

.team-card:hover .team-linkedin {
    transform: scale(1.2);
}

/* ── Contact (White Section "Vamos trabalhar juntos!") ──────────────── */
.section--white {
    background: #ffffff;
    color: #0f172a;
    padding: clamp(3rem, 6vh, 8rem) 0;
}

.cta-box {
    background: transparent;
    border: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: clamp(0.75rem, 1.5vh, 1.5rem);
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.cta-subtitle {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    color: #1e293b;
    margin-bottom: clamp(1.5rem, 3vh, 3rem);
    line-height: 1.5;
    font-weight: 500;
}

.btn-cta {
    background: linear-gradient(90deg, #4338ca 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5);
}

/* ── Footer slide — fits content only, no full-page blank space ─────── */
#footer-slide {
    height: auto;
    min-height: 0;
    background: #02020a;
    justify-content: flex-start;
}

/* ── Footer ("Shift" Dark Section) ────────────────────────────────── */
.footer {
    background: #02020a;
    /* Deep Black/Blue */
    padding: 4rem 0;
    border-top: none;
    color: #fff;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.footer-socials a:hover {
    transform: scale(1.1);
    color: #a855f7;
}

.footer-brand-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-logo {
    width: 40px;
    height: auto;
}

.footer-copy {
    color: #64748b;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }

    .cta-subtitle {
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-brand-right {
        align-items: center;
    }
}

/* ── Formulario (Contact Form) ────────────────────────────────────── */
#formulario {
    background: var(--bg-section);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.15), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.1), transparent 40%);
}

.form-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.form-heading {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.form-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.form-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-contact-list li i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.form-contact-list li a:hover {
    color: #fff;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.25rem;
    position: relative;
}

/* ── Glowing mouse-follow border (all rounded cards) ────────────────── */
.feature-card,
.process-card,
.team-card,
.contact-form {
    --active: 0;
    --start: 0;
}

.feature-card::after,
.process-card::after,
.team-card::after,
.contact-form::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    /* Shift brand palette: indigo → pink → purple → sky */
    background:
        radial-gradient(circle, #ec4899 10%, transparent 20%),
        radial-gradient(circle at 40% 40%, #6366f1 5%, transparent 15%),
        radial-gradient(circle at 60% 60%, #a855f7 10%, transparent 20%),
        radial-gradient(circle at 40% 60%, #0ea5e9 10%, transparent 20%),
        repeating-conic-gradient(from 236.84deg at 50% 50%,
            #ec4899 0%,
            #6366f1 calc(25% / 5),
            #a855f7 calc(50% / 5),
            #0ea5e9 calc(75% / 5),
            #ec4899 calc(100% / 5));
    background-attachment: fixed;
    /* Mask: layer 1 hides padding area; layer 2 reveals only the arc in the border ring */
    mask-image:
        linear-gradient(#0000, #0000),
        conic-gradient(from calc((var(--start) - 30) * 1deg),
            transparent 0deg,
            white,
            transparent 60deg);
    mask-clip: padding-box, border-box;
    mask-composite: intersect;
    opacity: var(--active);
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 5;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: #0a0a16;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

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

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form-status {
    text-align: center;
    font-size: 0.95rem;
    margin-top: 0.75rem;
    min-height: 1.4em;
}

@media (max-width: 900px) {
    .form-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

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

    .form-heading {
        font-size: 1.8rem;
    }

    .form-desc {
        font-size: 0.95rem;
    }
}

/* ── Animations ───────────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ── Impact Item ──────────────────────────────────────────────────── */
.impact-item {
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
}

/* ═══════════════════════════════════════════════════════════════════════
   SMALL LAPTOP (max 1200px) — 14" laptops (1366px-1440px viewport)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Brand header + Hero — scale down for smaller laptops */
    .brand-logo {
        width: 180px;
        height: 180px;
    }

    .brand-name {
        font-size: 3rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .split-layout {
        gap: 2.5rem;
    }

    .about-hero-text {
        font-size: 2.8rem;
    }

    .about-heading {
        font-size: 1.75rem;
    }

    .impact-value {
        font-size: 4rem;
    }

    .impact-label {
        font-size: 1.3rem;
    }

    .cta-title {
        font-size: 3rem;
    }

    .cta-subtitle {
        font-size: 1.3rem;
    }

    .team-grid {
        max-width: 960px;
    }

    .team-card {
        padding: 2.5rem 1.75rem;
    }

    .section--white {
        padding: 6rem 0;
    }

    .form-split {
        gap: 2.5rem;
    }

    .process-card {
        padding: 2rem;
    }

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

    .feature-card {
        padding: 1.1rem 1.75rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   TABLET (max 900px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

    .about-grid,
    .split-layout,
    .case-grid,
    .impact-grid,
    .team-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .about-hero-text {
        font-size: 2.5rem;
    }

    .about-heading {
        font-size: 1.5rem;
    }

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

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE (max 768px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    /* Nav — hamburger menu */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        transform: translateY(-200%);
        transition: transform 0.3s ease, visibility 0.3s;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        visibility: hidden;
        /* Fully hide when closed */
    }

    .nav-links.open {
        transform: translateY(0);
        visibility: visible;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 4px;
    }

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--text-dark);
        border-radius: 2px;
        transition: 0.3s;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    /* Make nav clearly visible on mobile */
    .nav {
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    /* Brand header - Ultra Compact */
    .brand-logo {
        width: 80px;
        height: 80px;
        margin-bottom: -0.25rem;
    }

    .brand-name {
        font-size: 1.5rem;
        line-height: 1;
        margin-bottom: 0.25rem;
    }

    .hero-slide .brand-header {
        padding-top: calc(var(--nav-height) + 0.25rem);
        padding-bottom: 0.25rem;
        flex-shrink: 0;
        min-height: auto;
        max-height: none;
        /* Remove desktop 30vh cap */
    }

    .hero-slide .brand-header .brand-logo {
        margin-top: 0;
    }

    /* Hero — Fill remaining space */
    .hero-slide .hero {
        flex: 1;
        height: auto;
        min-height: auto;
        /* Remove desktop 65vh minimum */
        padding-top: 1rem;
        padding-bottom: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }

    /* Apply blur via CSS since mobile Safari caps canvas filter blur */
    #bg-canvas,
    #team-canvas {
        filter: blur(30px);
        -webkit-filter: blur(30px);
    }

    .hero-slide {
        height: 100vh;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* Hero Content Scaling */
    .hero-title {
        font-size: 1.6rem;
        padding: 0 0.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-bottom: 1.25rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-cta {
        flex-direction: column;
        /* Stack buttons on small screens if needed, or keep row but compact */
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0 2rem;
    }

    .gradient-button {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        /* Full width buttons on mobile for better touch/look */
        max-width: 300px;
        /* But capped */
        margin: 0 auto;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .slide>.section,
    .slide.section {
        padding-top: calc(var(--nav-height) + 1rem);
    }

    /* About */
    .about-hero-text {
        font-size: 2rem;
    }

    .about-heading {
        font-size: 1.3rem;
    }

    .section-desc p {
        font-size: 0.9rem;
    }

    /* Process cards */
    .process-card {
        padding: 1.5rem;
    }

    .process-number {
        font-size: 3rem;
    }

    .process-card h3 {
        font-size: 1.2rem;
    }

    .process-card p {
        font-size: 0.85rem;
    }

    /* Case study */
    .case-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .case-header h3 {
        font-size: 1.4rem;
    }

    .case-list li {
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Impact */
    .impact-value {
        font-size: 3.5rem;
    }

    .impact-label {
        font-size: 1.2rem;
    }

    .impact-desc {
        font-size: 0.85rem;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 360px;
    }

    .team-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .team-avatar {
        width: 110px;
        height: 110px;
    }

    .team-name {
        font-size: 1.2rem;
    }

    .team-role {
        font-size: 0.75rem;
    }

    .team-bio {
        font-size: 0.85rem;
    }

    /* Contact */
    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .section--white {
        padding: 4rem 0;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-brand-right {
        align-items: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   SMALL PHONE (max 480px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .brand-logo {
        width: 120px;
        height: 120px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .about-hero-text {
        font-size: 1.6rem;
    }

    .about-heading {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .process-number {
        font-size: 2.5rem;
    }

    .impact-value {
        font-size: 2.8rem;
    }

    .impact-label {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1rem 1.25rem;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
    }

    .feature-content h3 {
        font-size: 0.95rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   SCROLL-SNAP FULL-PAGE SCROLLING
   ═══════════════════════════════════════════════════════════════════════ */

#slider {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

#slider::-webkit-scrollbar {
    display: none;
}

#slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slide {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Combined brand header + hero slide */
.hero-slide {
    flex-direction: column;
    justify-content: stretch;
    padding: 0;
}

.hero-slide .brand-header {
    padding-top: var(--nav-height);
    padding-bottom: 0;
    flex: 0 0 auto;
    /* Only take natural height — no grow, no fixed basis */
}

.hero-slide .brand-header .brand-logo {
    margin-top: clamp(-1.5rem, -1.5vh, -0.5rem);
}

.hero-slide .hero {
    flex: 1;
    min-height: 0;
    padding-top: clamp(1rem, 2vh, 2rem);
    padding-bottom: clamp(1.5rem, 3vh, 3rem);
    /* 60/40 split: hero takes ~60% of viewport */
    min-height: 55vh;
}

/* Hero CTA button row */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════
   DOT NAVIGATION
   ═══════════════════════════════════════════════════════════════════════ */

#dots {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(150, 150, 180, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: none;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.4);
}

.dot.light {
    background: rgba(0, 0, 0, 0.2);
}

.dot.light.active {
    background: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════
   SLIDE CONTENT ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════ */

.slide-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out,
        transform 0.4s ease-out;
}

.slide.in-view .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animation */
.slide.in-view .stagger>* {
    animation: staggerIn 0.35s ease-out both;
}

.slide.in-view .stagger>*:nth-child(1) {
    animation-delay: 0s;
}

.slide.in-view .stagger>*:nth-child(2) {
    animation-delay: 0.08s;
}

.slide.in-view .stagger>*:nth-child(3) {
    animation-delay: 0.16s;
}

@keyframes staggerIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT + FOOTER SLIDE
   ═══════════════════════════════════════════════════════════════════════ */

/* contact-footer-wrap removed — CTA and footer are now separate slides */

/* ═══════════════════════════════════════════════════════════════════════
   GRADIENT BUTTON (from codigoJG)
   ═══════════════════════════════════════════════════════════════════════ */

@property --gb-pos-x {
    syntax: '<percentage>';
    initial-value: 11%;
    inherits: false;
}

@property --gb-pos-y {
    syntax: '<percentage>';
    initial-value: 140%;
    inherits: false;
}

@property --gb-spread-x {
    syntax: '<percentage>';
    initial-value: 150%;
    inherits: false;
}

@property --gb-spread-y {
    syntax: '<percentage>';
    initial-value: 180%;
    inherits: false;
}

@property --gb-c1 {
    syntax: '<color>';
    initial-value: #0a0030;
    inherits: false;
}

@property --gb-c2 {
    syntax: '<color>';
    initial-value: #1a0060;
    inherits: false;
}

@property --gb-c3 {
    syntax: '<color>';
    initial-value: #3B5BFF;
    inherits: false;
}

@property --gb-c4 {
    syntax: '<color>';
    initial-value: #6B3BFF;
    inherits: false;
}

@property --gb-c5 {
    syntax: '<color>';
    initial-value: #FF3B8F;
    inherits: false;
}

@property --gb-stop1 {
    syntax: '<percentage>';
    initial-value: 37%;
    inherits: false;
}

@property --gb-stop2 {
    syntax: '<percentage>';
    initial-value: 61%;
    inherits: false;
}

@property --gb-stop3 {
    syntax: '<percentage>';
    initial-value: 78%;
    inherits: false;
}

@property --gb-stop4 {
    syntax: '<percentage>';
    initial-value: 89%;
    inherits: false;
}

@property --gb-stop5 {
    syntax: '<percentage>';
    initial-value: 100%;
    inherits: false;
}

@property --gb-border-angle {
    syntax: '<angle>';
    initial-value: 20deg;
    inherits: false;
}

@property --gb-border-c1 {
    syntax: '<color>';
    initial-value: hsla(220, 80%, 70%, 0.25);
    inherits: false;
}

@property --gb-border-c2 {
    syntax: '<color>';
    initial-value: hsla(280, 90%, 65%, 0.8);
    inherits: false;
}

.gradient-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
    color: #fff;
    font-family: var(--font);
    font-weight: 700;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    background: radial-gradient(var(--gb-spread-x) var(--gb-spread-y) at var(--gb-pos-x) var(--gb-pos-y),
            var(--gb-c1) var(--gb-stop1),
            var(--gb-c2) var(--gb-stop2),
            var(--gb-c3) var(--gb-stop3),
            var(--gb-c4) var(--gb-stop4),
            var(--gb-c5) var(--gb-stop5));
    transition:
        --gb-pos-x 0.55s ease, --gb-pos-y 0.55s ease,
        --gb-spread-x 0.55s ease, --gb-spread-y 0.55s ease,
        --gb-c1 0.55s ease, --gb-c2 0.55s ease, --gb-c3 0.55s ease,
        --gb-c4 0.55s ease, --gb-c5 0.55s ease,
        --gb-stop1 0.55s ease, --gb-stop2 0.55s ease,
        --gb-stop3 0.55s ease, --gb-stop4 0.55s ease, --gb-stop5 0.55s ease,
        --gb-border-angle 0.55s ease,
        --gb-border-c1 0.55s ease, --gb-border-c2 0.55s ease,
        transform 0.2s ease;
}

/* Gradient border via pseudo-element */
.gradient-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(var(--gb-border-angle),
            var(--gb-border-c1),
            var(--gb-border-c2));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}

/* Hover — warm pink/purple gradient shift */
.gradient-button:hover {
    --gb-pos-x: 0%;
    --gb-pos-y: 90%;
    --gb-spread-x: 120%;
    --gb-spread-y: 105%;
    --gb-c1: #FF3B8F;
    --gb-c2: #c0288a;
    --gb-c3: #6B3BFF;
    --gb-c4: #200060;
    --gb-c5: #050015;
    --gb-stop1: 0%;
    --gb-stop2: 18%;
    --gb-stop3: 42%;
    --gb-stop4: 72%;
    --gb-stop5: 88%;
    --gb-border-angle: 190deg;
    --gb-border-c1: hsla(320, 90%, 80%, 0.12);
    --gb-border-c2: hsla(280, 90%, 75%, 0.7);
    transform: translateY(-2px);
}

/* Ghost variant — outline button */
.gradient-button.ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.gradient-button.ghost::before {
    display: none;
}

.gradient-button.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE: Disable scroll-snap, normal scrolling
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    html,
    body {
        overflow: auto;
        height: auto;
    }

    #slider {
        scroll-snap-type: none;
        height: auto;
        overflow-y: auto;
    }

    /* All slides EXCEPT hero get auto height */
    .slide {
        height: auto;
        min-height: auto;
        scroll-snap-align: none;
        overflow: visible;
    }

    /* HERO slide keeps full viewport height */
    .hero-slide {
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
    }

    /* Show content immediately — no animation delay on mobile */
    .slide-content {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .stagger>* {
        animation: none !important;
        opacity: 1;
    }


    #dots {
        display: none;
    }
}