/* ==========================================================================
   Cadaver Lab Brasil 2027 — estilos
   Tema único oscuro: la página es una extensión del flyer, no tiene modo claro.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #0E0620;
  --bg-alt: #120829;
  --card: #160A2E;
  --card-2: #1A0B35;
  --card-featured: #2A1052;

  --accent: #9333EA;
  --accent-hover: #7C3AED;
  --accent-2: #C084FC;
  --lilac: #D8B4FE;
  --lilac-light: #E9D5FF;

  --text: #F4EEFF;
  --text-strong: #FFFFFF;
  --text-2: #D8CCF0;
  --text-3: #C4B5E0;

  --border: rgb(192 132 252 / 0.18);
  --border-strong: rgb(192 132 252 / 0.35);
  --glow: 0 0 32px rgb(147 51 234 / 0.45);

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 24px;
  --radius-sm: 16px;
  --gutter: 16px;
  --topbar-h: 64px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --topbar-h: 72px; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: 1.2;
  text-wrap: balance;
}

p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
strong { color: var(--text-strong); font-weight: 600; }

[id] { scroll-margin-top: calc(var(--topbar-h) + 16px); }

:focus-visible {
  outline: 2px solid var(--lilac-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-strong);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-strong);
  box-shadow: var(--glow);
}
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 0 44px rgb(147 51 234 / 0.6); }

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--lilac-light);
  background: rgb(192 132 252 / 0.06);
}
.btn--ghost:hover { border-color: var(--accent-2); background: rgb(192 132 252 / 0.12); }

.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; box-shadow: none; }
.btn--lg { padding: 16px clamp(18px, 5vw, 28px); font-size: clamp(0.9375rem, 4vw, 1rem); }
.btn--xl { padding: 20px 32px; font-size: clamp(1rem, 3.6vw, 1.25rem); }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
}

/* ---------- Tipografía de sección ---------- */

.eyebrow {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.eyebrow--lined {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.12em;
  color: var(--lilac-light);
}
.eyebrow--lined::before,
.eyebrow--lined::after {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2));
}
.eyebrow--lined::after { transform: scaleX(-1); }

.section { padding-block: clamp(48px, 7vw, 88px); }
.section--alt { background: var(--bg-alt); }

.section__title {
  max-width: 24ch;
  margin-bottom: clamp(24px, 4vw, 40px);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 32px);
}

/* ---------- Barra superior ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(14 6 32 / 0.85);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--topbar-h);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.brand__dot, .brand__accent { color: var(--accent-2); }

.topbar__nav { display: none; }

@media (min-width: 900px) {
  .topbar__nav {
    display: flex;
    gap: 32px;
    margin-left: auto;
    margin-right: 16px;
  }
  .topbar__nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.2s;
  }
  .topbar__nav a:hover { color: var(--text-strong); }
}

/* En pantallas muy angostas se acorta la marca para que el botón entre en la barra */
@media (max-width: 479px) {
  .brand__dot, .brand__accent { display: none; }
}

/* ---------- Portada ---------- */

.hero {
  position: relative;
  overflow: hidden;
  /* Arriba poco aire: los botones tienen que entrar en la primera pantalla */
  padding-block: clamp(20px, 3.5vw, 48px) clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 50% at 85% 30%, rgb(147 51 234 / 0.35), transparent 70%),
    radial-gradient(50% 40% at 10% 0%, rgb(124 58 237 / 0.25), transparent 70%),
    var(--bg);
}

.hero__content { position: relative; }

.hero__face {
  position: absolute;
  top: -24px;
  right: -64px;
  z-index: 0;
  width: auto;
  height: min(560px, 120%);
  opacity: 0.35;
  pointer-events: none;
  /* Funde el borde recortado del flyer con el fondo */
  -webkit-mask-image: radial-gradient(ellipse 52% 54% at 52% 44%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 54% at 52% 44%, #000 45%, transparent 100%);
}

.hero__content > :not(.hero__face) { position: relative; z-index: 1; }

@media (min-width: 900px) {
  .hero__face {
    top: 50%;
    right: 0;
    height: 120%;
    max-height: 760px;
    opacity: 0.9;
    transform: translateY(-50%);
  }
}

.hero .eyebrow { margin-bottom: 10px; }

.hero__title { margin-bottom: clamp(12px, 2vw, 20px); }

.hero__title-main {
  display: block;
  font-size: clamp(2.4rem, 10vw, 5.75rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgb(192 132 252 / 0.35);
}

.hero__title-sub {
  display: block;
  margin-top: clamp(4px, 1vw, 10px);
  font-size: clamp(1.05rem, 4.4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--lilac);
}

.hero__subtitle {
  max-width: 22ch;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4.4vw, 1.75rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  color: var(--text);
}

.hero__motto {
  margin-bottom: clamp(16px, 2.4vw, 24px);
  font-size: clamp(0.8125rem, 3.4vw, 0.9375rem);
  color: var(--text-3);
}
.hero__motto span { color: var(--accent-2); }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: clamp(5px, 1vw, 8px) clamp(11px, 2vw, 16px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgb(147 51 234 / 0.14);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lilac-light);
}
.pill .icon { color: var(--accent-2); width: 1.1em; height: 1.1em; }

.hero__when {
  display: grid;
  gap: clamp(6px, 1.2vw, 12px);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero__date {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5.2vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-strong);
}

.hero__place {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.9375rem, 3.8vw, 1.0625rem);
  line-height: 1.45;
  color: var(--text-2);
}

.hero__date .icon, .hero__place .icon { color: var(--accent-2); }
.hero__place .icon { margin-top: 3px; }

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  margin-bottom: 14px;
}

.hero__actions .btn { min-height: 50px; padding-block: 12px; }

@media (min-width: 600px) {
  .hero__actions { flex-direction: row; max-width: none; }
}

/* Pantallas bajas (iPhone SE, notebooks de 768px): se compacta la portada
   para que los botones sigan entrando sin scrollear */
@media (max-width: 599px) and (max-height: 700px) {
  .hero { padding-top: 14px; }
  .hero__motto { display: none; }
  .hero__subtitle { margin-bottom: 14px; }
  .pills { margin-bottom: 14px; }
  .hero__when { margin-bottom: 16px; }
}

@media (min-width: 900px) and (max-height: 820px) {
  .hero__title-main { font-size: clamp(2.4rem, 6.4vw, 4.5rem); }
  .hero__title-sub { font-size: clamp(1.05rem, 2.2vw, 1.625rem); }
  .hero { padding-top: 28px; }
  .hero__subtitle { font-size: 1.5rem; }
  .hero__when { margin-bottom: 20px; }
}

.hero__note {
  font-size: 0.875rem;
  color: var(--text-3);
}

/* ---------- Logos ---------- */

.logos {
  padding-block: 28px;
  border-block: 1px solid var(--border);
  background: var(--bg);
}

.logos__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 5vw, 64px);
}

/* Misma altura para los tres. Los recortes del flyer traen su fondo:
   se difuminan los bordes hasta tener los logos originales sin fondo. */
.logos__list img {
  width: auto;
  height: clamp(30px, 8vw, 56px);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 60%, transparent 100%);
}

/* ---------- La experiencia ---------- */

.experience {
  display: grid;
  gap: 48px;
}

.experience__text p {
  max-width: 62ch;
  color: var(--text-2);
}
.experience__text p + p { margin-top: 18px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: clamp(20px, 4vw, 28px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat dd {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent-2);
  text-shadow: 0 0 28px rgb(192 132 252 / 0.4);
}

.stat dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

@media (min-width: 900px) {
  .experience { grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: center; }
}

/* ---------- Diferenciales ---------- */

.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
}

.reason__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-2);
}

.reason h3 {
  margin-bottom: 10px;
  font-size: 1.1875rem;
  font-weight: 700;
}

.reason p {
  font-size: 0.96875rem;
  color: var(--text-2);
}

/* ---------- Objetivos ---------- */

.checklist {
  display: grid;
  gap: 18px 48px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text-2);
}

.checklist .icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: rgb(192 132 252 / 0.15);
  color: var(--accent-2);
  stroke-width: 2.2;
}

@media (min-width: 768px) {
  .checklist { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Docentes ---------- */

.faculty {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 960px) {
  .faculty { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.teacher {
  padding: 12px 12px 20px;
  text-align: center;
}

.teacher__photo {
  width: 100%;
  aspect-ratio: 22 / 25;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.teacher__country {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.teacher__name {
  font-size: clamp(0.9375rem, 3.6vw, 1.125rem);
  font-weight: 700;
}

.note {
  max-width: 70ch;
  margin: 32px auto 0;
  text-align: center;
  color: var(--text-3);
}

/* ---------- Programa ---------- */

.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
}
.tabs[hidden] { display: none; }

@media (min-width: 600px) {
  .tabs { width: fit-content; }
}

.tab {
  flex: 1 1 0;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 3.4vw, 0.9375rem);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tab:hover { color: var(--text-strong); }

/* En celular la fecha va en su propio renglón; desde 600px, todo en una línea.
   Ningún tramo se corta: el selector se ensancha lo que haga falta. */
.tab > span { display: block; white-space: nowrap; }
.tab__date { font-weight: 500; opacity: 0.85; }

@media (min-width: 600px) {
  .tab { flex: 0 0 auto; padding-inline: 24px; }
  .tab > span { display: inline; }
  .tab__date::before { content: "· "; }
}
.tab[aria-selected="true"] {
  background: var(--accent);
  color: var(--text-strong);
  box-shadow: var(--glow);
}

.day[hidden] { display: none; }
.day + .day { margin-top: 64px; }
.tabs:not([hidden]) ~ .day + .day { margin-top: 0; }

.day__header { margin-bottom: 24px; }

.day__title {
  margin-bottom: 4px;
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  font-weight: 800;
}

.day__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--lilac);
}

.day__body {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .day__body { grid-template-columns: 300px 1fr; gap: 32px; }
  .schedule { position: sticky; top: calc(var(--topbar-h) + 24px); }
}

.schedule {
  padding: 8px 0;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.schedule li {
  display: grid;
  gap: 2px;
  padding: 14px 22px;
  color: var(--text-2);
  font-size: 0.9375rem;
}
.schedule li + li { border-top: 1px solid var(--border); }

.schedule__time {
  font-family: var(--font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-2);
}

.schedule__lab { color: var(--text-strong); font-weight: 600; }

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.module h4 {
  margin-bottom: 14px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.module__num {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.module ul { display: grid; gap: 8px; }

.module li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-2);
}
.module li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}

/* Si queda un módulo suelto en la última fila (cantidad impar), ocupa todo el ancho.
   La práctica es siempre el último hijo, por eso se mira el anteúltimo. */
.module:nth-last-child(2):nth-child(odd) { grid-column: 1 / -1; }

.module--lab {
  grid-column: 1 / -1;
  background: var(--card-featured);
  border-color: var(--accent-2);
  box-shadow: 0 0 40px rgb(147 51 234 / 0.25);
}

.module__lead {
  margin: -6px 0 14px;
  font-style: italic;
  color: var(--lilac);
}

@media (min-width: 768px) {
  .module--lab ul { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}

/* ---------- Franja de Río ---------- */

.rio {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.rio__img {
  width: 100%;
  height: clamp(220px, 32vw, 400px);
  object-fit: cover;
  object-position: 35% center;
}

/* Funde la franja con el fondo arriba y abajo */
.rio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
  pointer-events: none;
}

.rio__text {
  position: absolute;
  z-index: 1;
  top: 18%;
  padding-inline: var(--gutter);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4.2vw, 2.25rem);
  font-weight: 600;
  font-style: italic;
  text-align: center;
  color: var(--text-strong);
  text-shadow: 0 2px 24px rgb(14 6 32 / 0.9);
}

/* ---------- Inversión ---------- */

.prices {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .prices { grid-template-columns: 1fr 1fr; }
}

.price { position: relative; }

.price__label {
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.price__amount {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 9vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-strong);
}

.price__who { color: var(--text-2); }

.price--featured {
  background: var(--card-featured);
  border-color: var(--accent-2);
  box-shadow: 0 0 48px rgb(147 51 234 / 0.3);
}

.price__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-strong);
}

.table-wrap {
  padding: 0;
  overflow-x: auto;
}

.payments {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.8125rem, 3.4vw, 0.9375rem);
}

.payments caption {
  padding: 20px clamp(14px, 3vw, 24px) 8px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: left;
  color: var(--text-strong);
}

.payments th,
.payments td {
  padding: 14px clamp(10px, 3vw, 24px);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.payments thead th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.payments tbody th { font-weight: 500; color: var(--text-2); }

.payments td {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.payments tfoot th,
.payments tfoot td {
  border-bottom: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-strong);
}

/* ---------- Datos prácticos ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.fact__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  color: var(--accent-2);
}

.fact dt {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-strong);
}

.fact dd {
  font-size: 0.9375rem;
  color: var(--text-2);
}

/* <address> viene en itálica por defecto */
.fact__address { font-style: normal; }

/* En desktop la columna de Lugar es más ancha para que la dirección no se estire en altura */
@media (min-width: 1000px) {
  .facts { grid-template-columns: 1fr 1.7fr 1fr 1fr; }
}

/* ---------- Cierre ---------- */

.closing {
  padding-block: clamp(64px, 10vw, 112px);
  background:
    radial-gradient(60% 60% at 50% 100%, rgb(147 51 234 / 0.35), transparent 70%),
    var(--bg);
  text-align: center;
}

.closing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing__lines {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.6vw, 1.5rem);
  font-weight: 600;
  font-style: italic;
  color: var(--lilac);
}

.closing__lead {
  max-width: 56ch;
  margin-bottom: 40px;
  color: var(--text-2);
}

.closing__title {
  max-width: 20ch;
  margin-bottom: 36px;
  font-size: clamp(1.9rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
}

.closing .btn--xl { width: 100%; max-width: 460px; }

.closing__note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-3);
}

/* ---------- Pie ---------- */

.footer {
  padding-block: 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.logos__list--footer { margin-bottom: 24px; }
.logos__list--footer img { height: clamp(28px, 7vw, 44px); }

.footer__small {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--text-3);
}
