/* ==========================================================
   CFE de Don Benito — Landing
   Arquitectura: system fonts, custom properties, fluid type
   WCAG 2.1 AA, prefers-reduced-motion, print CSS
   ========================================================== */

/* --- Tokens --- */
:root {
  /* Paleta */
  --c-bg:          #f6f4ee;        /* crema papel */
  --c-bg-alt:      #ebe7dc;        /* crema tierra */
  --c-ink:         #141715;        /* negro verdoso */
  --c-ink-soft:    #3a413b;
  --c-muted:       #6a6f68;
  --c-line:        #d7d2c3;

  --c-green:       #2a4a1e;        /* verde institucional */
  --c-green-dark:  #1a3012;
  --c-green-deep:  #0e1e0a;        /* casi negro */
  --c-olive:       #5d7c3e;
  --c-gold:        #b38a3a;        /* dorado trigo */
  --c-gold-soft:   #d9b874;

  --c-on-dark:     #f6f4ee;
  --c-on-dark-mut: #b8b8ae;

  /* Tipografía (system font stack premium, sin descargas externas) */
  --ff-display: "Iowan Old Style", "Apple Garamond", Baskerville,
                "Times New Roman", "Droid Serif", Times,
                "Source Serif Pro", serif, "Apple Color Emoji",
                "Segoe UI Emoji", "Segoe UI Symbol";
  --ff-text:    system-ui, -apple-system, "Segoe UI", Roboto,
                "Helvetica Neue", Arial, sans-serif;
  --ff-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Escala tipográfica fluida */
  --fs-hero:     clamp(2.6rem, 1.8rem + 4.5vw, 6rem);
  --fs-display:  clamp(2.1rem, 1.6rem + 2.8vw, 4.2rem);
  --fs-h2:       clamp(1.75rem, 1.35rem + 1.8vw, 2.8rem);
  --fs-h3:       clamp(1.4rem, 1.2rem + 0.9vw, 2rem);
  --fs-lead:     clamp(1.05rem, 0.95rem + 0.5vw, 1.2rem);
  --fs-body:     1.0625rem;
  --fs-small:    0.875rem;
  --fs-eyebrow:  0.78rem;

  /* Espaciados */
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 7rem;
  --sp-8: 10rem;

  /* Layout */
  --wrap: 72rem;
  --wrap-narrow: 56rem;
  --radius: 4px;
  --radius-lg: 10px;

  /* Tiempos */
  --dur-fast: 180ms;
  --dur: 320ms;
  --ease: cubic-bezier(.2,.7,.2,1);

  --shadow-sm: 0 1px 2px rgba(20,23,21,.08), 0 2px 6px rgba(20,23,21,.04);
  --shadow-md: 0 4px 12px rgba(20,23,21,.12), 0 12px 32px rgba(20,23,21,.08);
}

/* --- Reset moderno --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--ff-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}
img { font-style: italic; /* mejora alt visible si falla la carga */ }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-color: var(--c-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);
}
a:hover { color: var(--c-green); text-decoration-color: currentColor; }

/* --- Foco accesible --- */
:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Utilidades --- */
.wrap {
  width: min(100% - 2.4rem, var(--wrap));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
  border: 0;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--c-ink);
  color: var(--c-on-dark);
  padding: .8rem 1.2rem;
  text-decoration: none;
  font-weight: 500;
  z-index: 999;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 1rem;
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(246, 244, 238, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
}
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--c-ink);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  color: var(--c-green);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: .72rem;
  color: var(--c-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
}

/* Nav */
.nav-primary { display: flex; align-items: center; }
.nav-list {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.nav-list a {
  font-size: .92rem;
  text-decoration: none;
  color: var(--c-ink-soft);
  padding: .3rem .1rem;
  position: relative;
}
.nav-list a:hover {
  color: var(--c-green);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list .nav-cta {
  background: var(--c-ink);
  color: var(--c-on-dark);
  padding: .55rem 1rem;
  border-radius: 999px;
  font-weight: 500;
}
.nav-list .nav-cta:hover {
  background: var(--c-green);
  color: #fff;
}
.nav-list .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 8px;
  color: var(--c-ink);
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    inset: 64px 0 0 0;
    flex-direction: column;
    gap: 0;
    background: var(--c-bg);
    padding: 2rem 1.2rem 3rem;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    overflow-y: auto;
  }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    font-size: 1.15rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-line);
    text-align: left;
  }
  .nav-list .nav-cta {
    margin-top: 1.5rem;
    display: inline-block;
    text-align: center;
    padding: .85rem 1.4rem;
  }
  body.nav-open .nav-list { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--ff-text);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-ink);
  color: var(--c-on-dark);
  border-color: var(--c-ink);
}
.btn-primary:hover { background: var(--c-green); border-color: var(--c-green); color: #fff; box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--c-on-dark);
  border-color: rgba(246,244,238,.5);
}
.btn-ghost:hover { background: rgba(246,244,238,.15); border-color: var(--c-on-dark); color: #fff; }

.btn-ghost-dark {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn-ghost-dark:hover { background: var(--c-ink); color: var(--c-on-dark); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--c-on-dark);
  padding-top: 80px;
  padding-bottom: var(--sp-6);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,30,10,.25) 0%, rgba(14,30,10,.3) 45%, rgba(14,30,10,.85) 100%),
    linear-gradient(100deg, rgba(14,30,10,.55) 0%, rgba(14,30,10,0) 55%);
}

.hero-content {
  padding-block: var(--sp-5) var(--sp-6);
  max-width: 60rem;
  animation: heroFade 900ms var(--ease) both;
  animation-delay: 150ms;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
}

.eyebrow {
  font-family: var(--ff-text);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold-soft);
  margin-bottom: 1.4rem;
  padding-left: 2.6rem;
  position: relative;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 1px;
  background: currentColor;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.6rem;
}
.hero-num {
  font-style: italic;
  font-weight: 400;
  color: var(--c-gold-soft);
}
.hero-sub {
  font-size: var(--fs-lead);
  max-width: 36rem;
  color: rgba(246,244,238,.88);
  margin-bottom: 2.4rem;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.4rem;
}
.hero-micro {
  font-size: .82rem;
  color: rgba(246,244,238,.6);
  letter-spacing: .04em;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1px solid rgba(246,244,238,.5);
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.hero-scroll-dot {
  width: 4px; height: 8px;
  background: rgba(246,244,238,.9);
  border-radius: 2px;
  animation: dot 1.8s var(--ease) infinite;
}
@keyframes dot {
  0%, 100% { transform: translateY(-6px); opacity: 0; }
  40%      { transform: translateY(0);     opacity: 1; }
  80%      { transform: translateY(6px);   opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-dot { animation: none; }
}

/* ==========================================================
   AUTORIDAD — barra de cifras
   ========================================================== */
.authority {
  background: var(--c-green-deep);
  color: var(--c-on-dark);
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.06);
}
.authority-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.authority-grid li {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-left: 1.4rem;
  border-left: 1px solid rgba(255,255,255,.15);
}
.authority-num {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
  font-weight: 500;
  color: var(--c-gold-soft);
  letter-spacing: -0.03em;
  line-height: 1;
}
.authority-label {
  font-size: .9rem;
  color: var(--c-on-dark-mut);
  line-height: 1.4;
}
.authority-label strong {
  color: #fff;
  font-weight: 500;
}

/* ==========================================================
   EXPLAINER — CRN
   ========================================================== */
.explainer {
  padding-block: var(--sp-7);
  background: var(--c-bg);
}
.explainer-wrap {
  max-width: var(--wrap-narrow);
}
.section-tag {
  font-family: var(--ff-text);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 1.4rem;
  padding-left: 2.6rem;
  position: relative;
}
.section-tag::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 1px;
  background: currentColor;
}
.section-tag.light { color: var(--c-gold-soft); }
.section-tag.dark  { color: var(--c-ink-soft); }

.section-title {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}
.lead {
  font-size: var(--fs-lead);
  color: var(--c-ink-soft);
  max-width: 50rem;
}
.lead em {
  font-style: italic;
  color: var(--c-green);
  font-weight: 500;
}

.institutional-row {
  list-style: none;
  padding: 0;
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-line);
}
.institutional-row li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--c-muted);
  letter-spacing: .01em;
}
.inst-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-olive);
  display: inline-block;
}

/* ==========================================================
   RECORRIDO — 10 historias
   ========================================================== */
.recorrido {
  padding-bottom: var(--sp-6);
}
.recorrido-intro {
  text-align: left;
  max-width: var(--wrap-narrow);
  padding-block: var(--sp-5) var(--sp-5);
}

.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: var(--sp-6);
  border-top: 1px solid var(--c-line);
}
.story:first-of-type { border-top: 0; }

@media (min-width: 900px) {
  .story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    padding-inline: 2rem;
    max-width: var(--wrap);
    margin-inline: auto;
  }
  .story.reverse .story-media { order: 2; }
  .story.reverse .story-text  { order: 1; }
}

.story-media picture {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-bg-alt);
  box-shadow: var(--shadow-md);
}
.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.story:hover .story-media img {
  transform: scale(1.02);
}
@media (prefers-reduced-motion: reduce) {
  .story:hover .story-media img { transform: none; }
}

@media (max-width: 899px) {
  .story {
    padding-inline: 1.2rem;
  }
}

.story-text { padding-inline: 1.2rem; }
@media (min-width: 900px) {
  .story-text { padding-inline: 0; }
}
.story-num {
  font-family: var(--ff-text);
  font-size: .82rem;
  font-weight: 500;
  color: var(--c-gold);
  letter-spacing: .22em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.2rem;
  padding-left: 2.2rem;
  position: relative;
}
.story-num::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 1.6rem; height: 1px;
  background: currentColor;
}
.story-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.story-text p {
  font-size: var(--fs-lead);
  color: var(--c-ink-soft);
  margin-bottom: 1rem;
}
.story-text p:last-child { margin-bottom: 0; }
.story-text strong {
  color: var(--c-ink);
  font-weight: 500;
}

/* ==========================================================
   INTERLUDE — El campo que viene
   ========================================================== */
.interlude {
  background: var(--c-green-deep);
  color: var(--c-on-dark);
  padding-block: var(--sp-7);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-block: var(--sp-5);
}
.interlude::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(179, 138, 58, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(93, 124, 62, 0.15) 0%, transparent 55%);
  z-index: -1;
}
.interlude-wrap {
  max-width: var(--wrap-narrow);
  text-align: left;
}
.interlude-title {
  font-size: var(--fs-display);
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.4rem;
  letter-spacing: -0.025em;
}
.interlude p {
  font-size: var(--fs-lead);
  color: rgba(246, 244, 238, .82);
  max-width: 48rem;
}

/* ==========================================================
   CLOSING — "No es un curso"
   ========================================================== */
.closing {
  padding-block: var(--sp-7) var(--sp-5);
  background: var(--c-bg);
}
.closing-wrap {
  max-width: var(--wrap-narrow);
}
.closing-title {
  font-size: clamp(2.4rem, 1.8rem + 3vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  line-height: 1.05;
}
.closing-text {
  font-size: var(--fs-lead);
  color: var(--c-ink-soft);
  max-width: 44rem;
}

/* ==========================================================
   DEDICATION — A los que sostienen esto
   ========================================================== */
.dedication {
  background: var(--c-ink);
  color: var(--c-on-dark);
  padding-block: var(--sp-7);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.dedication::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(179, 138, 58, 0.08) 0%, transparent 60%);
  z-index: -1;
}
.dedication-wrap {
  max-width: var(--wrap-narrow);
  text-align: left;
}
.dedication-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.8rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.dedication-text {
  font-size: var(--fs-lead);
  color: rgba(246, 244, 238, .82);
  line-height: 1.7;
  max-width: 44rem;
  margin-bottom: 1rem;
}
.dedication-final {
  color: var(--c-gold-soft);
  font-style: italic;
  margin-top: 1.4rem;
}

/* ==========================================================
   FINAL CTA
   ========================================================== */
.final-cta {
  background: var(--c-bg-alt);
  padding-block: var(--sp-7);
}
.final-cta-wrap { text-align: left; }
.final-cta-title {
  font-size: var(--fs-display);
  font-weight: 500;
  margin-bottom: 3rem;
  letter-spacing: -0.025em;
}
.final-cta-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .final-cta-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.cta-card {
  background: var(--c-bg);
  padding: 2.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cta-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
@media (prefers-reduced-motion: reduce) {
  .cta-card:hover { transform: none; }
}
.cta-kicker {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 500;
  color: var(--c-green);
}
.cta-heading {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cta-card p {
  color: var(--c-ink-soft);
  margin-bottom: auto;
}
.cta-card .btn { align-self: flex-start; margin-top: .8rem; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--c-green-deep);
  color: var(--c-on-dark);
  padding-block: var(--sp-6) var(--sp-4);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
}
.footer-col a { color: var(--c-gold-soft); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-name {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: .8rem;
}
.footer-sub {
  color: var(--c-on-dark-mut);
  margin-bottom: 1rem;
}
.footer-legal { font-size: .82rem; color: var(--c-on-dark-mut); }
.footer-heading {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--c-gold-soft);
  margin-bottom: .8rem;
  font-weight: 500;
}
.footer-contact p { margin-bottom: .4rem; }
address.footer-contact { font-style: normal; }
.footer-inst ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  color: var(--c-on-dark-mut);
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
  color: rgba(184,184,174,.7);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.footer-legal-text {
  max-width: 54rem;
  flex: 1 1 28rem;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  flex-shrink: 0;
  padding: .5rem .95rem .55rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}
.footer-credit-label {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(184,184,174,.65);
}
.footer-credit-name {
  font-family: var(--ff-display);
  font-size: .95rem;
  font-style: italic;
  font-weight: 500;
  color: var(--c-gold-soft);
  letter-spacing: -0.005em;
}

/* Print: el crédito también se imprime */
@media print {
  .footer-bottom { display: block; }
  .footer-credit {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin-top: .5rem;
  }
  .footer-credit-label,
  .footer-credit-name { color: #000 !important; }
}

/* ==========================================================
   ANIMATION HOOKS — IntersectionObserver
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   PRINT
   ========================================================== */
@media print {
  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }
  .site-header, .nav-primary, .nav-toggle,
  .hero-scroll, .hero-overlay, .final-cta, .site-footer .footer-bottom,
  .btn, .hero-ctas, .hero-micro {
    display: none !important;
  }
  .hero {
    min-height: auto;
    padding: 2rem 0 1rem;
    color: #000;
  }
  .hero-bg, .hero-bg img { position: static; }
  .hero-bg { display: none; }
  .hero-content { padding: 0; }
  .hero-title, .section-title, .story-title, .interlude-title,
  .dedication-title, .closing-title, .final-cta-title {
    color: #000 !important;
    page-break-after: avoid;
  }
  .authority, .interlude, .dedication, .site-footer {
    background: #fff !important;
    color: #000 !important;
    border-top: 1px solid #000;
    padding-block: 1rem;
  }
  .authority-num, .dedication-final, .eyebrow, .section-tag, .story-num,
  .cta-kicker, .footer-heading, .footer-col a {
    color: #000 !important;
  }
  .story {
    grid-template-columns: 1fr !important;
    page-break-inside: avoid;
    padding-block: 1rem;
  }
  .story-media picture { box-shadow: none; }
  a[href^="http"]::after,
  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #333;
  }
  .footer-inst ul { color: #000; }
  /* Cabecera de impresión */
  @page { margin: 1.4cm; }
}

/* ==========================================================
   === CURSOS DON BENITO — COMPONENTES ESPECÍFICOS DEL CURSO ===
   A partir de aquí: secciones específicas del landing IFCD0110.
   Los componentes anteriores se heredan del core compartido.
   ========================================================== */

.hero-title { line-height: 1; }
.hero-sub { max-width: 40rem; }
.hero-micro { max-width: 40rem; }

.authority-num-small {
  font-size: 0.65em;
  letter-spacing: 0.02em;
  color: var(--c-gold-soft);
}

/* SECTION INTRO — cabecera de sección con figura al lado del título
   (patrón análogo a .instructor-bio, respeta el formato nativo de la imagen) */
.section-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: center;
  margin-bottom: var(--sp-4);
}
@media (min-width: 900px) {
  .section-intro {
    grid-template-columns: 1fr minmax(280px, 400px);
    gap: 2.8rem;
  }
  .section-intro-reverse {
    grid-template-columns: minmax(280px, 400px) 1fr;
  }
  .section-intro-reverse .section-intro-text { order: 2; }
  .section-intro-reverse .section-figure { order: 1; }
}
.section-intro-text {
  display: flex;
  flex-direction: column;
}
.section-figure {
  margin: 0;
  width: 100%;
}
.section-figure picture {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--c-bg-alt);
}
.section-figure img {
  width: 100%;
  height: auto;
  display: block;
  /* Respeta el aspect ratio nativo — no hay object-fit/cover */
}

/* HAMMER — frase martillazo entre secciones */
.hammer {
  background: var(--c-bg);
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--c-line);
}
.hammer-text {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--c-ink);
  max-width: 48rem;
  letter-spacing: -0.01em;
}

/* TRANSPARENCY */
.transparency {
  padding-block: var(--sp-7);
  background: var(--c-bg);
}
.transparency-wrap { max-width: var(--wrap-narrow); }
.transparency .lead + .lead { margin-top: 1rem; }
.transparency-row {
  list-style: none;
  padding: 2rem 0 0;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid var(--c-line);
}
.transparency-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--c-ink-soft);
}
.transparency-row a {
  color: var(--c-green);
  text-decoration-color: var(--c-gold);
}

/* SKILLS — qué vas a aprender */
.skills {
  padding-block: var(--sp-7);
  background: var(--c-bg-alt);
}
.skills-grid {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.6rem;
  counter-reset: skill-counter;
}
@media (min-width: 640px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .skills-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem 2.4rem; }
}
.skills-grid li {
  counter-increment: skill-counter;
  padding: 1.4rem 1.4rem 1.4rem 3.4rem;
  background: var(--c-bg);
  border-left: 2px solid var(--c-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  color: var(--c-ink-soft);
  line-height: 1.55;
  position: relative;
}
.skills-grid li::before {
  content: counter(skill-counter, decimal-leading-zero);
  position: absolute;
  left: 1.2rem;
  top: 1.4rem;
  font-family: var(--ff-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-gold);
  letter-spacing: 0.05em;
}
.skills-grid strong { color: var(--c-ink); font-weight: 500; }

/* TOOLS STRIP — franja "Con qué vas a trabajar" */
.tools-strip {
  background: var(--c-ink);
  color: var(--c-on-dark);
  padding-block: var(--sp-5);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.tools-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.tools-kicker {
  font-family: var(--ff-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  padding-left: 2.6rem;
  position: relative;
}
.tools-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.tools-list {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem);
  color: #fff;
  line-height: 1.45;
  font-weight: 400;
  max-width: 54rem;
  letter-spacing: -0.005em;
}
.tools-note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--c-on-dark-mut);
  max-width: 42rem;
  margin-top: 0.2rem;
}

/* MODULES — temario scroll-snap horizontal */
.modules {
  padding-block: var(--sp-7) var(--sp-6);
  background: var(--c-bg);
}
.modules-intro {
  max-width: var(--wrap-narrow);
  margin-bottom: var(--sp-5);
}
/* Móvil/tablet: scroll horizontal con snap */
.modules-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.modules-scroll:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 4px;
}
.modules-track {
  list-style: none;
  padding: 0 1.2rem 0.5rem;
  margin: 0;
  display: flex;
  gap: 1.2rem;
  min-width: max-content;
}
.module-card {
  scroll-snap-align: start;
  flex: 0 0 min(84vw, 20rem);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

/* Desktop: cuadrícula 2×2 — las 4 cards caben sin scroll */
@media (min-width: 900px) {
  .modules-scroll {
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .modules-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    padding: 0 1.2rem;
    min-width: 0;
    max-width: var(--wrap);
    margin-inline: auto;
  }
  .module-card {
    flex: initial;
    scroll-snap-align: none;
    min-width: 0;
  }
}

/* Desktop XL: una fila con las 4 cards */
@media (min-width: 1200px) {
  .modules-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
  .module-card {
    padding: 1.8rem 1.4rem;
  }
  .module-title {
    font-size: 1.35rem;
  }
}
.module-card:hover {
  transform: translateY(-2px);
  border-color: var(--c-gold);
}
@media (prefers-reduced-motion: reduce) {
  .module-card:hover { transform: none; }
}
.module-code {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--c-green);
  letter-spacing: 0.1em;
  background: rgba(42, 74, 30, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  align-self: flex-start;
}
.module-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--c-ink-soft);
}
.module-list li {
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.45;
}
.module-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5rem;
  height: 1px;
  background: var(--c-gold);
}
.module-card-final {
  background: var(--c-green-deep);
  color: var(--c-on-dark);
  border-color: var(--c-green-deep);
}
.module-card-final .module-code {
  background: rgba(217, 184, 116, 0.18);
  color: var(--c-gold-soft);
}
.module-card-final .module-title { color: #fff; }
.module-card-final .module-list { color: var(--c-on-dark-mut); }
.module-card-final .module-list li::before { background: var(--c-gold-soft); }
.module-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: var(--c-on-dark-mut);
}
.module-footer strong { color: var(--c-gold-soft); font-weight: 500; }
.modules-hint {
  max-width: var(--wrap-narrow);
  margin: 1.4rem auto 0;
  padding-inline: 1.2rem;
  font-size: 0.85rem;
  color: var(--c-muted);
  font-style: italic;
}
@media (min-width: 900px) {
  .modules-hint { display: none; }
}

/* HOW — cómo es por dentro */
.how {
  padding-block: var(--sp-7);
  background: var(--c-bg-alt);
}
.how-wrap { max-width: var(--wrap); }
.how-grid {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .how-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2.2rem; }
}
.how-block {
  background: var(--c-bg);
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.how-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--c-gold);
  letter-spacing: -0.02em;
  line-height: 1;
  font-style: italic;
}
.how-block-title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.how-block p {
  color: var(--c-ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

/* AUDIENCE */
.audience {
  padding-block: var(--sp-7);
  background: var(--c-bg);
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 900px) {
  .audience-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}
.audience-col { max-width: var(--wrap-narrow); }
.section-title-small {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.6rem;
  color: var(--c-ink);
}
.audience-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.audience-list li h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  color: var(--c-ink);
  line-height: 1.3;
}
.audience-list li p {
  color: var(--c-ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.audience-list-no {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.audience-list-no li {
  padding: 1.2rem 1.4rem;
  background: var(--c-bg-alt);
  border-left: 2px solid var(--c-ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.audience-list-no strong { color: var(--c-ink); font-weight: 500; }

/* INSTRUCTOR — carta abierta */
.instructor {
  padding-block: var(--sp-7);
  background: var(--c-green-deep);
  color: var(--c-on-dark);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.instructor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(179, 138, 58, 0.08) 0%, transparent 60%);
  z-index: -1;
}
.instructor-wrap { max-width: var(--wrap-narrow); }
.instructor .section-title { color: #fff; }

/* Bio del formador — foto + credenciales */
.instructor-bio {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  align-items: center;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 720px) {
  .instructor-bio {
    grid-template-columns: auto 1fr;
    gap: 2.4rem;
  }
}
.bio-portrait {
  width: min(340px, 82vw);
  justify-self: start;
}
@media (min-width: 720px) {
  .bio-portrait { width: 400px; }
}
@media (min-width: 1100px) {
  .bio-portrait { width: 440px; }
}
.bio-portrait picture {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.bio-portrait img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.bio-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bio-kicker {
  font-family: var(--ff-text);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.3rem;
}
.bio-name {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
.bio-role {
  font-size: 0.95rem;
  color: var(--c-gold-soft);
  margin-bottom: 0.7rem;
  line-height: 1.4;
}
.bio-credentials {
  color: var(--c-on-dark-mut);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 34rem;
}

.letter {
  margin-top: 2.5rem;
  padding: 2.8rem 2.4rem 2.4rem;
  background: var(--c-bg);
  color: var(--c-ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 44rem;
  position: relative;
}
@media (min-width: 720px) {
  .letter { padding: 3.2rem 3rem 2.8rem; }
}
.letter-header { margin-bottom: 1.6rem; }
.letter-kicker {
  font-family: var(--ff-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.7rem;
}
.letter-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--c-ink);
}
.letter-text p {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--c-ink-soft);
  margin-bottom: 1rem;
}
.letter-text p:last-child { margin-bottom: 0; }
.letter-text em {
  font-style: italic;
  color: var(--c-ink);
  font-weight: 500;
}
.letter-close {
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
  margin-top: 1.6rem !important;
  font-style: italic;
  color: var(--c-ink) !important;
}
.letter-signature {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.letter-sign {
  font-family: "Brush Script MT", "Apple Chancery", "Lucida Handwriting", cursive;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: 0.01em;
  transform: rotate(-2deg);
  transform-origin: left center;
  display: inline-block;
  align-self: flex-start;
}
.letter-role {
  font-size: 0.85rem;
  color: var(--c-muted);
  letter-spacing: 0.03em;
  margin-top: 0.4rem;
}

/* UNTOLD — lo que no te van a contar */
.untold {
  padding-block: var(--sp-7);
  background: var(--c-bg);
}
.untold-wrap { max-width: var(--wrap-narrow); }
.untold-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  counter-reset: untold;
}
.untold-list li {
  counter-increment: untold;
  padding: 1.8rem 0 0 4.5rem;
  position: relative;
  border-top: 1px solid var(--c-line);
}
.untold-list li::before {
  content: counter(untold, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.6rem;
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--c-gold);
  line-height: 1;
}
.untold-list h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
  color: var(--c-ink);
}
.untold-list p {
  color: var(--c-ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

/* FAQ */
.faq-section {
  padding-block: var(--sp-7);
  background: var(--c-bg-alt);
}
.faq-wrap { max-width: var(--wrap-narrow); }
.faq-list {
  list-style: none;
  padding: 0;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item[open] { border-color: var(--c-gold); }
.faq-q {
  padding: 1.2rem 3.2rem 1.2rem 1.5rem;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 500;
  list-style: none;
  position: relative;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--c-gold);
  transition: transform var(--dur) var(--ease);
  font-weight: 300;
  line-height: 1;
}
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a {
  padding: 0 1.5rem 1.4rem;
  color: var(--c-ink-soft);
}
.faq-a p { font-size: 0.98rem; line-height: 1.6; }

/* CALLBACK — formulario */
.callback {
  padding-block: var(--sp-7);
  background: var(--c-bg);
}
.callback-wrap { max-width: 40rem; }
.callback-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-row label {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  font-weight: 500;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row select {
  font-family: var(--ff-text);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg);
  color: var(--c-ink);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-row select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%236a6f68' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--c-green);
  background: #fff;
}
.form-row input:user-invalid,
.form-row select:user-invalid {
  border-color: #a63232;
  background: #faf5f3;
}
.form-row-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  background: var(--c-bg-alt);
  border-radius: var(--radius);
}
.form-row-checkbox input {
  margin-top: 0.25em;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--c-green);
}
.form-row-checkbox label {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--c-ink-soft);
  cursor: pointer;
}
.form-error {
  font-size: 0.85rem;
  color: #a63232;
  margin-top: 0.2rem;
  line-height: 1.4;
}
.form-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}
.form-hint {
  font-size: 0.88rem;
  color: var(--c-muted);
}
.form-hint a {
  color: var(--c-green);
  font-weight: 500;
  text-decoration-color: var(--c-gold);
}
.form-success {
  background: var(--c-green);
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  text-align: center;
}

/* FINAL CTA ajustes */
.final-cta-lead {
  font-size: var(--fs-lead);
  color: var(--c-ink-soft);
  max-width: 48rem;
  margin-bottom: 2.2rem;
  line-height: 1.55;
}
.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* FOOTER EMOCIONAL */
.footer-emotional {
  max-width: var(--wrap);
  margin: 3rem auto 0;
  padding: 2rem 1.2rem 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--c-gold-soft);
  letter-spacing: -0.005em;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* CENTRO BRIDGE — invitación a la página del centro */
.centro-bridge {
  background: var(--c-green-deep);
  color: var(--c-on-dark);
  padding-block: var(--sp-7);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.centro-bridge::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(179, 138, 58, 0.1) 0%, transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(93, 124, 62, 0.08) 0%, transparent 55%);
  z-index: -1;
}
.centro-bridge-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .centro-bridge-wrap {
    grid-template-columns: 1fr minmax(320px, 440px);
    gap: 3.5rem;
  }
}
.centro-bridge-text {
  display: flex;
  flex-direction: column;
}
.centro-bridge-title {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.8rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.4rem;
}
.centro-bridge-lead {
  font-size: var(--fs-lead);
  color: rgba(246, 244, 238, 0.82);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 42rem;
}
.centro-bridge-text p:not(.section-tag):not(.centro-bridge-lead) {
  color: rgba(246, 244, 238, 0.7);
  margin-bottom: 1.8rem;
  max-width: 42rem;
}
.centro-bridge-text strong {
  color: var(--c-gold-soft);
  font-weight: 500;
}
.centro-bridge-figure {
  margin: 0;
}
.centro-bridge-figure picture {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.centro-bridge-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Variante botón dorado sutil sobre fondo oscuro */
.btn-gold {
  background: var(--c-gold-soft);
  color: var(--c-ink);
  border-color: var(--c-gold-soft);
  align-self: flex-start;
}
.btn-gold:hover {
  background: #e6c789;
  border-color: #e6c789;
  color: var(--c-ink);
  box-shadow: var(--shadow-md);
}

/* Enlace "← Volver" en la nav del centro */
.nav-back {
  color: var(--c-gold) !important;
  font-weight: 500;
}
.nav-back::after { display: none !important; }

/* STICKY BAR */
.sticky-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  background: var(--c-ink);
  color: var(--c-on-dark);
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}
.sticky-bar.is-visible { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .sticky-bar { transition: none; }
}
.sticky-bar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  flex-wrap: wrap;
}
.sticky-bar-text {
  font-size: 0.95rem;
  color: var(--c-on-dark);
  line-height: 1.4;
  flex: 1 1 20rem;
}
.sticky-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}
.sticky-bar-close {
  background: transparent;
  color: var(--c-on-dark-mut);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease);
}
.sticky-bar-close:hover { background: rgba(255, 255, 255, 0.1); }

/* PRINT CARD — ficha imprimible */
.print-card { display: none; }
@media print {
  body > *:not(main):not(.print-card) { display: none !important; }
  main > *:not(.print-card) { display: none !important; }
  main > .print-card { display: block !important; }
  .print-card {
    max-width: 100%;
    padding: 1rem 0;
    color: #000;
    background: #fff;
    font-family: "Times New Roman", serif;
  }
  .print-card h2 {
    font-size: 18pt;
    border-bottom: 2px solid #000;
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
  }
  .print-card dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.5rem;
    font-size: 11pt;
  }
  .print-card dt { font-weight: bold; color: #000; }
  .print-card dd { margin: 0; color: #222; }
  .print-card dd a { color: #000; text-decoration: none; }
}

/* Móvil específico */
@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.2rem, 1.6rem + 5vw, 4rem); }
  .letter { padding: 2rem 1.6rem 1.8rem; }
  .letter-text p { font-size: 1rem; }
  .letter-sign { font-size: 1.9rem; }
}
