/* Proversac · Hoja de estilos pública
   Identidad: morado #44388B y amarillo #FFCE04 (colores de proversac.com.pe),
   Poppins en titulares (como la web original) y DM Sans en textos. */

:root {
  --purple: #44388b;
  --purple-700: #362c72;
  --purple-900: #231c4d;
  --purple-50: #f1effa;
  --purple-100: #e3dff4;
  --yellow: #ffce04;
  --yellow-600: #e6b800;
  --yellow-50: #fff8d6;
  --toke: #e4defa;
  --vely: #ffe9a3;
  --ink: #1f1b2e;
  --text: #3d3a4a;
  --muted: #625f6e;
  --line: #e7e4ee;
  --surface: #ffffff;
  --tint: #f7f6fb;
  --success: #17794a;
  --success-bg: #e9f7ef;
  --danger: #a3332b;
  --danger-bg: #fdeeec;
  --warning-bg: #fff6d9;
  --wa: #1fae5b;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(35, 28, 77, .06), 0 2px 8px rgba(35, 28, 77, .05);
  --shadow: 0 10px 30px rgba(35, 28, 77, .10);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms;
  --t-med: 240ms;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .h1 { font-family: var(--font-head); color: var(--purple-900); line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 700; }
h1, .h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 720px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--purple-900); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); transition: top var(--t-fast); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.i { width: 16px; height: 16px; flex: none; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-700); box-shadow: 0 8px 18px rgba(68, 56, 139, .25); }
.btn-accent { background: var(--yellow); color: var(--purple-900); }
.btn-accent:hover { background: var(--yellow-600); box-shadow: 0 8px 18px rgba(230, 184, 0, .3); }
.btn-ghost { background: transparent; color: var(--purple); border-color: rgba(68, 56, 139, .35); }
.btn-ghost:hover { border-color: var(--purple); background: var(--purple-50); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-outline { background: #fff; color: var(--purple); border-color: var(--line); }
.btn-outline:hover { border-color: var(--purple); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--purple); }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--purple); cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.icon-btn:hover { border-color: var(--purple); background: var(--purple-50); }
.icon-btn svg { width: 16px; height: 16px; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin: 0 0 12px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); }
.eyebrow-light { color: var(--yellow); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 56ch; }
.lead-light { color: #d9d5ee; }

/* ---------- Barra superior y encabezado ---------- */
.utility-bar { background: var(--purple-900); color: #fff; font-size: .82rem; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.utility-inner p { margin: 0; color: #e9e6f7; }
.utility-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--yellow); text-decoration: none; }
.utility-link svg { width: 14px; height: 14px; }
.utility-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow var(--t-med); }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(35, 28, 77, .07); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { margin-right: auto; display: block; }
.brand img { width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; display: block; padding: 10px 12px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); transition: color var(--t-fast); }
.nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.nav-link:hover { color: var(--purple); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--purple); }
.has-sub .nav-link { padding-right: 4px; }
.sub-toggle { width: 28px; height: 28px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--ink); border-radius: 6px; }
.sub-toggle svg { width: 12px; height: 12px; transition: transform var(--t-fast); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast); }
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub-menu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--purple-50); color: var(--purple); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--purple); font-weight: 700; cursor: pointer; }
.menu-icon { width: 18px; height: 14px; position: relative; display: inline-block; }
.menu-icon i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast); }
.menu-icon i:nth-child(1) { top: 0; } .menu-icon i:nth-child(2) { top: 6px; } .menu-icon i:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); max-height: calc(100dvh - var(--nav-top, var(--header-h))); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 14px 4px; font-size: 1.02rem; }
  .nav-link::after { left: 4px; right: auto; width: 28px; bottom: 8px; }
  .sub-toggle { width: 44px; height: 44px; }
  .sub-menu { position: static; width: 100%; min-width: 0; padding: 0 0 8px 8px; border: 0; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .has-sub.is-open .sub-menu { display: block; }
  .nav-cta { width: 100%; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head > div { max-width: 640px; }
.section-intro { max-width: 440px; color: var(--muted); margin: 0; }

/* ---------- Hero / carrusel ---------- */
.hero { background: linear-gradient(180deg, var(--purple-50) 0%, #fff 100%); padding-block: clamp(28px, 5vw, 56px) clamp(28px, 4vw, 44px); overflow: hidden; }
.hero-stage { position: relative; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px);
  opacity: 0; visibility: hidden; transition: opacity 500ms var(--ease-out), visibility 0s linear 500ms; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.hero-copy h1, .hero-copy .h1 { margin-bottom: 18px; }
.hl { position: relative; white-space: nowrap; color: var(--purple); }
.hl::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .26em; background: var(--yellow); border-radius: 6px; z-index: -1; }
.hero-copy h1 { position: relative; z-index: 0; }
.hero-copy .actions { margin-top: 26px; }
.hero-media { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--purple-100); }
.hero-media::before { content: ''; position: absolute; inset: auto -12% -30% auto; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); opacity: .9; z-index: 0; }
.hero-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.carousel-controls { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.dots { display: flex; gap: 6px; padding-inline: 4px; }
.dot { width: 28px; height: 28px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; }
.dot::before { content: ''; width: 9px; height: 9px; border-radius: 9px; background: var(--purple-100); transition: width var(--t-med) var(--ease-out), background-color var(--t-fast); }
.dot[aria-current="true"]::before { width: 24px; background: var(--purple); }
[data-carousel-pause] .ic-play { display: none; }
[data-carousel-pause][aria-pressed="true"] .ic-play { display: block; }
[data-carousel-pause][aria-pressed="true"] .ic-pause { display: none; }

.audience { border-block: 1px solid var(--line); background: #fff; }
.audience-inner { display: flex; align-items: center; gap: 12px 28px; padding-block: 18px; flex-wrap: wrap; }
.audience-inner p { margin: 0; font-weight: 700; color: var(--purple-900); }
.audience ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.audience li { padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--text); font-size: .9rem; font-weight: 500; }

/* ---------- Marcas ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brand-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 12px; min-height: 280px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-toke { background: var(--toke); }
.brand-vely { background: var(--vely); }
.brand-card::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .55); z-index: -1; }
.brand-logo { width: 140px; height: auto; margin-bottom: 14px; }
.brand-card-copy p { color: var(--ink); max-width: 28ch; }
.brand-card-img { width: 100%; max-height: 240px; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--t-med) var(--ease-out); }
.brand-card:hover .brand-card-img { transform: scale(1.03); }

/* ---------- Familias ---------- */
.family-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.family-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px; min-height: 196px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; text-align: center;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-fast), box-shadow var(--t-med); }
.family-tile:hover { transform: translateY(-4px); border-color: var(--purple-100); box-shadow: var(--shadow-sm); }
.family-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.family-tile strong { font-family: var(--font-head); font-weight: 600; color: var(--purple-900); line-height: 1.25; }
.family-tile span { font-size: .82rem; color: var(--muted); }
.featured { margin-top: clamp(40px, 6vw, 64px); }
.featured-title { margin-bottom: 18px; }

/* ---------- Catálogo ---------- */
.page-hero { background: var(--purple); color: #fff; padding-block: clamp(44px, 7vw, 84px); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -120px; width: 320px; aspect-ratio: 1; border-radius: 50%; border: 36px solid rgba(255, 206, 4, .9); opacity: .9; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero .lead { color: #e2def5; }
.page-hero .actions { margin-top: 24px; }
.brand-hero { color: var(--ink); }
.brand-hero-toke { background: var(--toke); }
.brand-hero-vely { background: var(--vely); }
.brand-hero h1 { color: var(--purple-900); }
.brand-hero .eyebrow { color: var(--purple); }
.brand-hero .lead { color: var(--text); }
.page-hero-inner.has-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero-media { position: relative; margin: 0; }
.page-hero-media::before { content: ''; position: absolute; inset: 6% 4% 2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); z-index: -1; }
.page-hero-media img { width: 100%; height: auto; max-height: 440px; object-fit: contain; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.hero-facts li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--purple-900); font-size: .86rem; font-weight: 700; }
.brand-hero.page-hero::after { display: none; }
.hero-social { margin: 18px 0 0; }
.social-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); transition: background-color var(--t-fast), border-color var(--t-fast); }
.social-link:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .45); }
.social-link svg { width: 18px; height: 18px; flex: none; }
.brand-hero .social-link { color: var(--purple-900); background: rgba(255, 255, 255, .7); border-color: rgba(68, 56, 139, .2); }
.brand-hero .social-link:hover { background: #fff; border-color: var(--purple); }  /* el aro decorativo competía con la foto de productos */
@media (max-width: 900px) {
  .page-hero-inner.has-media { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 520px; margin-inline: auto; }
  .page-hero-media img { max-height: 300px; }
}
@media (max-width: 600px) {
  .page-hero-inner.has-media { gap: 18px; }
  .page-hero-media img { max-height: 230px; }
  .page-hero-copy .hero-logo { width: 110px; height: auto; }
  .hero-facts { margin-top: 16px; }
  .hero-facts li { font-size: .8rem; padding: 5px 10px; }
}
.brand-hero::after { border-color: rgba(255, 255, 255, .7); }
.hero-logo { width: 150px; height: auto; margin-bottom: 18px; }

.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--ink); transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast); }
.chip:hover { border-color: var(--purple); }
.chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.chip small { opacity: .75; font-weight: 500; margin-left: 4px; }
.segmented { display: inline-flex; padding: 4px; background: var(--tint); border-radius: 999px; border: 1px solid var(--line); }
.segmented button { min-height: 36px; padding: 6px 16px; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--text); transition: background-color var(--t-fast), color var(--t-fast); }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); }
.catalog-count { min-height: 1.6em; margin: 0 0 16px; color: var(--muted); font-size: .92rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-fast); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple-100); }
.product-media { position: relative; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; padding: 14px; }
/* Sin agrandar por encima del tamaño real: así las fotos pequeñas no se ven borrosas. */
.product-media img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-media .badge { position: absolute; top: 10px; left: 10px; }
.card-views { display: flex; gap: 6px; padding: 8px 12px 0; min-height: 48px; }
.card-thumb { flex: 0 0 auto; width: 40px; height: 40px; padding: 3px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; transition: border-color var(--t-fast); }
.card-thumb img { width: 100%; height: 100%; object-fit: contain; }
.card-thumb:hover, .card-thumb[aria-current="true"] { border-color: var(--purple); }
.card-more { display: grid; place-items: center; font: inherit; font-size: .78rem; font-weight: 700; color: var(--purple); background: var(--purple-50); }
@media (max-width: 600px) {
  .card-views { gap: 4px; padding: 6px 8px 0; min-height: 38px; }
  .card-thumb { width: 32px; height: 32px; padding: 2px; }
}
.product-placeholder { color: var(--muted); font-size: .85rem; text-align: center; }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.badge-toke { background: var(--toke); color: var(--purple-900); }
.badge-vely { background: var(--vely); color: var(--purple-900); }
.badge-neutral { background: var(--tint); color: var(--text); }
.product-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.product-cat { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--purple); }
.product-body h3 { font-size: 1.05rem; }
.product-desc { color: var(--muted); font-size: .9rem; margin: 0; }
.pres-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pres-list li { padding: 4px 10px; border-radius: 6px; background: var(--purple-50); color: var(--purple-900); font-size: .82rem; font-weight: 600; }
.variant-note { font-size: .84rem; color: var(--muted); margin: 0; }
.product-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.product-actions .btn { flex: 1; min-height: 42px; padding: 8px 12px; font-size: .88rem; }
.product-card.is-skeleton .product-media { background: linear-gradient(90deg, var(--tint), #eeecf5, var(--tint)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.product-card.is-skeleton .product-body span { display: block; height: 12px; border-radius: 6px; background: var(--tint); }
.product-card.is-skeleton .product-body span:nth-child(2) { width: 70%; }
.product-card.is-skeleton .product-body span:nth-child(3) { width: 45%; }
.family-tile.is-skeleton { background: linear-gradient(90deg, var(--tint), #eeecf5, var(--tint)) #fff; background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.catalog-message { padding: 28px; border-radius: var(--radius); background: var(--tint); text-align: center; }
.catalog-message h3 { margin-bottom: 8px; }
.catalog-message .actions { justify-content: center; margin-top: 14px; }
.catalog-message.is-error { background: var(--danger-bg); }

/* Diálogo de producto */
.product-dialog { width: min(960px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(20, 15, 50, .35); color: var(--text); }
.product-dialog::backdrop { background: rgba(25, 20, 55, .55); }
.product-dialog[open] { animation: dialog-in var(--t-med) var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } }
.dialog-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dialog-gallery { padding: 22px; background: #fff; border-right: 1px solid var(--line); }
.gallery-main { aspect-ratio: 1; display: grid; place-items: center; }
.gallery-main img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 64px; height: 64px; padding: 4px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--purple); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery-caption { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.dialog-info { padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.dialog-close { position: absolute; top: 14px; right: 14px; }
.dialog-info h2 { font-size: 1.6rem; padding-right: 48px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.variant-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.variant-chips li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; }
.dialog-info .actions { margin-top: auto; }
.no-price-note { font-size: .86rem; color: var(--muted); margin: 0; }
.dialog-info h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.muted-count { font-weight: 500; }
.swatch { --swatch: var(--line); display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.swatch-row { display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: -2px; }
.swatch-row .swatch { width: 11px; height: 11px; }
.aroma-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aroma-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.aroma-chip:hover { border-color: var(--purple); }
.aroma-chip[aria-pressed="true"] { border-color: var(--purple); background: var(--purple-50); color: var(--purple-900); }
.aroma-detail { margin-top: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--tint); font-size: .92rem; }
.aroma-detail p { margin: 0; }
.aroma-detail p + p { margin-top: 4px; }
.aroma-current { display: flex; align-items: center; gap: 8px; }
.aroma-hint { color: var(--muted); }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.spec-list { margin: 0; padding-left: 18px; font-size: .92rem; }
.spec-list li + li { margin-top: 3px; }
.spec-list li::marker { color: var(--yellow); }
.link-btn { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.gallery-all { margin-top: 10px; font-size: .86rem; }
@media (min-width: 901px) { .dialog-gallery { align-self: start; position: sticky; top: 0; } }
@media (max-width: 480px) { .spec-grid { grid-template-columns: 1fr; } }

/* ---------- Split / valores ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.split-media img { width: 100%; height: auto; }
.split-copy h2 { margin-bottom: 16px; }
.split-copy .btn { margin-top: 8px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.value-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--tint); border-top: 4px solid var(--yellow); }
.value-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.value-card p { margin: 0; }

.section-band { background: var(--yellow); padding-block: clamp(40px, 6vw, 64px); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.band-inner > div:first-child { max-width: 640px; }
.band-inner h2 { margin-bottom: 10px; }
.band-inner p { margin: 0; color: var(--ink); }
.section-band .eyebrow::before { background: var(--purple); }

/* ---------- Maquila ---------- */
/* Flujo de Maquila */
.plant-ref { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(25, 20, 55, .6); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .02em; }
.clients-list { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; justify-content: center; align-items: center; }
.clients-list li { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--purple-900); }

/* Maquila */
.maq-intro, .maq-services, .maq-process, .maq-plant, .maq-trust { padding-block: clamp(40px, 5vw, 64px); }
.maq-title { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: clamp(18px, 3vw, 28px); }
.maq-title::before { content: ''; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--yellow); margin-bottom: 12px; }
.maq-icon { width: 30px; height: 30px; }
.maq-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--purple-900); color: #fff; min-height: clamp(520px, 44vw, 620px); display: flex; align-items: center; }
.maq-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--purple-900) 0%, var(--purple-700) 34%, rgba(54, 44, 114, .55) 52%, rgba(54, 44, 114, 0) 70%); }
.maq-hero::after { content: ''; position: absolute; z-index: -1; left: 66%; top: 54%; width: clamp(380px, 40vw, 560px); aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--yellow); transform: translate(-50%, -50%); opacity: .8; pointer-events: none; }
.maq-hero-media { position: absolute; inset: 0 0 0 30%; z-index: -2; margin: 0; }
.maq-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; animation: maq-zoom 16s var(--ease-out) both; }
@keyframes maq-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.maq-hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(48px, 7vw, 88px); }
.maq-hero-copy { max-width: 560px; }
.maq-hero-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.maq-hero-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 206, 4, .25); }
.maq-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; margin-bottom: 18px; }
.maq-hero h1 span { display: block; color: var(--yellow); }
.maq-hero .lead { color: #e2def5; max-width: 470px; }
.maq-hero .actions { margin-top: 26px; }
.maq-hero-facts { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 30px 0 0; }
.maq-hero-facts li { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.maq-hero-facts .maq-icon { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--yellow); color: var(--purple-900); }
.maq-hero-facts span { display: flex; flex-direction: column; font-size: .82rem; color: #cfc9ec; line-height: 1.3; }
.maq-hero-facts strong { color: #fff; font-size: .95rem; }
.maq-hero-card { align-self: flex-end; margin-bottom: -8px; padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, .92); color: var(--purple-900); box-shadow: var(--shadow); backdrop-filter: blur(8px); text-align: right; }
.maq-hero-card p { margin: 0 0 2px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.maq-hero-card strong { font-family: var(--font-head); font-size: 1.05rem; }
@media (prefers-reduced-motion: reduce) { .maq-hero-media img { animation: none; } }
.maq-intro-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.maq-intro-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.maq-intro-media img { width: 100%; height: 100%; object-fit: cover; }
.maq-intro p { margin: 0; }
.maq-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 24px 0 0; }
.maq-features li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; border-radius: var(--radius); background: var(--purple-50); color: var(--purple); text-align: center; }
.maq-features span { font-weight: 700; color: var(--purple-900); font-size: .92rem; line-height: 1.25; }
.maq-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.maq-service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.maq-service figure { margin: 0; aspect-ratio: 4 / 3; background: var(--tint); }
.maq-service img { width: 100%; height: 100%; object-fit: cover; }
.maq-service h3 { font-size: 1.05rem; margin: 16px 16px 6px; }
.maq-service p { margin: 0 16px 18px; color: var(--muted); font-size: .92rem; }
.snake { --node: 64px; --row-gap: 44px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--row-gap); list-style: none; margin: 0; padding: 0 56px 0 0; }
.snake li { position: relative; padding: 0 16px; text-align: center; }
.snake li::before { content: ''; position: absolute; top: calc(var(--node) / 2 - 1px); left: 0; right: 0; height: 2px; background: #c9c2ea; }
.snake li:nth-child(1)::before { left: 50%; }
.snake li:nth-child(3)::before, .snake li:nth-child(4)::before { right: 50%; }
.snake li:nth-child(3)::after { content: ''; position: absolute; top: calc(var(--node) / 2 - 1px); left: 50%; width: calc(50% + 40px); height: calc(100% + var(--row-gap)); border: 2px solid #c9c2ea; border-left: 0; border-radius: 0 9999px 9999px 0; }
.snake li:nth-child(4) { grid-area: 2 / 3; }
.snake li:nth-child(5) { grid-area: 2 / 2; }
.snake li:nth-child(6) { grid-area: 2 / 1; }
.snake li:nth-child(6)::after { content: ''; position: absolute; left: -6px; top: calc(var(--node) / 2 - 8px); border: 8px solid transparent; border-right: 12px solid var(--yellow-600); border-left: 0; }
.snake-node { position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); margin: 0 auto 14px; border-radius: 50%; background: var(--purple-50); color: var(--purple); box-shadow: 0 0 0 6px #fff; }
.snake h3 { font-size: 1rem; margin-bottom: 6px; }
.snake-num { color: var(--purple); }
.snake p { margin: 0; color: var(--muted); font-size: .9rem; }
.maq-plant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.maq-plant-grid li:first-child { grid-column: 1 / -1; }
.maq-plant-grid figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--purple-50); }
.maq-plant-grid li:first-child figure { aspect-ratio: 4 / 1; }
.maq-plant-grid img { width: 100%; height: 100%; object-fit: cover; }
.maq-plant-grid figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--purple-900); font-size: .85rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.maq-trust-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 56px); align-items: center; }
.maq-trust .maq-title { margin: 0; }
.maq-trust-box { display: flex; align-items: center; justify-content: space-around; gap: 20px 32px; flex-wrap: wrap; padding: 22px clamp(20px, 3vw, 36px); border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.maq-own { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-left: clamp(20px, 3vw, 36px); border-left: 2px solid var(--line); }
.maq-own p { margin: 0; font-size: .78rem; font-weight: 700; color: var(--muted); }
.maq-own div { display: flex; gap: 20px; align-items: center; }
.maq-own img { height: 46px; width: auto; }
.maq-cta { background: var(--purple); color: #e2def5; padding-block: clamp(32px, 5vw, 48px); }
.maq-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.maq-cta h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.maq-cta p { margin: 0; }
@media (max-width: 1000px) {
  .maq-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maq-trust-inner { grid-template-columns: 1fr; }
  .maq-trust-box { border-radius: var(--radius-lg); }
}
@media (max-width: 860px) {
  .maq-hero { min-height: 0; align-items: flex-end; }
  .maq-hero::before { background: linear-gradient(180deg, rgba(35, 28, 77, .15) 0%, rgba(35, 28, 77, .55) 30%, var(--purple-900) 52%); }
  .maq-hero::after, .maq-hero-card { display: none; }
  .maq-hero-media { inset: 0 0 auto 0; height: 420px; }
  .maq-hero-media img { object-position: 50% 62%; }
  .maq-hero-inner { padding-block: 250px 44px; }
  .maq-intro-inner { grid-template-columns: 1fr; }
  .snake { padding: 0; grid-template-columns: 1fr; --row-gap: 22px; --node: 52px; }
  .snake .maq-icon { width: 26px; height: 26px; }
  .snake li, .snake li:nth-child(n) { grid-area: auto; padding: 0 0 0 calc(var(--node) + 16px); min-height: var(--node); text-align: left; }
  .snake li::before, .snake li:nth-child(n)::before { top: calc(var(--node) / 2); bottom: calc(var(--row-gap) * -1); left: calc(var(--node) / 2 - 1px); right: auto; width: 2px; height: auto; }
  .snake li:last-child::before, .snake li:nth-child(n)::after { display: none; }
  .snake-node { position: absolute; left: 0; top: 0; margin: 0; }
  .snake h3 { padding-top: 8px; }
}
@media (max-width: 560px) {
  .maq-features { grid-template-columns: 1fr; }
  .maq-features li { flex-direction: row; justify-content: flex-start; padding: 12px 14px; text-align: left; }
  .maq-service-grid { grid-template-columns: 1fr; }
  .maq-plant-grid { grid-template-columns: 1fr; }
  .maq-plant-grid li:first-child figure { aspect-ratio: 3 / 1; }
  .maq-trust-box { flex-direction: column; }
  .maq-own { padding: 16px 0 0; border-left: 0; border-top: 2px solid var(--line); }
}
.maq-block { padding-block: clamp(44px, 6vw, 80px); }
.maq-block:nth-child(even) { background: var(--tint); }
.maq-block .split-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.maq-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.maq-items li { padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.maq-items strong { display: block; font-family: var(--font-head); color: var(--purple-900); margin-bottom: 6px; }
.maq-steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.maq-steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 72px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.maq-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--purple-900); font-weight: 700; font-family: var(--font-head); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--purple-900); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--purple); transition: transform var(--t-fast); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* ---------- Contacto ---------- */
.contact { background: var(--purple-900); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact h2 { color: #fff; margin-bottom: 14px; }
.contact-channels { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); text-decoration: none; transition: background-color var(--t-fast), border-color var(--t-fast); }
.channel:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.channel strong { display: block; color: #fff; }
.channel span span { color: #cfcae6; font-size: .92rem; }
.channel-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--purple-900); }
.channel-icon svg { width: 22px; height: 22px; }
.contact-form { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.req { color: var(--danger); }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #d6d2e0; border-radius: var(--radius-sm); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(68, 56, 139, .15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; }
.hint { color: var(--muted); font-size: .8rem; }
.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-check { flex-direction: row; align-items: flex-start; gap: 10px; padding: 12px; border-radius: var(--radius-sm); background: var(--tint); }
.field-check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--purple); }
.field-check label { font-weight: 400; font-size: .86rem; line-height: 1.45; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0; }
.form-status { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: .92rem; }
.form-status.is-success { background: var(--success-bg); color: var(--success); }
.form-status.is-warning { background: var(--warning-bg); color: #6b5300; }
.form-status.is-error { background: var(--danger-bg); color: var(--danger); }
.form-status.is-info { background: var(--purple-50); color: var(--purple-900); }
.form-status-action { margin: 8px 0 0; }
.form-status-action a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pie ---------- */
.site-footer { background: #17122f; color: #c9c5dd; padding-top: 56px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-brand img { width: 140px; background: #fff; padding: 8px 10px; border-radius: var(--radius-sm); margin-bottom: 14px; }
.footer-title { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 12px; }
.footer-title-follow { margin-top: 22px; }
.footer-social { display: grid; gap: 8px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; }
.footer-social svg { width: 16px; height: 16px; flex: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px 96px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(31, 174, 91, .35); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(31, 174, 91, .4); }

.not-found { min-height: 50vh; }
.not-found h1 { margin-bottom: 14px; }

/* ---------- Animación de entrada (solo si JS la prepara) ---------- */
.reveal-pending { opacity: 0; transform: translateY(16px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .product-card:hover, .brand-card:hover, .family-tile:hover { transform: none; }
}
@media (hover: none) {
  .product-card:hover, .brand-card:hover, .family-tile:hover { transform: none; box-shadow: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-slide { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 10; order: -1; }
  .brand-grid, .split, .values, .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-inner { grid-template-columns: 1fr; }
  .dialog-gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .gallery-main { max-height: 30vh; aspect-ratio: auto; height: 30vh; }
  .gallery-main img { max-height: 30vh; }
  .dialog-close { position: fixed; top: 22px; right: 22px; z-index: 2; box-shadow: var(--shadow-sm); }
  .dialog-gallery { padding: 16px 16px 12px; }
  .dialog-info { padding: 20px 16px; }
  .dialog-info h2 { padding-right: 0; }
  .dialog-gallery .gallery-main { padding-right: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .brand img { width: 128px; }
  .utility-inner p { display: none; }
  .utility-inner { justify-content: flex-end; }
  .form-grid { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 1fr 110px; min-height: 0; }
  .brand-card-img { max-height: 150px; }
  .brand-logo { width: 110px; }
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .family-tile { min-height: 0; }
  .product-grid { gap: 12px; }
  .product-body { padding: 12px; }
  .product-actions { flex-direction: column; }
  .actions .btn { flex: 1 1 auto; }
  .hero-copy .actions .btn { width: 100%; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-float { padding: 14px; min-height: 56px; }
  .page-hero::after { width: 200px; border-width: 24px; right: -90px; top: -90px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 767px) {
  .catalog-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; min-width: 0; }
  .catalog { min-width: 0; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; min-width: 0; max-width: calc(100% + 2 * var(--gutter)); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-snap-type: x proximity; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
  .segmented { align-self: flex-start; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-actions { flex-direction: row; }
}
