/* ═══════════════════════════════════════════════════════════════
   KONG ENERGY DRINK — Premium Landing Page CSS
   Brand: Deep teal / forest / mint — tribal pattern — bold italic
   ═══════════════════════════════════════════════════════════════ */

/* ──────────────── TOKENS ──────────────── */
:root {
    --kong-dark-rgb:   0, 34, 45;
    --kong-dark:       rgb(var(--kong-dark-rgb));
    --kong-deep:       #002A35;
    --kong-forest:     #003741;
    --kong-mid:        #004853;
    --kong-mint:       #4D9591;
    --kong-bright:     #68AAA5;
    --kong-glow:       #8AC7C3;
    --kong-white:      #F0F5F3;
    --kong-muted:      #8EA5A8;

    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-body:    'Outfit', system-ui, -apple-system, sans-serif;

    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:    cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --dur-fast:       0.25s;
    --dur-med:        0.5s;
    --dur-slow:       0.8s;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;

    --max-w:      1440px;
    --gutter:     clamp(20px, 4vw, 64px);
}

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

html {
    scroll-behavior: smooth;
    background: var(--kong-dark);
    color: var(--kong-white);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ──────────────── TYPOGRAPHY ──────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.section-heading {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--kong-muted);
    line-height: 1.6;
    max-width: 50ch;
}

.accent {
    color: var(--kong-mint);
}

/* ──────────────── BUTTONS ──────────────── */
.btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--dur-med) var(--ease-spring);
    position: relative;
}

.btn-primary {
    background: var(--kong-mint);
    color: var(--kong-dark);
    box-shadow: 0 4px 24px rgba(94, 184, 158, 0.25),
                inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
    background: var(--kong-bright);
    box-shadow: 0 8px 32px rgba(126, 219, 190, 0.4);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(94, 184, 158, 0.35);
    color: var(--kong-white);
}

.btn-outline:hover {
    border-color: var(--kong-mint);
    background: rgba(94, 184, 158, 0.08);
    transform: translateY(-3px);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1rem;
}

#conversion-action-btn {
    padding: 20px 32px; /* Reducción del 20% de largo (horizontal padding) */
}

/* ──────────────── NAVIGATION ──────────────── */
#main-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 72px;
    z-index: 500;
    background: rgba(var(--kong-dark-rgb), 0.7);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(94, 184, 158, 0.08);
    transition: background var(--dur-fast) ease;
}

#main-header.scrolled {
    background: rgba(var(--kong-dark-rgb), 0.92);
}

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

.logo-img {
    height: 36px;
    border-radius: var(--radius-sm);
    transition: transform var(--dur-fast) ease;
}

.nav-logo:hover .logo-img { transform: scale(1.04); }

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--kong-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--dur-fast) ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--kong-mint);
    transition: width var(--dur-med) var(--ease-out-expo);
}

.nav-link:hover { color: var(--kong-white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(94, 184, 158, 0.3);
    background: transparent;
    color: var(--kong-mint);
    cursor: pointer;
    transition: all var(--dur-fast) ease;
}

.nav-cta:hover {
    background: var(--kong-mint);
    color: var(--kong-dark);
    border-color: var(--kong-mint);
}

.nav-cta-mobile {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px; height: 2px;
    background: var(--kong-white);
    border-radius: 2px;
    transition: all var(--dur-fast) ease;
}

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav slide-down */
.nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(var(--kong-dark-rgb), 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px var(--gutter) 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(94, 184, 158, 0.12);
    animation: slideDown 0.35s var(--ease-out-expo);
    z-index: 600;
}

.nav-links.mobile-open .nav-link {
    font-size: 1rem;
    color: var(--kong-white);
}

.nav-links.mobile-open .nav-cta-mobile {
    display: block;
    margin-top: 8px;
    background: var(--kong-mint);
    color: var(--kong-dark);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: all var(--dur-fast) ease;
    width: 100%;
}

.nav-links.mobile-open .nav-cta-mobile:hover {
    background: var(--kong-bright);
    box-shadow: 0 0 20px rgba(94, 184, 158, 0.3);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

/* Real brand pattern as background */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: url('assets/pattern.webp') center / cover;
    opacity: 0.08;
    z-index: 0;
}

/* Dark gradient on left for text legibility */
.hero-gradient-left {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 65%;
    background: linear-gradient(to right, var(--kong-dark) 40%, transparent 100%);
    z-index: 1;
}

.hero-gradient-bottom {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 200px;
    background: linear-gradient(to top, var(--kong-dark) 0%, transparent 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px 0;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
}

.eyebrow-line {
    display: block;
    width: 40px; height: 2px;
    background: var(--kong-mint);
}

.eyebrow-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--kong-mint);
}

.hero-h1 {
    font-size: clamp(4rem, 7.5vw, 7.5rem);
    line-height: 0.88;
    color: var(--kong-white);
}

.hero-h1-accent {
    color: var(--kong-mint);
    text-shadow: 0 0 40px rgba(94, 184, 158, 0.3);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--kong-muted);
    line-height: 1.65;
    max-width: 38ch;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
}

/* Can area */
.hero-can-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    perspective: 1000px;
}

.hero-can-glow {
    position: absolute;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 184, 158, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
}

/* Hero can placeholder — reserves space in the grid */
.hero-can-placeholder {
    width: 100%;
    height: 520px;
    position: relative;
    z-index: 1;
}

/* Product can placeholder — reserves space for the floating can */
.product-can-placeholder {
    width: 100%;
    height: 500px;
}

/* ══════════════════════════════════════════════
   FLOATING CAN — Scroll-driven animation
   ══════════════════════════════════════════════ */
.floating-can-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    pointer-events: none;
    z-index: 40;
    width: 160px;
    height: 260px;
    will-change: transform, opacity;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7))
            drop-shadow(0 0 60px rgba(94, 184, 158, 0.15));
}

@media (min-width: 1024px) {
    .floating-can-container {
        width: clamp(255px, 23.2vw, 418px);
        height: clamp(383px, 34.8vw, 626px);
        max-height: 75vh;
        max-width: calc(75vh * 0.66);
    }
}

.floating-can-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.animate-float-can {
    animation: float-can 6s ease-in-out infinite;
}

@keyframes float-can {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%      { transform: translateY(-18px) rotate(-2deg); }
}

@keyframes float-can-scroll-desktop {
  0% { transform: translate3d(calc(-50% + 26vw), calc(-50% + 0vh), 0) scale(1.25) rotate(-2deg); opacity: 1.0; z-index: 40; }
  12% { transform: translate3d(calc(-50% + 26vw), calc(-50% + 5vh), 0) scale(1.15) rotate(0deg); opacity: 1.0; z-index: 40; }
  20% { transform: translate3d(calc(-50% - 26vw), calc(-50% + 0vh), 0) scale(0.9) rotate(-4deg); opacity: 1.0; z-index: 40; }
  35% { transform: translate3d(calc(-50% - 28vw), calc(-50% - 5vh), 0) scale(0.92) rotate(10deg); opacity: 0.9; z-index: 40; }
  48% { transform: translate3d(calc(-50% - 27vw), calc(-50% + 5vh), 0) scale(0.9) rotate(24deg); opacity: 0.95; z-index: 40; }
  58% { transform: translate3d(calc(-50% + 22vw), calc(-50% - 10vh), 0) scale(0.75) rotate(-20deg); opacity: 0.0; z-index: 0; }
  65% { transform: translate3d(calc(-50% + 26vw), calc(-50% + 5vh), 0) scale(0.65) rotate(-35deg); opacity: 0.0; z-index: 0; }
  72% { transform: translate3d(calc(-50% + 28vw), calc(-50% - 6vh), 0) scale(0.9) rotate(0deg); opacity: 1.0; z-index: 40; }
  85% { transform: translate3d(calc(-50% + 28vw), calc(-50% - 6vh), 0) scale(0.9) rotate(0deg); opacity: 1.0; z-index: 40; }
  90% { transform: translate3d(calc(-50% + 28vw), calc(-50% - 12vh), 0) scale(0.9) rotate(0deg); opacity: 1.0; z-index: 40; }
  100% { transform: translate3d(calc(-50% + 28vw), calc(-50% - 26vh), 0) scale(0.9) rotate(0deg); opacity: 1.0; z-index: 40; }
}

@keyframes float-can-scroll-mobile {
  0% { transform: translate3d(calc(-50% + 0vw), calc(-50% + 22vh), 0) scale(1.25) rotate(-6deg); opacity: 1.0; z-index: 40; }
  12% { transform: translate3d(calc(-50% + 0vw), calc(-50% + 15vh), 0) scale(1.1) rotate(6deg); opacity: 0.0; z-index: 0; }
  35% { transform: translate3d(calc(-50% + 0vw), calc(-50% + 0vh), 0) scale(0.9) rotate(-8deg); opacity: 0.0; z-index: 0; }
  50% { transform: translate3d(calc(-50% + 0vw), calc(-50% - 40vh), 0) scale(0.9) rotate(-10deg); opacity: 0.0; z-index: 0; }
  58% { transform: translate3d(calc(-50% + 0vw), calc(-50% + 40vh), 0) scale(0.5) rotate(0deg); opacity: 0.0; z-index: 0; }
  68% { transform: translate3d(calc(-50% + 0vw), calc(-50% + 40vh), 0) scale(0.5) rotate(0deg); opacity: 0.0; z-index: 0; }
  80% { transform: translate3d(calc(-50% + 0vw), calc(-50% + 20vh), 0) scale(0.9) rotate(-12deg); opacity: 1.0; z-index: 40; }
  90% { transform: translate3d(calc(-50% + 0vw), calc(-50% + 15vh), 0) scale(1.1) rotate(-6deg); opacity: 1.0; z-index: 40; }
  95% { transform: translate3d(calc(-50% + 0vw), calc(-50% + 12vh), 0) scale(1.1) rotate(-3deg); opacity: 0.0; z-index: 0; }
  100% { transform: translate3d(calc(-50% + 0vw), calc(-50% + 10vh), 0) scale(1.0) rotate(0deg); opacity: 0.0; z-index: 0; }
}



@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.15); opacity: 0.6; }
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.scroll-hint-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--kong-muted);
}

.scroll-hint-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, var(--kong-mint), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50%  { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ══════════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════════ */
.marquee-strip {
    background: linear-gradient(135deg, rgba(10, 42, 51, 0.85), rgba(19, 56, 59, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(94, 184, 158, 0.25);
    border-bottom: 1px solid rgba(94, 184, 158, 0.25);
    padding: 22px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    transform: rotate(-1.5deg) scale(1.03); /* Slight angle for raw kinetic vibe */
    margin: -15px 0 25px 0;
    box-shadow: 0 12px 40px rgba(var(--kong-dark-rgb), 0.5);
    transition: transform 0.4s var(--ease-out-expo);
}

.marquee-strip:hover {
    transform: rotate(-0.5deg) scale(1.05); /* Reacts dynamically to mouse hover */
}

.marquee-track {
    display: flex;
    gap: 50px;
    align-items: center;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-strip:hover .marquee-track {
    animation-play-state: paused; /* Hover to inspect/pause marquee */
}

.marquee-item {
    font-family: var(--font-body); /* Outfit (wide geometric sans) instead of Bebas */
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.25em; /* Expanded tracking for premium identity */
    text-transform: uppercase;
    color: var(--kong-white);
    flex-shrink: 0;
    text-shadow: 0 2px 10px rgba(94, 184, 158, 0.15);
}

.marquee-star {
    width: 14px;
    height: 14px;
    color: var(--kong-mint);
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(94, 184, 158, 0.6));
    animation: spinSlow 12s linear infinite;
}

/* Uruguay Country Badge Styling */
.uy-badge-marquee {
    height: 16px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
    position: relative;
    top: -1px;
    border-radius: 2px;
}

.uy-badge-detail {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    position: relative;
    top: -1px;
    border-radius: 2px;
}

.uy-badge-footer {
    height: 14px;
    width: auto;
    vertical-align: middle;
    margin-right: 6px;
    margin-left: 4px;
    display: inline-block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
    border-radius: 1px;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes spinSlow {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════
   PRODUCT / ANATOMY
   ══════════════════════════════════════════════ */
.product {
    padding: 140px 0;
    background: var(--kong-deep);
    position: relative;
    overflow: hidden;
}

.product::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(94,184,158,0.2), transparent);
}

.product-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.product-can-sticky {
    position: sticky;
    top: 140px;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

/* .product-can removed — the floating scroll-driven can serves this role */

.product-info-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-header {
    margin-bottom: 24px;
}

.anatomy-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    padding: 32px;
    background: rgba(var(--kong-dark-rgb), 0.4);
    border: 1px solid rgba(94, 184, 158, 0.08);
    border-left: 3px solid rgba(94, 184, 158, 0.15);
    border-radius: var(--radius-md);
    transition: all var(--dur-med) var(--ease-out-expo);
    opacity: 0.5;
    transform: translateX(12px);
}

.anatomy-card.active {
    opacity: 1;
    transform: translateX(0);
    border-left-color: var(--kong-mint);
    border-color: rgba(94, 184, 158, 0.2);
    background: rgba(19, 56, 59, 0.4);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(94, 184, 158, 0.08);
}

.anatomy-card-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--kong-mint);
    line-height: 1;
    opacity: 0.4;
    transition: opacity var(--dur-med) ease;
}

.anatomy-card.active .anatomy-card-num {
    opacity: 1;
}

.anatomy-card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.anatomy-card-body p {
    font-size: 0.95rem;
    color: var(--kong-muted);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   LIFESTYLE / BRAND WORLD
   ══════════════════════════════════════════════ */
.lifestyle-section {
    padding: 140px 0;
    position: relative;
    background-color: var(--kong-dark);
    overflow: hidden;
}

/* Background Pattern & Gradient */
.lifestyle-bg-pattern {
    position: absolute;
    inset: 0;
    background: url('assets/pattern.webp') center / cover no-repeat;
    opacity: 0.06;
    mix-blend-mode: luminosity;
    pointer-events: none;
    z-index: 1;
}

.lifestyle-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 25%, rgba(94, 184, 158, 0.09) 0%, transparent 60%),
                linear-gradient(to bottom, var(--kong-dark), transparent 20%, transparent 80%, var(--kong-dark));
    pointer-events: none;
    z-index: 2;
}

.lifestyle-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 1024px) {
    .lifestyle-container {
        grid-template-columns: 1fr 1.15fr;
        gap: 64px;
    }
}

/* --- Left Column: Manifesto & Philosophy --- */
.lifestyle-manifesto {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.lifestyle-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--kong-mint);
}

.manifesto-dot {
    width: 6px;
    height: 6px;
    background-color: var(--kong-mint);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--kong-mint);
}

.manifesto-heading {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 0.9;
    color: var(--kong-white);
    letter-spacing: 0.02em;
}

.accent-glow {
    color: var(--kong-mint);
    text-shadow: 0 0 30px rgba(94, 184, 158, 0.25);
}

/* Manifesto Card */
.manifesto-card {
    background: rgba(19, 56, 59, 0.15);
    border: 1px solid rgba(94, 184, 158, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: all var(--dur-med) ease;
}

.manifesto-card:hover {
    border-color: rgba(94, 184, 158, 0.25);
    background: rgba(19, 56, 59, 0.2);
}

.manifesto-quote-mark {
    position: absolute;
    top: -15px;
    left: 30px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: rgba(94, 184, 158, 0.15);
    line-height: 1;
}

.manifesto-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--kong-white);
    position: relative;
    z-index: 2;
    font-weight: 300;
}

.manifesto-text .highlight {
    font-weight: 700;
    color: var(--kong-mint);
    border-bottom: 2px solid rgba(94, 184, 158, 0.3);
}

.manifesto-accent-bar {
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 4px;
    background-color: var(--kong-mint);
    border-radius: 0 4px 4px 0;
}

/* Stats / Details */
.manifesto-details {
    display: flex;
    gap: 32px;
    margin-top: 8px;
}

.detail-stat {
    flex: 1;
}

.detail-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--kong-white);
    margin-bottom: 6px;
}

.detail-unit {
    font-size: 1.5rem;
    color: var(--kong-mint);
}

.detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--kong-muted);
    white-space: nowrap;
}

.detail-divider {
    width: 1px;
    background: rgba(94, 184, 158, 0.15);
    align-self: stretch;
}

/* --- Right Column: Visual Showcase --- */
.lifestyle-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    width: 100%;
}

@media (min-width: 640px) {
    .lifestyle-showcase {
        grid-template-columns: 1.1fr 1fr;
        align-items: stretch;
    }
}

/* Phone Mockup Frame (Vertical Reel) */
.phone-mockup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.phone-mockup-frame {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9 / 18.5;
    background: #040d12;
    border: 9px solid #1c262b;
    border-radius: 40px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(94, 184, 158, 0.08);
    overflow: hidden;
    transform: rotate(-1.5deg);
    transition: transform var(--dur-slow) var(--ease-out-expo);
    z-index: 5;
}

.phone-mockup-frame:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
}

/* Phone elements */
.phone-speaker {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: #2b2b2b;
    border-radius: 2px;
    z-index: 10;
}

.phone-camera {
    position: absolute;
    top: 8px;
    left: calc(50% + 35px);
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
}

.phone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 13, 18, 0.9) 0%, rgba(4, 13, 18, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    z-index: 5;
}

.phone-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(94, 184, 158, 0.15);
    border: 1px solid rgba(94, 184, 158, 0.3);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--kong-mint);
    width: fit-content;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.live-pulse {
    width: 6px;
    height: 6px;
    background-color: #ff3b30;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.phone-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--kong-white);
    line-height: 1;
}

.phone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    z-index: 10;
}

/* Secondary Visuals Stack */
.showcase-visual-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.visual-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(94, 184, 158, 0.08);
    transition: all var(--dur-med) var(--ease-out-expo);
}

.visual-card:hover {
    border-color: rgba(94, 184, 158, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.image-card {
    flex: 1.4;
    min-height: 240px;
}

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

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

.visual-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 13, 18, 0.9) 0%, rgba(4, 13, 18, 0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.card-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--kong-mint);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--kong-white);
    line-height: 1;
}

/* Brand pattern CTA card */
.brand-card {
    flex: 1;
    background: var(--kong-forest);
    min-height: 160px;
    display: flex;
    align-items: center;
    position: relative;
}

.brand-card-pattern {
    position: absolute;
    inset: 0;
    background: url('assets/pattern.webp') center / cover;
    opacity: 0.18;
    mix-blend-mode: luminosity;
    z-index: 1;
}

.brand-card-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--kong-white);
    line-height: 1;
}

.brand-card-sub {
    font-size: 0.85rem;
    color: var(--kong-muted);
}

.brand-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--kong-mint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
    text-decoration: none;
    transition: color var(--dur-fast) ease;
    width: fit-content;
}

.brand-card-link svg {
    transition: transform var(--dur-fast) ease;
}

.brand-card-link:hover {
    color: var(--kong-white);
}

.brand-card-link:hover svg {
    transform: translateX(4px);
}

/* ══════════════════════════════════════════════
   DISTRIBUTOR CTA
   ══════════════════════════════════════════════ */
.distributor {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
    background: var(--kong-deep);
}

.distributor-bg-pattern {
    position: absolute;
    inset: 0;
    background: url('assets/pattern.webp') center / cover;
    opacity: 0.05;
}

.distributor-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.distributor-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.distributor-heading {
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 0.9;
}

.distributor-sub {
    font-size: 1.1rem;
    color: var(--kong-muted);
    line-height: 1.65;
    max-width: 55ch;
}

.distributor-visual {
    display: flex;
    justify-content: center;
}

.distributor-can-placeholder {
    width: clamp(255px, 23.2vw, 418px);
    height: clamp(383px, 34.8vw, 626px);
    max-height: 75vh;
    max-width: calc(75vh * 0.66);
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
    background: var(--kong-dark);
    border-top: 1px solid rgba(94, 184, 158, 0.08);
    padding: 64px 0 40px;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(94, 184, 158, 0.08);
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--kong-mint);
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(94, 184, 158, 0.05);
    border: 1px solid rgba(94, 184, 158, 0.15);
    color: var(--kong-mint);
    transition: all var(--dur-fast) ease;
}

.social-link:hover {
    color: var(--kong-dark);
    background: var(--kong-mint);
    border-color: var(--kong-mint);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(94, 184, 158, 0.3);
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--kong-muted);
    transition: color var(--dur-fast) ease;
}

.footer-link:hover { color: var(--kong-white); }

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-copy, .footer-legal {
    font-size: 0.78rem;
    color: rgba(142, 165, 168, 0.85); /* Aumentado para cumplir con el contraste mínimo de accesibilidad */
    line-height: 1.5;
}

/* ══════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(var(--kong-dark-rgb), 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-med) ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--kong-dark);
    border: 1px solid rgba(94, 184, 158, 0.2);
    border-radius: var(--radius-lg);
    max-width: 640px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 48px;
    position: relative;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7),
                0 0 80px rgba(94, 184, 158, 0.06);
    transform: translateY(24px) scale(0.97);
    transition: transform var(--dur-med) var(--ease-spring);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-card::-webkit-scrollbar {
    width: 6px;
}
.modal-card::-webkit-scrollbar-track {
    background: transparent;
}
.modal-card::-webkit-scrollbar-thumb {
    background: rgba(94, 184, 158, 0.2);
    border-radius: 3px;
}
.modal-card::-webkit-scrollbar-thumb:hover {
    background: rgba(94, 184, 158, 0.4);
}

.modal-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none; border: none;
    font-size: 2rem;
    color: var(--kong-muted);
    cursor: pointer;
    transition: color var(--dur-fast) ease;
    line-height: 1;
}

.modal-close:hover { color: var(--kong-mint); }

.modal-head { margin-bottom: 32px; }

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.modal-sub {
    font-size: 0.9rem;
    color: var(--kong-muted);
    line-height: 1.5;
}

/* Form */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--kong-deep);
    border: 1px solid rgba(94, 184, 158, 0.1);
    border-radius: var(--radius-sm);
    color: var(--kong-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 13px 16px;
    outline: none;
    transition: all var(--dur-fast) ease;
    width: 100%;
}

.form-group select option {
    background: var(--kong-deep);
    color: var(--kong-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(142, 165, 168, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--kong-mint);
    box-shadow: 0 0 0 3px rgba(94, 184, 158, 0.12);
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #ff5e62;
    box-shadow: 0 0 0 3px rgba(255, 94, 98, 0.12);
}

.error-msg {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 12px;
    background: #ff5e62;
    color: var(--kong-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(255, 94, 98, 0.25), 
                0 4px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    animation: tooltipFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.error-msg::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 16px;
    border-width: 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent #ff5e62;
    display: block;
    width: 0;
}

.form-group.invalid .error-msg { display: block; }

@keyframes tooltipFadeIn {
    0% { opacity: 0; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 0.95rem;
    margin-top: 8px;
}

.btn-spinner {
    display: none;
    width: 18px; height: 18px;
    border: 2px solid rgba(var(--kong-dark-rgb), 0.2);
    border-radius: 50%;
    border-top-color: var(--kong-dark);
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════
   SCROLL REVEAL (JS-driven)
   ══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity var(--dur-slow) var(--ease-out-expo),
                transform var(--dur-slow) var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 20px;
    }

    .hero-h1 { font-size: clamp(3rem, 6vw, 5rem); }

    .hero-can-area { height: 380px; }
    .hero-can-placeholder { height: 380px; }

    .product-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .product-can-col {
        display: none;
    }

    /* Responsive grid logic moved to native layout grid */

    .distributor-inner { grid-template-columns: 1fr; }
    .distributor-visual { display: none; }
}

/* Mobile */
@media (max-width: 767px) {
    :root { --gutter: 20px; }

    #main-header { height: 64px; }

    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }

    .hero {
        padding-top: 64px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-inner {
        display: flex;
        flex-direction: column-reverse;
        text-align: left;
        gap: 12px;
    }

    .hero-text {
        align-items: flex-start;
        padding: 0 0 12px 0;
        gap: 16px;
    }

    .hero-eyebrow { justify-content: flex-start; }

    .hero-h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); }

    .hero-sub { max-width: 100%; }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        width: auto;
    }

    .hero-buttons .btn {
        width: auto;
        padding: 10px 18px;
        font-size: 0.75rem;
        letter-spacing: 0.05em;
        justify-content: center;
    }

    .hero-can-area { height: 340px; }
    .hero-can-placeholder { height: 340px; }
    .hero-can-glow { width: 220px; height: 220px; }

    .scroll-hint { display: none; }

    .marquee-strip {
        padding: 16px 0;
        margin: -10px 0 15px 0;
        transform: rotate(-1deg) scale(1.02);
    }
    .marquee-item {
        font-size: 0.78rem;
        letter-spacing: 0.2em;
    }
    .marquee-star {
        width: 10px;
        height: 10px;
    }

    .product { padding: 80px 0; }
    .product-can { height: 280px; }
    .anatomy-card { grid-template-columns: 1fr; gap: 12px; padding: 24px 90px 24px 24px; }
    .anatomy-card-num { font-size: 1.5rem; }

    .lifestyle-section { padding: 80px 0; }
    .manifesto-details {
        flex-direction: column;
        gap: 20px;
    }

    .distributor { padding: 80px 0; }
    .distributor-heading { font-size: 2.5rem; }

    .form-row { grid-template-columns: 1fr; }
    .modal-card { padding: 28px 20px; }

    .footer-top { flex-direction: column; gap: 24px; }
    .footer-nav { flex-wrap: wrap; gap: 16px; }

    .hamburger {
        padding: 12px;
        margin-right: -12px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px 16px;
    }
}

/* ══════════════════════════════════════════════
   ACCESSIBILITY: Reduced Motion
   ══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-can,
    .marquee-track,
    .distributor-can { animation: none !important; }
    .scroll-hint-line { animation: none !important; }
}

/* ══════════════════════════════════════════════
   LATA 360 SHOWROOM (NUEVA SECCIÓN)
   ══════════════════════════════════════════════ */
.lata-360-section {
    background: linear-gradient(to bottom, #D0D0CD 0%, #CACAC7 100%); /* Gradiente exacto que camufla el video de estudio */
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.lata-360-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.lata-360-video-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lata-360-video-wrapper {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(ellipse 78% 75% at center, black 58%, transparent 98%);
    mask-image: radial-gradient(ellipse 78% 75% at center, black 58%, transparent 98%);
}

.lata-360-video {
    width: 100%;
    display: block;
}

.lata-360-info-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lata-360-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lata-360-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--kong-dark);
    line-height: 0.95;
}

.lata-360-accent {
    color: var(--kong-mint);
}

.lata-360-sub {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(0, 34, 45, 0.85);
    line-height: 1.6;
    max-width: 50ch;
}

.lata-360-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.lata-360-feature-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 16px;
    border-left: 3px solid var(--kong-mint);
}

.lata-360-feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    color: var(--kong-dark);
    text-transform: uppercase;
}

.lata-360-feature-item p {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(0, 34, 45, 0.75);
    line-height: 1.6;
}

/* Responsivo para móviles y tabletas */
@media (max-width: 1023px) {
    .lata-360-section {
        padding: 80px 0;
    }
    
    .lata-360-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .lata-360-info-col {
        text-align: center;
        align-items: center;
    }
    
    .lata-360-header .hero-eyebrow {
        justify-content: center;
    }
    
    .lata-360-feature-item {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(77, 149, 145, 0.2);
        padding-top: 16px;
    }
}

/* ══════════════════════════════════════════════
   PROTECCIÓN DE CONTENIDO: Copiado y Arrastre
   ══════════════════════════════════════════════ */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none; /* Previene el guardado de imagen por pulsación larga en móviles */
}
