/* =========================================================
   MARVOK — Sistema de diseño
   ========================================================= */

:root {
  --bg: #F1F0EB;
  --bg-2: #E8E7E1;
  --surface: #FFFFFF;
  --ink: #0E0F0F;
  --ink-2: #2A2B2B;
  --muted: #6E6E68;
  --line: #D9D7CF;
  --line-dark: #2B2C2C;
  --dark: #0E0F0F;
  --dark-2: #161717;
  --lime: #D8F23B;
  --lime-ink: #0E0F0F;

  --font: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
p { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--dark); color: #F1F0EB; }
.section--dark .muted { color: #A3A39C; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Trampa antispam de los formularios: invisible para las personas, los bots la rellenan */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Tipografía ---------- */
.display { font-size: clamp(44px, 7.4vw, 112px); line-height: .96; letter-spacing: -0.04em; }
.h1 { font-size: clamp(38px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.035em; }
.h2 { font-size: clamp(30px, 3.8vw, 56px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; }
.h4 { font-size: 19px; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.section--dark .lead { color: #CFCFC8; }
.body-l { font-size: 17px; line-height: 1.65; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.tag {
  display: inline-block; background: var(--lime); color: var(--lime-ink);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .01em; padding: 6px 12px; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.1;
}
.hl { background: linear-gradient(transparent 62%, var(--lime) 62%); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { background: #E6FF5A; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2b2b; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header { position: fixed; inset: 16px 0 auto; z-index: 100; pointer-events: none; }
.nav {
  pointer-events: auto; margin: 0 auto; width: min(980px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 10px 0 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.is-scrolled .nav { background: rgba(255, 255, 255, .92); box-shadow: 0 10px 40px rgba(0, 0, 0, .1); }
.nav__logo { display: inline-flex; align-items: center; color: var(--ink); }
.nav__logo { flex: none; }
.nav__logo .logo { width: 124px; height: 22px; display: block; flex: none; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links > li { position: relative; }
.nav__links a, .nav__links button.nav__drop {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; background: none; border: 0; transition: background .2s;
}
.nav__links a:hover, .nav__links button.nav__drop:hover { background: rgba(0, 0, 0, .05); }
.nav__links [aria-current="page"] { background: rgba(0, 0, 0, .06); }
.nav__drop svg { width: 10px; height: 10px; transition: transform .2s; }
.nav__menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px);
  width: 560px; padding: 10px; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .14);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; opacity: 0; visibility: hidden; transition: all .25s var(--ease);
}
.nav__menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-menu:hover .nav__menu, .has-menu:focus-within .nav__menu, .has-menu.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover .nav__drop svg, .has-menu.is-open .nav__drop svg { transform: rotate(180deg); }
.nav__menu a { flex-direction: column; align-items: flex-start; height: auto; padding: 10px; border-radius: 14px; gap: 8px; }
.nav__menu img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; background: var(--bg-2); }
.nav__menu strong { font-size: 14px; }
.nav__menu small { color: var(--muted); font-size: 12px; line-height: 1.35; font-weight: 400; }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; align-items: center; justify-content: center; }
.nav__burger span { position: relative; width: 16px; height: 2px; background: currentColor; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; transition: transform .25s; }
.nav__burger span::before { top: -5px; } .nav__burger span::after { top: 5px; }
.menu-open .nav__burger span { background: transparent; }
.menu-open .nav__burger span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .nav__burger span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease);
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.mm-link { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-sub { display: flex; gap: 18px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mobile-menu .mm-sub a { font-size: 16px; font-weight: 500; color: var(--muted); }
.mobile-menu .btn { margin-top: 24px; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: #111;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.72) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 6vw, 72px); padding-top: 140px; }
.hero h1 { max-width: 15ch; }
.hero__slogan { margin-top: 18px; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; max-width: 26ch; }
.page-hero .hero__slogan { color: var(--muted); }
.page-hero--dark .hero__slogan, .page-hero--image .hero__slogan { color: rgba(255,255,255,.75); }
.hero__sub { margin-top: 22px; max-width: 52ch; font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid rgba(255,255,255,.25);
}
.hero__stats div { padding: 18px 20px 0 0; }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.hero__stats span { font-size: 13px; color: rgba(255,255,255,.72); }

/* Hero interior */
.page-hero { padding: 150px 0 clamp(48px, 6vw, 80px); }
.page-hero--dark { background: var(--dark); color: #F1F0EB; }
.page-hero--image { position: relative; color: #fff; min-height: 78svh; display: flex; align-items: flex-end; background: #111; overflow: hidden; }
.page-hero--image .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.75)); }
.page-hero--image .wrap { position: relative; z-index: 2; }
.page-hero .lead { margin-top: 24px; }
.page-hero--dark .lead, .page-hero--image .lead { color: rgba(255,255,255,.82); }
.crumbs { display: flex; gap: 8px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 28px; opacity: .7; flex-wrap: wrap; }
.crumbs a:hover { text-decoration: underline; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }

/* ---------- Layout helpers ---------- */
.head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head .lead { margin-top: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.split--60 { grid-template-columns: 1.2fr 1fr; }
.stack > * + * { margin-top: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- Tarjetas de categoría ---------- */
.cat-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 5; isolation: isolate; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); z-index: 1; }
.cat-card__body { position: absolute; inset: auto 0 0; padding: 24px; z-index: 2; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.cat-card__body h2, .cat-card__body h3 { font-size: clamp(24px, 2.4vw, 34px); }
.cat-card__body p { font-size: 14px; opacity: .85; margin-top: 6px; max-width: 30ch; }
.cat-card__num { position: absolute; top: 20px; left: 22px; z-index: 2; font-family: var(--font-mono); font-size: 12px; color: #fff; mix-blend-mode: difference; }
.circle-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease); }
.circle-btn svg { width: 18px; height: 18px; }
a:hover .circle-btn { transform: rotate(-45deg); }

/* ---------- Marquee de marcas ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.brands:hover .marquee { animation-play-state: paused; }
.marquee__item { width: clamp(150px, 16vw, 220px); height: 96px; display: grid; place-items: center; border-right: 1px solid var(--line); padding: 0 24px; }
.marquee__item img { width: auto; height: auto; max-height: 34px; max-width: 132px; object-fit: contain; }
.marquee__item img[src*="mazo"], .marquee__item img[src*="zico"], .marquee__item img[src*="oria"] { max-height: 44px; }
.marquee__item span { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; opacity: .85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bloque oscuro de lanzamiento ---------- */
.feature-dark { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; background: #0b0b0b; overflow: hidden; }
.feature-dark__media { position: absolute; inset: 0; }
.feature-dark__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); opacity: .55; }
.feature-dark__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.1) 100%); }
.feature-dark .wrap { position: relative; z-index: 2; }
.feature-dark__body { max-width: 560px; }
.feature-dark__body p { color: rgba(255,255,255,.82); }
.feature-dark__body .kicker { font-size: 15px; color: rgba(255,255,255,.65); margin: 14px 0 26px; }

/* ---------- Tecnologías ---------- */
.tech-list { border-top: 1px solid var(--line); }
.section--dark .tech-list, .section--dark .tech-item { border-color: var(--line-dark); }
.tech-item { display: grid; grid-template-columns: 80px 1.1fr 1.4fr 140px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.tech-item__num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.tech-item h3 { font-size: clamp(22px, 2.3vw, 34px); }
.tech-item p { color: var(--muted); font-size: 15px; }
.section--dark .tech-item p { color: #A3A39C; }
.tech-item img { width: 140px; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

.tech-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.tech-block:nth-child(even) .tech-block__media { order: 2; }
.tech-block__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); aspect-ratio: 5/4; }
.tech-block__media img { width: 100%; height: 100%; object-fit: cover; }
.tech-block ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.tech-block li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.tech-block li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--ink); transform: translateY(-1px); }

/* Diagrama de capas */
/* Despiece real que se separa con el scroll: --p va de 0 (montada) a 1 (despiece), lo calcula main.js */
.layers { position: relative; margin: 0; border-radius: var(--radius-lg); background: radial-gradient(120% 80% at 60% 45%, #262727 0%, var(--dark-2) 60%); overflow: hidden; padding: 28px 28px 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: #7E7F7A; }
.xp-top, .xp-bot { margin: 0; position: relative; z-index: 2; }
.xp-stage { position: relative; aspect-ratio: 1000 / 1169; margin: 4px -8px; }
.xp-pc { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; will-change: transform; filter: drop-shadow(0 18px 22px rgba(0,0,0,.55)); }
.xp-1 { z-index: 3; transform: translate3d(0, calc((1 - var(--p)) * 9%), 0); }
.xp-2 { z-index: 2; transform: translate3d(0, calc((1 - var(--p)) * -22%), 0) scale(calc(1 - (1 - var(--p)) * .04)); }
.xp-3 { z-index: 1; transform: translate3d(0, calc((1 - var(--p)) * -40%), 0) scale(calc(1 - (1 - var(--p)) * .06)); }
.xp-lbl { position: absolute; left: 4%; width: 30%; z-index: 4; color: #CFCFC8; font-size: 11px; line-height: 1.35; letter-spacing: .06em; padding-bottom: 6px; border-bottom: 1px solid #5E5F5F; opacity: clamp(0, calc((var(--p) - .72) * 4), 1); transform: translateX(calc((1 - var(--p)) * -12px)); }
.xp-lbl b { color: var(--lime); font-weight: 500; margin-right: 4px; }
.xp-lbl small { display: block; color: #8E8F89; font-size: 10px; letter-spacing: .02em; margin-top: 3px; text-transform: none; }
.xp-l1 { border-color: var(--lime); }
@media (max-width: 560px) { .layers { padding: 20px 18px 18px; font-size: 10px; } .xp-lbl { font-size: 10px; width: 34%; } .xp-lbl small { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .layers { --p: 1 !important; } }

/* ---------- Pilares / iconos ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.section--dark .pillars, .section--dark .pillar { border-color: var(--line-dark); background: transparent; }
.pillar__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--lime); display: grid; place-items: center; margin-bottom: 40px; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--muted); }
.section--dark .pillar p { color: #A3A39C; }

/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process__step { position: relative; padding: 28px 24px 0 0; border-top: 2px solid var(--line-dark); }
.section:not(.section--dark) .process__step { border-color: var(--ink); }
.process__step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -13px; left: 0; background: var(--lime); color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 999px; }
.process__step h3 { font-size: 20px; margin: 18px 0 10px; }
.process__step p { font-size: 14px; color: var(--muted); }
.section--dark .process__step p { color: #A3A39C; }

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; border: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.08); border-color: var(--line); }
.product-card__img { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 60%, #fff 0%, #ECEBE6 100%); display: grid; place-items: center; padding: 12%; }
.product-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.06) rotate(-2deg); }
.product-card__badge { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: #fff; padding: 5px 9px; border-radius: 999px; }
.product-card__badge--lime { background: var(--lime); color: var(--ink); }
.product-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__body h3 { font-size: 22px; }
.product-card__body p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: transparent; }
.chip--lime { background: var(--lime); border-color: var(--lime); }
.price { font-family: var(--font-display); font-weight: 600; font-size: 18px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; transition: all .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-card.is-hidden { display: none; }

/* Ficha de producto */
.pdp { padding-top: 130px; }
.pdp__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pdp__gallery { position: sticky; top: 100px; display: grid; gap: 14px; }
.pdp__main { border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 55%, #fff 0%, #E9E8E2 100%); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10%; overflow: hidden; }
.pdp__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pdp__thumbs button { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; aspect-ratio: 1/1; }
.pdp__thumbs button.is-active { border-color: var(--ink); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__info h1 { font-size: clamp(42px, 5vw, 72px); letter-spacing: -0.04em; }
.pdp__tagline { font-size: 20px; margin-top: 14px; color: var(--ink-2); }
.pdp__desc { margin-top: 22px; color: var(--muted); font-size: 16px; }
.pdp__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.spec { margin-top: 36px; border-top: 1px solid var(--ink); }
.spec__row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec__row dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 2px; }
.spec__row dd { margin: 0; }
.note { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.note strong { color: var(--ink); }

/* ---------- Bloque CTA ---------- */
.cta-band { position: relative; border-radius: 28px; background: var(--lime); color: var(--ink); padding: clamp(40px, 6vw, 88px); overflow: hidden; }
.cta-band__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; position: relative; z-index: 1; }
.cta-band .lead { color: var(--ink); opacity: .8; margin-top: 18px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-band__deco { position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(0,0,0,.06); }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; color: #fff; padding: clamp(80px, 10vw, 140px) 0; background: #111; overflow: hidden; }
.newsletter__media { position: absolute; inset: 0; }
.newsletter__media img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(.9); opacity: .55; transform: scale(1.05); }
.newsletter .wrap { position: relative; z-index: 1; }
.newsletter__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.newsletter__box { background: rgba(255,255,255,.08); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 24px; }

.toggle { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.06); margin-bottom: 18px; }
.newsletter .toggle { background: rgba(255,255,255,.1); }
.toggle button { height: 40px; border-radius: 999px; border: 0; background: transparent; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s; }
.toggle button.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.newsletter .toggle button { color: rgba(255,255,255,.8); }
.newsletter .toggle button.is-active { color: var(--ink); }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.95); padding: 0 20px; font: inherit; font-size: 15px; color: var(--ink); }
.inline-form button { flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin-top: 14px; line-height: 1.45; }
.check > span { flex: 1; min-width: 0; }
.split > *, .form-grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .page-hero__grid > *, .newsletter__grid > *, .pdp__grid > * { min-width: 0; }
.check input { margin-top: 2px; accent-color: var(--lime); width: 16px; height: 16px; flex: none; }
.check a { text-decoration: underline; }

/* ---------- Formularios ---------- */
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 13px; font-weight: 600; }
.field label .req { color: #B3261E; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  padding: 0 16px; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230E0F0F' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input:user-invalid, .field select:user-invalid { border-color: #B3261E; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
.option input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .circle-btn { margin: 0 auto 20px; width: 64px; height: 64px; }
.is-sent .form-body { display: none; }
.is-sent .form-success { display: block; }
.b2c-only { display: none; }
.mode-b2c .b2b-only { display: none; }
.mode-b2c .b2c-only { display: block; }

/* Configurador por pasos */
.wizard__progress { display: flex; gap: 6px; margin-bottom: 28px; }
.wizard__progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.wizard__progress span.is-done { background: var(--ink); }
.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: fadeUp .45s var(--ease); }
.wizard__step h3 { margin-bottom: 8px; }
.wizard__step > p { color: var(--muted); margin-bottom: 22px; font-size: 15px; }
.wizard__label { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; transition: all .2s; }
.choice strong { font-size: 15px; }
.choice small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.choice input:checked + span { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + span strong::after { content: " ✓"; }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Acordeón FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; font-size: 20px; transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
.faq details > div { padding: 0 60px 26px 0; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.section--dark .stats, .section--dark .stat { border-color: var(--line-dark); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }
.section--dark .stat span { color: #A3A39C; }

/* Timeline / valores */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--surface); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.value__k { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.value h3 { font-size: 26px; margin-top: auto; }
.value p { color: var(--muted); font-size: 15px; }
.value--lime { background: var(--lime); }
.value--lime p, .value--lime .value__k { color: var(--ink); opacity: .75; }
.value--dark { background: var(--dark); color: #fff; }
.value--dark p, .value--dark .value__k { color: #A3A39C; }

.seals { display: flex; flex-wrap: wrap; gap: 12px; }
.seal { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.seal i { width: 30px; height: 30px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-style: normal; }
.seal i svg { width: 16px; height: 16px; }

/* Imagen grande */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4/5; }
.media-frame--wide { aspect-ratio: 16/9; }

/* Quote */
.quote { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; max-width: 26ch; }
.quote::before { content: "“"; display: block; color: var(--lime); -webkit-text-stroke: 1px var(--ink); font-size: 1.8em; line-height: .6; margin-bottom: 10px; }
.section--dark .quote::before { -webkit-text-stroke: 0; }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.insta a { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.insta a:hover img { transform: scale(1.05); }
.insta__cap { position: absolute; inset: auto 10px 10px; background: rgba(255,255,255,.95); border-radius: 10px; padding: 8px 12px; font-size: 12px; line-height: 1.3; }
.insta__cap strong { display: block; font-size: 13px; }
.insta__ico { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.9); display: grid; place-items: center; }
.insta__ico svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); padding: clamp(64px, 8vw, 100px) 0 28px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer__brand p { font-size: 14px; color: var(--muted); margin: 18px 0 22px; max-width: 34ch; }
.footer__logo { color: var(--ink); }
.footer__logo .logo { width: 143px; height: 30px; display: block; margin-bottom: 8px; }
.footer__big .logo { width: 100%; height: auto; aspect-ratio: 135.54 / 28.41; display: block; }
.footer__logo small { display: block; font-family: var(--font-mono); font-style: normal; font-weight: 500; font-size: 10px; letter-spacing: .12em; color: var(--muted); margin-top: 2px; }
.footer__col h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--lime); border-color: var(--lime); }
.socials svg { width: 16px; height: 16px; }
.footer__contact { display: grid; gap: 6px; font-size: 14px; margin-bottom: 22px; }
.footer__contact a:hover { text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--ink); }
.footer__big { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(80px, 19vw, 300px); letter-spacing: -0.05em; line-height: .8; margin-top: 56px; color: var(--bg-2); user-select: none; text-align: center; }

/* Botón flotante B2B */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 14px 40px rgba(0,0,0,.25); transform: translateY(120px); transition: transform .5s var(--ease); }
.float-cta.is-visible { transform: none; }
.float-cta i { width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.float-cta i svg { width: 16px; height: 16px; }

/* Cookies */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 85; max-width: 380px; background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.18); font-size: 13px; display: none; }
.cookie.is-visible { display: block; }
.cookie p { color: var(--muted); margin-bottom: 14px; }
.cookie p a { text-decoration: underline; }
.cookie div { display: flex; gap: 8px; }

/* Legal */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 48px 0 16px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 14px; }
.prose .pending { background: #FFF6D6; border: 1px dashed #D9B600; padding: 14px 16px; border-radius: 10px; font-size: 14px; }

/* ---------- Revisión nov. 2026 ---------- */
/* Formularios: casilla de privacidad alineada con el resto de campos */
.field .check { font-size: 14px; font-weight: 400; line-height: 1.5; margin: 4px 0 0; align-items: flex-start; }
.field .check input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0; border: 0; background: none; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--ink); }

/* Placeholder de foto pendiente */
.ph { width: 100%; height: 100%; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: repeating-linear-gradient(135deg, #ECEBE6 0 14px, #E4E3DD 14px 28px); border-radius: 12px; color: var(--ink-2); padding: 16px; }
.ph span { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.02em; }
.ph small { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ph--big { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); }
.product-card__img .ph { min-height: 0; aspect-ratio: 3/2; }

/* Modelos de una familia */
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.model-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--bg); overflow: hidden; border: 1px solid var(--line); scroll-margin-top: 110px; }
.model-card:target { border-color: var(--ink); box-shadow: 0 0 0 2px var(--lime); }
.model-card__img { aspect-ratio: 3 / 2; background: radial-gradient(circle at 50% 55%, #fff 0%, #E9E8E2 100%); display: grid; place-items: center; padding: 8%; }
.model-card__img img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.model-card__img .ph { min-height: 0; height: 100%; }
.model-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.model-card__body h3 { font-size: 24px; }
.model-card__body p { font-size: 14px; color: var(--muted); }
.model-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }

/* Selector de colores / tejidos y Upper Point */
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--line); padding: 0; }
.swatch.is-active { box-shadow: 0 0 0 2px var(--ink); }
.up-toggle { align-self: flex-start; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; font-size: 13px; font-weight: 600; }
.up-toggle[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.split-words.is-in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .split-words .w > span { opacity: 1; transform: none; }
  .marquee { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .tech-item { grid-template-columns: 56px 1fr 1fr; }
  .tech-item img { display: none; }
  .tech-item .btn { display: none; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: inline-flex; }
  .nav { padding: 0 8px 0 22px; }
  .split, .split--60, .page-hero__grid, .newsletter__grid, .cta-band__grid, .pdp__grid, .tech-block { grid-template-columns: 1fr; }
  .tech-block:nth-child(even) .tech-block__media { order: 0; }
  .pdp__gallery { position: static; }
  .grid-3, .values { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .head { grid-template-columns: 1fr; }
  .hero__stats, .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 16px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .hero__stats div { padding-bottom: 14px; }
  .insta { grid-template-columns: repeat(2, 1fr); }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .cat-card { aspect-ratio: 4 / 4.2; }
  .feature-dark { min-height: 560px; }
  .float-cta span { display: none; }
  .float-cta { padding: 0 8px; }
}
@media (max-width: 600px) {
  .products, .pillars, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tech-item { grid-template-columns: 1fr; gap: 8px; }
  .spec__row { grid-template-columns: 1fr; gap: 4px; }
  .inline-form { flex-direction: column; }
  .inline-form button { width: 100%; }
  .faq details > div { padding-right: 0; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .hero__actions .btn { flex: 1; }
}

/* ---------- Tienda: fichas de producto que se compran online ---------- */
.product-card__img--shop { padding: 6%; background: #fff; }
.pdp__main--shop { background: #fff; padding: 6%; }
.pdp--shop .pdp__info h1 { font-size: clamp(32px, 3.6vw, 52px); }
.shop-price { margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.shop-price small { font-family: var(--font); font-weight: 500; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.buy { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.buy__opts { border: 0; margin: 0; padding: 0; }
.buy__opts legend { font-size: 13px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.buy__row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 18px; }
.qty input { width: 40px; border: 0; text-align: center; font: inherit; font-weight: 600; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy__btn { flex: 1; min-width: 220px; }
.buy__btn:disabled { opacity: .5; cursor: not-allowed; }
.buy__hint { margin-top: 10px; font-size: 13px; color: #A3361F; }
.buy__notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.buy__notes li::before { content: "✓"; color: var(--ink); font-weight: 700; margin-right: 8px; }
.shop-desc { max-width: 980px; }
.shop-desc__intro p { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.shop-desc__intro p + p { margin-top: 14px; }
.shop-sec { margin-top: 56px; }
.shop-sec > p { margin-top: 16px; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.feat { background: var(--bg); border-radius: var(--radius); padding: 20px; }
.feat h3 { font-size: 16px; letter-spacing: -0.01em; }
.feat p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.product-card__img--shop + .product-card__body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Badanas: dos familias (termoformadas / cosidas) ---------- */
.family-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.family-switch a { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.family-switch a:last-child { background: var(--dark); color: #F1F0EB; border-color: var(--dark); }
.family-switch a:hover { transform: translateY(-3px); border-color: var(--ink); }
.family-switch .mono { font-size: 12px; color: var(--muted); }
.family-switch a:last-child .mono { color: var(--lime); }
.family-switch small { flex-basis: 100%; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.family { scroll-margin-top: 90px; }
.family__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.family__facts { list-style: none; margin: clamp(32px, 4vw, 48px) 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.family__facts li { padding: 22px 20px 22px 0; display: grid; gap: 4px; }
.family__facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.family__facts strong { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }
.family__facts span { font-size: 14px; color: var(--muted); }
.model-list { list-style: none; margin: 0; padding: 0; counter-reset: m; border-top: 1px solid var(--line-dark); }
.model-list li { border-bottom: 1px solid var(--line-dark); counter-increment: m; }
.model-list a { display: grid; grid-template-columns: 44px 150px 1fr; gap: 12px; align-items: baseline; padding: 18px 0; color: inherit; text-decoration: none; transition: padding .3s var(--ease), color .2s; }
.model-list a::before { content: counter(m, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--lime); }
.model-list a:hover { padding-left: 8px; }
.model-list a:hover strong { color: var(--lime); }
.model-list strong { font-family: var(--font-display); font-size: 20px; letter-spacing: .01em; transition: color .2s; }
.model-list span { color: #A3A39C; font-size: 15px; }
@media (max-width: 900px) {
  .family__head { grid-template-columns: 1fr; align-items: start; }
  .family__facts { grid-template-columns: 1fr 1fr; }
  .family__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .family__facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .family-switch { grid-template-columns: 1fr; }
  .model-list a { grid-template-columns: 36px 1fr; }
  .model-list span { grid-column: 2; }
}
/* ---------- Fichas de modelo: datos clave, especificaciones y uso ---------- */
.model-card__img img { filter: drop-shadow(0 18px 22px rgba(0,0,0,.16)); }
.model-kpis { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.model-kpis li { padding: 12px 8px 12px 0; display: grid; gap: 2px; }
.model-kpis li + li { padding-left: 12px; border-left: 1px solid var(--line); }
.model-kpis strong { font-family: var(--font-display); font-size: 20px; line-height: 1.1; letter-spacing: -.01em; }
.model-kpis span { font-size: 12px; color: var(--muted); }
.model-spec { margin: 4px 0 0; display: grid; gap: 0; }
.model-spec > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; line-height: 1.45; }
.model-spec dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.model-spec dd { margin: 0; color: var(--ink-2); }
.model-rate { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.model-rate li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; font-size: 13px; }
.model-rate span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.model-rate i { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) calc(var(--r) * 20%), var(--line) 0); }
.model-card .up-toggle { margin-top: 6px; }
@media (max-width: 420px) { .model-spec > div, .model-rate li { grid-template-columns: 84px 1fr; } }
/* ---------- Zonas táctiles cómodas en pantallas táctiles (mín. ~44 px) ---------- */
@media (pointer: coarse) and (max-width: 900px) {
  .site-footer li a, .footer__bottom nav a, .footer__contact a { display: inline-block; padding: 11px 0; }
  .footer__bottom nav { display: flex; flex-wrap: wrap; column-gap: 18px; }
  .crumbs a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .link-arrow { padding-block: 10px; }
  .socials a { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
}

/* Badanas un poco más grandes en todos los recuadros (petición 24/11).
   Las miniaturas de las páginas PULSE y cosidas son imágenes propias (modelos/miniaturas/) con el mismo encuadre. */
.pdp__main { padding: 5%; }
.model-card__img { padding: 3% 4%; }
.pdp__thumbs button { padding: 3px; }
/* ---------- Badanas: dos familias lado a lado (24/11) ---------- */
.families { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.fam { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; scroll-margin-top: 100px; }
.fam--termo { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.fam--sewn { background: var(--dark); color: #F1F0EB; }
.fam__head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.fam__num { font-family: var(--font-mono); font-size: 13px; padding-top: 10px; color: var(--muted); }
.fam--sewn .fam__num { color: var(--lime); }
.fam__title { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.03em; line-height: 1.05; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fam__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 5px 9px; border-radius: 99px; }
.fam__desc { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 48ch; }
.fam--sewn .fam__desc { color: #A3A39C; }
.fam__facts { list-style: none; margin: 22px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fam__facts li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); }
.fam--sewn .fam__facts li { border-color: var(--line-dark); color: #CFCFC8; }
.fam__list { list-style: none; margin: 14px 0 0; padding: 0; }
.fam__list li + li { border-top: 1px solid var(--line); }
.fam--sewn .fam__list li + li { border-top-color: var(--line-dark); }
.fam__list a { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; color: inherit; text-decoration: none; transition: padding .3s var(--ease); }
.fam__list a:hover { padding-left: 6px; }
.fam__img { width: 96px; aspect-ratio: 4 / 3; border-radius: 12px; display: grid; place-items: center; padding: 4px; background: radial-gradient(circle at 50% 55%, #fff 0%, #E9E8E2 100%); overflow: hidden; }
.fam--sewn .fam__img { background: radial-gradient(circle at 50% 55%, #FFFFFF 0%, #DAD8D0 100%); }
.fam__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.18)); transition: transform .4s var(--ease); }
.fam__list a:hover .fam__img img { transform: scale(1.08) rotate(-3deg); }
.fam__txt { display: grid; gap: 2px; min-width: 0; }
.fam__txt strong { font-family: var(--font-display); font-size: 19px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.fam__txt em { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 3px 7px; border-radius: 99px; }
.fam__txt small { font-size: 13.5px; color: var(--muted); }
.fam--sewn .fam__txt small { color: #A3A39C; }
.fam__list i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: 15px; transition: background .2s, border-color .2s; }
.fam--sewn .fam__list i { border-color: var(--line-dark); }
.fam__list a:hover i { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.families__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 44px); }
@media (max-width: 900px) { .families { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .fam__list a { grid-template-columns: 76px 1fr auto; gap: 12px; } .fam__img { width: 76px; } }
/* Filas de familia: contador de modelos y nombres */
.fam__count { font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 2px 7px; border-radius: 99px; }
.fam--sewn .fam__count { color: #A3A39C; border-color: var(--line-dark); }
.fam__models { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.fam__models span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; line-height: 1; padding: 5px 8px; border-radius: 6px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.fam--sewn .fam__models span { background: #1d1e1e; color: var(--lime); border-color: var(--line-dark); }
.fam__more { margin-top: auto; align-self: flex-start; }
.fam__list + .fam__more { margin-top: 28px; }
.fam--sewn .fam__list { margin-bottom: 28px; }

/* ---------- Badanas: familias en zigzag (imagen grande + parte técnica) ---------- */
.family__split { align-items: start; }
.family__split > .media-frame { position: sticky; top: 100px; }
.family__facts--2 { grid-template-columns: 1fr 1fr; margin: 28px 0; }
.family__facts--2 li:nth-child(3) { padding-left: 0; border-left: 0; }
.family__facts--2 li:nth-child(n+3) { border-top: 1px solid var(--line); }
.family__facts--dark, .family__facts--dark li, .family__facts--dark li + li, .family__facts--dark li:nth-child(n+3) { border-color: var(--line-dark); }
.family__facts--dark span { color: #A3A39C; }
.model-list a { grid-template-columns: 44px 150px 1fr; }
.model-list span { display: grid; gap: 8px; }
.mchips { font-style: normal; display: flex; flex-wrap: wrap; gap: 5px; }
.mchips b { font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .04em; line-height: 1; padding: 5px 8px; border-radius: 6px; background: #1d1e1e; color: var(--lime); border: 1px solid var(--line-dark); }
.mnew { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 3px 7px; border-radius: 99px; vertical-align: middle; }
.model-list--light { border-top-color: var(--line); }
.model-list--light li { border-bottom-color: var(--line); }
.model-list--light a::before { color: var(--muted); }
.model-list--light a:hover strong { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.model-list--light span { color: var(--muted); }
.model-list--light .mchips b { background: var(--surface); color: var(--ink); border-color: var(--line); }
@media (max-width: 900px) {
  .family__split > .media-frame { position: static; }
  .family__split--rev > .media-frame { order: -1; }
}
@media (max-width: 600px) { .model-list a { grid-template-columns: 36px 1fr; } }
/* ---------- Badanas: familias, versión sobria (24/11) ---------- */
.fam-intro { align-items: center; gap: clamp(32px, 6vw, 96px); }
.fam-intro__img { aspect-ratio: 4 / 5; }
.fam-kpis { margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.fam-kpis > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fam-kpis > div:nth-child(odd) { padding-right: 20px; }
.fam-kpis > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.fam-kpis dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fam-kpis dd { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.1; }
.card-models { font-family: var(--font-mono); font-size: 11px !important; letter-spacing: .04em; color: var(--ink) !important; margin-top: -2px; }
.sewn-list { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.sewn-list li { border-bottom: 1px solid var(--line-dark); }
.sewn-list a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name spec" "models spec"; column-gap: 16px; row-gap: 4px; align-items: center; padding: 18px 0; color: inherit; text-decoration: none; transition: padding .3s var(--ease); }
.sewn-list a:hover { padding-left: 8px; }
.sewn-list__name { grid-area: name; font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; transition: color .2s; }
.sewn-list a:hover .sewn-list__name { color: var(--lime); }
.sewn-list__models { grid-area: models; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #A3A39C; }
.sewn-list__spec { grid-area: spec; font-family: var(--font-mono); font-size: 13px; color: var(--lime); }
@media (max-width: 900px) { .fam-intro--rev > .fam-intro__img { order: -1; } .fam-intro__img { aspect-ratio: 4 / 3; } }
#grid-badanas { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { #grid-badanas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { #grid-badanas { grid-template-columns: 1fr; } }

/* Tres familias en el selector */
.family-switch { grid-template-columns: repeat(3, 1fr); }
.family-switch a:nth-child(3) { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.family-switch a:nth-child(3) .mono, .family-switch a:nth-child(3) small { color: var(--ink); opacity: .7; }
@media (max-width: 760px) { .family-switch { grid-template-columns: 1fr; } }

.fam-intro__img--studio { aspect-ratio: 1100 / 912; }

/* Cuatro familias: selector y PULSE (24/11) */
.family-switch { grid-template-columns: repeat(4, 1fr); }
.family-switch a:nth-child(2) { background: var(--surface); color: var(--ink); border-color: var(--line); }
.family-switch a:nth-child(2) .mono { color: var(--muted); }
.family-switch a:nth-child(3) { background: var(--dark); color: #F1F0EB; border-color: var(--dark); }
.family-switch a:nth-child(3) .mono { color: var(--lime); opacity: 1; }
.family-switch a:nth-child(3) small { color: var(--muted); opacity: 1; }
.family-switch a:nth-child(4) { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.family-switch a:nth-child(4) .mono, .family-switch a:nth-child(4) small { color: var(--ink); opacity: .7; }
@media (max-width: 1000px) { .family-switch { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .family-switch { grid-template-columns: 1fr; } }
.sewn-list--light { border-top-color: var(--line); }
.sewn-list--light li { border-bottom-color: var(--line); }
.sewn-list--light .sewn-list__models { color: var(--muted); }
.sewn-list--light .sewn-list__spec { color: var(--ink); }
.sewn-list--light a:hover .sewn-list__name { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }
#grid-badanas > :nth-child(4) { grid-column: 1 / span 1; }
.fam-kpis--dark, .fam-kpis--dark > div { border-color: var(--line-dark) !important; }
.fam-kpis--dark dt { color: #A3A39C; }
.fam-kpis--4 { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.fam-kpis--4 > div { padding-left: 20px !important; padding-right: 20px !important; border-left: 1px solid var(--line); }
.fam-kpis--4 > div:first-child { padding-left: 0 !important; border-left: 0; }
@media (max-width: 760px) { .fam-kpis--4 { grid-template-columns: 1fr 1fr; } .fam-kpis--4 > div:nth-child(3) { padding-left: 0 !important; border-left: 0; } }

/* Franjas de familia del mismo color: línea fina de separación */
.family--sep { padding-top: 0; }
.family--sep > .wrap { border-top: 1px solid var(--line); padding-top: var(--section); }

/* Botón «Descubre los modelos» (termoformadas / cosidas) */
.section--models { padding-block: clamp(40px, 5vw, 72px); }
.models-toggle { display: flex; justify-content: center; }
.models-toggle .btn svg { transition: transform .3s ease; }
.models-toggle .btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.models-panel { margin-top: clamp(40px, 5vw, 72px); }
.models-panel[hidden] { display: none; }
.models-panel .products { margin-top: 0 !important; }
/* Cabecera de familia con foto de estudio a sangre */
.pdp__main.pdp__main--photo { padding: 0; aspect-ratio: auto; background: #E9E8E2; display: block; }
.pdp__main--photo img { width: 100%; height: auto; display: block; object-fit: cover; }
/* Fotos más grandes en las páginas de termoformadas y cosidas (24/11) */
#grid-badanas .product-card__img { padding: 4%; }
.model-card__img { overflow: hidden; padding: 6% 7%; }
.model-card__img img { transform: none; }
/* Banner de familia tipo estudio (las fichas técnicas van debajo) */
.fam-hero { padding-top: clamp(104px, 11vw, 140px); }
.fam-hero .crumbs { margin-bottom: 20px; }
.fam-hero__card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: radial-gradient(ellipse at 72% 52%, #fff 0%, #F1F0EB 38%, #E2E1DA 100%); display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(32px, 5vw, 76px); min-height: clamp(440px, 44vw, 600px); }
.fam-hero__txt { position: relative; z-index: 1; }
.fam-hero h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: .95; letter-spacing: -.04em; margin-top: 20px; }
.fam-hero__tag { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; color: var(--muted); margin-top: 18px; max-width: 32ch; }
.fam-hero__models { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.fam-hero__models span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.fam-hero__models a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; padding: 8px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.fam-hero__models a:hover { background: var(--lime); border-color: var(--lime); }
.fam-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fam-hero__img img { width: 100%; height: auto; display: block; filter: drop-shadow(0 34px 34px rgba(0,0,0,.16)); }
@media (max-width: 900px) {
  .fam-hero__card { grid-template-columns: 1fr; min-height: 0; }
  .fam-hero__img { order: -1; max-width: 520px; margin-inline: auto; }
}
/* Modelos de la familia en horizontal: todos en una fila (3 por fila si son 3 o 6) */
@media (min-width: 760px) {
  .models { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .models:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .models:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .models .model-card__body { padding: 22px; }
}
/* Modelos del banner en una sola fila: la palabra «Modelos» encima */
.fam-hero__models { flex-wrap: nowrap; gap: 6px; }
.fam-hero__models span { flex-basis: auto; }
@supports (display: grid) {
  .fam-hero__models { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; grid-template-rows: auto auto; row-gap: 10px; }
  .fam-hero__models span { grid-row: 1; grid-column: 1 / -1; margin: 0; }
  .fam-hero__models a { grid-row: 2; padding: 8px 11px; white-space: nowrap; }
}.fam-hero h1 small { display: block; font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; letter-spacing: 0; line-height: 1.2; color: var(--muted); margin-bottom: 10px; }
/* Banner de familia con foto de detalle a sangre en la mitad derecha */
.fam-hero__card { --pad: clamp(32px, 5vw, 76px); padding: var(--pad); }
.fam-hero__card:has(.fam-hero__img--photo) { background: #DDDDDD; }
.fam-hero__img--photo { align-self: stretch; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) calc(var(--pad) * -1) 0; position: relative; }
.fam-hero__img--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
@media (max-width: 900px) {
  .fam-hero__img--photo { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 0; max-width: none; aspect-ratio: 4 / 3; }
}/* Fundido del borde izquierdo de la foto con el fondo del banner: sin corte */
.fam-hero__img--photo::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; background: linear-gradient(90deg, #DDDDDD 0%, rgba(221,221,221,0) 100%); pointer-events: none; }
.fam-hero__card:has(.fam-hero__img--photo) .fam-hero__models a { background: rgba(255,255,255,.75); }
@media (max-width: 900px) { .fam-hero__img--photo::after { inset: auto 0 0 0; width: auto; height: 22%; background: linear-gradient(0deg, #DDDDDD 0%, rgba(221,221,221,0) 100%); } }/* Mismo fondo gris en todos los banners de familia */
.fam-hero__card { background: radial-gradient(ellipse at 74% 50%, #ECECEC 0%, #DDDDDD 62%); }
.fam-hero__models a { background: rgba(255,255,255,.75); }/* Fondo cálido igual al de la foto de estudio ERGO-SYSTEM, en todos los banners de familia */
.fam-hero__card { background: radial-gradient(ellipse at 74% 50%, #EEEBE7 0%, #E2DED9 62%); }
.fam-hero__card:has(.fam-hero__img--photo) { background: #E2DED9; }
.fam-hero__img--photo::after { background: linear-gradient(90deg, #E2DED9 0%, rgba(226,222,217,0) 100%); }
.fam-hero__img--photo img { object-fit: contain; object-position: 100% 100%; }
@media (max-width: 900px) { .fam-hero__img--photo::after { background: linear-gradient(0deg, #E2DED9 0%, rgba(226,222,217,0) 100%); } }/* Banner con foto de estudio sobre blanco: todo el banner en blanco */
.fam-hero__card:has(.fam-hero__img--white) { background: #fff; border: 1px solid var(--line); }
.fam-hero__img--white img { width: 112%; max-width: none; margin-left: -6%; height: auto; display: block; filter: none; }
@media (max-width: 900px) { .fam-hero__img--white img { width: 100%; margin: 0; } }
/* Tarjetas de modelo cortas: recuadros de datos alineados y botón abajo */
.model-card__body { display: flex; flex-direction: column; flex: 1; }
.model-card__body > p { flex: 1; }
.model-card__more { margin-top: 20px; align-self: flex-start; }
.model-card__img { text-decoration: none; }
.model-card h3 a { color: inherit; text-decoration: none; }
.model-card h3 a:hover { text-decoration: underline; }

/* Ficha individual de modelo */
.model-pdp .model-card__img { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); padding: 8%; }
.model-pdp .model-card__img img { transform: none; }
.model-pdp .model-kpis { margin-top: 26px; }
.model-pdp .model-spec { margin-top: 26px; }
.model-pdp .model-rate { margin-top: 22px; }
.model-pdp .up-toggle { margin-top: 20px; }
.model-pdp .model-card__actions { margin-top: 26px; }
.model-pdp .model-card__actions .btn--sm { padding: 14px 22px; font-size: 15px; }

/* Banner IKON: foto de lado bastante más grande */
.fam-hero__img--white img { width: 150%; margin-left: -22%; }
@media (max-width: 900px) { .fam-hero__img--white img { width: 120%; margin-left: -10%; } }/* IKON: fondo gris (el blanco de la foto se funde con multiply) y foto aún más grande */
.fam-hero__card:has(.fam-hero__img--white) { background: radial-gradient(ellipse at 70% 50%, #EDEBE8 0%, #E2DED9 65%); border: 0; }
.fam-hero__img--white img { mix-blend-mode: multiply; width: 172%; margin-left: -46%; }
@media (max-width: 900px) { .fam-hero__img--white img { width: 140%; margin-left: -20%; } }/* Resto de familias: badana del banner algo más pequeña */
.fam-hero__img:not(.fam-hero__img--white):not(.fam-hero__img--photo) img { width: 118%; max-width: none; margin-left: -9%; }
/* «Otras familias de badanas»: tarjetas pequeñas y discretas */
.other-fams { padding-block: clamp(48px, 6vw, 88px); }
.other-fams .h2 { font-size: clamp(22px, 2.2vw, 30px); }
.other-fams .products { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 12px; margin-top: 24px !important; }
.other-fams .product-card__img { padding: 10%; }
.other-fams .product-card__badge, .other-fams .product-card__body p, .other-fams .product-card__meta { display: none; }
.other-fams .product-card__body { padding: 12px 14px 14px; }
.other-fams .product-card__body h3 { font-size: 15px; margin-top: 4px; }
.other-fams .product-card__body .mono { font-size: 10px; }
@media (max-width: 900px) { .other-fams .products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 520px) { .other-fams .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }.fam-hero__img.fam-hero__img--big img { width: 118% !important; max-width: none; margin-left: -9% !important; }/* «Otras familias»: un poco más grandes */
.other-fams .products { gap: 16px; }
.other-fams .product-card__img { padding: 3%; }
.other-fams .product-card__body { padding: 14px 16px 16px; }
.other-fams .product-card__body h3 { font-size: 17px; }/* Firma MARVOK del pie: menos alargada, centrada */
.footer__big .logo { width: min(560px, 70%); margin-inline: auto; }
/* ---------- Selector de idioma ---------- */
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .05); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.lang a { padding: 6px 8px; border-radius: 999px; color: var(--muted); line-height: 1; transition: background .2s, color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.lang--mm { display: none; align-self: flex-start; margin: 18px 0 14px; font-size: 13px; }
.lang--mm a { padding: 9px 14px; }
@media (max-width: 900px) {
  .nav__cta .lang { display: none; }
  .lang--mm { display: flex; }
}
