/* =========================================================================
   ESTILO MODERNO · capa visual
   Solo cambia la apariencia: no mueve secciones ni cambia el orden.
   Se carga después de styles.css y tienda.css. Para volver al estilo
   anterior basta con quitar el <link> a este archivo (y moderno.js).
   Idea: textil de lujo. Costuras, tramas de tela, hilo dorado y botones.
   ========================================================================= */

/* ---------- Tipografía: Fraunces (serif elegante) para los acentos dorados ---------- */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(tipografias/fraunces-latin-wght-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(tipografias/fraunces-latin-ext-wght-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(tipografias/fraunces-latin-wght-italic.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(tipografias/fraunces-latin-ext-wght-italic.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --font-serif: 'Fraunces', Georgia, serif;
    --oro: #c9a46a;            /* dorado luminoso para detalles */
    --oro-hilo: linear-gradient(90deg, #b3864b, #e6c992 50%, #b3864b);
    /* Tramas de tela (SVG muy sutiles) */
    --trama-lino: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 .5h6M.5 0v6' stroke='%230f2d4c' stroke-opacity='.022'/%3E%3C/svg%3E");
    --trama-sarga: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath d='M-1 11L11 -1M4 11L11 4M-1 6L6 -1' stroke='%23ffffff' stroke-opacity='.035'/%3E%3C/svg%3E");
    /* Costura: línea punteada dorada */
    --costura: repeating-linear-gradient(90deg, var(--oro) 0 6px, transparent 6px 11px);
}

::selection { background: var(--gold); color: #fff; }

/* Barra de desplazamiento en tonos de la marca */
html { scrollbar-color: var(--gold) var(--ivory); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--navy), var(--gold)); border-radius: 10px; border: 2px solid var(--ivory); }

/* ---------- Títulos ---------- */
.section-title h2,
.manifesto-header h2,
.values-header h2,
.pf-info h2,
.mayor h2,
.shop-hero h1 {
    letter-spacing: -0.025em;
}
/* La palabra dorada de cada título en serif cursiva, con subrayado de hilo que se dibuja */
.section-title h2 em,
.manifesto-header h2 em,
.mayor h2 em,
.shop-hero h1 em,
.hero-promo h2 em,
.ruleta-section h2 em {
    position: relative;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.01em;
    padding: 0 0.04em;
    -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'%3E%3Cpath d='M1 6 C 15 1, 25 9, 40 5 S 65 1, 80 5 S 105 9, 119 4' fill='none' stroke='%23c9a46a' stroke-width='1.6' stroke-linecap='round' stroke-dasharray='4 3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 0.32em;
    transition: background-size 1.4s var(--ease-out) 0.35s;
}
.section-title h2.is-visible em,
.section-title.is-visible h2 em,
.is-visible > h2 em,
h2 em.hilo-visible,
.hero-promo.is-active h2 em {
    background-size: 100% 0.32em;
}

/* Cifras grandes (Nosotros, valores, precios destacados) en serif */
.manifesto-card h3,
.value-number {
    font-family: var(--font-serif);
    font-weight: 400;
    font-variation-settings: 'opsz' 96;
    letter-spacing: -0.02em;
}
.value-number { font-style: italic; }

/* Etiquetas pequeñas: como cinta tejida */
.eyebrow,
.pf-eyebrow,
.card-eyebrow,
.product-cat {
    letter-spacing: 0.22em;
}

/* ---------- Tramas de tela en los fondos ---------- */
.section-ivory,
.section-sand,
.section-white,
.reviews-section,
.payment-methods-section,
.shop-results {
    background-image: var(--trama-lino);
}
.values-section,
.ticker-wrap {
    background-image: var(--trama-sarga);
}

/* ---------- Adornos de sección: costura + botón de tela ---------- */
.ornament::before,
.ornament::after {
    width: 70px;
    height: 2px;
    background: var(--costura);
    -webkit-mask: linear-gradient(90deg, transparent, #000 60%);
            mask: linear-gradient(90deg, transparent, #000 60%);
}
.ornament::after {
    -webkit-mask: linear-gradient(90deg, #000 40%, transparent);
            mask: linear-gradient(90deg, #000 40%, transparent);
}
/* El rombo pasa a ser un botón de costura con 4 agujeros */
.ornament > span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--oro);
    background:
        radial-gradient(circle at 35% 35%, var(--oro) 0 1px, transparent 1.4px),
        radial-gradient(circle at 65% 35%, var(--oro) 0 1px, transparent 1.4px),
        radial-gradient(circle at 35% 65%, var(--oro) 0 1px, transparent 1.4px),
        radial-gradient(circle at 65% 65%, var(--oro) 0 1px, transparent 1.4px);
}
.js .ornament > span { transform: scale(0) rotate(-120deg); }
.js .ornament.is-visible > span { transform: scale(1) rotate(0); }
.ornament-light > span { border-color: var(--gold-light); }

/* ---------- Botones: costura interior al pasar el mouse ---------- */
.btn,
.btn-lux,
.btn-ghost,
.btn-ghost-dark,
.btn-outline-light,
.btn-card,
.ruleta-btn {
    position: relative;
    isolation: isolate;
    letter-spacing: 0.02em;
}
.btn::before,
.btn-lux::before,
.btn-ghost::before,
.btn-ghost-dark::before,
.btn-outline-light::before,
.btn-card::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px dashed currentColor;
    border-radius: inherit;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
    pointer-events: none;
}
.btn:hover::before,
.btn-lux:hover::before,
.btn-ghost:hover::before,
.btn-ghost-dark:hover::before,
.btn-outline-light:hover::before,
.btn-card:hover::before {
    opacity: 0.55;
    transform: scale(1);
}
.btn-lux,
.btn-primary {
    box-shadow: 0 14px 30px -14px rgba(15, 45, 76, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-lux-gold {
    background: linear-gradient(135deg, #b3864b, #d4b07a 55%, #b3864b);
    background-size: 200% 100%;
    transition: background-position 0.8s var(--ease-out), color 0.45s ease, box-shadow 0.45s ease, translate 0.45s var(--ease-out);
}
.btn-lux-gold:hover { background-position: 100% 0; }
.btn-lux:active, .btn:active, .btn-ghost:active, .btn-card:active { scale: 0.97; }

/* Movimiento "magnético" (lo controla moderno.js) */
.iman { transition: translate 0.35s var(--ease-out); }

/* ---------- Menú: subrayado de hilo dorado ---------- */
.header-nav a:not(.btn-tienda) {
    position: relative;
    padding-bottom: 4px;
}
.header-nav a:not(.btn-tienda)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--costura);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out);
}
.header-nav a:not(.btn-tienda):hover::after,
.header-nav a:not(.btn-tienda).active::after { transform: scaleX(1); }
.header-nav a:not(.btn-tienda):hover { color: var(--gold-light); }

/* ---------- Tarjetas de producto ---------- */
.product-card-modern {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}
/* Costura que aparece alrededor de la tarjeta */
.product-card-modern::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px dashed var(--oro);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.5s ease, inset 0.6s var(--ease-out);
    pointer-events: none;
    z-index: 2;
}
.product-card-modern:hover::before { opacity: 0.8; inset: 4px; }
/* Luz que sigue al mouse (moderno.js pone --mx/--my) */
.product-card-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 164, 106, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.product-card-modern:hover::after { opacity: 1; }
.product-card-modern .product-image img { transition: transform 1.1s var(--ease-out); }
.product-title { letter-spacing: -0.01em; }
.price-now { font-variant-numeric: tabular-nums; }

/* Tarjetas de Nosotros, valores y opiniones: borde de costura al pasar */
.manifesto-card,
.value-card,
.chat-card {
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s ease;
}
.manifesto-card:hover,
.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 164, 106, 0.55);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(201, 164, 106, 0.25);
}
.chat-card:hover { transform: translateY(-4px) rotate(-0.4deg); }

/* ---------- Pie de página: costura superior ---------- */
.main-footer {
    border-top: 0;
    box-shadow: inset 0 3px 0 -1px transparent;
}
.main-footer > .container:first-child,
.main-footer .footer-grid {
    position: relative;
}
.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--costura);
    opacity: 0.7;
}
.main-footer a { transition: color 0.3s ease, padding-left 0.35s var(--ease-out); }
.main-footer li a:hover { padding-left: 6px; color: var(--gold-light); }

/* ---------- Aparición al bajar: entra con desenfoque suave ---------- */
.js .bloque-anim {
    filter: blur(8px);
    transform: translateY(34px) scale(0.985);
    transition: opacity 0.8s ease, transform 0.9s var(--ease-out), filter 0.9s ease;
}
.js .bloque-anim.bloque-visible {
    filter: none;
    transform: none;
}
/* Elementos que moderno.js anima uno tras otro */
.js .entra {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease var(--retraso, 0s), transform 0.8s var(--ease-out) var(--retraso, 0s);
}
.js .entra.entro { opacity: 1; transform: none; }

/* ---------- Hilo dorado: avance de lectura, arriba de la pantalla ---------- */
.hilo-progreso {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: calc(var(--avance, 0) * 100%);
    height: 3px;
    z-index: 1200;
    pointer-events: none;
    background: var(--oro-hilo);
    box-shadow: 0 0 10px rgba(201, 164, 106, 0.6);
}
/* La aguja que lleva el hilo */
.hilo-progreso::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px var(--gold), 0 0 12px var(--oro);
}

/* ---------- Cursor de costura (solo computadoras con mouse) ---------- */
.cursor-aguja,
.cursor-ojal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.35s var(--ease-out), height 0.35s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease;
}
.cursor-aguja {
    width: 7px;
    height: 7px;
    background: var(--gold);
    margin: -3.5px 0 0 -3.5px;
}
.cursor-ojal {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px dashed var(--gold);
}
.cursor-activo .cursor-aguja,
.cursor-activo .cursor-ojal { opacity: 1; }
.cursor-sobre .cursor-ojal {
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    background: rgba(201, 164, 106, 0.12);
    border-style: solid;
}

/* ---------- Detalle textil flotante en las secciones oscuras ---------- */
.ruleta-section,
.manifesto-section,
.values-section,
.mayor {
    position: relative;
    isolation: isolate;   /* el hilo queda detrás del contenido y delante del fondo */
}
.hilo-flotante {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    width: min(460px, 45vw);
    height: auto;
}
.hilo-flotante path {
    fill: none;
    stroke: var(--oro);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-dasharray: 6 7;
    animation: hilo-corre 18s linear infinite;
}
@keyframes hilo-corre { to { stroke-dashoffset: -260; } }

/* ---------- Accesibilidad: sin movimientos si la persona lo pide ---------- */
@media (prefers-reduced-motion: reduce) {
    .js .bloque-anim { filter: none; transform: none; }
    .js .entra { opacity: 1; transform: none; }
    .hilo-flotante path { animation: none; }
    .section-title h2 em, .manifesto-header h2 em, .mayor h2 em, .hero-promo h2 em { background-size: 100% 0.32em; transition: none; }
}
/* En celulares no se usa cursor ni inclinación 3D */
@media (hover: none), (pointer: coarse) {
    .cursor-aguja, .cursor-ojal { display: none; }
}

/* =========================================================================
   ESTILO 2026: el mismo lenguaje de las portadas de Hogar y Hotelería en
   toda la web. Las secciones oscuras pasan a ser tarjetas redondeadas con
   margen, velo azul con brillo dorado y una trama de tejido muy suave; las
   etiquetas son píldoras de vidrio y los botones, píldoras doradas.
   ========================================================================= */
:root {
    --marco-m: 14px;     /* separación de las tarjetas con el borde de la pantalla */
    --marco-r: 32px;     /* redondeo de las tarjetas grandes */
    --tejido:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 9px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 9px);
}
@media (max-width: 760px) {
    :root { --marco-m: 10px; --marco-r: 24px; }
}
body { background-color: var(--ivory); }

/* ---------- Secciones oscuras como tarjetas ---------- */
.ruleta-section,
.mayor,
.discount-banner,
.manifesto-section,
.values-section,
.b2b-banner,
.legal-hero,
.main-footer {
    margin: var(--marco-m);
    border-radius: var(--marco-r);
    overflow: hidden;
    isolation: isolate;
}
.ruleta-section {
    background:
        var(--tejido),
        radial-gradient(800px 360px at 50% 70%, rgba(179, 134, 75, 0.26), transparent 70%),
        radial-gradient(900px 500px at 0% 0%, rgba(16, 76, 122, 0.55), transparent 65%),
        linear-gradient(180deg, var(--navy-deep), #0c2742);
}
.mayor {
    background:
        var(--tejido),
        radial-gradient(70% 90% at 0% 100%, rgba(179, 134, 75, 0.28), transparent 60%),
        linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 55%, #123a60 100%);
}
.manifesto-section {
    padding-bottom: 110px;
    background:
        var(--tejido),
        radial-gradient(900px 480px at 12% 0%, rgba(179, 134, 75, 0.22), transparent 65%),
        radial-gradient(600px 360px at 92% 62%, rgba(16, 76, 122, 0.5), transparent 70%),
        var(--navy-deep);
}
.values-section {
    padding-top: 100px;
    background:
        var(--tejido),
        radial-gradient(70% 90% at 100% 100%, rgba(179, 134, 75, 0.22), transparent 60%),
        var(--navy-deep);
}
.values-header { padding-top: 0; border-top: 0; }
.b2b-banner {
    background:
        var(--tejido),
        radial-gradient(700px 360px at 90% 0%, rgba(179, 134, 75, 0.25), transparent 65%),
        radial-gradient(70% 90% at 0% 100%, rgba(179, 134, 75, 0.18), transparent 60%),
        var(--navy-deep);
}
.legal-hero {
    padding: 70px 0 60px;
    background:
        var(--tejido),
        radial-gradient(70% 90% at 0% 100%, rgba(179, 134, 75, 0.3), transparent 60%),
        linear-gradient(120deg, var(--navy-deep) 30%, var(--navy));
}
.legal-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
}
.main-footer {
    background:
        var(--tejido),
        radial-gradient(800px 380px at 85% 0%, rgba(179, 134, 75, 0.16), transparent 65%),
        radial-gradient(60% 80% at 0% 100%, rgba(16, 76, 122, 0.45), transparent 60%),
        var(--navy-deep);
}
.main-footer::before,
.main-footer::after { display: none; }

/* Tarjetas dentro de las secciones oscuras: vidrio, como las ventajas de la portada */
.manifesto-card,
.value-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.value-card::before { display: none; }
.value-card {
    transition: border-color 0.5s ease, translate 0.6s var(--ease-out);
}
.value-card:hover { border-color: rgba(220, 192, 152, 0.5); translate: 0 -6px; }

/* ---------- Etiquetas: píldora con punto dorado ---------- */
.eyebrow,
.pf-eyebrow {
    gap: 9px;
    padding: 7px 16px 7px 11px;
    border: 1px solid rgba(179, 134, 75, 0.3);
    border-radius: 999px;
    background: rgba(179, 134, 75, 0.08);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}
.eyebrow::before,
.pf-eyebrow::before {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(179, 134, 75, 0.18);
}
/* Sobre fondo oscuro, la píldora es de vidrio */
:is(.ruleta-section, .mayor, .manifesto-section, .values-section, .b2b-banner, .legal-hero) :is(.eyebrow, .pf-eyebrow) {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gold-light);
}
:is(.ruleta-section, .mayor, .manifesto-section, .values-section, .b2b-banner, .legal-hero) :is(.eyebrow, .pf-eyebrow)::before {
    background: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(220, 192, 152, 0.2);
}

/* ---------- Franja de beneficios: píldora debajo de la portada ---------- */
.ticker-wrap {
    margin: 10px var(--marco-m) 0;
    border-radius: 999px;
}

/* ---------- Inicio: la elección Hogar | Hotelería sobre el fondo marfil ----------
   Las dos tarjetas ocupan el mismo ancho que la portada y la sección de categorías:
   mismo margen con el borde de la pantalla, mismo redondeo y la misma separación. */
.elige-linea { background: transparent; padding: 52px 0 0; }
.elige-linea > .container { max-width: none; padding: 0; }
.elige-titulo { padding: 0 20px; }
.elige-grid { gap: var(--marco-m); margin: 0 var(--marco-m); }
.elige-card {
    aspect-ratio: auto;
    /* Título + tarjetas ocupan justo una pantalla (bajo el encabezado fijo) */
    height: max(360px, calc(100vh - 240px));
    height: max(360px, calc(100svh - 240px));
    border-radius: var(--marco-r);
}
.elige-capa { gap: 8px; padding: clamp(26px, 3vw, 46px); }
.elige-capa strong { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.elige-txt { max-width: 480px; font-size: 0.98rem; }
@media (max-width: 760px) {
    .elige-linea { padding-top: 36px; }
    .elige-card { height: auto; min-height: 290px; }
    .elige-capa { padding: 18px; }
    .elige-capa strong { font-size: 1.7rem; }
    .elige-txt { font-size: 0.84rem; }
}

/* =========================================================================
   PORTADA DEL INICIO: misma tarjeta que la de Hogar y Hotelería
   ========================================================================= */
.hero {
    margin: var(--marco-m) var(--marco-m) 0;
    border-radius: var(--marco-r);
    isolation: isolate;
    /* Portada + franja siguen cabiendo en la primera pantalla (se descuentan los márgenes) */
    height: calc(100vh - var(--alto-arriba, 186px) - 48px - 24px);
    height: calc(100svh - var(--alto-arriba, 186px) - 48px - 24px);
    min-height: 460px;
}
/* Velo azul con brillo dorado abajo a la izquierda y trama de tejido */
.hero.con-promo .hero-overlay {
    background:
        radial-gradient(70% 90% at 0% 100%, rgba(179, 134, 75, 0.3), transparent 60%),
        linear-gradient(100deg, rgba(10, 31, 54, 0.92) 8%, rgba(10, 31, 54, 0.62) 42%, rgba(10, 31, 54, 0.12) 80%);
}
.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--tejido);
    -webkit-mask-image: linear-gradient(90deg, #000 10%, transparent 60%);
            mask-image: linear-gradient(90deg, #000 10%, transparent 60%);
}
/* El texto de cada foto se alinea con el contenido de la página */
.hero-promo {
    left: max(28px, calc((100% - 1160px) / 2));
    max-width: 600px;
}
.hero-promo-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
}
.hero-promo-chip::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(220, 192, 152, 0.22);
}
.hero-promo-chip b { color: var(--gold-light); }
.hero-promo h2,
.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-shadow: none;
}
.hero-promo h2 { margin: 18px 0 16px; }
.hero-promo h2 em { color: var(--gold-light); }
.hero-promo p {
    max-width: 52ch;
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
    opacity: 1;
}
/* Botones de la portada: píldora dorada, igual que en Hogar y Hotelería */
.hero .btn-primary {
    padding: 15px 28px;
    background: var(--gold);
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55);
}
.hero .btn-primary:hover { background: #fff; color: var(--navy); }
.hero .btn-primary i { font-size: 0.85em; transition: translate 0.35s var(--ease-out); }
.hero .btn-primary:hover i { translate: 4px 0; }
/* Puntos de la portada en una píldora de vidrio, abajo a la derecha */
.hero-dots {
    left: auto;
    right: max(28px, calc((100% - 1160px) / 2));
    bottom: 26px;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(10, 31, 54, 0.32);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: none;
}
.hero-dots button { width: 8px; height: 8px; }
.hero-dots button[aria-pressed="true"] { width: 26px; background: var(--gold-light); }

@media (max-width: 760px) {
    .hero { min-height: 420px; }
    .hero-promo { left: 22px; right: 22px; }
    .hero-promo h2,
    .hero-content h1 { font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
    .hero-promo h2 { margin: 14px 0 10px; }
    .hero-promo p { margin-bottom: 18px; font-size: 0.92rem; line-height: 1.55; }
    .hero-promo-chip { font-size: 0.64rem; letter-spacing: 0.1em; }
    .hero.con-promo .hero-overlay {
        background:
            radial-gradient(90% 60% at 0% 100%, rgba(179, 134, 75, 0.28), transparent 60%),
            linear-gradient(0deg, rgba(10, 31, 54, 0.9) 10%, rgba(10, 31, 54, 0.45) 60%, rgba(10, 31, 54, 0.15));
    }
    .hero-overlay::after {
        -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 70%);
                mask-image: linear-gradient(0deg, #000 10%, transparent 70%);
    }
    .hero-dots { left: 50%; right: auto; bottom: 16px; transform: translateX(-50%); }
    .ticker-wrap { margin-top: 8px; }
    .legal-hero { padding: 50px 0 44px; }
}

/* ---------- Nuestros clientes: capturas reales de WhatsApp ---------- */
.capturas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 26px;
    max-width: 1080px;
    margin: 0 auto;
}
.captura-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 60px -34px rgba(15, 45, 76, 0.45);
    transition: translate 0.5s var(--ease-out), box-shadow 0.5s ease, border-color 0.5s ease;
}
.captura-card:hover {
    translate: 0 -6px;
    border-color: rgba(179, 134, 75, 0.45);
    box-shadow: 0 40px 70px -34px rgba(15, 45, 76, 0.55);
}
.captura-cab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}
.captura-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--navy), var(--navy-deep));
    color: var(--gold-light);
    font-family: var(--font-serif, 'Fraunces', Georgia, serif);
    font-size: 1.1rem;
    font-style: italic;
}
.captura-quien { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.captura-quien strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--navy); }
.captura-quien small { font-size: 0.74rem; color: var(--ink-soft); }
.captura-cab > i { margin-left: auto; font-size: 1.35rem; color: #25d366; }
.captura-card img { display: block; width: 100%; height: auto; }

@media (max-width: 760px) {
    /* En celular las capturas se deslizan de lado */
    .capturas-grid {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin: 0 -20px;
        padding: 6px 20px 24px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px;
        scrollbar-width: none;
    }
    .capturas-grid::-webkit-scrollbar { display: none; }
    .captura-card { flex: 0 0 82%; scroll-snap-align: start; }
    .captura-card:nth-child(2) { order: -1; }   /* primero la que trae la foto del producto */
}

/* ---------- Inicio: carrusel "Los más vendidos" ---------- */
.carrusel { position: relative; }
.carrusel-pista {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 22px) / 4);
    gap: 22px;
    margin: 0 -6px;
    padding: 6px 6px 28px;          /* espacio para la sombra de las tarjetas */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 6px;
    scrollbar-width: none;
}
.carrusel-pista::-webkit-scrollbar { display: none; }
.carrusel-pista > .card-wrap { min-width: 0; scroll-snap-align: start; }
.carrusel-btn {
    position: absolute;
    top: 36%;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: 0.85rem;
    box-shadow: 0 16px 32px -16px rgba(15, 45, 76, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, scale 0.3s ease;
}
.carrusel-prev { left: -24px; }
.carrusel-next { right: -24px; }
.carrusel-btn:hover { background: var(--navy); color: #fff; }
.carrusel-btn:disabled { opacity: 0; scale: 0.8; pointer-events: none; }
.carrusel-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1100px) {
    .carrusel-pista { grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; }
    .carrusel-prev { left: -10px; }
    .carrusel-next { right: -10px; }
}
@media (max-width: 760px) {
    /* En celular la siguiente tarjeta asoma por el borde: se nota que hay más */
    .carrusel-pista {
        grid-auto-columns: 66%;
        gap: 14px;
        margin: 0 -20px;
        padding: 6px 20px 24px;
        scroll-padding: 0 20px;
    }
    .carrusel-btn { top: 30%; width: 38px; height: 38px; font-size: 0.75rem; }
    .carrusel-prev { left: 4px; }
    .carrusel-next { right: 4px; }
    .carrusel .lbl-long { display: none; }
    .carrusel .lbl-short { display: inline; }
    .carrusel .badge-line { display: none; }
}

/* =========================================================================
   ENCABEZADO 2026: franja clara arriba, barra principal como tarjeta azul
   redondeada (igual que las portadas) y el aviso "En vivo" como píldora.
   ========================================================================= */
/* Franja superior: clara, en una sola línea, alineada con el contenido del encabezado */
.top-bar {
    padding: 9px 0;
    border-bottom: 0;
    background: var(--ivory);
    color: var(--navy);
}
.top-bar .top-bar-inner {
    max-width: calc(1400px + 2 * var(--marco-m));
    padding: 0 calc(40px + var(--marco-m));
    flex-direction: row;
    gap: 14px;
}
.top-bar-msg {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--navy);
    transition: color 0.3s ease, gap 0.3s ease;
}
.top-bar-msg::before {
    content: "";
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(179, 134, 75, 0.2);
}
.top-bar a.top-bar-msg:hover { color: var(--gold-ink); gap: 12px; }
.top-bar-social { gap: 8px; }
.top-bar-social a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: 0.74rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, translate 0.3s var(--ease-out);
}
.top-bar .top-bar-social a:hover { background: var(--navy); border-color: var(--navy); color: #fff; translate: 0 -2px; }

/* Barra principal: tarjeta azul redondeada con brillo dorado y trama de tejido */
.main-header {
    position: relative;
    z-index: 60;
    margin: 0 var(--marco-m);
    padding: 12px 0;
    border-radius: 26px;
    background:
        var(--tejido),
        radial-gradient(50% 160% at 0% 0%, rgba(179, 134, 75, 0.24), transparent 60%),
        linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, #124a7a 100%);
    box-shadow: 0 22px 44px -30px rgba(10, 31, 54, 0.7);
}
.main-logo { max-height: 66px; }
.logo a { display: block; transition: transform 0.4s var(--ease-out); }
.logo a:hover { transform: scale(1.03); }

/* Lupa, carrito y menú: botones redondos de vidrio */
.header-icons { gap: 10px; }
.header-icons a,
.header-icons button,
.menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.header-icons a:hover,
.header-icons button:hover,
.menu-toggle:hover {
    background: #fff;
    border-color: #fff;
    color: var(--navy);
}
.menu-toggle { display: none; }
.cart-count {
    top: -3px;
    right: -3px;
    width: 19px;
    height: 19px;
    border: 2px solid var(--navy);
    background: var(--gold);
    font-size: 0.62rem;
}

/* Aviso "En vivo" del inicio: píldora blanca debajo del encabezado */
.notification-bar {
    width: max-content;
    max-width: calc(100% - 2 * var(--marco-m));
    margin: 10px auto 0;
    padding: 5px 16px 5px 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 10px 24px -20px rgba(15, 45, 76, 0.5);
}
.notification-bar::after {
    background: linear-gradient(100deg, transparent 35%, rgba(179, 134, 75, 0.16) 50%, transparent 65%);
}
.nb-vivo { color: #d62828; }
.nb-msg b { color: var(--gold-ink); }

@media (max-width: 1180px) {
    .menu-toggle { display: grid; }
}
@media (max-width: 992px) {
    .top-bar .top-bar-inner { flex-direction: row; }
}
@media (max-width: 768px) {
    .top-bar { padding: 7px 0; }
    .top-bar .top-bar-inner { padding: 0 calc(20px + var(--marco-m)); }
    .top-bar-msg { font-size: 0.64rem; letter-spacing: 0.1em; gap: 7px; }
    .top-bar-social { gap: 6px; }
    .top-bar-social a { width: 26px; height: 26px; font-size: 0.7rem; }
    .main-header { padding: 10px 0; border-radius: 20px; }
    .main-logo { max-height: 56px; }
    .header-icons { gap: 8px; }
    .header-icons a,
    .header-icons button,
    .menu-toggle { width: 40px; height: 40px; font-size: 0.95rem; }
    .notification-bar { margin-top: 8px; font-size: 0.74rem; }
}
@media (max-width: 380px) {
    .top-bar-msg { letter-spacing: 0.06em; }
}
.header-nav ul { align-items: center; }

/* =========================================================================
   MENÚ DEL CELULAR 2026: panel marfil con borde redondeado, cabecera azul
   como el encabezado, Hogar | Hotelería en tarjetas y categorías agrupadas.
   ========================================================================= */
.mnav-panel {
    gap: 14px;
    padding: 12px 12px 20px;
    border-radius: 0 28px 28px 0;
    background: var(--ivory);
    box-shadow: 24px 0 60px -30px rgba(10, 31, 54, 0.6);
}
.mnav-head {
    flex: none;
    padding: 12px 14px 12px 18px;
    border-radius: 22px;
    background:
        var(--tejido),
        radial-gradient(60% 160% at 0% 0%, rgba(179, 134, 75, 0.26), transparent 60%),
        linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 60%, #124a7a 100%);
}
.mnav-head img { height: 50px; }
.mnav-head .icon-btn {
    width: 42px;
    height: 42px;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}
.mnav-head .icon-btn:hover { background: #fff; color: var(--navy); }

/* Hogar | Hotelería */
.mnav-lineas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.mnav-lineas a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    color: var(--navy);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.mnav-lineas a:hover { border-color: rgba(179, 134, 75, 0.5); }
.mnav-lineas a.active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}
.mnav-lin-ico {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--sand);
    color: var(--gold-ink);
}
.mnav-lineas a.active .mnav-lin-ico { background: var(--gold); color: #fff; }
.mnav-lin-txt { display: flex; flex-direction: column; line-height: 1.2; }
.mnav-lin-txt strong { font-family: var(--font-display); font-size: 1.02rem; }
.mnav-lin-txt small { margin-top: 2px; font-size: 0.72rem; opacity: 0.7; }

/* Categorías en un grupo blanco */
.mnav-etq {
    margin: 4px 0 -6px 8px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-ink);
}
.mnav-panel ul.mnav-lista {
    padding: 4px 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}
.mnav-panel .mnav-lista > li:last-child > a,
.mnav-panel .mnav-lista > li:last-child .mnav-grupo summary { border-bottom: 0; }
.mnav-panel .mnav-lista li a,
.mnav-grupo summary {
    padding: 15px 18px;
    font-size: 1.04rem;
    font-weight: 500;
}
.mnav-panel .mnav-lista li a i,
.mnav-grupo summary i {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ivory);
    font-size: 0.66rem;
}
/* Tipos de cada categoría como píldoras */
.mnav-panel .mnav-grupo ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 18px 16px;
    background: transparent;
    border-bottom: 1px solid var(--line);
}
.mnav-panel .mnav-grupo ul a {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--ivory);
    font-size: 0.86rem;
    font-weight: 600;
}
.mnav-panel .mnav-grupo ul a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

/* Pie del menú: WhatsApp y redes */
.mnav-pie { display: grid; gap: 14px; margin-top: auto; }
.mnav-wa {
    margin: 0;
    padding: 15px;
    background: #16874a;
    box-shadow: 0 14px 28px -16px rgba(22, 135, 74, 0.9);
}
.mnav-redes { display: flex; justify-content: center; gap: 10px; }
.mnav-redes a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
}
.mnav-redes a:hover { background: var(--navy); color: #fff; }

/* =========================================================================
   CARRITO 2026: panel flotante redondeado, cabecera azul y productos en tarjetas
   ========================================================================= */
.cart-drawer {
    top: 10px;
    right: 10px;
    bottom: 10px;
    width: min(430px, calc(100% - 20px));
    overflow: hidden;
    border-radius: 28px;
    background: var(--ivory);
    transform: translateX(calc(100% + 24px));
}
.cart-head {
    margin: 10px 10px 4px;
    padding: 16px 14px 16px 20px;
    border-bottom: 0;
    border-radius: 22px;
    background:
        var(--tejido),
        radial-gradient(60% 160% at 0% 0%, rgba(179, 134, 75, 0.26), transparent 60%),
        linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 60%, #124a7a 100%);
}
.cart-head h2 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.3rem; }
.cart-head-count {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
}
.cart-head-count:empty { display: none; }
.cart-head .icon-btn {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.cart-head .icon-btn:hover { background: #fff; color: var(--navy); }
.cart-body { padding: 6px 10px; }
.cart-list { display: grid; gap: 10px; }
.ci {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}
.ci img { border-radius: 14px; }
.cart-foot {
    margin: 4px 10px 10px;
    padding: 18px 18px 16px;
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 -18px 40px -36px rgba(15, 45, 76, 0.5);
}
.cart-total strong { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.cart-foot .btn-lux { background: linear-gradient(120deg, var(--navy) 0%, #124a7a 100%); }
.cart-foot .btn-lux:hover { background: var(--gold); }

/* Aviso "Agregado al carrito" */
.toast {
    padding: 10px;
    border-radius: 22px;
    background:
        var(--tejido),
        linear-gradient(115deg, var(--navy-deep), var(--navy));
}
.toast img { border-radius: 14px; }

/* ---------- Botón "Volver arriba" (moderno.js), encima del de WhatsApp ---------- */
.subir {
    position: fixed;
    right: 36px;
    bottom: 110px;
    z-index: 999;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(15, 45, 76, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 14px 30px -14px rgba(10, 31, 54, 0.8);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.85);
    transition: opacity 0.35s ease, transform 0.45s var(--ease-out), background-color 0.3s ease;
}
body:not(:has(.whatsapp-btn)) .subir { bottom: 30px; right: 30px; }
.subir.visible { opacity: 1; pointer-events: auto; transform: none; }
.subir:hover { background: var(--gold); }
.subir:hover i { animation: subir-flecha 0.6s ease; }
@keyframes subir-flecha { 50% { translate: 0 -4px; } }
.subir:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Anillo de avance: se va llenando en dorado mientras se baja */
.subir-anillo {
    position: absolute;
    inset: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    rotate: -90deg;
    pointer-events: none;
}
.subir-anillo circle {
    fill: none;
    stroke: var(--gold-light);
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s linear;
}
@media (max-width: 760px) {
    .subir { width: 44px; height: 44px; right: 38px; bottom: 108px; }
}
@media (prefers-reduced-motion: reduce) {
    .subir, .subir-anillo circle { transition: opacity 0.2s ease; }
    .subir:hover i { animation: none; }
}

/* ---------- Pedidos por mayor: fotos reales del taller dentro del marco "Somos fabricantes" ----------
   Se alternan con el video del bordado (ciclo de 12 s: 2 s el video y 2 s cada foto del taller). */
.mayor-taller { position: absolute; inset: 0; border-radius: inherit; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: mayor-taller 12s infinite; animation-delay: calc(var(--i) * 2s + 2s); }
@keyframes mayor-taller { 0% { opacity: 0; transform: scale(1.04); } 4% { opacity: 1; } 16.6% { opacity: 1; } 20.6% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.mayor-foto .mayor-sello { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .mayor-taller { animation: none; } }

/* Fotos que van pasando en "¿Para dónde está comprando?" */
.elige-card img.elige-sig { opacity: 0; transition: opacity 1.2s ease, transform 1.2s var(--ease-out); }
.elige-card img.elige-sig.visible { opacity: 1; }
.elige-card img.elige-sig.sin-transicion { transition: none; }



/* Marco "Somos fabricantes": resaltado con borde dorado, marco desplazado detrás,
   el nombre de cada etapa del taller y puntos que marcan qué foto se ve */
.mayor-foto { outline: 1px solid rgba(220, 192, 152, 0.55); outline-offset: -1px; }
.mayor-grid { position: relative; }
.mayor-foto::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1.5px solid rgba(220, 192, 152, 0.45); border-radius: inherit; transform: translate(16px, 16px); pointer-events: none; }
.mayor-etqs { position: absolute; top: 18px; left: 18px; z-index: 2; }
.mayor-etq { position: absolute; top: 0; left: 0; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.6); opacity: 0; animation: mayor-taller 12s infinite; animation-delay: calc(var(--i) * 2s + 2s); }
.mayor-puntos-foto { position: absolute; top: 24px; right: 20px; z-index: 2; display: flex; gap: 6px; }
.mayor-puntos-foto i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.45); animation: mayor-punto 12s infinite; animation-delay: calc(var(--i) * 2s + 2s); }
@keyframes mayor-punto { 0%, 16.6% { width: 22px; background: var(--gold-light); } 18%, 100% { width: 7px; background: rgba(255, 255, 255, 0.45); } }
@media (prefers-reduced-motion: reduce) { .mayor-etq, .mayor-puntos-foto i { animation: none; } }

/* ---------- Encabezado que acompaña al bajar ----------
   Se queda pegado arriba; al bajar se vuelve una píldora flotante de vidrio,
   más angosta y delgada, con logo más chico. Vuelve a su forma al subir del todo. */
.main-header {
    position: sticky;
    top: 10px;
    transition: padding 0.45s var(--ease-out), margin 0.45s var(--ease-out), border-radius 0.45s var(--ease-out), box-shadow 0.45s ease, background-color 0.45s ease;
}
.main-header .main-logo { transition: max-height 0.45s var(--ease-out); }
.main-header.flotante {
    margin: 0 max(var(--marco-m), calc((100% - 1320px) / 2));
    padding: 6px 0;
    border-radius: 999px;
    background:
        var(--tejido),
        radial-gradient(50% 160% at 0% 0%, rgba(179, 134, 75, 0.24), transparent 60%),
        linear-gradient(115deg, rgba(10, 31, 54, 0.86) 0%, rgba(15, 45, 76, 0.86) 55%, rgba(18, 74, 122, 0.86) 100%);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 18px 40px -18px rgba(10, 31, 54, 0.75), inset 0 0 0 1px rgba(220, 192, 152, 0.28);
}
.main-header.flotante .main-logo { max-height: 46px; }
@media (max-width: 760px) {
    .main-header { top: 8px; }
    .main-header.flotante { padding: 4px 0; }
}

/* Línea hotelera: mismo margen y redondeo que las demás secciones (no queda pegada al borde) */
.hotelera { margin: var(--marco-m); border-radius: var(--marco-r); overflow: hidden; isolation: isolate; }

/* ---------- Etiquetas (eyebrow) con estilo propio ----------
   Sin píldora: una línea dorada que se desvanece, un rombo y el texto con un
   brillo dorado que recorre las letras de vez en cuando. */
.eyebrow,
.pf-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-ink, #8F6A36);
}
.eyebrow::before,
.pf-eyebrow::before {
    content: "";
    width: 34px;
    height: 1.5px;
    flex-shrink: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
    box-shadow: none;
}
.eyebrow::after,
.pf-eyebrow::after {
    content: "";
    order: -1;
    position: absolute;
    left: 31px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    background: var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 0 3px rgba(179, 134, 75, 0.15);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .eyebrow,
    .pf-eyebrow {
        background: linear-gradient(100deg, var(--gold-ink, #8F6A36) 0 40%, #E3C48F 50%, var(--gold-ink, #8F6A36) 60% 100%);
        background-size: 250% 100%;
        background-position: 100% 0;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: eyebrow-brillo 6s ease-in-out infinite;
    }
}
@keyframes eyebrow-brillo { 0%, 70% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
/* Sobre fondos oscuros: dorado claro */
:is(.ruleta-section, .mayor, .manifesto-section, .values-section, .b2b-banner, .legal-hero, .linea-hero, .hero) :is(.eyebrow, .pf-eyebrow) {
    border: 0;
    background: linear-gradient(100deg, var(--gold-light) 0 40%, #fff 50%, var(--gold-light) 60% 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
:is(.ruleta-section, .mayor, .manifesto-section, .values-section, .b2b-banner, .legal-hero, .linea-hero, .hero) :is(.eyebrow, .pf-eyebrow)::before { background: linear-gradient(90deg, transparent, var(--gold-light)); }
:is(.ruleta-section, .mayor, .manifesto-section, .values-section, .b2b-banner, .legal-hero, .linea-hero, .hero) :is(.eyebrow, .pf-eyebrow)::after { background: var(--gold-light); box-shadow: 0 0 0 3px rgba(220, 192, 152, 0.18); }
@media (prefers-reduced-motion: reduce) { .eyebrow, .pf-eyebrow { animation: none; } }

/* Barras pegajosas debajo del encabezado que acompaña al bajar */
.shop-toolbar { top: calc(var(--cab, 0px) + 6px); transition: top 0.45s var(--ease-out); }
.co-summary { top: calc(var(--cab, 0px) + 20px); }

/* Menú del celular: todo cabe en una pantalla, sin barra de desplazamiento.
   Los espacios se ajustan al alto del teléfono (dvh); si se abre un grupo largo, recién ahí desplaza. */
.mnav-panel { height: 100dvh; max-height: 100dvh; gap: clamp(6px, 1.2dvh, 12px); padding: 10px 10px 12px; overflow-y: auto; scrollbar-width: none; }
.mnav-panel::-webkit-scrollbar { display: none; }
.mnav-head { padding: 8px 10px 8px 14px; border-radius: 18px; }
.mnav-head img { height: clamp(34px, 5dvh, 44px); }
.mnav-head .icon-btn { width: 38px; height: 38px; }
.mnav-lineas { gap: 8px; }
.mnav-lineas a { flex-direction: row; align-items: center; gap: 10px; padding: clamp(8px, 1.3dvh, 12px) 10px; border-radius: 16px; }
.mnav-lin-ico { width: 32px; height: 32px; flex: none; border-radius: 10px; font-size: 0.85rem; }
.mnav-lin-txt strong { font-size: 0.95rem; }
.mnav-lin-txt small { font-size: 0.66rem; }
.mnav-etq { margin: 2px 0 -4px 8px; font-size: 0.62rem; }
.mnav-panel ul.mnav-lista { padding: 2px 0; border-radius: 18px; }
.mnav-panel .mnav-lista li a,
.mnav-grupo summary { padding: clamp(8px, 1.45dvh, 14px) 16px; font-size: 0.98rem; }
.mnav-panel .mnav-lista li a i,
.mnav-grupo summary i { width: 24px; height: 24px; }
.mnav-pie { gap: clamp(6px, 1dvh, 10px); }
.mnav-wa { padding: clamp(10px, 1.6dvh, 14px); font-size: 0.95rem; }
.mnav-redes a { width: 34px; height: 34px; font-size: 0.85rem; }

/* Ficha en el celular: las medidas largas ("2 plazas · 5 piezas") ya no se parten en dos líneas.
   Se muestran como píldoras que bajan a otra fila si no entran. */
@media (max-width: 760px) {
    .size-options { flex-wrap: wrap; gap: 6px; padding: 0; background: none; border-radius: 0; }
    .size-pill { flex: 0 0 auto; }
    .size-pill span {
        display: inline-block;
        padding: 8px 14px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: #fff;
        white-space: nowrap;
        font-size: 0.82rem;
    }
    .size-pill input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: none; }
}

/* ---------- Formulario de contacto (inicio, antes del pie) ---------- */
.contacto-form { padding: 70px 0 56px; }
.contacto-caja { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.contacto-intro h2 { margin: 14px 0 12px; font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.08; color: var(--navy-deep); }
.contacto-intro h2 em { font-style: normal; color: var(--gold-ink, #8F6A36); }
.contacto-intro p { color: var(--text-muted, #5D6570); line-height: 1.6; }
.contacto-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -44px rgba(10, 31, 54, 0.6); }
.contacto-campos label { display: grid; gap: 6px; margin: 0; }
.contacto-campos label span { font-size: 0.78rem; font-weight: 700; color: var(--navy); }
.contacto-campos input, .contacto-campos textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--ivory); font: inherit; color: var(--navy-deep); resize: vertical; transition: border-color 0.25s ease, background-color 0.25s ease; }
.contacto-campos input:focus, .contacto-campos textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.contacto-msg { grid-column: 1 / -1; }
.contacto-campos .btn-lux { justify-self: start; }
.contacto-campos .btn-lux i { margin-left: 8px; font-size: 0.8rem; }
.contacto-estado { grid-column: 1 / -1; margin: 0; font-size: 0.88rem; min-height: 1.2em; }
.contacto-estado.ok { color: #16874a; } .contacto-estado.error { color: #b23a2b; }
.contacto-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 760px) {
    .contacto-form { padding: 44px 0 36px; }
    .contacto-caja { grid-template-columns: 1fr; }
    .contacto-campos { grid-template-columns: 1fr; padding: 18px; border-radius: 20px; }
    .contacto-campos .btn-lux { justify-self: stretch; justify-content: center; }
}
