/* Tu Sombrilla — sistema de diseño del prototipo
   Tipos: Bricolage Grotesque (display) + Instrument Sans (texto)
   Paleta: tinta + papel + un solo acento (sol) */

:root {
  --ink: #0E1526;
  --ink-2: #2A3550;
  --muted: #5B647A;
  --paper: #F6F4EE;
  --paper-2: #ECE8DF;
  --paper-3: #E2DDD1;
  --white: #FFFFFF;
  --line: #DDD8CC;
  --sol: #FFC526;
  --sol-deep: #E8AF00;
  --sol-txt: #7A5A00;      /* amarillo como texto sobre claro (AA) */
  --sol-txt-dark: #FFD65C; /* amarillo como texto sobre tinta */
  --wa: #25D366;

  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1280px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sol); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Tipografía ---------- */
.display-xl { font-size: clamp(44px, 6.4vw, 92px); line-height: .96; font-weight: 800; letter-spacing: -0.035em; }
.display-l  { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.display-m  { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; }
.display-s  { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sol-txt);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--sol); border-radius: 2px; }
.eyebrow.on-dark { color: var(--sol-txt-dark); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--white); font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  transition: transform .25s var(--ease-out), background .2s, color .2s, border-color .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(14, 21, 38, .55); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sol { background: var(--sol); border-color: var(--sol); color: var(--ink); }
.btn-sol:hover { background: var(--sol-deep); border-color: var(--sol-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost.on-dark { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-ghost.on-dark:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-wa .wa-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .25); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.brand .brand-mark { width: 34px; height: 34px; flex: none; }
.brand em { font-style: normal; color: var(--sol-txt); }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-cta .tel { font-weight: 600; font-size: 15px; color: var(--ink-2); padding-right: 6px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-tight { padding-block: clamp(40px, 6vw, 80px); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { max-width: 40em; }
.dark { background: var(--ink); color: var(--white); }
.dark .lead { color: rgba(255, 255, 255, .78); }
.dark .muted { color: rgba(255, 255, 255, .6); }
.paper-2 { background: var(--paper-2); }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  min-height: calc(100svh - var(--header-h));
  display: grid; align-items: center;
  background:
    radial-gradient(60% 60% at 78% 30%, rgba(255, 197, 38, .28), transparent 65%),
    radial-gradient(45% 50% at 10% 90%, rgba(226, 221, 209, .9), transparent 70%),
    var(--paper);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(28px, 4vw, 56px); }
.hero-copy { display: grid; gap: 26px; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy h1 .u { position: relative; display: inline-block; white-space: nowrap; }
.hero-copy h1 .u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; background: var(--sol); z-index: -1; border-radius: 3px;
  transform-origin: left; transform: scaleX(0); animation: underline .9s var(--ease-out) .7s forwards;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sol); }

.hero-stage { position: relative; }
.viewer-frame {
  position: relative; aspect-ratio: 1 / 1.02; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 50%), var(--paper-2);
  box-shadow: inset 0 0 0 1px rgba(14, 21, 38, .06);
  overflow: hidden; touch-action: none;
}
.viewer-frame { touch-action: pan-y; }
.viewer-frame canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; outline: none; }
.hidden { display: none !important; }
.personaliza.sin-logo .ctl-grid { opacity: .55; }
.personaliza.sin-logo .ctl-grid:hover { opacity: 1; }

/* menú móvil */
.header.nav-open .nav {
  display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
  padding: 12px var(--gutter) 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(14, 21, 38, .4);
}
.header.nav-open .nav a { padding: 14px 12px; font-size: 18px; border-radius: var(--r-sm); }
@media (max-width: 960px) { .menu-btn { display: inline-grid; } .header .wrap { gap: 12px; } .header-cta { margin-left: 0; } .menu-btn { margin-left: auto; } }
.viewer-frame.dragover::after {
  content: "Suelta tu logo aquí"; position: absolute; inset: 12px; border: 3px dashed var(--ink); border-radius: calc(var(--r-lg) - 8px);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--ink);
  background: rgba(255, 197, 38, .35); backdrop-filter: blur(2px); pointer-events: none;
}
.viewer-hint {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); color: var(--ink-2); font-size: 13px; font-weight: 600;
  pointer-events: none; transition: opacity .4s;
}
.viewer-hint svg { width: 16px; height: 16px; }
.viewer-frame.touched .viewer-hint { opacity: 0; }
.viewer-loading {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; font-weight: 600;
  background: var(--paper-2); transition: opacity .5s; z-index: 2;
}
.viewer-loading .spin { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin 1s linear infinite; margin-bottom: 12px; }
.viewer-frame.ready .viewer-loading { opacity: 0; pointer-events: none; }
.viewer-bar {
  position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none;
}
.viewer-bar > * { pointer-events: auto; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 0 rgba(14, 21, 38, .06); backdrop-filter: blur(6px); }
.seg button {
  border: 0; background: transparent; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.seg button:hover:not([aria-pressed="true"]) { background: var(--paper-2); }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); display: grid; place-items: center; color: var(--ink);
  transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--white); transform: translateY(-1px); }
.icon-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.icon-btn svg { width: 18px; height: 18px; }

.hero-tools { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw {
  position: relative; width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0;
  background: var(--c, #1B2A5B); box-shadow: inset 0 0 0 1px rgba(14, 21, 38, .18), 0 0 0 2px transparent;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.sw:hover { transform: scale(1.1); }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(14, 21, 38, .18), 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.sw.bicolor { background: linear-gradient(135deg, var(--c) 50%, var(--c2, #fff) 50%); }
.sw-lg { width: 38px; height: 38px; }
.upload-inline { display: inline-flex; align-items: center; gap: 10px; }
.upload-inline input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ---------- Franja de diferenciales ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.pillar { display: grid; gap: 12px; padding-top: 22px; border-top: 2px solid var(--ink); }
.pillar .n { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.pillar .n small { font-size: .45em; letter-spacing: -0.01em; margin-left: 4px; color: var(--muted); font-weight: 600; }
.pillar h3 { font-size: 22px; }
.pillar p { color: var(--ink-2); max-width: 30em; }

/* ---------- Catálogo ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.grid-productos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px) clamp(16px, 2vw, 28px); }
.producto { display: grid; gap: 12px; position: relative; min-width: 0; }
.producto .media {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); background: var(--paper-2); overflow: hidden;
  display: grid; place-items: center;
}
.producto .media img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease-out); }
.producto:hover .media img { transform: scale(1.05) rotate(-1.5deg); }
.producto .tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.producto .tag.sol { background: var(--sol); color: var(--ink); }
.producto .info { display: grid; gap: 4px; }
.producto .info .ref { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.producto h3 { font-size: 20px; line-height: 1.15; }
.producto h3 a::after { content: ""; position: absolute; inset: 0; }
.producto .desc { color: var(--muted); font-size: 14px; }
.producto .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 4px; }
.producto .precio { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.producto .precio small { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 4px; }
.dots { display: flex; gap: 4px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(14, 21, 38, .15); }
.dots i.bi { background: linear-gradient(135deg, var(--c) 50%, var(--c2) 50%); }
.dots span { font-size: 12px; color: var(--muted); margin-left: 4px; font-weight: 600; }
.producto.hidden { display: none; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--line); }
.step { display: grid; gap: 14px; padding-top: 0; position: relative; }
.step .dot {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 22px; position: relative; z-index: 1;
}
.step:first-child .dot { background: var(--sol); }
.step h3 { font-size: 22px; }
.step p { color: var(--ink-2); }
.step .t { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sol-txt); }

/* ---------- Foto + usos ---------- */
.usos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: var(--white); }
.usos .foto { position: relative; min-height: 520px; }
.usos .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.usos .foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 21, 38, 0) 60%, rgba(14, 21, 38, .55)); }
.usos .texto { padding: clamp(32px, 5vw, 72px); display: grid; gap: 26px; align-content: center; }
.usos .texto h2 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.lista-usos { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.lista-usos li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); align-items: baseline; }
.lista-usos b { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--sol-txt-dark); }
.lista-usos span { color: rgba(255, 255, 255, .85); }

/* ---------- Franja B2C ---------- */
.b2c { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.b2c p { color: var(--ink-2); }
.b2c b { color: var(--ink); }

/* ---------- Cierre / formulario ---------- */
.cierre { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cierre > * { min-width: 0; }
.form { min-width: 0; }
.cierre h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; letter-spacing: -0.03em; }
.cierre .lead { margin-top: 18px; }
.contacto-lista { margin-top: 30px; display: grid; gap: 12px; color: rgba(255, 255, 255, .85); }
.contacto-lista li { display: flex; gap: 12px; align-items: center; }
.contacto-lista svg { width: 20px; height: 20px; color: var(--sol); flex: none; }
.form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.field input, .field select {
  width: 100%; min-width: 0; max-width: 100%;
  min-height: 50px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: var(--white);
  transition: border-color .2s, background .2s;
}
.field input::placeholder { color: rgba(255, 255, 255, .45); }
.field input:focus, .field select:focus { border-color: var(--sol); background: rgba(255, 255, 255, .12); outline: none; }
.field select option { color: var(--ink); }
.form .btn { margin-top: 6px; }
.form .nota { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 56px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: var(--white); }
.footer .brand em { color: var(--sol-txt-dark); }
.footer h4 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.footer li { padding: 5px 0; }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- PDP ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); padding: 18px 0 8px; }
.crumbs a:hover { color: var(--ink); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: clamp(56px, 8vw, 112px); }
.galeria { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); background: var(--paper-2); overflow: hidden; }
.stage > .pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s; }
.stage > .pane.active { opacity: 1; visibility: visible; }
.stage .pane-svg svg { width: 100%; height: 100%; }
.stage .pane-foto { display: grid; place-items: center; background: var(--paper-2); }
.stage .pane-foto img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.stage .viewer-frame { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumb {
  display: grid; gap: 6px; padding: 8px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); text-align: left;
  transition: border-color .2s, transform .2s;
}
.thumb:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.thumb .ico { aspect-ratio: 1; border-radius: 6px; background: var(--paper-2); display: grid; place-items: center; color: var(--ink-2); overflow: hidden; }
.thumb .ico svg { width: 60%; height: 60%; }
.thumb .ico img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.thumb span { font-size: 12px; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; }

.info { display: grid; gap: 22px; }
.info .cat { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sol-txt); }
.info h1 { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -0.03em; font-weight: 800; }
.info .descriptor { color: var(--ink-2); font-size: 18px; }
.precio-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.precio-row .precio { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.precio-row .por { color: var(--muted); font-size: 14px; }
.precio-row .vol { margin-left: auto; font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.precio-row .vol::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sol); }

.ctl { display: grid; gap: 10px; }
.ctl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ctl-head label, .ctl-head .lbl { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ctl-head .val { font-size: 14px; color: var(--muted); font-weight: 600; }
.seg.wide { width: 100%; background: var(--paper-2); }
.seg.wide button { flex: 1; padding: 10px 8px; }

.personaliza { display: grid; gap: 20px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.personaliza .titulo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.personaliza .titulo h2 { font-size: 24px; }
.personaliza .titulo .paso, .paso { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sol-txt); white-space: nowrap; }
.drop {
  position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 14px 16px;
  border: 2px dashed var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s, background .2s;
}
.drop:hover, .drop.dragover { border-color: var(--ink); background: var(--paper-2); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .prev { width: 56px; height: 56px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.drop .prev img { max-width: 80%; max-height: 80%; object-fit: contain; }
.drop .prev svg { width: 24px; height: 24px; color: var(--sol); }
.drop b { display: block; font-size: 15px; }
.drop span { display: block; font-size: 13px; color: var(--muted); }
.drop .btn { position: relative; z-index: 1; pointer-events: none; }
.demo-logos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.demo-logos button { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: border-color .2s; }
.demo-logos button:hover { border-color: var(--ink); color: var(--ink); }
.ctl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.ctl-grid .full { grid-column: 1 / -1; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sol); border: 3px solid var(--ink); margin-top: -9px; cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--sol); border: 3px solid var(--ink); cursor: grab; }

.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .sw-track { width: 40px; height: 24px; border-radius: 12px; background: var(--line); position: relative; transition: background .2s; }
.toggle .sw-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease-out); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.toggle input:checked + .sw-track { background: var(--ink); }
.toggle input:checked + .sw-track::after { transform: translateX(16px); }
.toggle input:focus-visible + .sw-track { outline: 3px solid var(--sol); outline-offset: 2px; }

.cantidad { display: grid; gap: 10px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden; }
.stepper button { width: 46px; height: 48px; border: 0; background: transparent; font-size: 22px; font-weight: 500; color: var(--ink); }
.stepper button:hover { background: var(--paper-2); }
.stepper input { width: 84px; height: 48px; border: 0; text-align: center; font-family: var(--display); font-weight: 700; font-size: 20px; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cantidad .aviso { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.cantidad .aviso svg { width: 18px; height: 18px; flex: none; color: var(--sol-txt); margin-top: 2px; }
.cantidad .aviso.ok svg { color: var(--ink); }
.cta-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.cta-row .btn { width: 100%; }
.cta-sub { font-size: 13px; color: var(--muted); }

.resumen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--paper-2); }
.resumen dt { color: var(--muted); }
.resumen dd { margin: 0; font-weight: 600; }
.resumen .full { grid-column: 1 / -1; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.specs div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.bullets { display: grid; gap: 10px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.bullets li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sol); margin-top: 8px; }

.relacionados { padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }

.print-sheet { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.print-sheet canvas { width: 46px; height: 60px; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.print-sheet b { display: block; font-size: 14px; }
.print-sheet span { font-size: 13px; color: var(--muted); }

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.sticky-bar .p { font-family: var(--display); font-weight: 800; font-size: 20px; }
.sticky-bar .p small { font-family: var(--body); font-weight: 500; color: var(--muted); font-size: 12px; display: block; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 60; padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease-out);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-copy > * { opacity: 0; animation: rise .8s var(--ease-out) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .28s; }
.hero-copy > :nth-child(4) { animation-delay: .4s; }
.hero-copy > :nth-child(5) { animation-delay: .5s; }
.hero-stage { opacity: 0; animation: rise 1s var(--ease-out) .25s forwards; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-stage { animation: none; opacity: 1; }
  .hero-copy h1 .u::after { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .producto .media img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-productos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 960px) {
  .nav, .header-cta .tel { display: none; }
  .header-cta { margin-left: auto; }
  .hero { min-height: auto; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy h1 { max-width: 14ch; }
  .pdp { grid-template-columns: 1fr; }
  .galeria { position: static; }
  .usos { grid-template-columns: 1fr; }
  .usos .foto { min-height: 360px; }
  .cierre { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .sticky-bar { display: flex; }
  body.has-sticky { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .brand { font-size: 22px; }
  .brand .brand-mark { width: 28px; height: 28px; }
  .header-cta .btn { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .grid-productos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .producto h3 { font-size: 17px; }
  .producto .precio { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .thumb { padding: 5px; }
  .thumb span { font-size: 10px; }
  .ctl-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .cta-row { grid-template-columns: 1fr; }
  .viewer-bar { flex-wrap: wrap; justify-content: center; }
  .hero-tools { justify-content: center; }
  .footer .cols { grid-template-columns: 1fr; }
  .resumen { grid-template-columns: 1fr; }
  .drop { grid-template-columns: 48px 1fr; }
  .drop .btn { display: none; }
}
