/*
  BRUMA VAPE — estilos
  Orden: 1 Variables · 2 Base · 3 Cabecera · 4 Portada · 5 Catálogo · 6 Nosotros
         7 Preguntas · 8 Contacto y pie · 9 Animaciones · 10 Pantallas medianas y pequeñas
         11 Movimiento reducido / impresión

  Colores de texto: todos cumplen contraste 4.5:1 (WCAG AA) sobre su fondo.
  Si cambias un color, vuelve a comprobarlo (ver README.md).
*/

/* ---------- 1. Variables ---------- */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/pjs-400.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/pjs-600.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/pjs-700.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/pjs-800.woff2') format('woff2'); }
:root {
  --ink: #032b23;          /* texto principal y títulos */
  --ink-soft: #3f4f4a;     /* párrafos largos */
  --muted: #55625e;        /* texto secundario */
  --blue: #016f41;         /* verde principal (nombre heredado de la versión azul) */
  --blue-dark: #015a35;
  --green: #016f41;
  --green-deep: #063c30;   /* franja de advertencia y fondos oscuros */
  --aqua: #3dbf9f;
  --line: #dde6e2;
  --focus: #016f41;
  --btn-bg: #016f41;       /* texto blanco: contraste 6:1 */
  --max: 1672px;
  --gutter: 7.4%;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font-family: var(--sans); background: #fff; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-weight: 800; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.about :focus-visible { outline-color: #fff; }

.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; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 20; background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 8px; font-weight: 700; box-shadow: 0 6px 24px #0a3a3040; }
.skip-link:focus { top: 12px; }

.button, .navcta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  background: var(--btn-bg); color: #fff; border: 1px solid var(--btn-bg); border-radius: 8px;
  padding: 13px 28px; font-weight: 700; font-size: 1rem; line-height: 1.2;
  transition: background-color .2s, border-color .2s, color .2s;
}
@media (hover: hover) { .button:hover { background: var(--blue-dark); border-color: var(--blue-dark); } }
.button-outline { background: #fff; color: var(--ink); border-color: #b9c8c3; }
@media (hover: hover) { .button-outline:hover { background: #f1f6f4; border-color: var(--ink); } }

/* ---------- 3. Cabecera ---------- */
.warning { background: var(--green-deep); display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; font-size: .8125rem; line-height: 1.45; padding: 11px 20px; color: #fff; }
.warning-icon { flex: none; }
.warning strong { font-weight: 800; }
header { position: static; background: #fff; }
.nav-wrap { position: relative; } /* el menú móvil se ancla aquí (bajo la barra), no a una altura fija */
.nav { max-width: var(--max); margin: auto; padding: 0 var(--gutter); height: 86px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 46px; width: auto; }
footer .logo img { height: 40px; }
.nav-sep { width: 1px; height: 46px; background: var(--line); margin-left: 6px; }
.links { display: flex; align-items: center; gap: 44px; font-size: 1rem; font-weight: 600; margin-left: 24px; }
.links > a, .drop-btn { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.links [aria-current='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--green); }
.links [aria-current='true'] { color: var(--green); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
@media (hover: hover) { .icon-btn:hover { background: #eef4f1; } }

.dropdown { position: relative; }
.drop-btn { gap: 8px; border: 0; background: none; padding: 0; color: inherit; font-weight: 600; }
.chevron { transition: transform .2s; }
.drop-btn[aria-expanded='true'] .chevron { transform: rotate(180deg); }
.drop-menu { position: absolute; z-index: 6; top: calc(100% + 6px); left: -16px; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px #0a3a3022; }
.drop-menu[hidden] { display: none; }
.drop-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: .9375rem; }
@media (hover: hover) { .drop-menu a:hover { background: #eef4f1; } }

.menu { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; color: var(--ink); border-radius: 12px; align-items: center; justify-content: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, background .25s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu[aria-expanded='true'] .menu-icon { background: transparent; }
.menu[aria-expanded='true'] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded='true'] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 4. Portada ---------- */
/* Escenario continuo: la neblina de la portada sigue detrás de las categorías */
.stage { position: relative; overflow: hidden; background:
  radial-gradient(70% 55% at 100% 0%, #0b4d3c 0%, #1d6b58 35%, transparent 75%),
  linear-gradient(100deg, #f3f9f7 0%, #e3f0ec 45%, #cfe5df 100%); }
.stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, #fff); pointer-events: none; }
.hero { position: relative; z-index: 1; }
.scene { --px: 0; --py: 0; --rx: 0deg; --ry: 0deg; position: absolute; top: 0; right: 0; width: clamp(560px, 58vw, 940px); aspect-ratio: 972 / 497; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, #000 70%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, #000 70%, transparent 100%); mask-composite: intersect; }
.scene > * { position: absolute; }
.sc-plate { inset: -3%; display: block; translate: calc(var(--px) * -6px) calc(var(--py) * -4px); }
.sc-plate img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 40% 70%; }
.sc-mist { border-radius: 50%; pointer-events: none; filter: blur(18px); opacity: .5; background: radial-gradient(closest-side, #e8f5f1 0%, #e8f5f188 45%, transparent 100%); }
.sc-mist-a { left: -12%; bottom: -6%; width: 62%; height: 46%; translate: calc(var(--px) * 12px) 0; }
.sc-mist-b { right: -10%; bottom: 4%; width: 54%; height: 40%; opacity: .38; translate: calc(var(--px) * -10px) 0; }
.sc-leaf { left: -3%; top: 8%; width: 17%; filter: blur(5px); opacity: .85; transform-origin: 20% 100%; pointer-events: none; translate: calc(var(--px) * 16px) calc(var(--py) * 8px); }
.sc-shadow { left: 36%; top: 78%; width: 24%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, #04201a99, transparent); filter: blur(4px); pointer-events: none; translate: calc(var(--px) * 8px) 0; }
.sc-move { left: 35.49%; top: 2.82%; width: 23.87%; height: 79.28%; translate: calc(var(--px) * 10px) calc(var(--py) * 6px); perspective: 900px; }
.sc-tilt { width: 100%; height: 100%; transform: rotateX(var(--ry)) rotateY(var(--rx)); transform-style: preserve-3d; }
.sc-hit { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 22%; -webkit-tap-highlight-color: transparent; }
.sc-hit:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sc-float { display: block; width: 100%; height: 100%; transform-origin: 50% 90%; }
.sc-float picture, .sc-float img { display: block; width: 100%; height: 100%; }
.sc-float img { filter: drop-shadow(0 18px 18px #04201a55); pointer-events: none; }
.sc-ring { left: 47.4%; top: 80%; width: 10%; aspect-ratio: 1; margin: -5% 0 0 -5%; border-radius: 50%; border: 2px solid #ffffffcc; opacity: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: auto; min-height: 480px; padding: 40px var(--gutter); display: flex; align-items: center; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-copy { max-width: 600px; pointer-events: auto; }
.hero h1 { font-size: clamp(44px, 4.4vw, 68px); letter-spacing: -.035em; line-height: 1.04; margin: 0 0 22px; color: var(--ink); }
.hero h1 .dot { color: var(--green); }
.hero p { font-size: clamp(1rem, 1.25vw, 1.1875rem); line-height: 1.6; color: var(--ink-soft); max-width: 470px; margin: 0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 16px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 0; list-style: none; margin: 34px 0 0; padding: 0; }
.trust li { display: flex; align-items: center; gap: 12px; padding: 0 24px; border-left: 1px solid #cfdad6; font-size: .8125rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.trust li:first-child { padding-left: 0; border-left: 0; }
.trust svg { flex: none; color: var(--green); }

/* Categorías */
.categories { position: relative; z-index: 1; max-width: var(--max); margin: auto; padding: 30px var(--gutter) 70px; scroll-margin-top: 8px; }
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.cat-head h2 { font-size: 1.625rem; letter-spacing: -.02em; margin: 0; display: flex; align-items: center; gap: 12px; }
.slashes { color: var(--green); font-weight: 800; letter-spacing: -.12em; }
.cat-all { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: .875rem; color: var(--green); }
@media (hover: hover) { .cat-all:hover { text-decoration: underline; text-underline-offset: 5px; } }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.cat-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 126px; padding: 20px 22px; overflow: hidden; border-radius: 14px; background: linear-gradient(120deg, #ffffffcc 10%, #ffffff88); border: 1px solid #ffffffd9; box-shadow: 0 10px 30px #0a3a3014; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow .3s, transform .3s; }
.cat-title { position: relative; z-index: 1; font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.cat-arrow { position: relative; z-index: 1; color: var(--ink); }
.cat-card picture { position: absolute; right: 14px; bottom: -8px; height: 124%; display: flex; align-items: flex-end; }
.cat-card img { translate: calc(var(--cx, 0) * 9px) calc(var(--cy, 0) * 6px); transition: translate .25s ease-out; height: 100%; width: auto; max-width: 150px; object-fit: contain; object-position: 100% 100%; }
.cat-card img.tilt { transform: rotate(16deg) translate(14px, 10px); }
@media (hover: hover) { a.cat-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px #0a3a3026; } a.cat-card:hover .cat-arrow { transform: translateX(6px); } a.cat-card:hover picture { scale: 1.09; } }
.cat-arrow { transition: transform .3s; }
.cat-card picture { transition: scale .35s cubic-bezier(.2, .7, .2, 1); }
.cat-card.is-empty { background: linear-gradient(120deg, #ffffffb0 10%, #ffffff66); }
.cat-card.is-empty img { opacity: .6; max-width: 100px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.cat-soon { position: relative; z-index: 1; max-width: 58%; font-size: .75rem; font-weight: 600; color: var(--muted); }
a.cat-card:focus-visible { outline-offset: 2px; }

/* ---------- 5. Catálogo ---------- */
.section { max-width: var(--max); margin: auto; padding: 80px var(--gutter); scroll-margin-top: 8px; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.intro h2, .about h2, .faq h2 { font-size: clamp(38px, 4vw, 60px); letter-spacing: -.035em; line-height: 1.08; margin: 15px 0; }
.intro p { max-width: 340px; line-height: 1.7; color: var(--ink-soft); font-size: .9375rem; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 40px 0 28px; min-height: 44px; }
.filters button, .search { min-height: 44px; border: 1px solid #c3dad2; background: #fff; border-radius: 100px; padding: 10px 18px; color: #3f615a; font-size: .875rem; }
.filters button { transition: background .25s, color .25s, border-color .25s, transform .25s; }
@media (hover: hover) { .filters button:hover { border-color: #35a58a; color: #0a6a56; transform: translateY(-2px); } }
.filters button[aria-pressed='true'] { background: linear-gradient(110deg, #0a5f4d, #0f7a63); border-color: #0f7a63; color: #fff; }
.search { flex: 1 1 220px; max-width: 340px; margin-left: auto; -webkit-appearance: none; appearance: none; }
@media (hover: none) { .search { font-size: 1rem; } } /* 16 px: evita que iOS haga zoom al tocar el buscador */
.search:focus { outline: 2px solid #5fc9ad; outline-offset: 2px; border-color: #0f8a70; }

/* Filtro de categoría activo (viene de las tarjetas de la portada) */
.filters .chip { display: inline-flex; align-items: center; gap: 8px; background: #e6f1ec; border-color: #b6d3c6; color: var(--ink); font-weight: 700; }
.filters .chip[hidden] { display: none; }
.filters .chip::after { content: '✕'; content: '✕' / ''; font-size: .75rem; }
.status { margin: 0 0 18px; font-size: .8125rem; color: var(--muted); min-height: 1.2em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 18px; padding: 0; margin: 0; list-style: none; }
.grid[hidden], .empty[hidden], .card[hidden] { display: none; }
.card { min-width: 0; }

.product-img { position: relative; height: 280px; border-radius: 17px; overflow: hidden; background: linear-gradient(145deg, #eef8f4, #e3f2ec); transition: box-shadow .35s; }
.card:nth-child(3n+2) .product-img { background: linear-gradient(145deg, #eff6f8, #e9eafa); }
.card:nth-child(3n) .product-img { background: linear-gradient(145deg, #edf9f5, #e1f3ec); }
.card:hover .product-img, .product-img.is-open { box-shadow: 0 18px 35px #0a5a4a1a; }
.product-trigger { border: 0; background: transparent; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0; }
.product-trigger:focus-visible { outline-offset: -4px; border-radius: 17px; }
.product-trigger img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.placeholder { font-size: 2rem; letter-spacing: -2px; font-weight: 900; color: #357263; padding: 0 12px; text-align: center; overflow-wrap: anywhere; }
/* Aviso para pantallas táctiles: no hay "hover", así que se muestra que la imagen se puede tocar. */
.product-hint { display: none; position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #0a5f4d; font-weight: 700; font-size: 1.25rem; line-height: 1; place-items: center; box-shadow: 0 4px 14px #0f3a3229; pointer-events: none; }
@media (hover: none) { .product-hint { display: grid; } }
.product-img.is-open .product-hint { display: none; }

.product-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 20px; background: linear-gradient(180deg, transparent 35%, rgba(5, 52, 44, .5)); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; } /* al cerrar, "hidden" espera a que termine el desvanecido; al abrir es inmediato (así el Tab llega al enlace sin demora) */
.overlay-link { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 20px; background: #fff; color: #0a5f4d; border-radius: 999px; font-size: .8125rem; font-weight: 700; box-shadow: 0 5px 20px #0f3a3229; transform: translateY(10px); transition: transform .3s ease; }
.product-img.is-open .product-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
.product-img.is-open .overlay-link { transform: translateY(0); pointer-events: auto; }
.product-img.is-open img { transform: scale(1.08) translateY(-7px); }
@media (hover: hover) and (pointer: fine) {
  .product-img:hover .product-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
  .product-img:hover .overlay-link { transform: translateY(0); pointer-events: auto; }
  .product-img:hover img { transform: scale(1.08) translateY(-7px); }
}

.card-brand { display: block; margin-top: 20px; color: #0a6a56; font-size: .75rem; letter-spacing: .13em; font-weight: 800; text-transform: uppercase; }
.card h3 { font-size: 1.0625rem; letter-spacing: -.02em; margin: 9px 0; transition: color .25s; }
@media (hover: hover) { .card:hover h3 { color: var(--blue); } }
.card p { font-size: .8125rem; line-height: 1.5; color: var(--muted); margin: 0; }
.empty { color: var(--ink-soft); padding: 30px 0; }
.empty button { margin-left: 8px; min-height: 44px; border: 1px solid #c3dad2; border-radius: 100px; background: #fff; color: #0a6a56; padding: 8px 18px; font-weight: 700; }

/* Tarjeta de producto: precio, aviso, sabores y datos */
.product-trigger picture { display: contents; }
.card .card-note { margin-top: 6px; font-style: italic; color: var(--ink-soft); }
.card .price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 0; }
.price-label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-decoration: none; }
.price-value { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.more { margin-top: 10px; border-top: 1px solid var(--line); }
.more summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; font-size: .8125rem; font-weight: 700; color: #0a6a56; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: '+'; content: '+' / ''; font-size: 1.125rem; }
.more[open] summary::after { content: '−'; content: '−' / ''; }
.more-body { padding: 2px 0 12px; }
.card .specs { margin: 0 0 8px; font-weight: 700; color: var(--ink-soft); }
.flavors { list-style: none; margin: 0; padding: 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.flavors li { padding: 4px 0; }
.flavors strong { color: var(--ink); }
.catalog-note { margin: 28px 0 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); max-width: 720px; }

/* ---------- 6. Nosotros ---------- */
.about { color: #fff; background: radial-gradient(circle at 80% 0%, #0f7a63 0%, transparent 39%), linear-gradient(135deg, #0a3d35, #0a5a4a 65%, #0f6f5c); }
.about-inner { max-width: var(--max); margin: auto; padding: 100px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; }
.about p { line-height: 1.8; color: #e3f4ee; max-width: 520px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.about-points div { border-top: 1px solid #98dcc6; padding-top: 20px; transition: transform .3s, border-color .3s; }
@media (hover: hover) { .about-points div:hover { transform: translateY(-5px); border-color: #fff; } }
.about-points strong { display: block; font-size: 1rem; margin-bottom: 8px; }
.about-points span { font-size: .875rem; color: #e3f4ee; line-height: 1.6; }

/* ---------- 7. Preguntas frecuentes ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.faq-lead { color: var(--muted); line-height: 1.7; font-size: .9375rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.faq-list summary { font-weight: 700; font-size: .9375rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; transition: color .25s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; content: '+' / ''; font-size: 1.25rem; color: #0f7a63; transition: transform .3s; }
.faq-list details[open] summary::after { content: '−'; content: '−' / ''; transform: rotate(180deg); }
.faq-list details[open] summary { color: #0a6a56; }
@media (hover: hover) { .faq-list summary:hover { color: #0a6a56; } }
.faq-list p { font-size: .875rem; line-height: 1.7; color: var(--ink-soft); margin: 4px 0 12px; }

/* ---------- 7b. Verificación de edad y avisos legales ---------- */
.legal { max-width: 1300px; width: calc(100% - 32px); margin: 0 auto 80px; }
.legal-inner { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; padding: 36px; border: 1px solid #c3dad2; border-radius: 24px; background: #f7fcfa; }
.legal-badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #0a5a4a; color: #fff; font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; }
.legal h2 { margin: 4px 0 18px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.15; }
.legal ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.legal li { font-size: .9375rem; line-height: 1.6; color: var(--ink-soft); }
.legal li strong { display: block; margin-bottom: 4px; color: var(--ink); }

/* ---------- 8. Contacto y pie ---------- */
.contact { border-radius: 28px; text-align: center; padding: 75px 25px; margin: 0 auto 80px; max-width: 1300px; width: calc(100% - 32px); background: radial-gradient(circle at 10% 20%, #d3f3ea, transparent 36%), radial-gradient(circle at 88% 80%, #e5dfff, transparent 35%), #e8f6f1; }
.contact h2 { font-size: clamp(34px, 4vw, 55px); letter-spacing: -.035em; margin: 12px; }
.contact p { color: var(--ink-soft); line-height: 1.6; }
.contact .button { margin-top: 8px; }
.contact small { display: block; margin-top: 20px; color: var(--ink-soft); font-size: .8125rem; }

footer { background: #f4faf7; padding: 50px var(--gutter) 25px; }
.foot { max-width: 1300px; margin: auto; display: flex; justify-content: space-between; gap: 20px; }
.foot p { font-size: .8125rem; color: var(--muted); line-height: 1.6; }
.footlinks { display: flex; gap: 8px 25px; font-size: .8125rem; align-items: flex-start; flex-wrap: wrap; }
.footlinks a { display: inline-flex; align-items: center; min-height: 44px; }
.footlinks a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copyright { max-width: 1300px; margin: 40px auto 0; border-top: 1px solid var(--line); padding-top: 20px; font-size: .75rem; color: var(--muted); }

/* ---------- 9. Animaciones (suaves; se anulan con movimiento reducido) ---------- */
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); }
  .reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
  .card.is-entering { animation: card-in .45s both; }
  .card.is-entering:nth-child(4n+2) { animation-delay: .04s; }
  .card.is-entering:nth-child(4n+3) { animation-delay: .08s; }
  .card.is-entering:nth-child(4n) { animation-delay: .12s; }
}


@keyframes sc-float { from { transform: translateY(0) rotate(-.5deg); } to { transform: translateY(-2.2%) rotate(.7deg); } }
@keyframes sc-shadow { from { scale: 1; opacity: 1; } to { scale: .88; opacity: .75; } }
@keyframes sc-kb { from { transform: scale(1); } to { transform: scale(1.06) translate(-1%, 0); } }
@keyframes sc-drift-a { from { transform: translateX(-4%); } to { transform: translateX(10%); } }
@keyframes sc-drift-b { from { transform: translateX(6%); } to { transform: translateX(-8%); } }
@keyframes sc-sway { from { transform: rotate(-2.5deg); } to { transform: rotate(3deg); } }
@keyframes sc-pop { 0% { transform: scale(1); } 22% { transform: scale(.93, 1.05) translateY(2%); } 55% { transform: scale(1.06, .96) translateY(-5%) rotate(-2deg); } 100% { transform: scale(1); } }
@keyframes sc-ring { from { opacity: .8; transform: scale(.3); } to { opacity: 0; transform: scale(5); } }
@keyframes cat-float { from { transform: translateY(0); } to { transform: translateY(-5px); } }
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: no-preference) {
  .sc-float { animation: sc-float 5.5s ease-in-out infinite alternate; }
  .sc-shadow { animation: sc-shadow 5.5s ease-in-out infinite alternate; }
  .sc-plate img { animation: sc-kb 26s ease-in-out infinite alternate; }
  .sc-mist-a { animation: sc-drift-a 18s ease-in-out infinite alternate; }
  .sc-mist-b { animation: sc-drift-b 22s ease-in-out infinite alternate; }
  .sc-leaf { animation: sc-sway 7s ease-in-out infinite alternate; }
  .sc-hit.pop .sc-float { animation: sc-pop .7s cubic-bezier(.3, .7, .3, 1); }
  .sc-ring.go { animation: sc-ring .9s ease-out; }
  .cat-card picture > img { animation: cat-float 4.6s ease-in-out infinite alternate; }
  .cat-grid li:nth-child(2) picture > img { animation-delay: -1.2s; }
  .cat-grid li:nth-child(3) picture > img { animation-delay: -2.4s; }
  .cat-grid li:nth-child(4) picture > img { animation-delay: -3.4s; }
  .cat-card.is-empty picture > img { animation: none; }
}

/* ---------- 10. Pantallas medianas y pequeñas ---------- */
@media (max-width: 1100px) {
  .scene { width: 54vw; min-width: 0; }
  .hero-copy { max-width: 520px; }
  .links { gap: 28px; margin-left: 8px; }
  .nav { gap: 18px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 850px) {
  .menu { display: inline-flex; }
  .nav-sep { display: none; }
  .links { display: none; position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin: 0; background: #fff; padding: 12px var(--gutter) 22px; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px #0a3a3014; }
  .links.open { display: flex; }
  .links > a, .drop-btn { display: flex; width: 100%; min-height: 48px; font-size: 1.0625rem; }
  .links [aria-current='true']::after { display: none; }
  .drop-btn { justify-content: space-between; }
  .drop-menu { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 6px; padding: 0 0 0 10px; min-width: 0; }
  .stage { background: linear-gradient(180deg, #f3f9f7 0%, #e3f0ec 60%, #cfe5df 100%); }
  .hero { display: flex; flex-direction: column-reverse; }
  .scene { position: relative; width: 100%; min-width: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 70%, transparent 100%); }
  .hero-inner { min-height: 0; padding-top: 36px; padding-bottom: 8px; }
  .trust li { padding: 0 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .faq { grid-template-columns: 1fr; }
  .about-points { margin-top: 40px; }
  .faq-list { margin-top: 30px; }
  .search { margin-left: 0; flex-basis: 100%; max-width: none; }
  .legal ul { grid-template-columns: 1fr; }
  .section { padding-top: 60px; padding-bottom: 75px; }
}
@media (max-width: 480px) {
  .warning { font-size: .75rem; text-align: left; align-items: flex-start; }
  .hero h1 { font-size: 42px; }
  .actions .button { flex: 1 1 100%; }
  .trust { gap: 16px 0; }
  .trust li { flex: 1 1 50%; padding: 0; border-left: 0; }
  .cat-head { flex-wrap: wrap; }
  .cat-head h2 { font-size: 1.375rem; }
  .cat-grid { gap: 12px; }
  .cat-card { height: 140px; padding: 16px; }
  .cat-title { font-size: 1rem; }
  .cat-card img { max-width: 100px; }
  .intro { display: block; }
  .grid { gap: 25px 12px; }
  .product-img { height: 190px; }
  .placeholder { font-size: 1.375rem; letter-spacing: -1px; }
  .card h3 { font-size: .9375rem; }
  .about-points { grid-template-columns: 1fr; }
  .foot { display: block; }
  .contact { margin: 0 16px 60px; width: auto; }
  .legal { margin: 0 16px 60px; width: auto; }
  .legal-inner { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; }
  .legal-badge { width: 56px; height: 56px; font-size: 1.25rem; }
}

/* ---------- 11. Movimiento reducido e impresión ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .warning { border: 1px solid #000; }
  .menu, .nav-tools, .filters, .product-overlay, .product-hint { display: none !important; }
}
