/* ==========================================================================
   GRAZZIA · Cajas & Regalos Personalizados
   Identidad visual: madera de nogal, yute, listón crema y vino.
   ========================================================================== */

/* --- 1. TOKENS ----------------------------------------------------------- */
:root {
    /* Paleta tomada de las cajas */
    --cream: #FAF6F0;        /* fondo general, papel */
    --paper: #FFFDF9;        /* tarjetas */
    --sand: #F2EADF;         /* secciones alternas, yute claro */
    --burlap: #D8C6A6;       /* yute */
    --line: #E7DDD0;         /* bordes */
    --ink: #2B211C;          /* texto principal, nogal oscuro */
    --muted: #6E6058;        /* texto secundario */
    --wood: #8A5A34;         /* madera */
    --wood-dark: #5A3A24;    /* botones, hover */
    --wine: #7A2638;         /* acento: listón tinto */
    --wine-soft: #F4E6E8;
    --whatsapp: #1F7A4D;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(43, 33, 28, .04), 0 4px 14px rgba(43, 33, 28, .04);
    --shadow-md: 0 2px 4px rgba(43, 33, 28, .04), 0 14px 34px rgba(43, 33, 28, .09);
    --container: 1180px;
    --header-h: 76px;
}

/* --- 2. BASE ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

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

/* Etiqueta pequeña sobre títulos */
.sub-tag, .spaced-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 16px;
}
.sub-tag::before, .spaced-tag::before {
    content: "";
    width: 26px; height: 1px;
    background: currentColor;
    opacity: .6;
}
.center .sub-tag::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }

/* --- 3. BOTONES ---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--wood-dark); color: #fff; }
.btn-primary:hover { background: var(--ink); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--burlap); }
.btn-outline:hover { border-color: var(--wood-dark); background: var(--paper); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #17603C; }

.btn-block { width: 100%; }

.text-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: .92rem;
    color: var(--wood-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--burlap);
    padding-bottom: 2px;
    transition: border-color .2s, color .2s;
}
.text-link svg { width: 16px; height: 16px; }
.text-link { white-space: nowrap; }
.text-link:hover { color: var(--wine); border-color: var(--wine); }

/* --- 4. HEADER ----------------------------------------------------------- */
.announcement {
    background: var(--ink);
    color: #EFE6D8;
    text-align: center;
    font-size: .8rem;
    letter-spacing: .03em;
    padding: 8px 16px;
}
.announcement a { color: #fff; font-weight: 600; }

header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 246, 240, .92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}

nav.site-nav {
    max-width: var(--container);
    margin: 0 auto;
    height: var(--header-h);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 46px; width: auto; object-fit: contain; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
}
.nav-links a {
    position: relative;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    color: var(--muted);
    padding: 6px 0;
    transition: color .2s;
}
.nav-links a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--wine);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }

.nav-links .nav-mobile-cta { display: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { min-height: 40px; padding: 8px 18px; font-size: .86rem; }

.mobile-menu-btn {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: none; border: 0; cursor: pointer;
    border-radius: 50%;
}
.mobile-menu-btn .bars { position: relative; width: 22px; height: 14px; }
.mobile-menu-btn .bars > span {
    position: absolute; left: 0; width: 100%; height: 1.5px;
    background: var(--ink); border-radius: 2px;
    transition: transform .3s, opacity .2s, top .3s;
}
.mobile-menu-btn .bars > span:nth-child(1) { top: 0; }
.mobile-menu-btn .bars > span:nth-child(2) { top: 6px; }
.mobile-menu-btn .bars > span:nth-child(3) { top: 12px; }
.mobile-menu-btn.open .bars > span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.mobile-menu-btn.open .bars > span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open .bars > span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* --- 5. ENCABEZADOS DE PÁGINA ------------------------------------------- */
.page-hero {
    padding: 64px 24px 48px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(216, 198, 166, .35), transparent 60%),
        var(--cream);
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }

/* Hero del inicio */
.hero-home {
    padding: 56px 0 72px;
    background:
        radial-gradient(ellipse at 85% 10%, rgba(216, 198, 166, .45), transparent 55%),
        var(--cream);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 64px;
}
.hero-copy h1 {
    font-size: clamp(2.6rem, 5.4vw, 4.2rem);
    margin-bottom: 22px;
}
.hero-copy h1 .sub-tag { display: flex; line-height: 1.4; }
.hero-copy h1 em { font-style: italic; color: var(--wine); }
.hero-copy p.lead { font-size: 1.12rem; color: var(--muted); max-width: 480px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    margin-top: 34px; padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: .86rem; color: var(--muted);
    list-style: none;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--wood); }

.hero-media { position: relative; }
.hero-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 240px 240px var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
}
.hero-badge {
    position: absolute; left: -28px; bottom: 36px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    max-width: 220px;
}
.hero-badge strong { display: block; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.hero-badge span { font-size: .8rem; color: var(--muted); }

/* --- 6. PROPUESTA DE VALOR ---------------------------------------------- */
.features-section {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.feature-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 34px 28px;
}
.feature-item + .feature-item { border-left: 1px solid var(--line); }
.feature-icon {
    flex: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--wood-dark);
    display: grid; place-items: center;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-item h3 { font-size: 1.35rem; margin-bottom: 4px; }
.feature-item p { font-size: .9rem; color: var(--muted); }

/* --- 7. SECCIONES GENÉRICAS --------------------------------------------- */
.section { padding: 88px 0; }
.section.alt { background: var(--sand); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); max-width: 520px; margin-top: 8px; }

/* --- 8. TARJETAS DE PRODUCTO -------------------------------------------- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--burlap); }

.product-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
}
.product-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.product-card:hover .product-card-media img { transform: scale(1.04); }

.card-tag {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255, 253, 249, .94);
    border: 1px solid var(--line);
    color: var(--wood-dark);
    font-size: .7rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
}

.product-card-body {
    display: flex; flex-direction: column; flex: 1;
    padding: 20px 22px 22px;
}
.product-card-meta { font-size: .78rem; color: var(--muted); letter-spacing: .02em; margin-bottom: 6px; }
.product-card-title { font-size: 1.6rem; margin-bottom: 6px; }
.product-card-desc { font-size: .92rem; color: var(--muted); flex: 1; margin-bottom: 18px; }

.product-card-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.price {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.12rem;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.price small { font-size: .72rem; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: .02em; }
.card-link {
    font-size: .86rem; font-weight: 600; color: var(--wine);
    display: inline-flex; align-items: center; gap: 6px;
}
.card-link svg { width: 16px; height: 16px; transition: transform .3s; }
.product-card:hover .card-link svg { transform: translateX(3px); }

/* Filtros del catálogo */
.catalog-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: .86rem; font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all .2s;
}
.chip:hover { border-color: var(--burlap); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.toolbar-right { display: flex; align-items: center; gap: 16px; font-size: .86rem; color: var(--muted); }
.select {
    min-height: 40px;
    padding: 8px 36px 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E6058' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    font-size: .86rem;
    cursor: pointer;
}

.price-note { margin-top: 32px; text-align: center; font-size: .84rem; color: var(--muted); }

/* --- 9. FICHA DE PRODUCTO ----------------------------------------------- */
.breadcrumb {
    display: flex; flex-wrap: wrap; gap: 8px;
    list-style: none;
    font-size: .82rem; color: var(--muted);
    padding: 26px 0 22px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--wine); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--burlap); }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
}
.product-detail-image {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.product-detail-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.product-detail-info h1 { font-size: clamp(2.4rem, 4.4vw, 3.4rem); margin-bottom: 8px; }
.product-detail-info .tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--wood);
    margin-bottom: 22px;
}
.product-detail-info .price { font-size: 1.7rem; }
.product-detail-info .price small { font-size: .82rem; }

.spec-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; list-style: none; }
.spec-pills li {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--sand);
    font-size: .8rem; color: var(--wood-dark);
}
.spec-pills svg { width: 14px; height: 14px; }

.product-detail-info .description { color: var(--muted); margin-bottom: 26px; }

.includes-box {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 26px;
}
.includes-box h2 {
    font-family: var(--font-body);
    font-size: .76rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 14px;
}
.includes-box ul { list-style: none; display: grid; gap: 10px; }
.includes-box li { display: flex; gap: 12px; font-size: .94rem; line-height: 1.45; }
.includes-box li svg { flex: none; width: 18px; height: 18px; color: var(--wood); margin-top: 1px; }

.product-actions { display: grid; gap: 10px; margin-bottom: 22px; }
.assurance { list-style: none; display: grid; gap: 10px; font-size: .86rem; color: var(--muted); }
.assurance li { display: flex; gap: 10px; align-items: flex-start; }
.assurance svg { flex: none; width: 18px; height: 18px; color: var(--wood); margin-top: 1px; }

/* Historia */
.long-desc-box {
    max-width: 720px;
    margin: 96px auto 0;
    padding-top: 56px;
    border-top: 1px solid var(--line);
}
.long-desc-box h3 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    text-align: center;
    margin-bottom: 28px;
}
.long-desc-box p, .long-desc-box li {
    font-size: 1.04rem;
    line-height: 1.85;
    color: #4A3E37;
}
.long-desc-box p:first-of-type::first-letter {
    float: left;
    font-family: var(--font-heading);
    font-size: 4.2rem;
    line-height: .9;
    padding: 6px 10px 0 0;
    color: var(--wine);
}
.long-desc-box ul { margin: 12px 0 0 22px; }
.long-desc-box li { margin-bottom: 6px; }
.long-desc-box li::marker { color: var(--wood); }

.related { margin-top: 96px; }

/* Barra fija de compra en móvil */
.mobile-buy-bar { display: none; }

.not-found { text-align: center; padding: 80px 20px; }
.not-found h1 { font-size: 2.6rem; margin-bottom: 10px; }
.not-found p { color: var(--muted); margin-bottom: 24px; }

/* --- 10. HISTORIA (INICIO) ---------------------------------------------- */
.story-split-section { padding: 96px 0; }
.story-split-section.alt-bg { background: var(--sand); }
.story-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.story-split-container.reverse .story-split-image { order: 2; }
.story-split-image img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.story-split-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.story-split-text p { color: var(--muted); margin-bottom: 14px; }
.story-split-text p:last-child { margin-bottom: 0; }

/* --- 11. CÓMO PEDIR ----------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    counter-reset: step;
}
.step {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
}
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--burlap);
    margin-bottom: 18px;
}
.step h3 { font-size: 1.45rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--muted); }

/* Ocasiones */
.occasions {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.occasion {
    padding: 26px 24px;
    border-top: 2px solid var(--wine);
    background: var(--paper);
    border-radius: 0 0 var(--radius) var(--radius);
}
.occasion h3 { font-size: 1.4rem; margin-bottom: 6px; }
.occasion p { font-size: .9rem; color: var(--muted); }
.center-cta { text-align: center; margin-top: 32px; }

/* Texto SEO del catálogo */
.seo-text {
    max-width: 760px;
    margin: 72px auto 0;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}
.seo-text h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; }
.seo-text p { color: var(--muted); margin-bottom: 12px; }

/* --- 12. CTA ------------------------------------------------------------ */
.cta-banner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}
.cta-box {
    border-radius: var(--radius);
    padding: 48px 44px;
    background: var(--ink);
    color: #EFE6D8;
}
.cta-box h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); color: #fff; margin-bottom: 12px; }
.cta-box p { opacity: .85; margin-bottom: 26px; max-width: 460px; }
.cta-box .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-box .btn-outline:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.cta-box .cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-box.alt { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.cta-box.alt h2 { color: var(--ink); }
.cta-box.alt p { color: var(--muted); opacity: 1; }
.cta-box.alt .btn-outline { color: var(--ink); border-color: var(--burlap); }
.cta-box.alt .btn-outline:hover { border-color: var(--wood-dark); background: var(--cream); }

/* --- 13. CONTACTO ------------------------------------------------------- */
.contact-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
    padding-bottom: 96px;
}
.contact-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
}
.contact-card h2 { font-size: 2rem; margin-bottom: 6px; }
.contact-card .card-intro { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.contact-info-column { display: flex; flex-direction: column; gap: 24px; }

.custom-form .form-group, .form-group { display: flex; flex-direction: column; margin-bottom: 18px; }
.custom-form label, .form-group label { font-size: .84rem; font-weight: 600; margin-bottom: 8px; }
.custom-form input, .custom-form textarea, .custom-form select,
.form-group input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-size: .95rem;
    transition: border-color .2s, background-color .2s;
}
.custom-form textarea { resize: vertical; min-height: 120px; }
.custom-form select { cursor: pointer; }
.custom-form input:focus, .custom-form textarea:focus, .form-group input:focus {
    outline: none; border-color: var(--wood); background: #fff;
}
.form-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-status-msg { margin-top: 14px; font-size: .9rem; text-align: center; min-height: 1.4em; }
.form-status-msg.error { color: #A12A2A; }
.form-status-msg.ok { color: var(--whatsapp); }

.direct-channels { display: grid; gap: 10px; }
.channel-btn {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    text-decoration: none;
    transition: border-color .2s, background-color .2s;
}
.channel-btn:hover { border-color: var(--wood); background: #fff; }
.channel-btn .ch-icon {
    width: 38px; height: 38px; flex: none;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--sand); color: var(--wood-dark);
}
.channel-btn .ch-icon svg { width: 18px; height: 18px; }
.channel-btn strong { display: block; font-size: .95rem; }
.channel-btn span.ch-sub { font-size: .8rem; color: var(--muted); }
.channel-btn .ch-arrow { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }

.tracker-box { background: var(--sand); }

/* --- 14. FAQ ------------------------------------------------------------ */
.faq-container { max-width: 820px; margin: 0 auto; padding: 0 24px 96px; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group-title {
    font-family: var(--font-body);
    font-size: .76rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 14px;
}
.faq-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    transition: border-color .2s;
}
.faq-item[open] { border-color: var(--burlap); }
.faq-item summary {
    list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 22px;
    font-weight: 600;
    cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    flex: none;
    width: 12px; height: 12px;
    border-right: 1.5px solid var(--wood);
    border-bottom: 1.5px solid var(--wood);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-answer { padding: 0 22px 22px; color: var(--muted); font-size: .95rem; }

.faq-help-box {
    margin-top: 56px;
    background: var(--ink);
    color: #EFE6D8;
    border-radius: var(--radius);
    padding: 44px 32px;
    text-align: center;
}
.faq-help-box h2, .faq-help-box h3 { font-size: 2rem; color: #fff; margin-bottom: 8px; }
.faq-help-box p { opacity: .85; margin-bottom: 24px; }
.faq-help-box .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.faq-help-box .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .35); }

/* --- 15. FOOTER --------------------------------------------------------- */
footer.site-footer {
    background: var(--ink);
    color: #CFC3B4;
    padding: 72px 0 28px;
    font-size: .9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
}
.footer-brand p { max-width: 280px; }
.site-footer h4 {
    font-family: var(--font-body);
    font-size: .72rem; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding-top: 24px;
    font-size: .8rem; color: #9C8F82;
}

/* --- 16. WHATSAPP FLOTANTE ---------------------------------------------- */
.wa-float {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 900;
    display: flex; align-items: center; gap: 10px;
    height: 56px;
    padding: 0 20px 0 16px;
    border-radius: 999px;
    background: var(--whatsapp);
    color: #fff;
    font-weight: 600; font-size: .9rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(31, 122, 77, .35);
    transition: transform .25s, background-color .25s;
}
.wa-float:hover { transform: translateY(-2px); background: #17603C; }
.wa-float svg { width: 24px; height: 24px; }

/* --- 17. ANIMACIÓN SUAVE ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* --- 18. RESPONSIVE ----------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid { gap: 40px; }
    .product-detail-grid { gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    :root { --header-h: 64px; }

    .mobile-menu-btn { display: inline-flex; }
    .nav-cta .btn { display: none; }

    .nav-links {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 24px;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(43, 33, 28, .08);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, transform .25s, visibility .25s;
    }
    .nav-links.active { opacity: 1; transform: none; visibility: visible; }
    .nav-links li { border-bottom: 1px solid var(--line); }
    .nav-links a { display: block; padding: 16px 0; font-size: 1.05rem; color: var(--ink); }
    .nav-links a::after { display: none; }
    .nav-links a.active { color: var(--wine); }
    .nav-links .nav-mobile-cta { display: block; border: 0; padding-top: 18px; }
    .nav-links .nav-mobile-cta a { display: flex; color: #fff; padding: 12px 24px; }

    .logo-img { height: 38px; }

    .hero-home { padding: 32px 0 56px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; }
    .hero-media img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
    .hero-badge { display: none; }

    .features-grid { grid-template-columns: 1fr; }
    .feature-item { padding: 22px 0; }
    .feature-item + .feature-item { border-left: 0; border-top: 1px solid var(--line); }

    .section { padding: 64px 0; }
    .section-head { flex-direction: column; align-items: flex-start; }

    .story-split-section { padding: 64px 0; }
    .story-split-container { grid-template-columns: 1fr; gap: 28px; }
    .story-split-container.reverse .story-split-image { order: 0; }

    .steps { grid-template-columns: 1fr; }
    .occasions { grid-template-columns: 1fr 1fr; }
    .cta-banner { grid-template-columns: 1fr; }
    .cta-box { padding: 36px 26px; }

    .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
    .product-detail-image { position: static; }
    .long-desc-box { margin-top: 64px; padding-top: 40px; }
    .related { margin-top: 64px; }

    .mobile-buy-bar {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: 0;
        z-index: 950;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 253, 249, .97);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(43, 33, 28, .08);
    }
    .mobile-buy-bar .price { font-size: 1.05rem; line-height: 1.2; }
    .mobile-buy-bar .price small { display: block; margin: 0; }
    .mobile-buy-bar .btn { min-height: 46px; padding: 10px 20px; }
    body.has-buy-bar { padding-bottom: 84px; }
    body.has-buy-bar .wa-float { display: none; }

    .contact-container { grid-template-columns: 1fr; }
    .contact-card { padding: 26px 22px; }

    .wa-float { padding: 0; width: 56px; justify-content: center; }
    .wa-float .wa-label { display: none; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .container { padding: 0 16px; }
    nav.site-nav { padding: 0 16px; }
    .catalog-grid { grid-template-columns: 1fr; gap: 20px; }
    .occasions { grid-template-columns: 1fr; }
    .catalog-toolbar { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
    .catalog-toolbar > * { min-width: 0; max-width: 100%; }
    .filter-chips { flex-wrap: nowrap; overflow-x: auto; max-width: calc(100% + 32px) !important; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .filter-chips::-webkit-scrollbar { display: none; }
    .chip { flex: none; }
    .toolbar-right { justify-content: space-between; }
    .hero-buttons .btn { flex: 1 1 100%; }
    .page-hero { padding: 44px 16px 32px; }
    .faq-container { padding: 0 16px 72px; }
}
