/* isaacquiroga.com
   Mundo visual: una Biblia abierta (paleta oficial de Biblia Abierta).
   La portada es el pliego abierto; el resto de la página es papel quieto. */

:root {
  --paper: #F2E9D8;
  --paper-light: #F8F2E6;
  --paper-edge: #E4D6BA;
  --ink: #1E1E1E;
  --ink-soft: #4A4236;
  --ink-muted: #675D4C;
  --gold: #D4AF37;
  --gold-text: #7A5C0F;
  --white: #FFFFFF;
  --rule: rgba(30, 30, 30, 0.14);
  --field: #FBF7EE;

  --f-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --f-text: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --f-ui: "Figtree", "Segoe UI", system-ui, sans-serif;

  --measure: 36rem;
  --wide: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .26 0 0 0 0 .12 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--gold-text);
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }

::selection { background: var(--gold); color: var(--ink); }
html { scrollbar-color: #C7B48C transparent; scrollbar-width: thin; }

a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; font-family: var(--f-ui); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background-color: var(--paper); background-image: var(--grain);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.wordmark { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--f-ui); font-size: 0.95rem; font-weight: 500; }
.nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav .btn { border-bottom: 0; padding: 10px 18px; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 10px;
    background: transparent; color: var(--ink); font: 600 0.95rem var(--f-ui); cursor: pointer;
  }
  .menu-toggle svg { width: 18px; height: 18px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background-color: var(--paper); background-image: var(--grain);
    border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px;
    box-shadow: 0 18px 30px -24px rgba(60, 40, 10, 0.5);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--rule); }
  .nav .btn { margin-top: 16px; text-align: center; justify-content: center; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 14px 24px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 10px;
  font: 600 1rem/1.2 var(--f-ui); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.text-link { font: 600 1rem var(--f-ui); }

/* ---------- Portada: el pliego abierto ---------- */
.spread-wrap { padding: clamp(12px, 3vw, 36px) var(--gutter) 0; }
.spread {
  position: relative;
  max-width: 1240px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  background-color: var(--paper-light); background-image: var(--grain);
  border-radius: 4px 4px 10px 10px;
  box-shadow:
    0 1px 0 var(--paper-edge),
    0 3px 0 #EFE5D2,
    0 4px 0 var(--paper-edge),
    0 6px 0 #EDE2CC,
    0 7px 0 #DCCCAB,
    0 40px 60px -40px rgba(70, 48, 14, 0.55);
}
.spread::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 140px;
  transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg,
    rgba(120, 88, 34, 0) 0%,
    rgba(120, 88, 34, 0.08) 34%,
    rgba(70, 50, 18, 0.24) 49.5%,
    rgba(255, 250, 240, 0.35) 50.5%,
    rgba(120, 88, 34, 0.08) 66%,
    rgba(120, 88, 34, 0) 100%);
}
.page { position: relative; padding: clamp(28px, 4.5vw, 64px) clamp(24px, 5vw, 80px) clamp(36px, 5vw, 72px); }
.page-left { background: linear-gradient(90deg, rgba(120, 88, 34, 0.07), rgba(120, 88, 34, 0) 9%); display: flex; flex-direction: column; }
.page-right { background: linear-gradient(270deg, rgba(120, 88, 34, 0.07), rgba(120, 88, 34, 0) 9%); display: flex; flex-direction: column; }
.running-head {
  font-family: var(--f-text); font-style: italic; font-size: 0.95rem; color: var(--ink-muted);
  padding-bottom: 10px; margin-bottom: clamp(28px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
}
.page-right .running-head { text-align: right; }

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 8.2vw, 6rem);
  line-height: 0.95; letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--ink-soft); max-width: 31rem; }
.lede strong { color: var(--ink); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }

.verse { margin: auto 0 0; padding-top: 48px; font-size: 1.02rem; line-height: 1.6; color: var(--ink-soft); max-width: 30rem; }
.verse p::first-letter { font-family: var(--f-display); font-size: 3.1em; float: left; line-height: 0.85; padding: 0.06em 0.08em 0 0; color: var(--gold-text); }
.verse cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--f-ui); font-size: 0.85rem; font-weight: 600; color: var(--ink-muted); }

.page-right .frame { margin: auto; width: min(100%, 460px); }
.page-right .frame img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .page-right .frame img { animation: open-page 1.1s var(--ease-out) 0.2s backwards; }
}
@keyframes open-page {
  from { clip-path: inset(0 100% 0 0 round 18px); filter: blur(6px); }
  to { clip-path: inset(0 0 0 0 round 18px); filter: blur(0); }
}

@media (max-width: 820px) {
  .spread { grid-template-columns: 1fr; }
  .spread::before { display: none; }
  .page-right { background: linear-gradient(180deg, rgba(70, 50, 18, 0.12), rgba(120, 88, 34, 0) 28px); padding-top: 32px; }
  .page-right .running-head { display: none; }
  .verse { padding-top: 40px; }
}

/* ---------- Marcos de foto (como en la edición de Biblia Abierta) ---------- */
.frame { margin: 0; }
.frame img {
  border: 4px solid var(--white); border-radius: 18px;
  box-shadow: 0 14px 28px -16px rgba(60, 40, 10, 0.55), 0 2px 6px -2px rgba(60, 40, 10, 0.2);
  background: var(--paper-edge);
}
.frame figcaption { margin-top: 12px; font-style: italic; font-size: 0.92rem; line-height: 1.5; color: var(--ink-muted); }
.page-right .frame figcaption { text-align: center; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(80px, 11vw, 150px) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2, .h2 {
  font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.04; letter-spacing: -0.02em;
}
.section-head p { margin-top: 18px; font-size: 1.2rem; color: var(--ink-soft); max-width: var(--measure); }
.h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; }

/* ---------- Mi historia ---------- */
.story { list-style: none; margin: 0; padding: 0; position: relative; }
.story::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 40px; width: 1px; background: linear-gradient(var(--gold), rgba(212, 175, 55, 0.25)); }
.beat {
  position: relative; display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr);
  column-gap: clamp(32px, 6vw, 96px);
  padding-left: 48px; padding-bottom: clamp(56px, 7vw, 96px);
}
.beat::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
}
.beat .h3 { margin-bottom: 16px; }
.beat-text { color: var(--ink-soft); }
.beat-text strong { color: var(--ink); }
.beat-media { display: grid; gap: 20px; align-content: start; padding-top: 6px; }
.beat-media.pair { grid-template-columns: 1fr 1fr; align-items: start; }
.beat-media.pair .frame:nth-child(2) { margin-top: 48px; }
.beat-media .frame { max-width: 360px; }
.beat-media.pair .frame { max-width: none; }
.beat-media .frame img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.beat-media .frame.landscape img { aspect-ratio: 4 / 3; }
.beat-media .frame.landscape { max-width: 460px; }

.beat:last-child { padding-bottom: 0; }

/* Frases destacadas: dan ritmo en computadora a los momentos sin foto */
.beat-quote { margin: 0; align-self: center; max-width: 25rem; }
.beat-quote::before { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.beat-quote p { font-family: var(--f-display); font-size: clamp(1.7rem, 2.7vw, 2.3rem); line-height: 1.16; letter-spacing: -0.015em; color: var(--ink); }

/* El llamado: una hoja suelta dentro de la historia */
.beat.leaf::before { background: var(--gold); }
.leaf-page {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 20px clamp(32px, 5vw, 80px);
  background-color: var(--paper-light); background-image: var(--grain);
  border-radius: 6px; padding: clamp(32px, 5vw, 72px);
  box-shadow: 0 1px 0 var(--paper-edge), 0 3px 0 #EDE2CC, 0 4px 0 var(--paper-edge), 0 34px 54px -38px rgba(70, 48, 14, 0.55);
}
.leaf-page .h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; }
.leaf-page .beat-text { font-size: 1.2rem; color: var(--ink-soft); max-width: 38rem; }
.leaf-page .beat-text p:first-child::first-letter { font-family: var(--f-display); font-size: 3.4em; float: left; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--gold-text); }
.leaf-page .turn { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--ink); margin-top: 1.1em; }

@media (max-width: 820px) {
  .beat { grid-template-columns: 1fr; padding-left: 36px; row-gap: 28px; }
  .story::before { left: 6px; }
  .beat::before { width: 13px; height: 13px; }
  .beat-media .frame { max-width: 320px; }
  .beat-quote { display: none; }
  .leaf-page { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* Invitación a media página */
.cta-band { margin-top: clamp(80px, 11vw, 150px); background: #1E1E1E; color: #F2E9D8; padding-block: clamp(56px, 8vw, 104px); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.cta-band h2 { font-family: var(--f-display); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; }
.cta-band p { color: #D9CFBD; max-width: 30rem; }
.cta-band .btn { margin-top: 28px; background: var(--gold); color: #1E1E1E; }
.cta-band .btn:hover { background: #F2E9D8; }
.cta-band ::selection { background: var(--gold); color: #1E1E1E; }
@media (max-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Biblia Abierta ---------- */
.open-bible { margin-top: clamp(80px, 11vw, 150px); border-block: 1px solid var(--rule); padding-block: clamp(56px, 8vw, 104px); }
.open-bible .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.open-bible blockquote { margin: 0 0 32px; font-family: var(--f-display); font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; }
.ba-video .video-title { margin-top: 14px; font-family: var(--f-ui); font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); }
.ba-video .video-title b { color: var(--ink); font-weight: 600; }
.open-bible .body { color: var(--ink-soft); }
.open-bible .body h2 { font-family: var(--f-ui); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.open-bible .body a { display: inline-block; margin-top: 18px; font: 600 1rem var(--f-ui); color: var(--ink); }
@media (max-width: 820px) { .open-bible .wrap { grid-template-columns: 1fr; } }

/* ---------- Fundamento ---------- */
.ledger { margin: 0; border-top: 1px solid var(--rule); }
.ledger-row { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 12px clamp(24px, 5vw, 72px); padding-block: 28px; border-bottom: 1px solid var(--rule); }
.ledger dt { font-family: var(--f-ui); font-weight: 600; font-size: 1rem; padding-top: 4px; }
.ledger dd { margin: 0; max-width: 44rem; color: var(--ink-soft); }
.ledger dd strong { color: var(--ink); font-weight: 700; }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ledger .when { display: block; font-family: var(--f-ui); font-size: 0.9rem; color: var(--ink-muted); margin-top: 2px; }
@media (max-width: 700px) { .ledger-row { grid-template-columns: 1fr; } }

.field-photos { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px, 3vw, 36px); margin-top: clamp(48px, 6vw, 80px); align-items: end; }
.field-photos .frame:first-child img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.field-photos .frame:last-child img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (max-width: 700px) { .field-photos { grid-template-columns: 1fr; } .field-photos .frame { max-width: 420px; } }

.leaders { margin-top: clamp(64px, 8vw, 110px); }
.leaders-intro { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 20px clamp(32px, 5vw, 80px); margin-bottom: clamp(36px, 5vw, 56px); }
.leaders-intro .h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; }
.leaders-intro p { color: var(--ink-soft); max-width: 40rem; }
.leaders-verse { margin: 24px 0 0; }
.leaders-verse p { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--ink); }
.leaders-verse cite { display: block; margin-top: 6px; font: normal 600 0.85rem var(--f-ui); color: var(--ink-muted); }

/* Entrevistas: el reproductor oficial de Instagram dentro del marco de la casa */
.interviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.interviews figure { margin: 0; min-width: 0; }
.interviews figcaption { margin-top: 12px; font-style: italic; font-size: 0.92rem; line-height: 1.5; color: var(--ink-muted); }
.interviews .instagram-media {
  min-width: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0 !important;
  border: 4px solid var(--white) !important; border-radius: 18px !important; overflow: hidden;
  box-shadow: 0 14px 28px -16px rgba(60, 40, 10, 0.55) !important; background: var(--white);
}
.interviews blockquote.instagram-media { min-height: 520px; display: grid; place-items: center; padding: 24px; font: 600 0.95rem var(--f-ui); }
.interviews-more { margin-top: 28px; font-family: var(--f-ui); font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 820px) {
  .leaders-intro { grid-template-columns: 1fr; }
  .interviews {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .interviews figure { scroll-snap-align: start; }
}

/* ---------- Cómo sirvo ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.offer .h3 { margin-bottom: 16px; }
.offer p { color: var(--ink-soft); }
.offer .proof { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); font-family: var(--f-ui); font-size: 0.98rem; line-height: 1.6; color: var(--ink-soft); }
.offer .proof b { color: var(--ink); font-weight: 600; }
.offer .frame { margin-top: 32px; }
.offer .frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.also { margin-top: clamp(40px, 5vw, 64px); max-width: 44rem; color: var(--ink-soft); }
@media (max-width: 820px) { .offers { grid-template-columns: 1fr; } }

.letter {
  margin-top: clamp(64px, 8vw, 110px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px);
  background-color: var(--paper-light); background-image: var(--grain);
  border-radius: 6px; padding: clamp(32px, 5vw, 72px);
  box-shadow: 0 1px 0 var(--paper-edge), 0 3px 0 #EDE2CC, 0 30px 50px -36px rgba(70, 48, 14, 0.5);
}
.letter .h2 { font-size: clamp(2rem, 4vw, 3rem); }
.letter-body { color: var(--ink-soft); }
.letter-body p:first-child { font-size: 1.25rem; color: var(--ink); }
.where { margin-top: 28px; font-family: var(--f-ui); font-size: 0.98rem; line-height: 1.6; color: var(--ink-soft); }
.letter .actions { margin-top: 28px; }
@media (max-width: 820px) { .letter { grid-template-columns: 1fr; } }

/* ---------- Recursos ---------- */
.senda {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule);
}
.senda-title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.senda-title svg { width: 64px; height: 64px; flex: none; border-radius: 16px; box-shadow: 0 10px 20px -12px rgba(15, 27, 51, 0.7); }
.senda-title .h3 { font-family: var(--f-ui); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; }
.senda p { color: var(--ink-soft); }
.senda .btn { margin-top: 28px; background: #0F1B33; color: #EEF1F6; }
.senda .btn:hover { background: #F2B544; color: #0F1B33; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 22px; align-content: start; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; color: var(--ink-soft); }
.steps li::before {
  content: counter(step); width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: #0F1B33; color: #F2B544;
  font: 700 1rem var(--f-ui);
}
.steps b { display: block; color: var(--ink); font-family: var(--f-ui); font-weight: 600; margin-bottom: 2px; }
.steps-title { font-family: var(--f-ui); font-weight: 600; font-size: 1rem; margin-bottom: 18px; }

.resource-list { list-style: none; margin: 0; padding: 0; }
.resource { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 48px; align-items: start; padding-block: 36px; border-bottom: 1px solid var(--rule); }
.resource .h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.resource p { color: var(--ink-soft); max-width: 44rem; }
.resource .go { font: 600 1rem var(--f-ui); white-space: nowrap; padding-top: 6px; }
.resource .meta { display: block; margin-top: 6px; font-family: var(--f-ui); font-size: 0.9rem; color: var(--ink-muted); }
@media (max-width: 820px) { .senda { grid-template-columns: 1fr; } .resource { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-intro p { color: var(--ink-soft); }
.contact-intro p:first-of-type { margin-top: 18px; font-size: 1.2rem; }
.promise { margin-top: 28px; font-family: var(--f-ui); font-size: 0.98rem; line-height: 1.6; color: var(--ink-soft); }
.form-card {
  background-color: var(--paper-light); background-image: var(--grain);
  border-radius: 6px; padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 1px 0 var(--paper-edge), 0 3px 0 #EDE2CC, 0 30px 50px -36px rgba(70, 48, 14, 0.5);
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; font-family: var(--f-ui); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.95rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--f-ui); color: var(--ink);
  background: var(--field); border: 1px solid rgba(30, 30, 30, 0.28); border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #6E6453; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.55); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #9A2B1F; }
.error-msg { font-size: 0.88rem; color: #8E2418; min-height: 0; }
.error-msg:empty { display: none; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 6px; }
.form-foot small { font-size: 0.88rem; color: var(--ink-muted); max-width: 22rem; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; font-size: 0.98rem; color: #8E2418; }
.form-status:empty { display: none; }
.sent { text-align: left; }
.sent .h3 { margin-bottom: 12px; }
.sent p { color: var(--ink-soft); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { margin-top: clamp(96px, 12vw, 160px); border-top: 1px solid var(--rule); padding-block: 40px 48px; font-family: var(--f-ui); font-size: 0.95rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.site-footer .wordmark { font-size: 1.35rem; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.site-footer p + p { margin-top: 6px; }

/* ---------- Videos (carga ligera) ---------- */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 4px solid var(--white); border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.6);
  text-decoration: none; cursor: pointer; padding: 0;
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out), filter 0.3s; }
.video:hover img { transform: scale(1.025); filter: brightness(0.9); }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video .play svg { width: 68px; height: 68px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45)); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Fitness (la misma tipografía, de noche) ---------- */
body.fitness { --paper: #1E1E1E; --paper-light: #262421; --ink: #F2E9D8; --ink-soft: #D9CFBD; --ink-muted: #ADA28D; --rule: rgba(242, 233, 216, 0.16); --gold-text: #D4AF37; background-color: #1E1E1E; background-image: none; color: var(--ink); }
body.fitness .site-header { background-color: #1E1E1E; background-image: none; }
body.fitness .nav { background-image: none; }
body.fitness .btn { background: var(--gold); color: #1E1E1E; }
body.fitness .btn:hover { background: #F2E9D8; color: #1E1E1E; }
body.fitness .menu-toggle { color: var(--ink); }
body.fitness .frame img, body.fitness .video { border-color: #F2E9D8; }
body.fitness ::selection { background: var(--gold); color: #1E1E1E; }
@media (max-width: 900px) { body.fitness .nav { background-color: #1E1E1E; } }

.fit-hero { padding-block: clamp(56px, 9vw, 120px) 0; }
.fit-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.fit-hero h1 { font-family: var(--f-display); font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.98; letter-spacing: -0.025em; }
.fit-hero .lede { color: var(--ink-soft); max-width: 34rem; margin-top: 28px; }
.fit-facts { font-family: var(--f-ui); font-size: 1rem; line-height: 1.6; color: var(--ink-soft); border-left: 1px solid var(--rule); padding-left: 28px; }
.fit-facts p + p { margin-top: 14px; }
.fit-facts b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; line-height: 1.05; color: var(--ink); }
@media (max-width: 820px) { .fit-hero .wrap { grid-template-columns: 1fr; } .fit-facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; } }

.pillars { list-style: none; margin: 0; padding: 0; }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); align-items: start; }
.pillar .h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.pillar p { color: var(--ink-soft); max-width: 30rem; }
.pillar .videos { display: grid; gap: 18px; }
.pillar .videos.two { grid-template-columns: 1fr 1fr; }
.video-title { margin-top: 10px; font-family: var(--f-ui); font-size: 0.92rem; line-height: 1.45; color: var(--ink-muted); }
@media (max-width: 820px) { .pillar { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pillar .videos.two { grid-template-columns: 1fr; } }

.growth { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); align-items: end; }
.growth .frame img { width: 100%; object-fit: cover; }
.growth .frame:nth-child(1) img { aspect-ratio: 9 / 16; object-position: top; }
.growth .frame:nth-child(2) img, .growth .frame:nth-child(3) img { aspect-ratio: 4 / 3; }
.growth { max-width: 860px; }
.growth-today { margin-top: clamp(40px, 5vw, 64px); max-width: 1000px; }
.growth-today img { width: 100%; }
.growth-today figcaption { font-size: 1.05rem; }
@media (max-width: 700px) { .growth { grid-template-columns: 1fr 1fr; } .growth .frame:nth-child(1) { grid-row: span 2; } }

.next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.next p { color: var(--ink-soft); }
.next .next-text { margin-top: 18px; }
.next .actions { margin-top: 28px; }
@media (max-width: 820px) { .next { grid-template-columns: 1fr; } }

.fit-verse { margin: clamp(80px, 10vw, 140px) auto 0; max-width: 46rem; text-align: center; padding-inline: var(--gutter); }
.fit-verse p { font-family: var(--f-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.2; }
.fit-verse cite { display: block; margin-top: 16px; font: normal 600 0.95rem var(--f-ui); color: var(--ink-muted); }

.crosslink { margin-top: clamp(80px, 10vw, 140px); border-block: 1px solid var(--rule); padding-block: 40px; }
.crosslink .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.crosslink p { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; }

/* ---------- Página de gracias ---------- */
.simple { min-height: 60vh; display: grid; align-content: center; padding-block: 96px; }
.simple h1 { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; margin-bottom: 20px; }
.simple p { color: var(--ink-soft); max-width: var(--measure); }
.simple .actions { margin-top: 32px; }
