/* ---------- Fuentes (alojadas en el sitio): Cardo, Montserrat, Inter ---------- */
@font-face { font-family: "Cardo"; src: url("../fonts/cardo-400-italic-ext.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cardo"; src: url("../fonts/cardo-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cardo"; src: url("../fonts/cardo-400-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cardo"; src: url("../fonts/cardo-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cardo"; src: url("../fonts/cardo-700-ext.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cardo"; src: url("../fonts/cardo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400-600-ext.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400-600.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-500-700-ext.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-500-700.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Lineage & Heritage — Home v3
   Base: la estética de la home actual de lineageandheritage.com (fondo blanco con dibujos heráldicos suaves,
   escudo bordó con cerradura, títulos Cardo con segunda línea dorada en cursiva, botones bordó en mayúsculas).
   Cambios: todos los productos, fotos grandes de libros físicos (espacios marcados), textos más simples y letra más grande. */

:root {
  --burgundy: #7B1E2B;        /* color de la marca (logo, botones) */
  --burgundy-deep: #5E1622;   /* pie y hover */
  --gold: #C9A84C;            /* adornos, etiquetas, botón sobre bordó */
  --gold-display: #A8842E;    /* cursiva dorada de los títulos (solo en tamaño grande) */
  --gold-ink: #7A5F1B;        /* dorado para texto chico sobre blanco */
  --ink: #161413;
  --ink-soft: #4D4845;
  --cream: #FBF7EE;
  --cream-2: #F6EFE0;
  --line: #ECE3D1;
  --white: #FFFFFF;
  --focus: #7B1E2B;

  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ui: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 20px;
  --band: 76px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' fill='none' stroke='%23C9A84C' stroke-opacity='.2' stroke-width='1.2'%3E%3Cpath d='M26 30h28v14c0 11-6 17-14 20-8-3-14-9-14-20z'/%3E%3Cpath d='M30 46l10-8 10 8'/%3E%3Ccircle cx='190' cy='52' r='5.5'/%3E%3Cpath d='M194 56l15 15m-5-5 4-4m-1 9 4-4'/%3E%3Cpath d='M70 206v24m-9-15h18'/%3E%3Cpath d='M128 150l3.2 9.3 9.3 3.2-9.3 3.2-3.2 9.3-3.2-9.3-9.3-3.2 9.3-3.2z' fill='%23C9A84C' fill-opacity='.16' stroke='none'/%3E%3Cpath d='M238 214l2.2 6 6 2.2-6 2.2-2.2 6-2.2-6-6-2.2 6-2.2z' fill='%23C9A84C' fill-opacity='.16' stroke='none'/%3E%3Ccircle cx='226' cy='128' r='1.8' fill='%23C9A84C' fill-opacity='.4' stroke='none'/%3E%3Ccircle cx='96' cy='96' r='1.5' fill='%23C9A84C' fill-opacity='.4' stroke='none'/%3E%3Ccircle cx='30' cy='140' r='1.5' fill='%23C9A84C' fill-opacity='.4' stroke='none'/%3E%3C/svg%3E");
}
@media (min-width: 900px) { :root { --gutter: 32px; --band: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 1.1875rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
@media (min-width: 900px) { body { font-size: 1.25rem; } }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--burgundy); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; padding: 12px 18px; background: var(--burgundy); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(780px + var(--gutter) * 2); }
.center { text-align: center; }
.pattern { background-image: var(--pattern); background-size: 340px 340px; }

/* ---------- Tipografía ---------- */
.kicker { font-family: var(--ui); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.display { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(2.125rem, 1.25rem + 4.4vw, 4.4rem); line-height: 1.06; letter-spacing: -0.005em; text-wrap: balance; }
.display em { display: block; font-style: italic; font-weight: 400; color: var(--gold-display); }
.display--md { font-size: clamp(2.05rem, 1.35rem + 2.7vw, 3.3rem); line-height: 1.1; }
.display--light { color: var(--white); }
.display--light em { color: #E6CB7E; }
.lede { margin-top: 18px; max-width: 30em; color: var(--ink-soft); font-size: 1.25rem; line-height: 1.55; }
@media (min-width: 900px) { .lede { font-size: 1.375rem; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 62px; padding: 14px 30px; border: 2px solid var(--burgundy); border-radius: 0;
  background: var(--burgundy); color: var(--white);
  font-family: var(--ui); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.25;
  text-decoration: none; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(123, 30, 43, 0.6);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }
.btn--block { display: flex; width: 100%; }
.btn--line { background: var(--white); color: var(--burgundy); box-shadow: none; }
.btn--line:hover { background: var(--burgundy); color: var(--white); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #24180A; box-shadow: none; }
.btn--gold:hover { background: #D8BC67; border-color: #D8BC67; }

/* ---------- Logo (el de la home actual) ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--burgundy); }
.logo__mark { width: 30px; height: 35px; flex: none; }
.mk-shield { fill: var(--mk-shield, #7B1E2B); }
.mk-hole { fill: var(--mk-hole, #FFFFFF); }
.logo__word { font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.15em; text-transform: uppercase; white-space: nowrap; }
.logo__word em { font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--gold-display); font-size: 1.15em; margin: 0 0.1em; }
.logo--light { color: #F4EADB; --mk-shield: #C9A84C; --mk-hole: #5E1622; }
.logo--light .logo__word em { color: #E6CB7E; }

/* ---------- Cabecera ---------- */
/* Fija arriba al bajar (el título de cada sección no queda tapado: scroll-padding-top en html) */
.top { position: -webkit-sticky; position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 10px 22px -20px rgba(60, 30, 20, 0.45); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.top__nav { display: none; gap: 30px; }
.top__nav a, .top__help { font-family: var(--ui); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; padding: 10px 0; }
.top__nav a:hover, .top__help:hover { color: var(--burgundy); }
@media (min-width: 960px) { .top__nav { display: flex; } .top__help { display: none; } .logo__word { font-size: 1.1875rem; } .logo__mark { width: 32px; height: 37px; } }
/* Celular: que entren el logo y "Contact us" en la misma línea */
@media (max-width: 959px) { .top__in { gap: 12px; min-height: 64px; } .top .logo { gap: 10px; } .top .logo__mark { width: 26px; height: 30px; } .top .logo__word { font-size: 0.875rem; letter-spacing: 0.11em; } .top__help { white-space: nowrap; font-size: 0.8125rem; } }
@media (max-width: 374px) { .top .logo__word { font-size: 0.8125rem; letter-spacing: 0.08em; } .top__help { letter-spacing: 0.04em; } }

/* ---------- Portada ---------- */
.hero { padding-block: 36px 56px; }
.hero__in { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero { padding-block: 84px 104px; } .hero__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 64px; } }

/* ---------- Formulario del apellido ---------- */
.nameform { margin-top: 30px; max-width: 600px; }
.nameform__label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.nameform__row { display: grid; gap: 12px; }
@media (min-width: 600px) { .nameform__row { grid-template-columns: minmax(0, 1fr) auto; gap: 0; } .nameform__row .btn { box-shadow: none; } }
.nameform__input { width: 100%; min-height: 62px; padding: 0 18px; border: 2px solid #D6C7A6; border-radius: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 1.25rem; -webkit-appearance: none; appearance: none; }
.nameform__input::placeholder { color: #8A817A; opacity: 1; }
.nameform__input:focus { border-color: var(--burgundy); outline: none; box-shadow: 0 0 0 3px rgba(123, 30, 43, 0.18); }
.nameform__input[aria-invalid="true"] { border-color: #B3261E; }
.nameform__error { margin-top: 10px; font-weight: 600; color: #B3261E; }
.nameform__note { margin-top: 12px; font-size: 1rem; color: var(--ink-soft); }
.nameform--light { margin-inline: auto; text-align: left; }
.nameform--light .nameform__label { color: var(--white); }
.nameform--light .nameform__input { border-color: var(--white); }
.nameform--light .nameform__error { color: #FFD9A0; }

/* ---------- Espacios para fotos (marcados para el equipo) ---------- */
.ph {
  position: relative; width: 100%; aspect-ratio: var(--ar, 4 / 3);
  background: repeating-linear-gradient(135deg, #F8F2E5 0 14px, #F3EBDA 14px 28px);
  border: 2px dashed rgba(168, 132, 46, 0.7);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ph__in { display: grid; justify-items: center; gap: 8px; max-width: 30em; padding: 20px; text-align: center; }
.ph__tag { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-family: var(--ui); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); }
.ph__tag::before { content: ""; width: 18px; height: 14px; flex: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18' fill='none' stroke='%237B1E2B' stroke-width='1.8'%3E%3Cpath d='M2 4.5h5l2-3h6l2 3h5v12H2z'/%3E%3Ccircle cx='12' cy='10' r='3.6'/%3E%3C/svg%3E"); }
.ph__what { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }
.ph__spec { font-family: var(--ui); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gold-ink); }
.ph--hero { box-shadow: 0 30px 60px -36px rgba(60, 30, 20, 0.55); }
/* Con foto: <img> (o <picture>) adentro del mismo .ph, ocupa todo; se van el borde punteado y las rayas */
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.ph--foto { border: 0; background: #EFE6D3; }
.ph--foto > picture { position: absolute; inset: 0; }
.ph--foto > picture > img { width: 100%; height: 100%; object-fit: cover; }

/* Las tres fotos de cada libro (recortadas, fondo transparente) sobre el crema de la tarjeta */
.book__fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 4px 10px; padding: 22px 16px 16px;
  background: radial-gradient(120% 90% at 50% 35%, #FFFFFF 0%, #F6EFE0 78%); border-bottom: 1px solid var(--line); }
.book__foto { margin: 0; }
.book__foto img { width: 100%; height: auto; filter: drop-shadow(0 16px 18px rgba(60, 30, 20, 0.26)); }
.book__foto--main { grid-column: 1 / -1; }

/* ---------- Franja de tranquilidad ---------- */
.assure { border-block: 1px solid var(--line); background: var(--white); }
.assure__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; padding-block: 26px; }
@media (min-width: 900px) { .assure__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 30px; } }
.assure li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.4; color: var(--ink-soft); }
.assure strong { color: var(--ink); font-weight: 600; }
.assure svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--burgundy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Secciones ---------- */
.band { padding-block: var(--band); }
.band--cream { background-color: var(--cream); }
.head { text-align: center; margin-bottom: 44px; }
.head__intro { margin: 16px auto 0; max-width: 34em; color: var(--ink-soft); }
@media (min-width: 900px) { .head { margin-bottom: 60px; } }

/* Cómo funciona: secuencia real, va numerada */
.steps { display: grid; gap: 44px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; } }
.step { display: grid; justify-items: center; text-align: center; }
.step .ph { margin-bottom: 24px; }
.step__n { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 50%; background: var(--burgundy); color: var(--white); font-family: var(--serif); font-weight: 700; font-size: 1.375rem; box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.35); }
.step__t { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; line-height: 1.2; margin-bottom: 8px; color: var(--ink); }
.step p { color: var(--ink-soft); max-width: 22em; }

/* Los libros */
.book { display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 50px -40px rgba(60, 30, 20, 0.45); margin-bottom: 36px; }
.book__ph { border-width: 0 0 2px; }
.book__body { padding: 28px 22px 32px; }
@media (min-width: 900px) {
  .book { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; margin-bottom: 48px; }
  .book__ph { aspect-ratio: auto; min-height: 100%; border-width: 0 2px 0 0; }
  .book--flip .book__ph { order: 2; border-width: 0 0 0 2px; }
  .book__fotos { padding: 36px 30px; border-bottom: 0; border-right: 1px solid var(--line); }
  .book--flip .book__fotos { order: 2; border-right: 0; border-left: 1px solid var(--line); }
  .book__body { padding: 48px 52px; align-self: center; }
}
.book__badge { display: inline-block; margin-bottom: 16px; padding: 6px 12px; background: var(--gold); color: #24180A; font-family: var(--ui); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.book__title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 1.45rem + 1.7vw, 2.75rem); line-height: 1.1; color: var(--burgundy); }
.book__line { margin-top: 12px; color: var(--ink-soft); }
.book__price { margin: 22px 0 18px; color: var(--ink-soft); }
.book__price strong { font-family: var(--serif); font-size: 1.875rem; color: var(--burgundy); }
.book__small { margin-top: 12px; text-align: center; font-size: 1rem; color: var(--ink-soft); }
.book .btn { margin-top: 6px; }

.tiers { margin: 24px 0 22px; border-top: 1px solid var(--line); }
.tiers li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.tiers__pick { background: #FBF4E4; }
.tiers__name { font-family: var(--ui); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); align-self: center; }
.tiers__name small { display: inline-block; margin-left: 8px; padding: 3px 8px; background: var(--burgundy); color: var(--white); font-size: 0.6875rem; letter-spacing: 0.1em; vertical-align: 2px; }
.tiers__price { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--burgundy); align-self: center; white-space: nowrap; }
.tiers__what { grid-column: 1 / -1; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-soft); }

.checks { margin: 22px 0 4px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.12em; width: 24px; height: 24px; border-radius: 50%; background: var(--burgundy) no-repeat center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.8 5.2 9.3 12.5 1.7'/%3E%3C/svg%3E"); }

.books__note { margin: 8px auto 0; max-width: 40em; text-align: center; color: var(--ink-soft); }
.books__note a { font-weight: 600; }

/* Por dentro */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bento__big { grid-column: 1 / -1; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .bento__big { aspect-ratio: 16 / 9; } }

/* La gente con los libros */
.people { display: grid; gap: 32px; }
@media (min-width: 900px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.person figcaption { margin-top: 14px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink); }
.reviews-slot { margin-top: 56px; display: grid; justify-items: center; gap: 8px; padding: 34px 22px; text-align: center; border: 2px dashed rgba(168, 132, 46, 0.7); background: var(--white); }

/* Los escudos */
.band.pattern .wrap--text p:not(.kicker) { margin-top: 18px; color: var(--ink-soft); }
.band.pattern .display { margin-bottom: 6px; }

/* Preguntas */
.faq { border-top: 1px solid #E2D6BE; }
.faq details { border-bottom: 1px solid #E2D6BE; }
.faq summary { position: relative; display: block; padding: 22px 52px 22px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 700; font-size: 1.375rem; line-height: 1.3; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: linear-gradient(var(--burgundy), var(--burgundy)) center / 20px 2.5px no-repeat, linear-gradient(var(--burgundy), var(--burgundy)) center / 2.5px 20px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--burgundy), var(--burgundy)) center / 20px 2.5px no-repeat; }
.faq summary:hover { color: var(--burgundy); }
.faq details p { margin: -6px 0 22px; color: var(--ink-soft); max-width: 38em; }
.faq a { font-weight: 600; }

/* Cierre */
.closing { --focus: #E6CB7E; padding-block: var(--band); background-color: var(--burgundy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' fill='none' stroke='%23E6CB7E' stroke-opacity='.16' stroke-width='1.3'%3E%3Cpath d='M26 30h28v14c0 11-6 17-14 20-8-3-14-9-14-20z'/%3E%3Cpath d='M30 46l10-8 10 8'/%3E%3Ccircle cx='190' cy='52' r='5.5'/%3E%3Cpath d='M194 56l15 15m-5-5 4-4m-1 9 4-4'/%3E%3Cpath d='M70 206v24m-9-15h18'/%3E%3Cpath d='M128 150l3.2 9.3 9.3 3.2-9.3 3.2-3.2 9.3-3.2-9.3-9.3-3.2 9.3-3.2z' fill='%23E6CB7E' fill-opacity='.14' stroke='none'/%3E%3C/svg%3E"); background-size: 280px 280px; color: var(--white); }
.closing__sub { margin: 14px 0 30px; color: #F1E2D2; }

/* Pie en columnas */
.foot { --focus: #E6CB7E; background: var(--burgundy-deep); color: #EADBC8; padding-block: 60px 36px; font-size: 1.0625rem; border-top: 3px solid var(--gold); }
.foot a { color: #F4EADB; }
.foot a:hover { color: var(--white); }
.foot__grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 40px; } }
.foot__tag { margin-top: 16px; max-width: 22em; color: #E2CFBB; font-size: 1rem; }
.foot__h { font-family: var(--ui); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #E6CB7E; margin-bottom: 12px; }
.foot__col li a { display: inline-block; padding: 7px 0; }
.foot__col p + p { margin-top: 6px; }
.foot__mail { font-weight: 600; word-break: break-word; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(234, 219, 200, 0.2); }
.foot__secure { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; color: #F4EADB; }
.foot__secure svg { width: 20px; height: 20px; fill: none; stroke: #E6CB7E; stroke-width: 1.7; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot__legal a { display: inline-block; padding: 8px 0; font-size: 1rem; color: #E2CFBB; }

/* Dato real debajo del campo */
.nameform__fact { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--gold); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); }
.nameform__fact strong { color: var(--ink); }
.book__editions { margin: 22px 0 16px; font-size: 1.0625rem; color: var(--ink-soft); }

/* El equipo */
.team { display: grid; gap: 40px; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.role .ph { margin-bottom: 20px; }
.role__t { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; line-height: 1.2; color: var(--burgundy); margin-bottom: 8px; }
.role p { color: var(--ink-soft); }
/* El archivo: franja bordó con el número grande (que se vea que la base es enorme) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sources { --focus: #E6CB7E; margin-top: 64px; padding: 46px 22px 40px; text-align: center; color: #F4EADB; background-color: var(--burgundy-deep); border-top: 3px solid var(--gold); box-shadow: 0 30px 60px -40px rgba(60, 30, 20, 0.6); }
.pattern-gold { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' fill='none' stroke='%23E6CB7E' stroke-opacity='.13' stroke-width='1.3'%3E%3Cpath d='M26 30h28v14c0 11-6 17-14 20-8-3-14-9-14-20z'/%3E%3Cpath d='M30 46l10-8 10 8'/%3E%3Ccircle cx='190' cy='52' r='5.5'/%3E%3Cpath d='M194 56l15 15m-5-5 4-4m-1 9 4-4'/%3E%3Cpath d='M70 206v24m-9-15h18'/%3E%3Cpath d='M128 150l3.2 9.3 9.3 3.2-9.3 3.2-3.2 9.3-3.2-9.3-9.3-3.2 9.3-3.2z' fill='%23E6CB7E' fill-opacity='.12' stroke='none'/%3E%3C/svg%3E"); background-size: 280px 280px; }
@media (min-width: 900px) { .sources { margin-top: 80px; padding: 72px 56px 60px; } }
.sources .kicker { color: #E6CB7E; }
.sources__num { margin-top: 4px; font-family: var(--serif); font-weight: 700; font-size: clamp(3.25rem, 1.5rem + 7.6vw, 7rem); line-height: 1; letter-spacing: -0.01em; color: #E6CB7E; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.sources__plus { color: var(--gold); margin-left: 0.04em; }
.sources__t { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.375rem); line-height: 1.2; color: var(--white); text-wrap: balance; }
.sources__lede { margin: 18px auto 0; max-width: 32em; color: #EADBC8; }
.sources__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 36px; background: rgba(230, 203, 126, 0.28); border: 1px solid rgba(230, 203, 126, 0.28); text-align: left; }
@media (min-width: 900px) { .sources__list { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 52px; } }
.sources__list li { display: grid; align-content: start; gap: 8px; padding: 20px 18px; background: var(--burgundy-deep); }
.sources__list b { font-family: var(--ui); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #E6CB7E; }
.sources__list span { font-size: 1.0625rem; line-height: 1.45; color: #F4EADB; }

/* Barra fija del celular */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(60, 30, 20, 0.5); }
.sticky[hidden] { display: none; }
@media (min-width: 900px) { .sticky { display: none; } }

/* ======================================================================
   CELULAR (hasta 899 px): la versión principal, porque casi todos llegan
   desde Facebook/Instagram en el teléfono. Más corta y más directa.
   ====================================================================== */
.swipe-hint { display: none; }
@media (max-width: 899px) {
  :root { --band: 60px; }
  .head { margin-bottom: 30px; }
  .display--md { font-size: clamp(1.95rem, 1.3rem + 2.6vw, 2.4rem); }
  .head__intro { font-size: 1.125rem; }

  /* Portada: la foto arriba, apaisada y a todo el ancho; el título y el campo entran en la primera pantalla */
  .hero { padding-block: 0 40px; }
  .hero__in { grid-template-areas: "photo" "text"; gap: 22px; }
  .hero__text { grid-area: text; }
  .ph--hero { grid-area: photo; aspect-ratio: 2 / 1; width: auto; margin-inline: calc(var(--gutter) * -1); border-width: 0 0 2px; box-shadow: none; }
  .ph--hero .ph__what { font-size: 0.875rem; }
  .kicker { margin-bottom: 10px; font-size: 0.75rem; letter-spacing: 0.08em; }
  .lede { margin-top: 10px; font-size: 1.0625rem; line-height: 1.5; }
  .nameform { margin-top: 22px; }

  /* Franja: más compacta */
  .assure__list { padding-block: 22px; gap: 18px 16px; }
  .assure li { font-size: 0.9375rem; }
  .assure svg { width: 24px; height: 24px; }

  /* Pasos: la foto a todo el ancho y el número montado sobre su borde */
  .steps { gap: 40px; }
  .step { justify-items: start; text-align: left; }
  .step .ph { width: 100%; aspect-ratio: 4 / 3; margin: 0 0 -23px; }
  .step__n { position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 0 10px 16px; font-size: 1.25rem; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px rgba(201, 168, 76, 0.45); }
  .step__t { font-size: 1.5rem; margin-bottom: 6px; }
  .step p { font-size: 1.0625rem; line-height: 1.5; max-width: none; }


  /* Libros: un poco más compactos */
  .book { margin-bottom: 26px; }
  .book__body { padding: 24px 20px 26px; }
  .book__badge { margin-bottom: 12px; }
  .book__line { font-size: 1.0625rem; }
  .checks { margin-top: 18px; gap: 10px; }
  .checks li { font-size: 1.0625rem; }
  .book__editions { margin: 18px 0 14px; font-size: 1rem; }

  /* Equipo: la foto a todo el ancho, arriba del texto */
  .team { gap: 36px; }
  .role .ph { width: 100%; aspect-ratio: 4 / 3; margin: 0 0 16px; }
  .role__t { font-size: 1.375rem; margin-bottom: 4px; }
  .role p { font-size: 1.0625rem; line-height: 1.5; }
  .sources { margin: 44px calc(var(--gutter) * -1) 0; padding: 40px var(--gutter) 34px; }
  .sources__lede { font-size: 1.0625rem; }
  .sources__list { margin-top: 28px; }
  .sources__list li { padding: 16px 14px; }
  .sources__list span { font-size: 1rem; }

  /* Por dentro: más juntas */
  .bento { gap: 10px; }

  /* Gente: se pasan con el dedo, una por vez */
  .people { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
            margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .people::-webkit-scrollbar { display: none; }
  .person { flex: 0 0 80%; scroll-snap-align: start; }
  .person figcaption { font-size: 1.3125rem; margin-top: 10px; }
  .swipe-hint { display: block; margin-top: 12px; text-align: center; font-family: var(--ui); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
  .reviews-slot { margin-top: 36px; padding: 24px 18px; }

  /* Preguntas */
  .faq summary { font-size: 1.25rem; padding-block: 18px; }

  /* Cierre y pie */
  .closing__sub { margin: 10px 0 24px; }
  .foot { padding-block: 48px 44px; }
  .foot__grid { gap: 28px; }
}
/* Teléfonos de pantalla baja (iPhone SE, navegador de Facebook): la foto más finita para que el botón entre */
@media (max-width: 899px) and (max-height: 720px) {
  .ph--hero { aspect-ratio: 3 / 1; }
}
@media (max-width: 380px) {
  .hero .display { font-size: 1.9rem; }
}
