@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800;900&family=Fredoka+One&display=swap');

:root {
    --frutilla: #e8294a;
    --naranja: #f97316;
    --anana: #f5c800;
    --banana: #d4a017;
    --menta: #22c55e;
    --cielo: #38bdf8;
    --bg: #ffffff;
    --bg2: #f8fafc;
    --text: #1e293b;
    --dim: #64748b;
    --font-head: 'Fredoka One', cursive;
    --font-body: 'Nunito', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    transition: background 0.3s, box-shadow 0.3s;
    overflow: hidden;
    max-height: 80px;
    width: 100%;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-family: var(--font-head);
    font-size: 1.6rem;
    text-decoration: none;
    color: var(--frutilla);
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 0 rgba(232, 41, 74, 0.15);
}

.nav-logo span {
    color: var(--naranja);
}

.nav-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-cta {
    background: var(--frutilla);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
    background: #c41f3a;
    transform: scale(1.04);
}

/* DRIP DECORATION */
.drip-bar {
    display: flex;
    height: 10px;
    overflow: hidden;
    margin-top: 0;
}

.drip-bar span {
    flex: 1;
    position: relative;
    height: 100%;
}

.drip-bar span::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.drip-bar .d1 {
    background: var(--frutilla);
}

.drip-bar .d1::after {
    background: var(--frutilla);
}

.drip-bar .d2 {
    background: var(--naranja);
}

.drip-bar .d2::after {
    background: var(--naranja);
}

.drip-bar .d3 {
    background: var(--anana);
}

.drip-bar .d3::after {
    background: var(--anana);
}

.drip-bar .d4 {
    background: var(--menta);
}

.drip-bar .d4::after {
    background: var(--menta);
}

.drip-bar .d5 {
    background: var(--cielo);
}

.drip-bar .d5::after {
    background: var(--cielo);
}

/* HERO */
.hero {
    padding: 10rem 2rem 6rem;
    background: linear-gradient(170deg, #fff9f0 0%, #fff 50%, #f0faff 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    text-align: left;
    max-width: 1200px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--frutilla), var(--naranja));
    color: white;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(232, 41, 74, 0.35);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(232, 41, 74, 0);
    }
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero h1 .mieloso {
    background: linear-gradient(135deg, var(--frutilla), var(--naranja), var(--anana));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--dim);
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-mockup {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-mockup img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.flavors-row {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}


.flavor-bubble {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    cursor: default;
}

.flavor-bubble:hover {
    transform: scale(1.12) rotate(-3deg);
}

.fb-frutilla {
    background: radial-gradient(circle at 35% 35%, #ff6b82, var(--frutilla));
}

.fb-naranja {
    background: radial-gradient(circle at 35% 35%, #ffb347, var(--naranja));
}

.fb-anana {
    background: radial-gradient(circle at 35% 35%, #ffe566, var(--anana));
    color: #7a5c00;
}

.fb-menta {
    background: radial-gradient(circle at 35% 35%, #6ee7a4, var(--menta));
}

.fb-banana {
    background: radial-gradient(circle at 35% 35%, #ffe08a, var(--banana));
    color: #5a3e00;
}

/* SECTIONS */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--frutilla);
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text);
    margin-bottom: 0.75rem;
}

/* PRODUCTOS */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.producto-card {
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s;
}

.producto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.producto-card .img-box {
    margin: -2rem -2rem 1.5rem -2rem;
    overflow: hidden;
    height: 250px;
    background: white;
}

.producto-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.producto-card:hover .img-box img {
    transform: scale(1.1);
}

.producto-card .emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.producto-card h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.producto-card p {
    font-size: 0.9rem;
    color: var(--dim);
    font-weight: 600;
}

.pc-bolsa {
    background: linear-gradient(140deg, #fff5f7, #fff);
    border-color: rgba(232, 41, 74, 0.2);
}

.pc-pote {
    background: linear-gradient(140deg, #f0fff7, #fff);
    border-color: rgba(34, 197, 94, 0.2);
}

/* GALLERY SECTION */
.gallery-section {
    background: var(--bg);
    padding: 5rem 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SABORES */
.sabores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.sabor-card {
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    transition: transform 0.2s;
}

.sabor-card:hover {
    transform: scale(1.04);
}

.sabor-card .icono {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.sabor-card h4 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.sabor-card p {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 700;
}

.sc-frutilla {
    background: linear-gradient(140deg, #ff6b82, var(--frutilla));
    box-shadow: 0 8px 24px rgba(232, 41, 74, 0.3);
}

.sc-naranja {
    background: linear-gradient(140deg, #ffb347, var(--naranja));
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.sc-anana {
    background: linear-gradient(140deg, #ffe566, #e6b800);
    color: #5a3e00;
    box-shadow: 0 8px 24px rgba(245, 200, 0, 0.4);
}

.sc-menta {
    background: linear-gradient(140deg, #6ee7a4, var(--menta));
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.sc-banana {
    background: linear-gradient(140deg, #ffe08a, #c4880c);
    color: #3a2600;
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.3);
}

/* DISTRIBUIDOR */
.dist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.dist-item {
    background: var(--bg2);
    border-radius: 20px;
    padding: 1.75rem;
    border: 2px solid #f1f5f9;
    transition: border-color 0.3s, transform 0.3s;
}

.dist-item:hover {
    border-color: rgba(232, 41, 74, 0.3);
    transform: translateY(-3px);
}

.dist-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.dist-item h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.dist-item p {
    color: var(--dim);
    font-size: 0.88rem;
    font-weight: 600;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--frutilla) 0%, var(--naranja) 50%, var(--anana) 100%);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '🍬';
    position: absolute;
    font-size: 8rem;
    opacity: 0.08;
    top: -20px;
    left: -20px;
    transform: rotate(-20deg);
}

.cta-section::after {
    content: '🍭';
    position: absolute;
    font-size: 8rem;
    opacity: 0.08;
    bottom: -20px;
    right: -20px;
    transform: rotate(20deg);
}

.cta-section h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-dist {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    color: var(--frutilla);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    font-family: var(--font-head);
}

.btn-dist:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin-left: 1rem;
    transition: all 0.3s;
}

.btn-phone:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

footer a {
    color: var(--naranja);
    text-decoration: none;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 820px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-mockup {
        order: -1;
    }

    .hero-mockup img {
        max-width: 400px;
    }

    .flavors-row {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 0.9rem 1.25rem;
    }

    .hero {
        padding: 7.5rem 1.25rem 5rem;
    }

    section {
        padding: 3.5rem 1.25rem;
    }

    .flavor-bubble {
        width: 60px;
        height: 60px;
        font-size: 0.58rem;
    }

    .btn-phone {
        margin-left: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}