/* =============================================================
   paso · Zapatería de barrio en Málaga (demo) — styles.css
   Dirección: «caja de zapatos» — papel crudo, azul cobalto,
   rosa palo y tinta marino. Tipografía grotesca con carácter.
   ============================================================= */

:root {
  --paper: #F5F0E8;
  --paper-2: #ECE5D8;
  --paper-3: #E2D9C8;
  --card: #FFFCF7;
  --ink: #16183A;
  --ink-2: #34365A;
  --mute: #5A5C77;
  --cobalt: #2A43C9;
  --cobalt-d: #1E31A3;
  --cobalt-l: #E1E5FB;
  --rosa: #F2B8C2;
  --rosa-l: #F9DDE2;
  --mostaza: #F2B53B;
  --ok: #1D6B45;
  --low: #A3421B;
  --line: rgba(22, 24, 58, .12);
  --line-2: rgba(22, 24, 58, .24);
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: clamp(16px, 4vw, 44px);
  --r-lg: 32px;
  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 0 rgba(22, 24, 58, .04), 0 18px 40px -22px rgba(22, 24, 58, .35);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 750; letter-spacing: -.025em; line-height: 1.02; margin: 0; }
p { margin: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.servicios :focus-visible, .footer :focus-visible, .demo-bar :focus-visible, .ribbon :focus-visible { outline-color: var(--mostaza); }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Barra demo ---------- */
.demo-bar { background: var(--ink); color: #EDE8F5; font-size: .78rem; line-height: 1.4; text-align: center; padding: 8px var(--gut); position: relative; z-index: 51; }
.demo-bar p { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0 .35em; }
.demo-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--rosa); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.demo-bar a:hover { color: var(--rosa); }
.demo-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mostaza); margin-right: .45em; box-shadow: 0 0 0 0 rgba(242, 181, 59, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 181, 59, .55); } 70% { box-shadow: 0 0 0 8px rgba(242, 181, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 181, 59, 0); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn small { font-weight: 500; opacity: .8; font-size: .8em; }
.btn-lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-sm { min-height: 42px; padding: .55rem 1rem; font-size: .93rem; }
.btn-block { width: 100%; }
.btn-cobalt { background: var(--cobalt); color: #fff; box-shadow: 0 10px 24px -12px rgba(42, 67, 201, .7); }
.btn-cobalt:hover { background: var(--cobalt-d); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--cobalt); transform: translateY(-2px); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.linkbtn { background: none; border: 0; padding: .3rem 0; color: var(--cobalt); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 240, 232, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: var(--nav-h); }
.logo { display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; color: var(--ink); }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -.06em; line-height: .9; }
.logo-steps { display: inline-flex; gap: 3px; align-items: flex-end; padding-bottom: 4px; }
.logo-steps i { display: block; width: 7px; height: 11px; border-radius: 50%; background: var(--cobalt); transform: rotate(-14deg); }
.logo-steps i + i { background: var(--rosa); height: 9px; width: 6px; transform: translateY(-6px) rotate(-14deg); }
.logo-light { color: var(--paper); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 550; font-size: .97rem; padding: .5rem .8rem; border-radius: 999px; transition: background-color .2s; }
.nav-links a:hover { background: var(--paper-2); }
.nav-links a.is-here { background: var(--ink); color: var(--paper); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.sheet { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100vh - var(--nav-h)); overflow: auto; }
.sheet nav { display: grid; padding-top: 8px; padding-bottom: 20px; }
.sheet a { text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 1.45rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .6em; font-weight: 650; font-size: .92rem; padding: .45rem .9rem .45rem .7rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--card); }
.kicker-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); box-shadow: 12px 0 0 -1px var(--rosa); margin-right: 12px; }
.hero-title { font-size: clamp(3rem, 7.2vw, 6.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .93; margin: 22px 0 24px; }
.hero-title .ln { display: block; }
.hero-title em { font-style: normal; color: var(--cobalt); position: relative; display: inline-block; }
.squiggle { position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .26em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--rosa); stroke-width: 9; stroke-linecap: round; }
.js .squiggle path { stroke-dasharray: 360; stroke-dashoffset: 0; }
.hero-lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); max-width: 34em; color: var(--ink-2); }
.hero-lead b { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; }
.hero-facts li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--rosa); }
.hero-facts b { font-family: var(--display); font-weight: 750; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }
.hero-facts span { font-size: .88rem; color: var(--mute); }

.hero-stage { position: relative; }
.stage-card { position: relative; aspect-ratio: 1 / 1.02; border-radius: 40px; background: var(--cobalt); overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -40px rgba(30, 49, 163, .7); }
.stage-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 90% 0%, rgba(255, 255, 255, .18), transparent 55%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 44px); z-index: -1; }
.stage-disc { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: var(--rosa); left: 13%; top: 8%; z-index: -1; }
.stage-disc::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 2px dashed rgba(22, 24, 58, .25); }
.stage-trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.trail ellipse { fill: rgba(255, 255, 255, .16); }
.stage-shoe { position: absolute; left: 3%; right: 3%; top: 16%; margin: 0; transform: rotate(-9deg); filter: drop-shadow(0 26px 22px rgba(22, 24, 58, .28)); }
.stage-shoe .shoe { width: 100%; height: auto; }
.stage-shoe .zs-sh { display: none; }
.stage-label { position: absolute; left: 6%; bottom: 6%; width: min(330px, 70%); background: var(--card); color: var(--ink); border-radius: 18px; padding: 14px 16px 14px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .45); }
.sl-top { display: flex; justify-content: space-between; gap: 8px; font-family: var(--display); font-weight: 750; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.1; }
.sl-sub { font-size: .84rem; color: var(--mute); margin-top: 2px; }
.sl-stock { font-size: .86rem; font-weight: 650; margin-top: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sl-stock small { font-weight: 500; color: var(--mute); }
.dot-low { width: 8px; height: 8px; border-radius: 50%; background: var(--mostaza); box-shadow: 0 0 0 3px rgba(242, 181, 59, .28); }
.sl-swatches { display: flex; gap: 8px; margin-top: 10px; }
.stage-size { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); color: var(--ink); font-family: var(--display); font-weight: 750; font-size: 1.1rem; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.stage-size.s1 { right: 8%; top: 7%; }
.stage-size.s2 { right: 21%; top: 16%; background: var(--ink); color: var(--paper); width: 62px; height: 62px; font-size: 1.3rem; }
.stage-size.s3 { right: 6%; top: 24%; }

/* Muestras de color (botones redondos) */
.sw { --sw: #ccc; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--card); background: var(--sw); box-shadow: 0 0 0 1.5px var(--line-2); padding: 0; transition: box-shadow .2s, transform .2s var(--ease); flex: none; }
.sw:hover { transform: scale(1.08); }
.sw.is-on, .sw[aria-pressed="true"], .sw[aria-checked="true"] { box-shadow: 0 0 0 2.5px var(--ink); }

/* ---------- Cinta ---------- */
.ribbon { background: var(--ink); color: var(--paper); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -10px; position: relative; z-index: 2; }
.ribbon-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.ribbon-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ribbon-list li { font-family: var(--display); font-weight: 650; font-size: clamp(1.05rem, 1.8vw, 1.4rem); letter-spacing: -.01em; white-space: nowrap; padding: 0 22px; display: flex; align-items: center; gap: 44px; }
.ribbon-list li::after { content: ""; width: 10px; height: 15px; border-radius: 50%; background: var(--rosa); transform: rotate(-16deg); margin-right: -22px; }
.ribbon-list li:nth-child(even)::after { background: var(--mostaza); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.sec { padding: clamp(76px, 10vw, 140px) 0; position: relative; }
.sec-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px 48px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.eyebrow span { display: grid; place-items: center; min-width: 32px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .74rem; letter-spacing: .02em; }
.eyebrow-light { color: #D9D6EA; }
.eyebrow-light span { background: var(--rosa); color: var(--ink); }
.sec-title { font-size: clamp(2.2rem, 4.8vw, 4.1rem); letter-spacing: -.045em; font-weight: 780; }
.sec-title em { font-style: normal; color: var(--cobalt); }
.sec-lead { color: var(--ink-2); font-size: 1.08rem; max-width: 36em; }
.tag-demo { display: inline-block; font-size: .78rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; background: var(--mostaza); color: var(--ink); vertical-align: .1em; margin-right: .2em; }

/* Reveals (solo si hay JS + IntersectionObserver) */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

/* Ilustraciones de zapatos (clases usadas dentro de los <symbol>) */
.shoe { --ln: #16183A; --lin: #EFE4D2; overflow: visible; }
.zs-sh { fill: rgba(22, 24, 58, .13); }
.zs-u { fill: var(--up); stroke: var(--ln); stroke-width: 2; stroke-linejoin: round; }
.zs-a { fill: var(--acc); stroke: var(--ln); stroke-width: 2; stroke-linejoin: round; }
.zs-s { fill: var(--sole); stroke: var(--ln); stroke-width: 2; stroke-linejoin: round; }
.zs-l { fill: var(--lin); stroke: var(--ln); stroke-width: 1.6; stroke-linejoin: round; }
.zs-k { fill: none; stroke: var(--ln); stroke-width: 1.8; stroke-linecap: round; }
.zs-soft { opacity: .4; }
.zs-d { fill: none; stroke: var(--ln); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .5; }
.zs-al { fill: none; stroke: var(--acc); stroke-width: 3; stroke-linecap: round; }
.zs-al.zs-nofill { stroke-width: 2.4; }
.zs-lnf { fill: var(--ln); }
.zs-rope { fill: none; stroke: var(--acc); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 5 1.5; }
.zs-lugs { fill: none; stroke: var(--ln); stroke-width: 3; stroke-linecap: round; }
.shoe * { transition: fill .45s var(--ease), stroke .45s var(--ease); }

/* ---------- Novedades ---------- */
.novedades { padding-top: clamp(90px, 11vw, 150px); }
.nov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nov { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 20px; border-radius: var(--r-lg); background: var(--bg); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.nov:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.nov::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .45); left: 5%; top: 12%; }
.nov-tag { position: relative; align-self: flex-start; font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: var(--ink); color: var(--paper); }
.nov .shoe { position: relative; width: 100%; margin: auto 0; transform: rotate(-6deg); transition: transform .6s var(--ease); }
.nov:hover .shoe { transform: rotate(-2deg) translateY(-8px) scale(1.04); }
.nov-info { position: relative; display: grid; gap: 2px; }
.nov-name { font-family: var(--display); font-weight: 780; font-size: 1.7rem; letter-spacing: -.035em; line-height: 1.05; }
.nov-type { font-size: .92rem; color: var(--ink-2); }
.nov-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.nov-dots { display: flex; gap: 5px; }
.nov-dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1.5px var(--line-2), inset 0 0 0 2px rgba(255, 255, 255, .7); }
.nov-price { font-family: var(--display); font-weight: 750; font-size: 1.2rem; }
.nov-go { position: relative; display: inline-flex; align-items: center; gap: .4em; margin-top: 12px; padding-top: 12px; border-top: 1.5px solid var(--line-2); font-weight: 650; font-size: .93rem; }
.nov-go .ico { transition: transform .3s var(--ease); }
.nov:hover .nov-go .ico { transform: translateX(4px); }

/* ---------- Catálogo ---------- */
.catalogo { background: var(--paper-2); border-radius: 48px 48px 0 0; }
.filters { position: sticky; top: calc(var(--nav-h) + 10px); z-index: 20; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 26px; padding: 16px 20px; margin-bottom: 26px; background: rgba(255, 252, 247, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 30px -26px rgba(22, 24, 58, .5); }
.f-group { display: grid; gap: 6px; }
.f-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); gap: 2px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: .55rem 1rem; min-height: 40px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--ink); }
.seg button.is-on { background: var(--ink); color: var(--paper); }
.seg-sm button { padding: .45rem .9rem; min-height: 36px; font-size: .9rem; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 48px; padding: .6rem 2.4rem .6rem .95rem; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--card); font-weight: 550; }
.f-talla .select select { min-width: 170px; min-height: 48px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; min-height: 48px; align-items: center; }
.sw-f { width: 36px; height: 36px; }
.f-foot { margin-left: auto; display: flex; align-items: center; gap: 14px; min-height: 48px; }
.f-count { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.f-legend { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .82rem; color: var(--mute); margin-top: -4px; }
.f-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg-low { width: 8px; height: 8px; border-radius: 50%; background: var(--mostaza); }
.lg-out { font-weight: 650; color: #6B6D86; text-decoration: line-through; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod { display: flex; flex-direction: column; background: var(--card); border-radius: 28px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); scroll-margin-top: calc(var(--nav-h) + 20px); }
.prod:hover { box-shadow: var(--shadow); }
.prod[hidden] { display: none; }
.prod.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(42, 67, 201, 0); } 20% { box-shadow: 0 0 0 5px rgba(42, 67, 201, .55); } }
.prod-media { position: relative; background: var(--bg); aspect-ratio: 16 / 10.5; display: grid; place-items: center; padding: 16px 18px 10px; overflow: hidden; }
.prod-media::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .5); top: 10%; }
.prod-media .shoe { position: relative; width: 86%; height: auto; transform: rotate(-4deg); transition: transform .6s var(--ease); }
.prod:hover .prod-media .shoe { transform: rotate(-1deg) translateY(-6px); }
.badge { position: absolute; left: 14px; top: 14px; z-index: 1; font-size: .76rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: var(--rosa); color: var(--ink); }
.prod-price { position: absolute; right: 14px; top: 14px; font-family: var(--display); font-weight: 750; font-size: 1.1rem; padding: .25rem .75rem; border-radius: 999px; background: var(--ink); color: var(--paper); }
.prod-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.prod-meta { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.prod-name { font-size: 2rem; letter-spacing: -.04em; margin-top: -6px; }
.prod-desc { font-size: .97rem; color: var(--ink-2); }
.prod-keys { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.prod-keys li { font-size: .8rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); }
.prod-opt { display: grid; gap: 8px; }
.opt-label { font-size: .88rem; color: var(--ink-2); }
.opt-label small { color: var(--mute); }
.prod-colors { display: flex; gap: 10px; }
.prod-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; }
.sz { position: relative; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); font-weight: 650; font-size: .95rem; padding: 0; transition: background-color .15s, color .15s, border-color .15s; }
.sz:hover { border-color: var(--ink); }
.sz.is-low::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--mostaza); box-shadow: 0 0 0 1.5px var(--card); }
.sz.is-out { color: #6B6D86; background: transparent; border-style: dashed; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.sz[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sz.is-out[aria-pressed="true"] { background: var(--paper-3); color: var(--ink-2); border-color: var(--ink-2); }
.prod-stock { font-weight: 650; font-size: .95rem; min-height: 1.5em; display: flex; gap: .5em; align-items: baseline; }
.prod-stock.is-ok { color: var(--ok); }
.prod-stock.is-low { color: var(--low); }
.prod-stock.is-out { color: var(--mute); }
.prod-stock.is-err { color: #B3261E; }
.prod-horma { display: flex; gap: .5em; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.prod-horma .ico { margin-top: .15em; color: var(--cobalt); }
.prod-mat { font-size: .84rem; color: var(--mute); }
.prod-mat b { color: var(--ink-2); font-weight: 650; }
.prod-cta { margin-top: auto; }
.empty { text-align: center; padding: 40px 20px; border: 2px dashed var(--line-2); border-radius: var(--r-lg); display: grid; gap: 16px; justify-items: center; }
.empty p { max-width: 34em; }
.cat-note { display: flex; gap: .5em; align-items: flex-start; justify-content: center; margin-top: 28px; font-size: .88rem; color: var(--mute); text-align: left; }
.cat-note .ico { margin-top: .2em; }

/* ---------- Guía de tallas ---------- */
.tallas-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.medidor { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.med-howto { padding: 28px; display: grid; gap: 20px; align-content: start; }
.med-ill { width: 100%; height: auto; }
.mi-paper { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; }
.mi-wall { stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.mi-foot { fill: var(--rosa-l); stroke: var(--ink); stroke-width: 2; }
.mi-toe { fill: var(--rosa-l); stroke: var(--ink); stroke-width: 1.6; }
.mi-mark { stroke: var(--cobalt); stroke-width: 3; stroke-dasharray: 6 5; stroke-linecap: round; }
.mi-ruler-line { fill: none; stroke: var(--cobalt); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mi-text { font: 600 13px var(--sans); fill: var(--cobalt); }
.mi-pencil path { fill: var(--mostaza); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.mi-pencil .mi-tip { fill: var(--ink); }
.med-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 10px; }
.med-steps li { counter-increment: st; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.med-steps li::before { content: counter(st); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); font-weight: 700; font-size: .85rem; color: var(--ink); }
.med-tool { background: var(--cobalt); color: #fff; padding: 28px; display: grid; gap: 14px; align-content: start; }
.med-tool .seg { background: rgba(255, 255, 255, .14); justify-self: start; }
.med-tool .seg button { color: #fff; }
.med-tool .seg button.is-on { background: #fff; color: var(--cobalt-d); }
.med-label { font-weight: 650; margin-top: 6px; }
.med-row { display: flex; align-items: center; gap: 14px; }
.med-row input[type="range"] { flex: 1; accent-color: var(--rosa); height: 32px; }
.med-cm { font-family: var(--display); font-weight: 750; font-size: 1.3rem; min-width: 5.5ch; text-align: right; }
.med-result { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; padding: 18px; display: grid; gap: 4px; }
.med-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #DCE1FF; }
.med-talla { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 8vw, 5.6rem); line-height: .9; letter-spacing: -.05em; }
.med-tip { font-size: .92rem; color: #E6E9FF; }
.med-tool .btn-cobalt { background: #fff; color: var(--cobalt-d); box-shadow: none; }
.med-tool .btn-cobalt:hover { background: var(--rosa); color: var(--ink); }
.med-tool :focus-visible { outline-color: #fff; }
.tabla-wrap { display: grid; gap: 20px; }
.tabla { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; font-size: .95rem; }
.tabla caption { text-align: left; font-size: .88rem; color: var(--mute); padding: 0 4px 10px; caption-side: top; }
.tabla th, .tabla td { padding: .5rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.tabla thead th { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); background: var(--paper-2); }
.tabla tbody th { font-family: var(--display); font-weight: 750; font-size: 1.05rem; }
.tabla tbody tr:last-child > * { border-bottom: 0; }
.tabla th:nth-child(3), .tabla td:nth-child(3) { border-left: 1px solid var(--line); }
.tabla tr.is-hit th, .tabla tr.is-hit td { background: transparent; }
.tabla .is-hit { background: var(--cobalt-l) !important; color: var(--cobalt-d); }
.t-note { font-size: .82rem; color: var(--mute); }
.consejos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.consejos li { padding: 12px 14px 12px 16px; border-left: 3px solid var(--rosa); background: var(--card); border-radius: 0 14px 14px 0; font-size: .95rem; color: var(--ink-2); }
.consejos b { color: var(--ink); }

/* ---------- Servicios ---------- */
.servicios { background: var(--ink); color: var(--paper); }
.servicios .sec-title em { color: var(--rosa); }
.servicios .sec-lead { color: #CFCDE0; }
.serv-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; align-items: stretch; }
.serv { border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.serv h3 { font-size: 1.75rem; letter-spacing: -.035em; }
.serv p { font-size: .98rem; }
.serv-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; }
.serv-ico .ico { width: 26px; height: 26px; }
.serv-arreglos { background: var(--card); color: var(--ink); }
.serv-arreglos .serv-ico { background: var(--cobalt-l); color: var(--cobalt); }
.serv-cambios { background: var(--rosa); color: var(--ink); }
.serv-cambios .serv-ico { background: var(--ink); color: var(--rosa); }
.serv-regalo { background: var(--cobalt); color: #fff; }
.serv-regalo .serv-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.precios { list-style: none; padding: 0; margin: 4px 0 0; display: grid; }
.precios li { display: flex; justify-content: space-between; gap: 12px; padding: .6rem 0; border-bottom: 1px dashed var(--line-2); font-size: .96rem; }
.precios b { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.serv-foot { display: flex; gap: .5em; align-items: center; font-size: .86rem !important; color: var(--mute); margin-top: auto; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: .6em; align-items: flex-start; font-weight: 550; }
.checks .ico { margin-top: .2em; }
.giftcard { position: relative; aspect-ratio: 1.6; border-radius: 18px; background: var(--paper); color: var(--ink); padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; margin-top: 6px; box-shadow: 0 20px 30px -18px rgba(0, 0, 0, .55); transform: rotate(-2deg); }
.giftcard::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--mostaza); right: -22%; top: -40%; }
.gc-logo { position: relative; font-family: var(--display); font-weight: 800; font-size: 1.8rem; letter-spacing: -.06em; line-height: 1; }
.gc-amount { position: relative; font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; }
.gc-foot { position: relative; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.gc-steps { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 6px; align-items: flex-end; }
.gc-steps i { width: 10px; height: 16px; border-radius: 50%; background: var(--cobalt); transform: rotate(-14deg); }
.gc-steps i:nth-child(2) { background: var(--rosa); transform: translateY(-8px) rotate(-14deg); }
.gc-steps i:nth-child(3) { transform: translateY(-16px) rotate(-14deg); }
.gc-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.gc-pick button { min-height: 40px; padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; font-weight: 650; }
.gc-pick button.is-on { background: #fff; color: var(--cobalt-d); border-color: #fff; }
.serv-regalo :focus-visible { outline-color: #fff; }

/* ---------- Reservar ---------- */
.res-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.res-copy { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 30px; }
.res-copy .sec-lead { margin-top: 18px; }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pasos li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.pasos b { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.pasos p { font-size: .94rem; color: var(--ink-2); margin-top: 2px; }
.p-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cobalt); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.pasos li:nth-child(2) .p-n { background: var(--rosa); color: var(--ink); }
.pasos li:nth-child(3) .p-n { background: var(--ink); color: var(--paper); }
.res-card { background: var(--card); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); box-shadow: 0 40px 70px -50px rgba(22, 24, 58, .55); scroll-margin-top: calc(var(--nav-h) + 16px); }
.res-card:focus { outline: none; }
.demo-pill { display: flex; gap: .55em; align-items: flex-start; font-size: .86rem; font-weight: 550; padding: .7rem .9rem; border-radius: 14px; background: #FDF1D6; color: #5C3F05; margin-bottom: 22px; }
.demo-pill .ico { margin-top: .12em; }
.noscript { padding: 1rem; border-radius: 14px; background: var(--paper-2); margin-bottom: 16px; }
.res-form { display: grid; gap: 18px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 650; font-size: .95rem; margin-bottom: 8px; }
.par { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 16px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.par legend { float: left; width: 100%; grid-column: 1 / -1; font-family: var(--display); font-weight: 750; font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 0; }
.par-preview { background: var(--bg); border-radius: 18px; display: grid; place-items: center; padding: 10px; align-self: start; aspect-ratio: 1.1; transition: background-color .4s; }
.par-preview .shoe { width: 100%; transform: rotate(-6deg); }
.par-fields { display: grid; gap: 12px; min-width: 0; }
.par-stock { font-weight: 650; font-size: .93rem; min-height: 1.4em; }
.par-stock.is-ok { color: var(--ok); }
.par-stock.is-low { color: var(--low); }
.par-stock.is-out { color: #B3261E; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > legend { font-weight: 650; font-size: .95rem; }
.field label small, .field legend small { font-weight: 500; color: var(--mute); }
.f-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type="text"], input[type="tel"], input[type="email"], textarea { width: 100%; min-height: 48px; padding: .7rem .95rem; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; }
textarea { resize: vertical; min-height: 70px; }
input::placeholder, textarea::placeholder { color: #8A8BA0; }
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); }
[aria-invalid="true"] { border-color: #B3261E !important; }
.f-err { color: #B3261E; font-size: .88rem; font-weight: 600; }
.dias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dia { position: relative; }
.dia input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dia span { display: grid; gap: 0; text-align: center; padding: .6rem .4rem; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s; }
.dia b { font-family: var(--display); font-weight: 750; font-size: 1.1rem; }
.dia small { font-size: .8rem; color: var(--mute); }
.dia input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dia input:checked + span small { color: #D7D5E6; }
.dia input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.dias-vacio { grid-column: 1 / -1; font-size: .93rem; color: var(--mute); }
.check { display: flex; gap: .7em; align-items: flex-start; font-size: .92rem; font-weight: 500 !important; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cobalt); flex: none; }
.check small { color: var(--mute); }
.res-ok { display: grid; gap: 16px; text-align: left; }
.res-ok:focus { outline: none; }
.ok-mark { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; }
.ok-mark .ico { width: 30px; height: 30px; }
.res-ok h3 { font-size: 2rem; letter-spacing: -.04em; }
.ok-resumen { list-style: none; margin: 0; padding: 0; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.ok-resumen li { display: flex; justify-content: space-between; gap: 16px; padding: .65rem 1rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ok-resumen li:last-child { border-bottom: 0; }
.ok-resumen li span:first-child { color: var(--mute); white-space: nowrap; }
.ok-resumen li span:last-child { font-weight: 650; text-align: right; }
.ok-demo { font-size: .92rem; padding: .8rem 1rem; border-radius: 14px; background: #FDF1D6; color: #5C3F05; }
.ok-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 16px; justify-items: start; }
.faq-grid .eyebrow { margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--card); border-radius: 20px; border: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; border-radius: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background-color: var(--paper-2); background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transition: background-color .2s, transform .3s var(--ease); }
.faq-list details[open] summary::after { background-color: var(--rosa); background-size: 12px 2px, 0 0; transform: rotate(180deg); }
.faq-list summary:hover::after { background-color: var(--rosa-l); }
.faq-list details p { padding: 0 20px 20px; color: var(--ink-2); max-width: 44em; }

/* ---------- Contacto ---------- */
.con-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.con-copy { display: grid; gap: 20px; justify-items: start; }
.con-copy .eyebrow { margin-bottom: 0; }
.estado { display: inline-flex; align-items: center; gap: .6em; font-weight: 650; padding: .5rem 1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.estado-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mute); }
.estado.is-open .estado-dot { background: #2BA160; box-shadow: 0 0 0 4px rgba(43, 161, 96, .2); }
.estado.is-closed .estado-dot { background: #C2412D; }
.horario { list-style: none; padding: 0; margin: 0; width: 100%; max-width: 460px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.horario li { display: flex; justify-content: space-between; gap: 16px; padding: .7rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .97rem; }
.horario li:last-child { border-bottom: 0; }
.horario li span:first-child { font-weight: 650; }
.horario li.is-today { background: var(--cobalt-l); color: var(--cobalt-d); }
.horario li.is-today span:first-child::after { content: " · hoy"; font-weight: 500; }
.con-datos { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.con-datos li { display: flex; gap: .6em; align-items: flex-start; flex-wrap: wrap; }
.con-datos .ico { margin-top: .22em; color: var(--cobalt); }
.con-datos a { font-weight: 650; text-underline-offset: 3px; }
.con-datos small { color: var(--mute); }
.mapa { margin: 0; }
.mapa svg { width: 100%; height: auto; }
.mapa figcaption { font-size: .85rem; color: var(--mute); margin-top: 10px; text-align: center; }
.m-bg { fill: var(--paper-2); }
.m-blocks rect { fill: var(--card); stroke: var(--line); }
.m-park { fill: #D8E2C9; }
.m-trees circle { fill: #A9BE8E; }
.m-main { stroke: #fff; stroke-width: 22; }
.m-street { font: 600 13px var(--sans); fill: var(--mute); }
.m-pin path { fill: var(--cobalt); stroke: var(--ink); stroke-width: 2; }
.m-pin-in { fill: var(--paper); }
.m-pin-in2 { fill: var(--rosa); }
.m-tag rect { fill: var(--ink); }
.m-tag text { font: 800 18px var(--display); fill: var(--paper); letter-spacing: -.5px; }

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: #D6D4E6; padding: 64px 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 36px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand .logo-word { font-size: 2.6rem; }
.footer-brand p { font-size: .95rem; max-width: 30em; }
.footer-brand b { color: #fff; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { text-decoration: none; font-weight: 550; color: #fff; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: grid; gap: 10px; align-content: start; font-size: .88rem; }
.footer-demo { font-weight: 650; color: #fff; }
.footer-demo a { color: #fff; text-decoration: underline; text-decoration-color: var(--rosa); text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* ---------- Asistente ---------- */
.chat-launch { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; min-height: 56px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-weight: 650; box-shadow: 0 18px 36px -16px rgba(22, 24, 58, .7); transition: transform .3s var(--ease), opacity .3s; }
.chat-launch:hover { transform: translateY(-3px); }
.chat-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
.chat-launch-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rosa); color: var(--ink); }
.chat-launch-ico .ico { width: 22px; height: 22px; }
.chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 61; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--card); border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(22, 24, 58, .6); overflow: hidden; }
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--ink); color: var(--paper); }
.chat-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rosa); color: var(--ink); flex: none; }
.chat-id { display: grid; line-height: 1.25; }
.chat-id b { font-family: var(--display); font-size: 1.08rem; }
.chat-id small { font-size: .78rem; color: #CFCDE0; display: flex; align-items: center; gap: .4em; }
.chat-id small i { width: 7px; height: 7px; border-radius: 50%; background: #5AD08B; }
.chat-close { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: var(--paper); display: grid; place-items: center; }
.chat-close:focus-visible { outline-color: var(--mostaza); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cmsg { max-width: 88%; padding: .7rem .95rem; border-radius: 18px; font-size: .95rem; line-height: 1.5; }
.cmsg-bot { background: var(--paper); border-bottom-left-radius: 6px; align-self: flex-start; }
.cmsg-user { background: var(--cobalt); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.cmsg ul { margin: .3rem 0; padding-left: 1.1rem; }
.cmsg a { color: var(--cobalt); font-weight: 650; }
.cmsg-note { display: block; margin-top: .4rem; font-size: .76rem; color: var(--mute); }
.cmsg.is-pop { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cmsg-cta { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.cmsg-cta .btn { min-height: 40px; font-size: .9rem; padding: .5rem .95rem; }
.msg-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: typing 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-sugs { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.chat-sugs[hidden] { display: none; }
.chat-sugs button { font-size: .84rem; padding: .45rem .8rem; min-height: 36px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; text-align: left; }
.chat-sugs button:hover { border-color: var(--cobalt); color: var(--cobalt); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-height: 46px; padding: .6rem .95rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; min-width: 0; }
.chat-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--cobalt); color: #fff; display: grid; place-items: center; flex: none; }
.chat-form button[disabled] { opacity: .5; }
.chat-legal { font-size: .74rem; color: var(--mute); text-align: center; padding: 0 12px 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: .5rem .6rem; font-size: .93rem; }
  .nov-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .serv-grid { grid-template-columns: 1fr 1fr; }
  .serv-arreglos { grid-row: span 2; }
  .tallas-grid { grid-template-columns: 1fr; }
  .medidor { grid-template-columns: 1.1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 560px; width: 100%; margin: 0 auto; }
  .sec-head-split { grid-template-columns: 1fr; }
  .res-grid, .faq-grid, .con-grid { grid-template-columns: 1fr; }
  .res-copy, .faq-grid .sec-head { position: static; }
  .filters { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .hero { padding-top: 22px; }
  .hero-title { font-size: clamp(2.7rem, 12.4vw, 4rem); margin: 18px 0 18px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
  .hero-facts li { padding-left: 10px; }
  .hero-facts b { font-size: 1.25rem; }
  .hero-facts span { font-size: .78rem; line-height: 1.3; }
  .stage-card { border-radius: 30px; aspect-ratio: 1 / 1.08; }
  .stage-label { left: 4%; bottom: 4%; width: 78%; padding: 12px 14px; }
  .sl-top { font-size: 1.15rem; }
  .stage-size { width: 44px; height: 44px; font-size: .95rem; }
  .stage-size.s2 { width: 50px; height: 50px; font-size: 1.1rem; }
  .sw { width: 32px; height: 32px; }
  .ribbon { padding: 12px 0; }
  .nov-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 12px; scrollbar-width: none; }
  .nov-grid::-webkit-scrollbar { display: none; }
  .nov { flex: 0 0 78%; scroll-snap-align: center; min-height: 340px; }
  .catalogo { border-radius: 32px 32px 0 0; }
  .filters { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .seg { display: flex; }
  .seg button { flex: 1; padding: .55rem .5rem; }
  .f-talla .select select { width: 100%; }
  .f-foot { margin-left: 0; justify-content: space-between; min-height: 0; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .prod-name { font-size: 1.8rem; }
  .medidor { grid-template-columns: 1fr; }
  .med-howto, .med-tool { padding: 22px; }
  .serv-grid { grid-template-columns: 1fr; }
  .serv-arreglos { grid-row: auto; }
  .serv { padding: 24px; }
  .par { grid-template-columns: 1fr; }
  .par-preview { aspect-ratio: 2.1; max-height: 150px; }
  .par-preview .shoe { width: auto; height: 100%; max-height: 130px; }
  .f-2 { grid-template-columns: 1fr; }
  .tabla th, .tabla td { padding: .45rem .6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .chat { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: min(640px, calc(100vh - 16px)); height: min(640px, calc(100dvh - 16px)); border-radius: 22px; }
  .chat-launch-text { font-size: .93rem; }
}
@media (max-width: 380px) {
  .hero-facts span { font-size: .72rem; }
  .dias { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
  .demo-dot { animation: none; }
  .nov:hover .shoe, .prod:hover .prod-media .shoe { transform: rotate(-4deg); }
  html { scroll-behavior: auto; }
}
