/* El Punto — base.css
   Tokens, @font-face, reset mínimo y estilos de las secciones estáticas de Main.
   No toca nada bajo [data-sim] [data-rec] [data-disp] [data-fun] [data-ct]: eso vive en el CSS de cada pieza.
   Fuente de los valores: diseno-canvas/Main.dc.html (estilos inline) y diseno-canvas/tokens.json. */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/Archivo-latin-wdth-wght.woff2') format('woff2-variations'), url('/assets/fonts/Archivo-latin-wdth-wght.woff2') format('woff2');
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* color — diseno-canvas/tokens.json */
  --color-bg: #f3f2f2;
  --color-ink: #201e1d;
  --color-text: #201e1d;
  --color-text-muted: #595756;
  --color-surface: #eae9e9;
  --color-raised: #ffffff;
  --color-line: #dcdada;
  --color-divider: #9f9d9d;
  --color-border: #6a6868;
  --color-link-hover: #605d5d;

  --color-dark-bg: #201e1d;
  --color-dark-surface: #2d2b2b;
  --color-dark-text: #f3f2f2;
  --color-dark-text-muted: #b4b2b2;
  --color-dark-muted-2: #bab6b6;
  --color-dark-rule: #605d5d;
  --color-danger-tint-dark: #4a211a;
  --color-danger-dark: #ff9783;
  --color-success-tint: #f1f7f2;

  --denda-brand: #ec3013;
  --denda-100: #fff2ef;
  --denda-400: #ff9783;
  --denda-500: #ff563c;
  --denda-600: #dd2b0f;
  --denda-700: #ae1800;
  --denda-800: #7c1405;

  --taberna-brand: #1d4ed8;
  --taberna-100: #f1f6ff;
  --taberna-500: #6393ff;
  --taberna-700: #2853c1;
  --taberna-800: #1c3b89;

  --sarea-brand: #138040;
  --sarea-100: #f1f7f2;
  --sarea-300: #c1ddc7;
  --sarea-400: #93c69f;
  --sarea-500: #57ae70;
  --sarea-700: #216f3c;
  --sarea-800: #184f2a;

  /* espacio — diseno-canvas/tokens.json spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;

  --rule-strong: 2px;
  --rule-thin: 1px;
  --target-min: 44px;
  --target-pos: 56px;
  --target-cta: 72px;

  --page-max: 1440px;
  --page-pad: clamp(20px, 4vw, 40px);
}

/* Reset mínimo, de alcance global a propósito (como el helmet de Main): tipografía, color de fondo,
   cifras tabulares, sin scroll horizontal por overflow decorativo, foco y movimiento reducido.
   No se toca box-sizing ni la lista/cabecera/botón por defecto: cada componente de esta hoja fija lo suyo. */
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
a {
  color: var(--color-text);
}
a:hover {
  color: var(--color-link-hover);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--denda-700);
  outline-offset: 2px;
}
/* sobre tinta (#201e1d), el anillo de foco toma el color del texto de ese relleno — tokens.json color-focus */
.ep-precios a:focus-visible,
.ep-footer a:focus-visible {
  outline-color: var(--color-bg);
}
button:active,
a:active {
  transform: translateY(1px);
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* utilidades */
.ep-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  box-sizing: border-box;
}
.ep-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ep-kicker {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.ep-section--dark .ep-kicker {
  color: var(--color-dark-muted-2);
}
.ep-h2 {
  margin: 0;
  font-size: clamp(48px, 6.6vw, 104px);
  font-weight: 900;
  font-stretch: 112%;
  letter-spacing: -0.045em;
  line-height: 0.88;
}
.pt {
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.04em;
  background: currentColor;
}
.pt-ink {
  background: var(--color-ink);
}
.pt-denda {
  background: var(--denda-brand);
}
.pt-taberna {
  background: var(--taberna-brand);
}
.pt-sarea {
  background: var(--sarea-brand);
}
.pt-accent-noche {
  background: var(--denda-500);
}
.pt-white {
  background: #ffffff;
}
.ep-nowrap {
  white-space: nowrap;
}
.ep-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: inherit;
  box-sizing: border-box;
  border: 0;
  cursor: pointer;
}
.ep-btn--accent {
  justify-content: space-between;
  gap: 24px;
  min-height: var(--target-cta);
  padding: 0 28px;
  background: var(--denda-600);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}
.ep-btn--accent:hover {
  color: #ffffff;
}
.ep-btn--muted {
  min-height: var(--target-cta);
  padding: 0 28px;
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 18px;
  font-weight: 700;
}
.ep-btn--muted:hover {
  color: var(--color-ink);
}
.ep-btn--dark {
  min-height: 48px;
  padding: 0 22px;
  background: var(--color-ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}
.ep-btn--dark:hover {
  color: #ffffff;
}
.ep-btn--ghost-dark {
  min-height: var(--target-min);
  padding: 0 20px;
  background: transparent;
  border: 2px solid currentColor;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
}

/* ====== Cabecera ====== */
.ep-header {
  background: var(--color-bg);
  border-bottom: var(--rule-strong) solid var(--color-divider);
  position: relative;
}
.ep-header__row {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.ep-logo {
  display: inline-flex;
  align-items: center;
  min-height: var(--target-min);
  text-decoration: none;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
}
.ep-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ep-nav a {
  text-decoration: none;
  min-height: var(--target-min);
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
}
.ep-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.ep-link-muted {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text);
}
.ep-link-muted:hover {
  color: var(--color-link-hover);
}
.ep-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--target-min);
  min-width: var(--target-min);
  padding: 0 14px;
  background: transparent;
  border: 2px solid var(--color-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink);
  cursor: pointer;
  box-sizing: border-box;
}
.ep-nav-toggle svg {
  flex: none;
}
@media (max-width: 720px) {
  .ep-header[data-nav='js'] .ep-nav-toggle {
    display: inline-flex;
    order: 2;
  }
  .ep-header[data-nav='js'] .ep-nav {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    gap: 0;
    background: var(--color-surface);
  }
  .ep-header[data-nav='js'][data-open='true'] .ep-nav {
    display: flex;
  }
  .ep-header[data-nav='js'] .ep-nav a {
    width: 100%;
    min-height: 52px;
    padding: 0 4px;
    border-bottom: 1px solid var(--color-line);
  }
}

/* ====== Hero ====== */
.ep-hero {
  padding-top: 88px;
  padding-bottom: 96px;
}
.ep-hero__title {
  margin: 0;
  font-weight: 900;
  font-stretch: 112%;
  letter-spacing: -0.045em;
  line-height: 0.86;
  font-size: clamp(64px, 14.5vw, 216px);
}
.ep-hero__line {
  display: block;
}
.ep-hero__line--sirve {
  padding-left: 0.6em;
}
.ep-hero__foot {
  margin-top: 64px;
  padding-top: 32px;
  border-top: var(--rule-strong) solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}
.ep-hero__lead {
  flex: 1 1 340px;
  margin: 0;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.35;
  max-width: 34ch;
}
.ep-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ====== Dos toques ====== */
.ep-touch {
  background: var(--color-dark-bg);
  color: var(--color-bg);
}
.ep-touch__inner {
  padding-top: 112px;
  padding-bottom: 120px;
}
.ep-touch__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px 64px;
}
.ep-touch__title {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.1em;
  font-weight: 900;
  font-size: clamp(150px, 21vw, 300px);
  line-height: 0.76;
  letter-spacing: -0.05em;
}
.ep-touch__num {
  font-stretch: 62%;
}
.ep-touch__sub {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  font-size: 0.36em;
  line-height: 0.82;
  letter-spacing: -0.035em;
}
.ep-touch__word {
  font-stretch: 62%;
}
.ep-touch__hint {
  font-stretch: 100%;
  font-weight: 800;
  font-size: 0.4em;
  letter-spacing: -0.01em;
  color: var(--color-dark-muted-2);
  line-height: 1;
}
.ep-touch__lead {
  flex: 1 1 320px;
  max-width: 22ch;
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.ep-touch__divider {
  height: 2px;
  background: var(--color-dark-rule);
  margin: 88px 0 72px;
}

/* contenedores comunes de pieza */
.ep-piece {
  min-width: 0;
}

/* ====== Productos ====== */
.ep-productos {
  padding-top: 120px;
  padding-bottom: 120px;
}
.ep-productos__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.ep-productos__dek {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 34ch;
}
.ep-productos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 8px;
}
.ep-card {
  background: var(--color-raised);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ep-card__art {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.ep-card__art-label {
  position: absolute;
  top: 24px;
  left: 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.ep-card__shape {
  position: absolute;
  left: 28px;
  bottom: 28px;
}
.ep-card--denda .ep-card__art {
  background: var(--denda-100);
}
.ep-card--denda .ep-card__art-label {
  color: var(--denda-800);
}
.ep-card--denda .ep-card__shape--main {
  width: 128px;
  height: 128px;
  background: var(--denda-brand);
}
.ep-card--denda .ep-card__shape--mark {
  left: 164px;
  width: 26px;
  height: 26px;
  background: var(--denda-brand);
}
.ep-card--taberna .ep-card__art {
  background: var(--taberna-100);
}
.ep-card--taberna .ep-card__art-label {
  color: var(--taberna-800);
}
.ep-card--taberna .ep-card__shape {
  width: 60px;
  height: 60px;
  background: var(--taberna-brand);
}
.ep-card--taberna .ep-card__shape--b {
  left: 96px;
}
.ep-card--taberna .ep-card__shape--c {
  bottom: 96px;
}
.ep-card--taberna .ep-card__shape--d {
  left: 96px;
  bottom: 96px;
  background: transparent;
  box-shadow: inset 0 0 0 3px var(--taberna-brand);
}
.ep-card--taberna .ep-card__shape--mark {
  left: 164px;
  width: 26px;
  height: 26px;
  background: var(--taberna-brand);
}
.ep-card--sarea .ep-card__art {
  background: var(--sarea-100);
}
.ep-card--sarea .ep-card__art-label {
  color: var(--sarea-800);
}
.ep-card--sarea .ep-card__shape--bar1 {
  width: 38px;
  height: 52px;
  background: var(--sarea-300);
}
.ep-card--sarea .ep-card__shape--bar2 {
  left: 74px;
  width: 38px;
  height: 88px;
  background: var(--sarea-400);
}
.ep-card--sarea .ep-card__shape--bar3 {
  left: 120px;
  width: 38px;
  height: 128px;
  background: var(--sarea-brand);
}
.ep-card--sarea .ep-card__shape--mark {
  left: 166px;
  width: 26px;
  height: 26px;
  background: var(--sarea-brand);
}
.ep-card__body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}
.ep-card__title {
  margin: 0;
  font-size: clamp(56px, 5.4vw, 80px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.ep-card--denda .ep-card__title .pt {
  background: var(--denda-brand);
}
.ep-card--taberna .ep-card__title .pt {
  background: var(--taberna-brand);
}
.ep-card--sarea .ep-card__title .pt {
  background: var(--sarea-brand);
}
.ep-card__tagline {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.ep-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ep-card__tag {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  background: var(--color-surface);
}
.ep-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--rule-strong) solid var(--color-ink);
}
.ep-card__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  border-bottom: 1px solid var(--color-line);
  font-size: 16px;
  font-weight: 700;
}
.ep-card__list svg {
  flex: none;
}
.ep-card__link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-top: var(--rule-strong) solid var(--color-ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-ink);
}
.ep-card__link:hover {
  color: var(--color-ink);
}
.ep-card__link svg {
  flex: none;
}
.ep-productos__banner {
  margin-top: 8px;
  background: var(--color-dark-bg);
  color: var(--color-bg);
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.ep-productos__banner-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.ep-productos__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ep-productos__brand-dot {
  width: 14px;
  height: 14px;
  display: inline-block;
}
.ep-productos__brand-dot--denda {
  background: var(--denda-500);
}
.ep-productos__brand-dot--taberna {
  background: var(--taberna-500);
}
.ep-productos__brand-dot--sarea {
  background: var(--sarea-500);
}
.ep-productos__banner-or {
  color: var(--color-dark-muted-2);
  font-weight: 400;
}
.ep-productos__banner svg {
  flex: none;
}
.ep-productos__banner p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  max-width: 60ch;
}

/* ====== Secciones que alojan piezas (Recorrido, Dispositivos, Funciones, Contacto) ====== */
.ep-section {
  padding-top: 120px;
  padding-bottom: 120px;
}
.ep-section--recorrido {
  background: var(--color-raised);
  border-top: var(--rule-strong) solid var(--color-divider);
}
.ep-section--dark {
  background: var(--color-dark-bg);
  color: var(--color-bg);
}
.ep-section--funciones {
  background: var(--color-raised);
  border-top: var(--rule-strong) solid var(--color-divider);
  border-bottom: var(--rule-strong) solid var(--color-divider);
}
.ep-section--contacto {
  background: var(--color-bg);
}
.ep-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 64px;
}
.ep-section--funciones .ep-section__head {
  margin-bottom: 48px;
}
.ep-section__dek {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  max-width: 36ch;
  color: var(--color-text-muted);
}
.ep-section--dark .ep-section__dek {
  color: var(--color-dark-text-muted);
}

/* ====== Sin ruido ====== */
.ep-quiet {
  padding-top: 120px;
  padding-bottom: 120px;
}
.ep-quiet__row {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 72px;
  align-items: center;
}
.ep-quiet__text {
  flex: 999 1 480px;
  min-width: 0;
}
.ep-quiet__lead {
  margin: 32px 0 0;
  font-size: 20px;
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 40ch;
}
.ep-quiet__mock {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ep-quiet__row-dark {
  background: var(--color-dark-bg);
  color: #ffffff;
  min-height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ep-quiet__row-dark--tight {
  padding-right: 12px;
}
.ep-quiet__label {
  font-size: 18px;
  font-weight: 800;
}
.ep-quiet__meta {
  font-size: 13px;
  color: var(--color-dark-muted-2);
}
.ep-quiet__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--target-min);
  padding: 0 14px;
  background: var(--color-danger-tint-dark);
  color: var(--color-danger-dark);
  font-size: 15px;
  font-weight: 700;
}
.ep-quiet__badge svg {
  flex: none;
}
.ep-quiet__note {
  background: var(--color-raised);
  padding: 20px;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0 8px 24px #2d2b2b24;
}
.ep-quiet__toast {
  margin-top: 16px;
  background: var(--color-dark-bg);
  color: var(--color-bg);
  min-height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 1px 2px #2d2b2b24;
}
.ep-quiet__toast-label {
  font-size: 15px;
  font-weight: 700;
}
.ep-quiet__toast-undo {
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
}
.ep-quiet__grid {
  margin-top: 104px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 40px;
}
.ep-quiet__feature {
  border-top: var(--rule-strong) solid var(--color-ink);
  padding-top: 20px;
}
.ep-quiet__feature h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}
.ep-quiet__feature p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ====== Roles ====== */
.ep-roles {
  padding-top: 120px;
  padding-bottom: 120px;
}
.ep-roles__title {
  margin: 0 0 72px;
  max-width: 13ch;
}
.ep-roles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 8px;
}
.ep-roles__card {
  background: var(--color-dark-surface);
  padding: 28px;
  min-height: 200px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.ep-roles__who {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--color-dark-text-muted);
}
.ep-roles__dot {
  width: 12px;
  height: 12px;
  display: inline-block;
}
.ep-roles__dot--taberna {
  background: var(--taberna-500);
}
.ep-roles__dot--denda {
  background: var(--denda-500);
}
.ep-roles__dot--sarea {
  background: var(--sarea-500);
}
.ep-roles__screen {
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ====== Conviene saber ====== */
.ep-saber {
  padding-top: 120px;
  padding-bottom: 120px;
  background: var(--color-raised);
  border-top: var(--rule-strong) solid var(--color-divider);
}
.ep-saber__intro {
  margin: 32px 0 56px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 52ch;
}
.ep-saber__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
}
.ep-saber__panel {
  border-top: var(--rule-strong) solid var(--color-ink);
  padding-top: 24px;
}
.ep-saber__panel h3 {
  margin: 0 0 16px;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ep-saber--denda h3 .pt {
  background: var(--denda-brand);
}
.ep-saber--taberna h3 .pt {
  background: var(--taberna-brand);
}
.ep-saber--sarea h3 .pt {
  background: var(--sarea-brand);
}
.ep-saber__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ep-saber__panel li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
  padding-left: 1.1em;
  position: relative;
}
.ep-saber__panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-ink);
}

/* ====== Precios ====== */
.ep-precios {
  padding-top: 120px;
  padding-bottom: 120px;
  background: var(--color-dark-bg);
  color: var(--color-bg);
}
.ep-precios__lead {
  margin: 32px 0 56px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--color-dark-text-muted);
  max-width: 48ch;
}
.ep-precios__table-wrap {
  overflow-x: auto;
  background: var(--color-dark-surface);
}
.ep-precios__table-wrap:focus-visible {
  outline: 2px solid var(--denda-400, #ff9783);
  outline-offset: 2px;
}
.ep-precios table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 16px;
}
.ep-precios th,
.ep-precios td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-dark-rule);
  vertical-align: top;
}
.ep-precios thead th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-dark-muted-2);
}
.ep-precios td.ep-precios__num,
.ep-precios th.ep-precios__num {
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ep-precios__programa {
  font-weight: 800;
}
.ep-precios__detalle {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-dark-text-muted);
}
.ep-precios__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px;
}
.ep-precios__grid h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
}
.ep-precios__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ep-precios__grid li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-dark-text-muted);
}
.ep-precios__grid li strong {
  display: block;
  color: var(--color-bg);
  font-weight: 700;
}
.ep-precios__grid a {
  color: inherit;
  text-decoration: underline;
}
.ep-precios__cta {
  margin-top: 40px;
}
/* ====== Preguntas frecuentes ====== */
.ep-faq {
  padding-top: 120px;
  padding-bottom: 120px;
  background: var(--color-raised);
}
.ep-faq__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ep-faq__item {
  border-top: 1px solid var(--color-line);
}
.ep-faq__item summary {
  cursor: pointer;
  list-style: none;
  min-height: var(--target-min);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 800;
}
.ep-faq__item summary::-webkit-details-marker {
  display: none;
}
.ep-faq__item summary::after {
  content: '+';
  flex: none;
  font-weight: 400;
  font-size: 24px;
  color: var(--color-text-muted);
}
.ep-faq__item[open] summary::after {
  content: '–';
}
.ep-faq__item p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 68ch;
}

/* ====== Historia ====== */
.ep-historia {
  padding-top: 120px;
  padding-bottom: 120px;
  background: var(--color-bg);
}
.ep-historia__title {
  max-width: 24ch;
}
.ep-historia p {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.6;
  max-width: 62ch;
  color: var(--color-text-muted);
}
.ep-historia p:first-of-type {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

/* ====== Pie ====== */
.ep-footer {
  background: var(--color-dark-bg);
  color: var(--color-dark-muted-2);
}
.ep-footer__inner {
  padding: 40px var(--page-pad) 48px;
  border-top: 1px solid var(--color-dark-rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 48px;
  font-size: 15px;
}
.ep-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ep-footer__logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}
.ep-footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  font-size: 13px;
}
.ep-footer__contact a {
  color: var(--color-dark-muted-2);
  text-decoration: none;
  min-height: var(--target-min);
  display: inline-flex;
  align-items: center;
}
.ep-footer__contact a:hover {
  color: #ffffff;
}
.ep-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}
.ep-footer__nav a {
  color: var(--color-bg);
  text-decoration: none;
  min-height: var(--target-min);
  display: inline-flex;
  align-items: center;
}
.ep-footer__nav a:hover {
  color: #ffffff;
}

/* ====== Páginas legales ====== */
.ep-legal {
  padding-top: 88px;
  padding-bottom: 120px;
}
.ep-legal__prosa {
  max-width: 68ch;
}
.ep-legal__prosa h1 {
  margin: 0 0 40px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  font-stretch: 112%;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.ep-legal__prosa h2 {
  margin: 48px 0 16px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ep-legal__prosa h2:first-of-type {
  margin-top: 0;
}
.ep-legal__prosa h3 {
  margin: 32px 0 14px;
  font-size: 20px;
  font-weight: 800;
}
.ep-legal__prosa p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.ep-legal__prosa ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.ep-legal__prosa li {
  margin-bottom: 10px;
}
.ep-legal__prosa a {
  color: var(--denda-700);
  text-decoration: underline;
}
.ep-legal__datos {
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  font-size: 17px;
}
@media (max-width: 480px) {
  .ep-legal__datos { grid-template-columns: 1fr; gap: 2px; }
  .ep-legal__datos dd { margin-bottom: 10px; }
}
.ep-legal__datos dt {
  font-weight: 700;
  color: var(--color-text);
}
.ep-legal__datos dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-text-muted);
}
