/* ============================================================
   Freeplast — propuesta de landing
   Sistema visual según skill landing-page-design (Part B)
   Paleta conservada del sitio actual.
   ============================================================ */

/* ---------- B1 tokens de tipografía (pasos Tailwind exactos) ---------- */
/*  xs 12/16 · sm 14/20 · base 16/24 · lg 18/28 · xl 20/28
    2xl 24/32 · 3xl 30/36 · 4xl 36/40 · 5xl 48/1 · 6xl 60/1        */

/* ---------- B2 tokens de espaciado ---------- */
:root {
  --s-0: 0;
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;

  /* ---------- B3 radios (Tailwind) ---------- */
  --r-sm: 2px;
  --r-DEFAULT: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-full: 9999px;

  /* ---------- Paleta Freeplast (sin tonos nuevos) ---------- */
  --blue: #100090;
  --blue-heading: #0b078c;
  --green: #306020;
  --green-soft: #558948;
  --ink: #17181c;
  --text: #3a3a3a;
  --paper: #ffffff;
  --tint: #f4f5f7;
  --dark: #181818; /* B4: fondo oscuro de la lista permitida */
  --dark-raised: #272727;

  --line: rgba(16, 0, 144, 0.14);
  --line-strong: rgba(16, 0, 144, 0.3);
  --line-dark: rgba(255, 255, 255, 0.16);
  --muted: #6b6b72;
  --muted-dark: #9b9b9b;

  /* ---------- B7 motion ---------- */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 700ms;
  --dur-slow: 900ms;

  --shell: 1152px;
  --measure: 680px; /* B5: tope de headline y subheadline */
  --nav-h: 58px;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--s-300) + var(--nav-h) + var(--s-300));
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

a {
  color: var(--blue);
}

button {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* B1: escala tipográfica, sin valores arbitrarios */
.t-xs {
  font-size: 12px;
  line-height: 16px;
}
.t-sm {
  font-size: 14px;
  line-height: 20px;
}
.t-base {
  font-size: 16px;
  line-height: 24px;
}
.t-lg {
  font-size: 18px;
  line-height: 28px;
}
.t-xl {
  font-size: 20px;
  line-height: 28px;
}
.t-2xl {
  font-size: 24px;
  line-height: 32px;
}
.t-3xl {
  font-size: 30px;
  line-height: 36px;
}
.t-4xl {
  font-size: 36px;
  line-height: 40px;
}

@media (min-width: 768px) {
  .md\:t-2xl {
    font-size: 24px;
    line-height: 32px;
  }
  .md\:t-3xl {
    font-size: 30px;
    line-height: 36px;
  }
  .md\:t-4xl {
    font-size: 36px;
    line-height: 40px;
  }
  .md\:t-5xl {
    font-size: 48px;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:t-4xl {
    font-size: 36px;
    line-height: 40px;
  }
  .lg\:t-5xl {
    font-size: 48px;
    line-height: 1;
  }
  .lg\:t-6xl {
    font-size: 60px;
    line-height: 1;
  }
}

/* ---------- utilidades ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--s-300);
}

.section {
  padding-block: var(--s-700);
}
@media (min-width: 768px) {
  .section {
    padding-block: var(--s-900);
  }
}

.band-tint {
  background: var(--tint);
}
.band-dark {
  background: var(--dark);
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-75) var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--paper);
  color: var(--green);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.section-head {
  max-width: var(--measure);
  margin-bottom: var(--s-400);
}
.section-head h2 {
  color: var(--blue-heading);
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: var(--s-200);
}
@media (min-width: 768px) {
  .section-head h2 {
    font-size: 36px;
    line-height: 40px;
  }
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

/* ---------- B10 skip link ---------- */
.skip {
  position: absolute;
  left: var(--s-200);
  top: calc(-1 * var(--s-600));
  z-index: 999;
  padding: var(--s-100) var(--s-200);
  background: var(--blue);
  color: var(--paper);
  border-radius: var(--r-lg);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip:focus {
  top: var(--s-200);
}

/* ---------- foco visible (B9 / accesibilidad) ---------- */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
.band-dark :focus-visible,
.on-dark :focus-visible {
  outline-color: var(--green-soft);
}

/* ---------- B9 botones ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--paper);
  --btn-line: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-100);
  padding: var(--s-75) var(--s-100); /* 8 px vertical, 12 px horizontal */
  min-height: 44px;
  border: 1px solid var(--btn-line);
  border-radius: var(--r-lg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--dur) var(--ease);
}
.btn:hover {
  background: var(--blue-heading);
  transform: translateY(-2px);
}
.btn:hover svg {
  transform: translateX(2px);
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  font-size: 14px;
  line-height: 20px;
  min-height: 36px;
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--blue);
  --btn-line: var(--line-strong);
}
.btn-ghost:hover {
  --btn-bg: var(--blue);
  --btn-fg: var(--paper);
}
.btn-green {
  --btn-bg: var(--green);
}
.btn-green:hover {
  background: var(--green-soft);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

/* ============================================================
   B7 nav isla fluida
   ============================================================ */
.island-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-top: var(--s-300); /* mt-6 */
  padding-inline: var(--s-200);
  pointer-events: none;
}

.island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--s-100);
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 4px 24px rgba(16, 0, 144, 0.1);
  transition: all var(--dur) var(--ease);
}
.island[data-shrunk="true"] {
  padding-block: var(--s-50);
  box-shadow: 0 8px 32px rgba(16, 0, 144, 0.16);
}

.island-logo {
  display: flex;
  align-items: center;
  gap: var(--s-100);
  text-decoration: none;
  color: var(--blue-heading);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.island-logo img {
  width: 26px;
  height: 26px;
}
.island-logo span {
  white-space: nowrap;
}

.island-links {
  display: none;
  align-items: center;
  gap: var(--s-50);
}
@media (min-width: 900px) {
  .island-links {
    display: flex;
  }
  .island .btn-sm {
    display: inline-flex;
  }
}
.island-links a {
  position: relative;
  padding: var(--s-75) var(--s-200);
  border-radius: var(--r-full);
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.island-links a:hover {
  background: var(--tint);
  color: var(--blue);
}
.island-links a[aria-current="true"] {
  background: var(--blue);
  color: var(--paper);
}

/* hamburguesa con morph a X */
.burger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--paper);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: var(--r-full);
  background: var(--blue);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger span:nth-child(1) {
  top: 14px;
}
.burger span:nth-child(2) {
  top: 20px;
}
.burger span:nth-child(3) {
  top: 26px;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateY(-8px);
}
.burger[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}
@media (min-width: 900px) {
  .burger {
    display: none;
  }
}

/* overlay de pantalla completa con vidrio pesado */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-100);
  padding: var(--s-900) var(--s-300) var(--s-600);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(48px) saturate(1.4);
  backdrop-filter: blur(48px) saturate(1.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.sheet[data-open="true"] {
  opacity: 1;
  visibility: visible;
}
.sheet a {
  overflow: hidden;
  text-decoration: none;
}
.sheet a span {
  display: block;
  color: var(--blue-heading);
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  padding: var(--s-100) 0;
  transform: translateY(48px);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease);
}
.sheet[data-open="true"] a span {
  transform: translateY(0);
  opacity: 1;
}
.sheet a:nth-child(1) span {
  transition-delay: 100ms;
}
.sheet a:nth-child(2) span {
  transition-delay: 150ms;
}
.sheet a:nth-child(3) span {
  transition-delay: 200ms;
}
.sheet a:nth-child(4) span {
  transition-delay: 250ms;
}
.sheet a:nth-child(5) span {
  transition-delay: 300ms;
}
.sheet a:hover span {
  color: var(--green);
}
.sheet-foot {
  margin-top: var(--s-400);
  display: grid;
  gap: var(--s-100);
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.sheet-foot a {
  color: var(--blue);
  font-weight: 600;
}

body[data-menu-open="true"] {
  overflow: hidden;
}

/* ============================================================
   B5 hero
   ============================================================ */
.hero {
  padding-top: calc(var(--s-900) + var(--nav-h));
  padding-bottom: var(--s-600);
  background: var(--paper);
}
@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--s-900) + var(--nav-h) + var(--s-400));
    padding-bottom: var(--s-900);
  }
}
.hero-grid {
  display: grid;
  gap: var(--s-500);
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--s-700);
    align-items: stretch;
  }
}
@media (min-width: 1280px) {
  .hero .shell {
    max-width: 1320px;
  }
}

.hero h1 {
  max-width: var(--measure);
  margin-bottom: var(--s-200);
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  /* B5: gradiente solo sobre el texto, del azul de marca al gris de texto */
  background: linear-gradient(90deg, #0b078c 0%, #100090 46%, #3a3a3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 48px;
    line-height: 1;
  }
}
@media (min-width: 1280px) {
  .hero h1 {
    font-size: 60px;
    line-height: 1;
  }
}
.hero h1 br {
  display: none;
}
@media (min-width: 768px) {
  .hero h1 br {
    display: inline;
  }
}

.hero-sub {
  max-width: var(--measure);
  margin-bottom: var(--s-300);
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}
.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-200);
  margin-bottom: var(--s-300);
}
.hero-note {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-100) var(--s-300);
  padding-top: var(--s-300);
  border-top: 1px solid var(--line);
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--blue-heading);
}
.hero-proof svg {
  width: 16px;
  height: 16px;
  fill: var(--green);
}

/* visual del hero */
.hero-visual {
  position: relative;
  align-self: stretch;
  border-radius: var(--r-3xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--tint);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
@media (min-width: 1024px) {
  .hero-visual img {
    aspect-ratio: auto;
  }
}
.hero-chip {
  position: absolute;
  left: var(--s-400);
  bottom: var(--s-400);
  display: grid;
  gap: var(--s-25);
  padding: var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  max-width: 240px;
}
.hero-chip b {
  color: var(--blue-heading);
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}
.hero-chip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

/* ---------- barra de confianza ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--tint);
}
.trust ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-300) var(--s-200);
  padding: var(--s-400) var(--s-300);
}
@media (min-width: 900px) {
  .trust ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: var(--s-300) 0;
  }
}
.trust li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-100);
}
.trust svg {
  width: 24px;
  height: 24px;
  fill: var(--blue);
  flex: none;
}
.trust b {
  display: block;
  color: var(--blue-heading);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.trust span {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

/* ============================================================
   problema → solución
   ============================================================ */
.swap {
  display: grid;
  gap: var(--s-300);
}
@media (min-width: 900px) {
  .swap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-400);
  }
}
.panel {
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--paper);
}
.panel.is-dark {
  border-color: transparent;
  background: var(--dark);
  color: var(--paper);
}
.panel h3 {
  display: flex;
  align-items: center;
  gap: var(--s-100);
  margin-bottom: var(--s-200);
  color: var(--blue-heading);
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.panel.is-dark h3 {
  color: var(--paper);
}
.panel h3 svg {
  width: 22px;
  height: 22px;
  fill: var(--green);
}
.panel p {
  font-size: 16px;
  line-height: 24px;
}
.panel.is-dark p {
  color: var(--muted-dark);
}
.panel ul {
  display: grid;
  gap: var(--s-100);
  margin-top: var(--s-200);
}
.panel li {
  display: flex;
  gap: var(--s-100);
  font-size: 14px;
  line-height: 20px;
}
.panel li svg {
  width: 16px;
  height: 16px;
  fill: var(--green-soft);
  flex: none;
  margin-top: 2px;
}

/* ============================================================
   catálogo
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-75);
  margin-bottom: var(--s-400);
}
.chip {
  padding: var(--s-75) var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--paper);
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.chip:hover {
  border-color: var(--line-strong);
  color: var(--blue);
  transform: translateY(-2px);
}
.chip:active {
  transform: scale(0.98);
}
.chip[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
}
.chip em {
  font-style: normal;
  opacity: 0.6;
  font-size: 12px;
  line-height: 16px;
}

.cards {
  display: grid;
  gap: var(--s-300);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-400);
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: var(--s-400); /* 32: por encima de la fórmula de radio anidado */
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  background: var(--paper);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(16, 0, 144, 0.12);
}
.card:active {
  transform: translateY(-2px) scale(0.99);
}
.card-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--tint);
  margin-bottom: var(--s-200);
}
/* B9: estado de carga con forma del layout real */
.card-media[data-loading="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tint);
  animation: pulse 1400ms var(--ease) infinite alternate;
}
.card-media[data-loading="false"]::after {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.card-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .card-media img {
  transform: scale(1.04);
}
.card-tag {
  align-self: flex-start;
  margin-bottom: var(--s-75);
  padding: var(--s-25) var(--s-100);
  border-radius: var(--r-DEFAULT);
  background: var(--tint);
  color: var(--green);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card h3 {
  color: var(--blue-heading);
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: var(--s-75);
}
.card p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-bottom: var(--s-200);
}
.spec-list {
  display: grid;
  gap: var(--s-50);
  margin-top: auto;
  padding-top: var(--s-200);
  border-top: 1px solid var(--line);
}
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: var(--s-100);
  font-size: 12px;
  line-height: 16px;
}
.spec-list dt,
.spec-list .k {
  color: var(--muted);
}
.spec-list .v {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}
.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-100);
  margin-top: var(--s-200);
  color: var(--blue);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.card-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--dur) var(--ease);
}
.card:hover .card-cta svg {
  transform: translate(2px, -2px);
}

/* móvil primero: la tarjeta pasa a fila compacta para que el catálogo
   no estire la página a más de veinte pantallas */
@media (max-width: 599px) {
  .cards {
    gap: var(--s-200);
  }
  .card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-areas:
      "media tag"
      "media title"
      "media desc"
      "media specs";
    column-gap: var(--s-200);
    row-gap: var(--s-25);
    align-items: start;
    padding: var(--s-200);
  }
  .card-media {
    grid-area: media;
    align-self: stretch;
    margin-bottom: 0;
  }
  .card-media img {
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  .card-tag {
    grid-area: tag;
    margin-bottom: 0;
    align-self: center;
    justify-self: start;
  }
  .card h3 {
    grid-area: title;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 28px;
  }
  .card p {
    grid-area: desc;
    margin-bottom: 0;
  }
  .spec-list {
    grid-area: specs;
    gap: var(--s-25);
    margin-top: var(--s-100);
    padding-top: var(--s-100);
  }
  .spec-list div {
    gap: var(--s-100);
  }
  .card-cta {
    grid-column: 2;
    margin-top: var(--s-75);
  }
}

/* skeleton (B9) */
.skeleton {
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: var(--s-200);
  background: var(--paper);
}
.skeleton i {
  display: block;
  border-radius: var(--r-md);
  background: var(--tint);
  animation: pulse 1400ms var(--ease) infinite alternate;
}
.skeleton i:nth-child(1) {
  aspect-ratio: 1 / 1;
  margin-bottom: var(--s-200);
}
.skeleton i:nth-child(2) {
  height: 20px;
  width: 60%;
  margin-bottom: var(--s-100);
}
.skeleton i:nth-child(3) {
  height: 14px;
  width: 90%;
}
@keyframes pulse {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.45;
  }
}

/* vacío de filtro (B9) */
.empty {
  display: none;
  padding: var(--s-600) var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--tint);
  text-align: center;
}
.empty[data-show="true"] {
  display: block;
}
.empty svg {
  width: 32px;
  height: 32px;
  fill: var(--blue);
  margin-bottom: var(--s-200);
}

/* ============================================================
   B11 revelado de tagline
   ============================================================ */
.reveal-band {
  padding-block: var(--s-700);
  background: var(--dark);
}
@media (min-width: 768px) {
  .reveal-band {
    padding-block: var(--s-900);
  }
}
.reveal-copy {
  max-width: var(--measure);
  margin-inline: auto;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}
@media (min-width: 768px) {
  .reveal-copy {
    font-size: 48px;
    line-height: 1;
  }
}
@media (min-width: 1280px) {
  .reveal-copy {
    font-size: 60px;
    line-height: 1;
  }
}
.reveal-copy .w {
  color: rgba(255, 255, 255, 0.3); /* ~30 % del color de texto base */
  transition: color var(--dur-slow) var(--ease);
}
.reveal-copy .w[data-on="true"] {
  color: var(--paper);
}
.reveal-copy .w.accent[data-on="true"] {
  color: var(--green-soft);
}
.reveal-kicker {
  display: block;
  margin-bottom: var(--s-300);
  color: var(--green-soft);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   beneficios
   ============================================================ */
.benefits {
  display: grid;
  gap: var(--s-300);
}
@media (min-width: 768px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.benefit {
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  background: var(--paper);
  transition: all var(--dur) var(--ease);
}
.benefit:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.benefit .glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--s-200);
  border-radius: var(--r-xl);
  background: var(--tint);
  color: var(--blue);
  transition: all var(--dur) var(--ease);
}
.benefit:hover .glyph {
  background: var(--blue);
  color: var(--paper);
}
.benefit .glyph svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.benefit h3 {
  margin-bottom: var(--s-75);
  color: var(--blue-heading);
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}
.benefit p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.benefit .fact {
  display: block;
  margin-top: var(--s-100);
  color: var(--green);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

/* ============================================================
   cómo funciona
   ============================================================ */
.steps {
  display: grid;
  gap: var(--s-300);
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-400);
  }
}
.step {
  position: relative;
  padding: var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--paper);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: var(--s-300);
  right: var(--s-300);
  color: var(--line-strong);
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}
.step svg {
  width: 28px;
  height: 28px;
  fill: var(--green);
  margin-bottom: var(--s-200);
}
.step h3 {
  margin-bottom: var(--s-75);
  color: var(--blue-heading);
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.step p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

/* ============================================================
   tabla de especificaciones
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
}
caption {
  padding: var(--s-300);
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  text-align: left;
}
th,
td {
  padding: var(--s-200) var(--s-300);
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
thead th {
  color: var(--blue-heading);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--tint);
}
tbody tr {
  transition: background var(--dur) var(--ease);
}
tbody tr:hover {
  background: var(--tint);
}
tbody th {
  color: var(--ink);
  font-weight: 700;
}
td {
  color: var(--muted);
}
td.num {
  color: var(--ink);
  font-weight: 600;
}
tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

/* ============================================================
   nosotros
   ============================================================ */
.about {
  display: grid;
  gap: var(--s-400);
}
@media (min-width: 1024px) {
  .about {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: var(--s-700);
  }
}
.about-media {
  align-self: stretch;
  border-radius: var(--r-3xl);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
@media (min-width: 1024px) {
  .about-media img {
    aspect-ratio: auto;
  }
}
.mv {
  display: grid;
  gap: var(--s-300);
  margin-top: var(--s-300);
}
.mv > div,
.mv > section {
  padding: var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
}
.mv h3 {
  margin-bottom: var(--s-75);
  color: var(--green);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mv p {
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: grid;
  gap: var(--s-200);
  max-width: 860px;
}
.qa {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.qa[data-open="true"] {
  border-color: var(--line-strong);
}
.qa > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
  width: 100%;
  padding: var(--s-200) var(--s-300);
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.qa > button:hover {
  background: var(--tint);
}
.qa > button:active {
  transform: scale(0.99);
}
.qa h3 {
  color: var(--blue-heading);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.qa .sign {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
}
.qa .sign i {
  position: absolute;
  background: var(--blue);
  border-radius: var(--r-full);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.qa .sign i:nth-child(1) {
  left: 4px;
  top: 11px;
  width: 16px;
  height: 2px;
}
.qa .sign i:nth-child(2) {
  left: 11px;
  top: 4px;
  width: 2px;
  height: 16px;
}
.qa[data-open="true"] .sign i:nth-child(2) {
  transform: scaleY(0);
}
.qa-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.qa[data-open="true"] .qa-body {
  grid-template-rows: 1fr;
}
.qa-body > div {
  overflow: hidden;
}
.qa-body p {
  padding: 0 var(--s-300) var(--s-300);
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.qa-body p + p {
  padding-top: var(--s-200);
}

/* ============================================================
   riesgo invertido
   ============================================================ */
.risk {
  display: grid;
  gap: var(--s-300);
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--tint);
}
@media (min-width: 900px) {
  .risk {
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    padding: var(--s-500);
  }
}
.risk h3 {
  color: var(--blue-heading);
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: var(--s-75);
}
.risk p {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.risk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-200);
}

/* ============================================================
   contacto
   ============================================================ */
.contact {
  display: grid;
  gap: var(--s-500);
}
@media (min-width: 1024px) {
  .contact {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--s-700);
  }
}

.form {
  display: grid;
  gap: var(--s-300);
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--paper);
}
@media (min-width: 600px) {
  .form {
    padding: var(--s-500);
  }
}
.row-2 {
  display: grid;
  gap: var(--s-300);
}
@media (min-width: 600px) {
  .row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  display: grid;
  gap: var(--s-75);
}
.field label {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  color: var(--blue-heading);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.field label svg {
  width: 14px;
  height: 14px;
  fill: var(--green);
}
.field .req {
  color: var(--green);
}
.control {
  position: relative;
  display: flex;
  align-items: center;
}
.control svg {
  position: absolute;
  left: var(--s-200);
  width: 16px;
  height: 16px;
  fill: var(--muted);
  pointer-events: none;
  transition: fill var(--dur) var(--ease);
}
.control:focus-within svg {
  fill: var(--blue);
}
input,
select,
textarea {
  width: 100%;
  padding: var(--s-100) var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  transition: all var(--dur) var(--ease);
}
.has-icon input,
.has-icon select,
.has-icon textarea {
  padding-left: calc(var(--s-200) + var(--s-200) + var(--s-75));
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #9a9aa1;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(16, 0, 144, 0.14);
}
select {
  appearance: none;
  background-image: none;
  padding-right: 44px;
}
.select-wrap {
  position: relative;
}
.select-wrap .caret {
  position: absolute;
  right: var(--s-200);
  top: 50%;
  width: 16px;
  height: 16px;
  fill: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea {
  border-color: var(--blue-heading);
  background: var(--tint);
}
.err {
  display: none;
  color: var(--blue-heading);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}
.field[data-invalid="true"] .err {
  display: block;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--s-100);
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.consent input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  padding: 0;
  accent-color: var(--blue);
}
.consent a {
  color: var(--blue);
  font-weight: 600;
}
.form-foot {
  display: grid;
  gap: var(--s-200);
}
.form-status {
  display: none;
  gap: var(--s-100);
  padding: var(--s-200);
  border: 1px solid var(--blue);
  border-radius: var(--r-lg);
  background: var(--tint);
  color: var(--blue-heading);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.form-status[data-show="true"] {
  display: flex;
}
.form-status svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
  margin-top: 1px;
}
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* éxito */
.sent {
  display: none;
  gap: var(--s-200);
  padding: var(--s-400);
  border: 1px solid var(--green);
  border-radius: var(--r-2xl);
  background: var(--paper);
}
.sent[data-show="true"] {
  display: grid;
}
.sent:focus-visible {
  outline-offset: var(--s-25);
}
.sent .glyph {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-xl);
  background: var(--tint);
}
.sent .glyph svg {
  width: 24px;
  height: 24px;
  fill: var(--green);
}
.sent h3 {
  color: var(--blue-heading);
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}
.sent p {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.sent dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--s-50) var(--s-300);
  margin: 0;
  padding: var(--s-200) 0 0;
  font-size: 14px;
  line-height: 20px;
}
.sent dt {
  color: var(--muted);
}
.sent dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.sent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-200);
  padding-top: var(--s-100);
}

/* datos de contacto */
.contact-info {
  display: grid;
  gap: var(--s-200);
  align-content: start;
}
.info {
  display: flex;
  gap: var(--s-200);
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  background: var(--paper);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
a.info:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.info .glyph {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg);
  background: var(--tint);
  color: var(--blue);
  flex: none;
}
.info:hover .glyph {
  background: var(--blue);
  color: var(--paper);
}
.info .glyph svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.info b {
  display: block;
  color: var(--blue-heading);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}
.info span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
/* tile de conversión al cierre de beneficios */
.benefit-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-300);
  padding: var(--s-400);
  border: 1px solid transparent;
  border-radius: var(--r-2xl);
  background: var(--dark);
}
.benefit-cta h3 {
  color: var(--paper);
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.benefit-cta p {
  margin-top: var(--s-75);
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 20px;
}
.benefit-cta .btn {
  align-self: flex-start;
}

/* ============================================================
   footer
   ============================================================ */
.foot {
  padding-block: var(--s-600) var(--s-400);
  background: var(--dark);
  color: var(--muted-dark);
}
.foot-grid {
  display: grid;
  gap: var(--s-400);
}
@media (min-width: 900px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: var(--s-500);
  }
}
.foot h4 {
  margin-bottom: var(--s-200);
  color: var(--paper);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: var(--s-200);
  margin-bottom: var(--s-200);
  color: var(--paper);
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.foot-brand img {
  width: 36px;
  height: 36px;
  padding: var(--s-50);
  background: var(--paper);
  border-radius: var(--r-lg);
}
.foot p {
  max-width: 340px;
  font-size: 14px;
  line-height: 20px;
}
.foot ul {
  display: grid;
  gap: var(--s-100);
}
.foot a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.foot a:hover {
  color: var(--paper);
  transform: translateX(2px);
}
.foot a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.foot-bottom {
  display: grid;
  gap: var(--s-100);
  margin-top: var(--s-600);
  padding-top: var(--s-300);
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  line-height: 16px;
}
@media (min-width: 768px) {
  .foot-bottom {
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
  }
}
.foot-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-200);
}

/* ============================================================
   B7 revelado por scroll
   ============================================================ */
.rise {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(8px);
  transition: opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease), filter var(--dur-slow) var(--ease);
  transition-duration: 800ms;
}
.rise[data-in="true"] {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.rise[data-delay="1"] {
  transition-delay: 100ms;
}
.rise[data-delay="2"] {
  transition-delay: 200ms;
}
.rise[data-delay="3"] {
  transition-delay: 300ms;
}
.rise[data-delay="4"] {
  transition-delay: 400ms;
}

/* barra de progreso */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 110;
  background: transparent;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--green);
  transition: width 120ms linear;
}

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .rise {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .reveal-copy .w {
    color: var(--paper);
  }
}

/* ---------- impresión ---------- */
@media print {
  .island-wrap,
  .sheet,
  .burger,
  .progress {
    display: none !important;
  }
}

/* ============================================================
   Ajustes de la versión con copy original de freeplast.cl.
   El lenguaje visual de la propuesta 04 se conserva; sólo cambia
   la densidad necesaria para los textos vigentes del sitio.
   ============================================================ */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.original-copy .hero h1 {
  max-width: 620px;
}
.original-copy .hero-chip {
  max-width: 340px;
}
.original-copy .hero-chip b {
  line-height: 24px;
}

.product-cards .card {
  justify-content: flex-start;
}
.product-cards .card h3 {
  margin-bottom: var(--s-100);
}
.product-cards .card p {
  margin-bottom: 0;
}

.about-lead {
  margin-bottom: var(--s-200);
  color: var(--blue-heading);
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}
.about-sublead {
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
}

.original-copy .section-head p + p {
  margin-top: var(--s-50);
}
.original-copy .form > .btn {
  justify-self: stretch;
}
.info-static > span:last-child {
  min-width: 0;
}
.info-static a {
  display: inline-block;
  margin-top: var(--s-100);
  color: var(--blue);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.info-static a:hover {
  color: var(--green);
}

.original-foot-grid {
  grid-template-columns: minmax(0, 1fr);
}
.original-foot-grid > div > p + p {
  margin-top: var(--s-200);
}
.original-foot-grid li {
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 20px;
}

@media (min-width: 768px) {
  .about-lead {
    font-size: 36px;
    line-height: 40px;
  }
}
@media (min-width: 900px) {
  .original-foot-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  }
}
@media (max-width: 599px) {
  .product-cards .card {
    display: flex;
    padding: var(--s-200);
  }
  .product-cards .card-media {
    width: 100%;
    margin-bottom: var(--s-200);
  }
  .product-cards .card-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .product-cards .card h3 {
    font-size: 18px;
    line-height: 24px;
  }
  .original-copy .hero-chip {
    left: var(--s-200);
    right: var(--s-200);
    bottom: var(--s-200);
    max-width: none;
  }
  .original-copy .hero-chip b {
    font-size: 16px;
    line-height: 22px;
  }
}
