:root {
    /* Paleta dulce (modo claro) */
    --bg: #FFF8F3;
    /* Fondo crema cálido */
    --bg-2: #FFF2EA;
    /* Sección alternada */
    --bg-card: #FFFFFF;
    --surface: #FEF0E6;

    --choco: #5C3317;
    /* Marrón chocolate oscuro */
    --choco-mid: #8B4E26;
    /* Chocolate medio */
    --choco-light: #C47A3A;
    /* Caramelo dorado */
    --pink: #F4A7B9;
    /* Rosa pastel principal */
    --pink-dark: #E07A96;
    /* Rosa más intenso */
    --pink-soft: #FDEEF3;
    /* Rosa muy suave */
    --cream: #F9DFC7;
    /* Crema durazno */
    --cream-dark: #E8C49A;
    /* Crema oscura */
    --sprinkle-blue: #A8D8EA;
    --sprinkle-green: #A8E6CF;
    --sprinkle-yel: #FFD97D;

    --text: #2E1A0C;
    /* Texto principal marrón oscuro */
    --text-2: #5C3317;
    /* Texto secundario */
    --text-muted: #9C6B4A;
    /* Texto atenuado */
    --text-light: #C49A7A;
    /* Texto muy tenue */

    --border: #F0D4BC;
    --border-2: #FAE8D8;

    --white: #FFFFFF;
    --whatsapp: #25D366;

    /* Footer */
    --footer-bg: #2E1A0C;
    --footer-text: rgba(255, 248, 243, 0.8);
    --footer-dim: rgba(255, 248, 243, 0.45);
    --footer-wave: #FFF8F3;

    /* Tipografías */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    /* Tamaños fluidos */
    --fs-xs: 0.72rem;
    --fs-sm: 0.85rem;
    --fs-base: 1rem;
    --fs-md: 1.1rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;
    --fs-hero: clamp(2.6rem, 6.5vw, 4.8rem);

    /* Espaciado */
    --sp-1: .25rem;
    --sp-2: .5rem;
    --sp-3: .75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Bordes */
    --r-sm: 6px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 32px;
    --r-full: 9999px;

    /* Sombras */
    --sh-sm: 0 2px 10px rgba(92, 51, 23, .07);
    --sh-md: 0 4px 24px rgba(92, 51, 23, .11);
    --sh-lg: 0 8px 44px rgba(92, 51, 23, .14);
    --sh-card: 0 4px 28px rgba(92, 51, 23, .09);
    --sh-hover: 0 12px 44px rgba(92, 51, 23, .18);
    --sh-pink: 0 8px 28px rgba(244, 167, 185, .4);

    --nav-h: 68px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background .4s ease, color .4s ease;
}

a {
    color: inherit;
    text-decoration: none
}

img,
svg {
    max-width: 100%;
    display: block
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none
}

ul {
    list-style: none
}

input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit
}

/* ─────────────────────────────────────────────────────────────────
   03. UTILIDADES
   ───────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--sp-6)
}

@media(min-width:640px) {
    .container {
        padding: 0 var(--sp-8)
    }
}

@media(min-width:1280px) {
    .container {
        padding: 0 var(--sp-10)
    }
}

.hidden {
    display: none !important
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap
}

/* ─────────────────────────────────────────────────────────────────
   04. LOADER
   ───────────────────────────────────────────────────────────────── */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-5);
    transition: opacity .5s ease, visibility .5s ease;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex !important
}

.loader-donut {
    width: 72px;
    height: 72px;
    animation: spin 2.5s linear infinite
}

.loader-label {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    color: var(--choco-mid);
    letter-spacing: .05em
}

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

/* ─────────────────────────────────────────────────────────────────
   05. NAVBAR
   ───────────────────────────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: var(--nav-h);
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease, height .3s ease;
}

#navbar.scrolled {
    background: rgba(255, 248, 243, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--sh-sm);
    height: 60px;
}

.nav-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--sp-6);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

/* Marca */
.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    flex-shrink: 0
}

.brand-icon {
    width: 40px;
    height: 40px;
    animation: brandFloat 3.5s ease-in-out infinite
}

@keyframes brandFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg)
    }

    50% {
        transform: translateY(-4px) rotate(3deg)
    }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

.brand-name {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--choco)
}

.brand-tagline {
    font-size: var(--fs-xs);
    color: var(--pink-dark);
    font-weight: 500;
    letter-spacing: .06em
}

/* Menú */
.nav-menu {
    flex: 1;
    display: none
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-6);
    list-style: none
}

.nav-link {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    padding: var(--sp-2) 0;
    position: relative;
    transition: color .2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pink-dark);
    border-radius: var(--r-full);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.nav-link:hover {
    color: var(--pink-dark)
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1)
}

.nav-link.active {
    color: var(--pink-dark)
}

/* Controles */
.nav-ctrl {
    display: flex;
    align-items: center;
    gap: var(--sp-3)
}

.btn-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-full);
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all .25s ease;
    cursor: pointer;
}

.btn-icon:hover {
    border-color: var(--pink-dark);
    transform: rotate(15deg)
}

.light-mode .icon-moon {
    display: none
}

.dark-mode .icon-sun {
    display: none
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    padding: 4px
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease
}

.hamburger span:nth-child(1) {
    width: 24px
}

.hamburger span:nth-child(2) {
    width: 18px
}

.hamburger span:nth-child(3) {
    width: 24px
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    width: 24px
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    width: 24px
}

/* Menú móvil */
.nav-menu.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg-card);
    box-shadow: var(--sh-lg);
    padding: var(--sp-6);
    border-bottom: 3px solid var(--pink-soft);
    animation: slideDown .3s ease;
    z-index: 800;
}

.nav-menu.open .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
    width: 100%
}

.nav-menu.open .nav-link {
    font-size: var(--fs-lg);
    padding: var(--sp-3) 0;
    width: 100%;
    border-bottom: 1px solid var(--border-2)
}

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

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

/* ─────────────────────────────────────────────────────────────────
   06. BOTONES
   ───────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: .75rem 1.8rem;
    border-radius: var(--r-full);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--pink-dark);
    color: #fff;
    border-color: var(--pink-dark);
    box-shadow: var(--sh-pink)
}

.btn-primary:hover {
    background: var(--choco-mid);
    border-color: var(--choco-mid);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 32px rgba(92, 51, 23, .35)
}

.btn-ghost {
    background: transparent;
    color: var(--choco);
    border-color: var(--border)
}

.btn-ghost:hover {
    background: var(--pink-soft);
    border-color: var(--pink-dark);
    color: var(--pink-dark);
    transform: translateY(-2px)
}

.btn-choco {
    background: var(--choco);
    color: #fff;
    border-color: var(--choco)
}

.btn-choco:hover {
    background: var(--choco-mid);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 32px rgba(46, 26, 12, .35)
}

.btn-wa {
    background: var(--whatsapp);
    color: #fff;
    border-color: var(--whatsapp);
    box-shadow: 0 4px 18px rgba(37, 211, 102, .3)
}

.btn-wa:hover {
    background: #20b858;
    border-color: #20b858;
    transform: translateY(-3px) scale(1.04)
}

.btn-sm {
    padding: .5rem 1.2rem;
    font-size: var(--fs-xs)
}

.btn-submit {
    width: 100%;
    padding: .9rem;
    font-size: var(--fs-base)
}

.btn-submit .spin-txt {
    display: none
}

.btn-submit.loading .main-txt {
    display: none
}

.btn-submit.loading .spin-txt {
    display: inline
}

.btn-submit.loading {
    opacity: .7;
    cursor: wait
}

.btn-overlay {
    background: #fff;
    color: var(--choco);
    border: none;
    border-radius: var(--r-full);
    padding: .6rem 1.4rem;
    font-size: var(--fs-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: var(--sh-md);
    white-space: nowrap;
}

.btn-overlay:hover {
    background: var(--pink-dark);
    color: #fff;
    transform: scale(1.06)
}

/* ─────────────────────────────────────────────────────────────────
   07. HERO
   ───────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100svh;
    padding-top: var(--nav-h);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-12);
    position: relative;
    overflow: hidden;
    padding-bottom: var(--sp-16);
    padding-left: var(--sp-6);
    padding-right: var(--sp-6);
}

/* Fondo */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    opacity: .55
}

.b1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(#FDDDE8, #FCC8D6);
    top: -120px;
    left: -120px;
    animation: bm1 13s ease-in-out infinite alternate
}

.b2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(#FDE8D0, #F9C9A0);
    bottom: -80px;
    right: -80px;
    animation: bm2 11s ease-in-out infinite alternate
}

.b3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(#FFF2C8, #FFE48A);
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    animation: bm3 15s ease-in-out infinite alternate
}

@keyframes bm1 {
    to {
        transform: translate(40px, 30px) scale(1.1)
    }
}

@keyframes bm2 {
    to {
        transform: translate(-30px, -40px) scale(1.08)
    }
}

@keyframes bm3 {
    to {
        transform: translate(-45%, -55%) scale(1.12)
    }
}

/* Confeti decorativo */
.confetti {
    position: absolute;
    pointer-events: none;
    z-index: 1
}

.cf1 {
    top: 15%;
    left: 10%;
    animation: cfFloat 7s ease-in-out infinite
}

.cf2 {
    top: 25%;
    right: 12%;
    animation: cfFloat 9s ease-in-out infinite;
    animation-delay: 2s
}

.cf3 {
    bottom: 30%;
    left: 8%;
    animation: cfFloat 11s ease-in-out infinite;
    animation-delay: 1s
}

@keyframes cfFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg)
    }

    50% {
        transform: translateY(-18px) rotate(12deg)
    }
}

/* Contenido */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px
}

.hero-badge {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--pink-dark);
    background: var(--pink-soft);
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-full);
    margin-bottom: var(--sp-6);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--fs-hero);
    font-weight: 700;
    color: var(--choco);
    line-height: 1.06;
    margin-bottom: var(--sp-6);
    letter-spacing: -.02em;
}

.hero-title em {
    font-style: italic;
    color: var(--pink-dark);
    font-weight: 400
}

.hero-desc {
    font-size: var(--fs-md);
    color: var(--text-muted);
    margin-bottom: var(--sp-8);
    line-height: 1.75
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    justify-content: center;
    margin-bottom: var(--sp-8)
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    justify-content: center
}

.chip {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-2);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    box-shadow: var(--sh-sm);
}

/* Ilustración derecha */
.hero-illo {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px
}

.illo-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4)
}

.illo-card {
    border-radius: var(--r-xl);
    padding: var(--sp-5);
    text-align: center;
    box-shadow: var(--sh-card);
    transition: all .45s cubic-bezier(.25, .46, .45, .94);
    animation: cardBob 6s ease-in-out infinite;
    overflow: hidden;
}

.illo-card:nth-child(1) {
    animation-delay: 0s
}

.illo-card:nth-child(2) {
    animation-delay: 1.4s
}

.illo-card:nth-child(3) {
    animation-delay: .7s
}

.illo-card:nth-child(4) {
    animation-delay: 2.1s;
    grid-column: span 2
}

.illo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--sh-hover)
}

@keyframes cardBob {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

.illo-card p {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text-2);
    margin-top: var(--sp-3);
    letter-spacing: .04em
}

.ic-pink {
    background: linear-gradient(155deg, #FFF0F5, #FDDDE8)
}

.ic-cream {
    background: linear-gradient(155deg, #FEF6EE, #FDE8D0)
}

.ic-choco {
    background: linear-gradient(155deg, #F5EBE0, #EDD5BC)
}

.ic-mix {
    background: linear-gradient(155deg, #FFF8EE, #FFEDD0)
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-decoration: none;
}

.scroll-dot {
    width: 14px;
    height: 24px;
    border: 2px solid var(--pink-dark);
    border-radius: var(--r-full);
    position: relative;
    display: block;
}

.scroll-dot::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--pink-dark);
    border-radius: 50%;
    animation: sdrop 1.8s ease-in-out infinite;
}

@keyframes sdrop {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1
    }

    80% {
        transform: translateX(-50%) translateY(8px);
        opacity: .3
    }

    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0
    }
}

/* ─────────────────────────────────────────────────────────────────
   08. SECCIONES (wrapper genérico)
   ───────────────────────────────────────────────────────────────── */
.section {
    padding: var(--sp-20) 0
}

.sec-productos {
    background: var(--bg)
}

.sec-galeria {
    background: var(--bg-2)
}

.sec-eventos {
    background: var(--bg)
}

.sec-contacto {
    background: var(--bg-2)
}

/* Encabezado de sección */
.sec-head {
    text-align: center;
    margin-bottom: var(--sp-12)
}

.sec-label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--pink-dark);
    margin-bottom: var(--sp-4);
}

.sec-title {
    font-family: var(--font-display);
    font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
    font-weight: 700;
    color: var(--choco);
    line-height: 1.15;
    margin-bottom: var(--sp-4);
}

.sec-deco {
    color: var(--pink-dark);
    letter-spacing: .5em;
    font-size: var(--fs-xs);
    margin-bottom: var(--sp-5);
    display: block
}

.sec-desc {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: var(--fs-md);
    line-height: 1.75
}

/* ─────────────────────────────────────────────────────────────────
   09. PRODUCTOS — Cards
   ───────────────────────────────────────────────────────────────── */
.prod-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8)
}

.prod-card {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-card);
    border: 1px solid var(--border-2);
    transition: all .45s cubic-bezier(.25, .46, .45, .94);
}

.prod-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-hover);
    border-color: var(--border)
}

.prod-img-wrap {
    position: relative;
    overflow: hidden
}

.prod-img {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .5s ease;
}

.prod-img svg {
    height: 190px;
    width: auto;
    transition: transform .5s ease
}

.prod-card:hover .prod-img {
    transform: scale(1.03)
}

.prod-card:hover .prod-img svg {
    transform: scale(1.07) rotate(3deg)
}

.prod-overlay {
    position: absolute;
    inset: 0;
    background: rgba(46, 26, 12, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    backdrop-filter: blur(2px);
}

.prod-card:hover .prod-overlay,
.prod-card:focus-within .prod-overlay {
    opacity: 1
}

.prod-badge {
    position: absolute;
    top: var(--sp-4);
    left: var(--sp-4);
    z-index: 2;
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-full);
    box-shadow: var(--sh-sm);
}

.b-hot {
    background: #FEF0E4;
    color: #C9592A
}

.b-new {
    background: #FFF0F3;
    color: #C94E6A
}

.b-best {
    background: #F0F8EC;
    color: #4A7A2A
}

.b-vip {
    background: #F3E5F5;
    color: #7B3A9E
}

.prod-body {
    padding: var(--sp-6)
}

.prod-name {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--choco);
    margin-bottom: var(--sp-2)
}

.prod-desc {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin-bottom: var(--sp-5)
}

.prod-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-3)
}

.prod-price {
    display: flex;
    flex-direction: column
}

.price-tag {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--pink-dark);
    line-height: 1
}

.price-tag small {
    font-size: .65em;
    font-weight: 400;
    color: var(--text-muted)
}

.price-sub {
    font-size: var(--fs-xs);
    color: var(--text-light);
    margin-top: 2px
}

.prod-tag {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--choco-mid);
    background: var(--cream);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--r-full)
}

/* ─────────────────────────────────────────────────────────────────
   10. GALERÍA — Masonry / Pinterest
   ───────────────────────────────────────────────────────────────── */
.gal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    justify-content: center;
    margin-bottom: var(--sp-10)
}

.f-btn {
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: .55rem 1.3rem;
    border-radius: var(--r-full);
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text-2);
    cursor: pointer;
    transition: all .25s ease;
}

.f-btn:hover {
    border-color: var(--pink-dark);
    color: var(--pink-dark);
    background: var(--pink-soft)
}

.f-btn.active {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
    color: #fff;
    box-shadow: var(--sh-pink)
}

.gal-grid {
    columns: 1;
    column-gap: var(--sp-5);
    max-width: 1100px;
    margin: 0 auto
}

.gal-item {
    break-inside: avoid;
    margin-bottom: var(--sp-5);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--sh-card);
    transition: all .45s cubic-bezier(.25, .46, .45, .94);
}

.gal-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-hover)
}

.gal-item.out {
    display: none
}

.gal-item.fin {
    animation: gfade .4s ease forwards
}

@keyframes gfade {
    from {
        opacity: 0;
        transform: scale(.95) translateY(10px)
    }

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

.gal-thumb {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-8) var(--sp-6);
    transition: transform .5s ease;
}

.gal-thumb svg {
    transition: transform .4s ease
}

.gal-item:hover .gal-thumb {
    transform: scale(1.04)
}

.gal-item:hover .gal-thumb svg {
    transform: scale(1.08) rotate(2deg)
}

.gal-ov {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(46, 26, 12, .75), transparent);
    padding: var(--sp-6) var(--sp-5) var(--sp-4);
    transform: translateY(100%);
    transition: transform .35s ease;
}

.gal-item:hover .gal-ov {
    transform: translateY(0)
}

.gal-ov p {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #fff;
    letter-spacing: .02em
}

/* Colores galería */
.g-pk {
    background: linear-gradient(155deg, #FFF0F5, #FDDDE8);
    min-height: 220px
}

.g-cr {
    background: linear-gradient(155deg, #FEF6EE, #FDE8D0);
    min-height: 200px
}

.g-ch {
    background: linear-gradient(155deg, #F5EBE0, #EDD5BC);
    min-height: 260px
}

.g-ye {
    background: linear-gradient(155deg, #FFFBEC, #FFEDD0);
    min-height: 210px
}

.g-mix {
    background: linear-gradient(155deg, #F5F0FF, #EAD8F8);
    min-height: 240px
}

.g-wh {
    background: linear-gradient(155deg, #FAFAF8, #F0EDE8);
    min-height: 230px
}

.g-rose {
    background: linear-gradient(155deg, #FFF5F8, #FFE0EC);
    min-height: 270px
}

.g-caramel {
    background: linear-gradient(155deg, #FFF8E8, #FFE8C0);
    min-height: 225px
}

.gal-empty {
    text-align: center;
    color: var(--text-muted);
    padding: var(--sp-12);
    font-size: var(--fs-md)
}

/* ─────────────────────────────────────────────────────────────────
   11. EVENTOS
   ───────────────────────────────────────────────────────────────── */
.ev-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    margin-bottom: var(--sp-12)
}

.ev-card {
    background: var(--bg-card);
    border: 1px solid var(--border-2);
    border-radius: var(--r-xl);
    padding: var(--sp-8) var(--sp-6);
    transition: all .45s cubic-bezier(.25, .46, .45, .94);
    position: relative;
    overflow: hidden;
}

.ev-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.ev1::before {
    background: linear-gradient(90deg, var(--pink), var(--pink-dark))
}

.ev2::before {
    background: linear-gradient(90deg, var(--choco-light), var(--choco-mid))
}

.ev3::before {
    background: linear-gradient(90deg, var(--sprinkle-blue), #7EC8E3)
}

.ev-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-hover);
    border-color: var(--border)
}

.ev-card:hover::before {
    transform: scaleX(1)
}

.ev-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-5);
}

.ei-pink {
    background: linear-gradient(135deg, #F4A7B9, #E07A96)
}

.ei-choco {
    background: linear-gradient(135deg, #C47A3A, #8B4E26)
}

.ei-blue {
    background: linear-gradient(135deg, #A8D8EA, #7EC8E3)
}

.ev-icon svg {
    width: 34px;
    height: 34px
}

.ev-title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--choco);
    margin-bottom: var(--sp-3)
}

.ev-desc {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: var(--sp-5)
}

.ev-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    margin-bottom: var(--sp-6)
}

.ev-list li {
    font-size: var(--fs-sm);
    color: var(--text-2);
    font-weight: 500
}

/* Banner CTA eventos */
.ev-cta {
    background: linear-gradient(135deg, var(--pink-dark), #C05A7A);
    border-radius: var(--r-xl);
    padding: var(--sp-10) var(--sp-8);
    box-shadow: var(--sh-pink);
    overflow: hidden;
    position: relative;
}

.ev-cta::before {
    content: '🍩 🥞 🍩 🥞 🍩 🥞 🍩 🥞';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2.2rem;
    opacity: .12;
    letter-spacing: 8px;
    pointer-events: none;
    white-space: nowrap;
}

.ev-cta-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-6)
}

.ev-cta-lbl {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    margin-bottom: var(--sp-2)
}

.ev-cta-text h3 {
    font-family: var(--font-display);
    font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl));
    font-weight: 600;
    color: #fff;
    line-height: 1.2
}

.ev-cta .btn-wa {
    background: #fff;
    color: #C05A7A;
    border-color: #fff;
    flex-shrink: 0
}

.ev-cta .btn-wa:hover {
    background: var(--pink-soft);
    color: #C05A7A
}

/* ─────────────────────────────────────────────────────────────────
   12. CONTACTO & FORMULARIO
   ───────────────────────────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10)
}

/* Panel info */
.ct-info {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6)
}

.wa-card {
    background: var(--bg-card);
    border: 2px solid var(--whatsapp);
    border-radius: var(--r-xl);
    padding: var(--sp-6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-4);
    box-shadow: 0 4px 24px rgba(37, 211, 102, .12);
    transition: all .45s cubic-bezier(.25, .46, .45, .94);
}

.wa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, .22)
}

.wa-ico svg {
    width: 52px;
    height: 52px
}

.wa-txt {
    flex: 1;
    min-width: 140px
}

.wa-lbl {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--sp-1)
}

.wa-num {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--choco)
}

.ct-details {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4)
}

.cd-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    padding: var(--sp-4);
    background: var(--bg-card);
    border-radius: var(--r-md);
    border: 1px solid var(--border-2);
    transition: all .2s ease;
}

.cd-item:hover {
    border-color: var(--border);
    box-shadow: var(--sh-sm)
}

.cd-ico {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px
}

.cd-item strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--choco);
    margin-bottom: 2px
}

.cd-item span {
    font-size: var(--fs-sm);
    color: var(--text-muted)
}

/* Formulario */
.ct-form-wrap {
    background: var(--bg-card);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    box-shadow: var(--sh-card);
    border: 1px solid var(--border-2);
}

.form-grp {
    margin-bottom: var(--sp-5)
}

.form-lbl {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--text-2);
    margin-bottom: var(--sp-2);
}

.req {
    color: var(--pink-dark);
    margin-left: 2px
}

.form-inp {
    width: 100%;
    padding: .75rem 1rem;
    font-size: var(--fs-base);
    color: var(--text);
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    transition: border-color .25s ease, box-shadow .25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-inp:focus {
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px rgba(224, 122, 150, .15);
    background: #fff
}

.form-inp.error {
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px rgba(224, 122, 150, .15)
}

.form-inp.ok {
    border-color: #6AB04C;
    box-shadow: 0 0 0 3px rgba(106, 176, 76, .12)
}

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

.form-err {
    display: block;
    font-size: var(--fs-xs);
    color: var(--pink-dark);
    font-weight: 600;
    margin-top: var(--sp-2);
    min-height: 1em
}

.form-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: var(--sp-2)
}

.form-cnt {
    font-size: var(--fs-xs);
    color: var(--text-light);
    flex-shrink: 0;
    margin-left: var(--sp-2)
}

.form-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none
}

.form-ok {
    text-align: center;
    padding: var(--sp-8);
    background: #F0FBF0;
    border: 2px solid #6AB04C;
    border-radius: var(--r-lg);
    margin-top: var(--sp-5);
}

.form-ok span {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--sp-3)
}

.form-ok strong {
    display: block;
    color: var(--choco);
    margin-bottom: var(--sp-2);
    font-size: var(--fs-md)
}

.form-ok p {
    color: var(--text-muted);
    font-size: var(--fs-sm)
}

/* ─────────────────────────────────────────────────────────────────
   13. FOOTER
   ───────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    position: relative
}

.footer-wave {
    line-height: 0;
    margin-bottom: -1px
}

.footer-wave svg {
    width: 100%;
    height: 70px
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    padding-top: var(--sp-12);
    padding-bottom: var(--sp-12)
}

.ft-brand {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3)
}

.ft-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3)
}

.ft-logo svg {
    width: 40px;
    height: 40px
}

.ft-logo-name {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    color: #fff;
    line-height: 1
}

.ft-logo-name strong {
    color: var(--pink);
    display: block;
    font-weight: 700
}

.ft-tag {
    font-size: var(--fs-sm);
    color: var(--footer-dim);
    font-style: italic
}

.ft-social {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-2);
    flex-wrap: wrap
}

.soc-lnk {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, .18);
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .65);
    transition: all .25s ease;
    text-decoration: none;
}

.soc-lnk:hover {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
    color: #fff;
    transform: translateY(-3px)
}

.soc-lnk svg {
    width: 18px;
    height: 18px
}

.ft-nav-title {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--footer-dim);
    margin-bottom: var(--sp-5)
}

.ft-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3)
}

.ft-nav a {
    font-size: var(--fs-sm);
    color: var(--footer-text);
    text-decoration: none;
    transition: color .2s ease;
    padding: var(--sp-1) 0
}

.ft-nav a:hover {
    color: var(--pink)
}

.ft-contact {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3)
}

.ft-contact p {
    font-size: var(--fs-sm);
    color: var(--footer-text)
}

.ft-contact .btn-wa {
    align-self: flex-start;
    margin-top: var(--sp-2)
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: var(--sp-6) 0
}

.footer-bottom p {
    font-size: var(--fs-xs);
    color: var(--footer-dim);
    text-align: center
}

/* ─────────────────────────────────────────────────────────────────
   14. BOTÓN FLOTANTE WHATSAPP
   ───────────────────────────────────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-6);
    z-index: 850;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    filter: drop-shadow(0 6px 20px rgba(37, 211, 102, .48));
    transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
}

.wa-float:hover {
    transform: translateY(-4px) scale(1.06);
    filter: drop-shadow(0 10px 28px rgba(37, 211, 102, .58))
}

.wa-float-ico {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: block
}

.wa-tip {
    background: var(--choco);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--r-full);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
    order: -1;
}

.wa-float:hover .wa-tip {
    opacity: 1;
    transform: translateX(0)
}

.wa-pulse {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: #FF4444;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: pdot 2s ease-in-out infinite;
}

@keyframes pdot {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.35)
    }
}

/* ─────────────────────────────────────────────────────────────────
   15. SCROLL REVEAL
   ───────────────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease
}

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

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .3s
}

.d4 {
    transition-delay: .4s
}

.d5 {
    transition-delay: .5s
}

/* ─────────────────────────────────────────────────────────────────
   16. MODO OSCURO
   ───────────────────────────────────────────────────────────────── */
.dark-mode {
    --bg: #1C0F08;
    --bg-2: #230E08;
    --bg-card: #2A1408;
    --surface: #321A0E;
    --choco: #F5DEC8;
    --choco-mid: #E8B888;
    --choco-light: #D4956A;
    --pink: #F4A7B9;
    --pink-dark: #E8879A;
    --pink-soft: #3D1020;
    --cream: #3D2210;
    --cream-dark: #4D2E18;
    --text: #F5E8D8;
    --text-2: #D4A882;
    --text-muted: #9C6B4A;
    --text-light: #6A4030;
    --border: #3D2210;
    --border-2: #2E180A;
    --white: #1C0F08;
    --footer-wave: #1C0F08;
    --sh-card: 0 4px 24px rgba(0, 0, 0, .35);
    --sh-hover: 0 12px 44px rgba(0, 0, 0, .45);
}

.dark-mode .b1 {
    opacity: .2
}

.dark-mode .b2 {
    opacity: .2
}

.dark-mode .b3 {
    opacity: .15
}

.dark-mode .g-pk {
    background: linear-gradient(155deg, #2A1018, #3D1828)
}

.dark-mode .g-cr {
    background: linear-gradient(155deg, #2A1808, #3D2818)
}

.dark-mode .g-ch {
    background: linear-gradient(155deg, #201208, #341E10)
}

.dark-mode .g-ye {
    background: linear-gradient(155deg, #281A04, #3D2810)
}

.dark-mode .g-mix {
    background: linear-gradient(155deg, #1A1028, #2E1A40)
}

.dark-mode .g-wh {
    background: linear-gradient(155deg, #181818, #282828)
}

.dark-mode .g-rose {
    background: linear-gradient(155deg, #2A0E18, #3D1828)
}

.dark-mode .g-caramel {
    background: linear-gradient(155deg, #281808, #3D2818)
}

.dark-mode .ic-pink {
    background: linear-gradient(155deg, #2A1018, #3D1828)
}

.dark-mode .ic-cream {
    background: linear-gradient(155deg, #2A1808, #3D2818)
}

.dark-mode .ic-choco {
    background: linear-gradient(155deg, #1E1008, #341C10)
}

.dark-mode .ic-mix {
    background: linear-gradient(155deg, #281808, #3D2818)
}

/* ─────────────────────────────────────────────────────────────────
   17. RESPONSIVE
   ───────────────────────────────────────────────────────────────── */
@media(min-width:640px) {
    .prod-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .gal-grid {
        columns: 2
    }

    .ev-grid {
        grid-template-columns: 1fr
    }

    .ev-cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr)
    }

    .ft-brand {
        grid-column: span 2
    }
}

@media(min-width:768px) {
    .hero {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--sp-12);
        padding-left: var(--sp-10);
        padding-right: var(--sp-10)
    }

    .hero-content {
        text-align: left;
        flex: 1;
        max-width: 520px
    }

    .hero-btns {
        justify-content: flex-start
    }

    .hero-chips {
        justify-content: flex-start
    }

    .hero-illo {
        flex: 1
    }

    .gal-grid {
        columns: 3
    }

    .ev-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .contact-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start
    }
}

@media(min-width:1024px) {
    .prod-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .nav-menu {
        display: flex !important
    }

    .hamburger {
        display: none
    }

    .nav-menu.open {
        position: static;
        box-shadow: none;
        padding: 0;
        background: transparent;
        border: none;
        animation: none;
        flex: 1;
    }

    .nav-menu.open .nav-list {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--sp-6)
    }

    .nav-menu.open .nav-link {
        font-size: var(--fs-sm);
        padding: var(--sp-2) 0;
        border-bottom: none
    }

    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--sp-12);
        align-items: start
    }

    .ft-brand {
        grid-column: span 1
    }
}

@media(min-width:1200px) {
    .prod-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* ─────────────────────────────────────────────────────────────────
   18. ACCESIBILIDAD
   ───────────────────────────────────────────────────────────────── */
:focus-visible {
    outline: 3px solid var(--pink-dark);
    outline-offset: 3px;
    border-radius: var(--r-sm)
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}