/* =========================================================
   Mister Phanter — hoja de estilos
   Paleta de marca: negro + oro metálico (#E4BA5D / #BD8F37 / #9D7023)
   Tipografía: Archivo (variable, ancho 62–125 %, peso 100–900)
   ========================================================= */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  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: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  /* color */
  --night: #000000;
  --coal: #15120d;
  --coal-2: #1f1a12;
  --gold-hi: #f3d896;
  --gold-1: #e4ba5d;
  --gold-2: #bd8f37;
  --gold-3: #9d7023;
  --bone: #efe8da;
  --ash: #a39a8a;
  --line: rgba(189, 143, 55, 0.28);

  --gold-metal: linear-gradient(100deg,
      var(--gold-3) 0%, var(--gold-1) 24%, var(--gold-hi) 34%,
      var(--gold-2) 50%, var(--gold-1) 68%, var(--gold-3) 100%);

  /* type scale (perfect fourth, 1.333) */
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.333rem;
  --fs-lg: clamp(1.5rem, 1.2rem + 1vw, 1.777rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
  --fs-hero: clamp(2.5rem, 0.6rem + 5.4vw, 5.5rem);

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 2.5rem + 6vw, 7.5rem);
}

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

/* idioma: cada texto existe en ES y EN; solo se ve el del idioma activo */
html[lang="es"] [data-lang="en"], html[lang="en"] [data-lang="es"] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-base);
  font-stretch: 100%;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 2px; }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold-1); color: #000; padding: .6rem 1rem; text-decoration: none; font-weight: 700;
}
.skip:focus { top: 1rem; }

/* ---------- gold text ---------- */
.gold-text {
  background: var(--gold-metal);
  background-size: 220% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --h: 3.25rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h);
  padding: .55rem 1.6rem;
  border-radius: 999px;
  text-align: center;
  line-height: 1.2;
  font: inherit;
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background-position .6s ease, color .2s, border-color .2s;
}
.btn--gold {
  color: #000;
  background: var(--gold-metal);
  background-size: 220% 100%;
  background-position: 10% 0;
  box-shadow: 0 0 0 1px rgba(243, 216, 150, .25) inset;
}
.btn--gold:hover { background-position: 90% 0; }
.btn--gold:active { transform: translateY(1px); }
.btn--line { color: var(--bone); border-color: rgba(239, 232, 218, .35); background: transparent; }
.btn--line:hover { border-color: var(--gold-1); color: var(--gold-1); }
.btn--small { --h: 2.5rem; padding: 0 1.1rem; font-size: .9rem; white-space: nowrap; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; height: 4.5rem; }
.topbar .wrap { max-width: 1440px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand__logo { width: 44px; height: 44px; object-fit: contain; }
.brand__name {
  font-stretch: 125%; font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; white-space: nowrap;
  background: var(--gold-metal); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ash); transition: color .2s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold-1); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.topbar__actions { display: flex; align-items: center; gap: .9rem; }
.lang { display: inline-flex; border: 1px solid rgba(239, 232, 218, .2); border-radius: 999px; padding: 3px; }
.lang button, .menu-btn {
  font: inherit; font-size: .78rem; font-weight: 700; font-stretch: 110%; letter-spacing: .04em;
  color: var(--ash); background: none; border: 0; border-radius: 999px; padding: .3rem .6rem; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--bone); color: #000; }

/* ---------- photo frames ---------- */
.photo {
  position: relative; aspect-ratio: 4 / 5; margin: 0;
  background:
    radial-gradient(120% 80% at 70% 15%, rgba(228, 186, 93, .22), transparent 55%),
    radial-gradient(90% 70% at 20% 100%, rgba(157, 112, 35, .25), transparent 60%),
    var(--coal);
  isolation: isolate;
}
.photo::after { /* marco dorado desplazado */
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 1px solid var(--gold-2); pointer-events: none;
}
.photo img, .photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (prefers-reduced-motion: no-preference) {
  .js .photo--hero:not(.is-revealed) img { visibility: hidden; }
}
.photo canvas { opacity: 0; pointer-events: none; }
.photo canvas.is-on { opacity: 1; }
.photo canvas.is-off { opacity: 0; transition: opacity .35s ease; }
.photo__empty {
  position: absolute; inset: 0; display: none; place-content: center; text-align: center;
  color: var(--ash); font-size: .95rem; line-height: 1.5; padding: 1rem;
}
.photo__empty small { font-size: .78rem; opacity: .75; }
.photo.is-empty .photo__empty { display: grid; }
.photo.is-empty img { display: none; }

/* ---------- hero ---------- */
.hero { padding: 7.5rem 0 var(--section); position: relative; isolation: isolate; }
/* foto de cabecera de la web original (gimnasio), oscurecida detrás de la portada y de cada página */
.hero::before, .article::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .86) 58%, #000 100%), url("../img/cabecera.webp") center 35% / cover no-repeat;
}
.hero::before { inset: 0; }
.article { position: relative; isolation: isolate; }
.article::before { inset: 0 0 auto 0; height: clamp(340px, 60vh, 600px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  align-items: center; gap: 0;
}
.hero__copy { position: relative; z-index: 2; padding-right: 1rem; }
.hero__title {
  font-size: var(--fs-hero);
  font-stretch: 125%;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.hero__title .line { display: block; padding-bottom: .04em; }
@media (min-width: 821px) {
  /* una palabra por línea; la caja se ajusta a la palabra más larga para que el oro la cubra entera */
  .hero__title .line { width: min-content; }
}
.hero__lead { margin-top: 2rem; max-width: 34ch; font-size: var(--fs-md); line-height: 1.5; color: var(--bone); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.4rem; color: var(--ash); font-size: .95rem;
}
.hero__facts li { display: inline-flex; align-items: center; gap: .55rem; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-1); }
.photo--hero { z-index: 1; }

/* momento de entrada: el titular se "acuña" en oro */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line { opacity: 0; transform: translateY(.35em); }
  .js.is-ready .hero__title .line {
    animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards, mint 1.6s ease-out .55s forwards;
  }
  .js.is-ready .hero__title .line--2 { animation-delay: .14s, .75s; }
  .js.is-ready .hero__title .line--3 { animation-delay: .28s, .95s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes mint { from { background-position: 100% 0; } to { background-position: 0% 0; } }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
h1, h2, h3, .motto, .plan__price { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
/* los títulos grandes no se parten: se reducen para caber (js/main.js) */
.hero__title, .article__title, .motto, .h2, .manifesto__big { overflow-wrap: normal; -webkit-hyphens: manual; hyphens: manual; }
.h2 {
  font-size: var(--fs-h2); font-stretch: 115%; font-weight: 800; line-height: 1.02; letter-spacing: -.01em;
  max-width: 18ch; text-wrap: balance;
}

/* manifiesto */
.manifesto { border-top: 1px solid var(--line); }
.manifesto__big {
  font-size: clamp(2rem, 1rem + 4.2vw, 5rem); font-stretch: 118%; font-weight: 800; line-height: 1.02;
  letter-spacing: -.012em; max-width: 17ch; text-wrap: balance;
}
.manifesto__big span { display: block; }
.manifesto__quiet { color: var(--ash); font-weight: 300; margin-top: .25em; }
.manifesto__small { margin-top: 2.2rem; max-width: 46ch; font-size: var(--fs-md); color: var(--bone); margin-left: auto; }

/* filas de servicios */
.rows { margin-top: 3.5rem; border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 3rem; align-items: baseline;
  padding-block: 1.9rem; border-top: 1px solid var(--line);
}
.row h3 { font-size: var(--fs-lg); font-stretch: 112%; font-weight: 700; line-height: 1.15; color: var(--gold-1); }
.row p { color: var(--bone); max-width: 52ch; font-size: 1.1rem; }

/* método */
.method { background: var(--coal); }
.steps { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; counter-reset: s; }
.step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--gold-2); }
.step__n {
  display: block; font-size: clamp(4rem, 3rem + 3vw, 6.5rem); font-stretch: 125%; font-weight: 900; line-height: .85;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold-1); margin-bottom: 1.4rem;
}
.step h3 { font-size: var(--fs-md); font-stretch: 112%; font-weight: 700; line-height: 1.2; }
.step p { margin-top: .6rem; color: var(--ash); }

/* más de 40 */
.over40__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: start; }
.over40__intro { margin-top: 1.5rem; font-size: var(--fs-md); color: var(--ash); max-width: 30ch; }
.signs { display: grid; gap: 1rem; margin-bottom: 2rem; }
.signs li {
  position: relative; padding: 1.1rem 1.2rem 1.1rem 3rem; background: var(--coal);
  font-size: 1.1rem; line-height: 1.45; border-left: 2px solid var(--gold-2);
}
.signs li::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.55rem; width: 10px; height: 10px; transform: rotate(45deg);
  background: var(--gold-1);
}
.over40 p { max-width: 54ch; }
.note { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--ash); padding-top: 1rem; border-top: 1px solid var(--line); }

.motto {
  margin-top: 2.6rem; display: grid; gap: .05em;
  font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.4rem); font-stretch: 125%; font-weight: 900; line-height: .95;
  color: transparent; -webkit-text-stroke: 1.2px var(--gold-1);
}

/* diagnóstico */
.start__panel {
  border: 1px solid var(--gold-3);
  background: linear-gradient(180deg, var(--coal) 0%, #000 100%);
  padding: clamp(1.75rem, 1rem + 4vw, 4rem);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem 5rem;
}
.start .h2 { font-size: clamp(2rem, 1.3rem + 1.9vw, 3.1rem); }
.start__head p { margin-top: 1.2rem; color: var(--ash); font-size: var(--fs-md); max-width: 30ch; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
.quiz legend { font-weight: 700; font-stretch: 110%; font-size: 1.1rem; margin-bottom: .8rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips .chip {
  display: inline-block; padding: .62rem 1.05rem; border-radius: 999px;
  border: 1px solid rgba(239, 232, 218, .28); font-size: .98rem; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chips label:hover .chip { border-color: var(--gold-1); }
.chips input:checked + span { background: var(--gold-1); border-color: var(--gold-1); color: #000; font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--gold-1); outline-offset: 3px; }
.quiz__name { margin-bottom: 1.8rem; display: grid; gap: .5rem; max-width: 22rem; }
.quiz__name label { font-weight: 700; font-stretch: 110%; font-size: 1.1rem; }
.quiz__name input {
  font: inherit; color: var(--bone); background: transparent; border: 0; border-bottom: 1px solid rgba(239, 232, 218, .35);
  padding: .55rem 0; border-radius: 0;
}
.quiz__name input:focus { outline: none; border-bottom-color: var(--gold-1); }
.quiz__send { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.btn--wa { --h: 3.6rem; padding: 0 1.8rem; font-size: 1.05rem; }
.wa-icon { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.quiz__status { font-size: var(--fs-sm); color: var(--gold-1); }
.quiz__privacy { margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--ash); }

/* ---------- menú ---------- */
.menu-btn { display: none; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(239, 232, 218, .25); border-radius: 50%; padding: 0; place-items: center; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 16px; height: 1.5px; background: var(--bone); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
}
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -5px; }
.menu-btn__bars::after { top: 5px; }
.menu-open .menu-btn__bars { background: transparent; }
.menu-open .menu-btn__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- bio ---------- */
.bio { border-top: 1px solid var(--line); }
.bio__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 3rem 6rem; align-items: start; }
.photo--about { max-width: 460px; width: 100%; position: sticky; top: 6rem; }
.bio__text { margin-top: 1.6rem; }
.creds { margin: 2.4rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.creds > div { border-top: 1px solid var(--gold-2); padding-top: .8rem; }
.creds dt { font-stretch: 118%; font-weight: 800; font-size: 1.35rem; line-height: 1.15; color: var(--gold-1); }
.creds dd { margin: .2rem 0 0; color: var(--ash); font-size: .98rem; }
.creds--stack { grid-template-columns: minmax(0, 1fr); margin: 0; align-content: start; }

/* ---------- texto largo ---------- */
.prose { max-width: 66ch; }
.prose p, .prose ul, .prose ol { margin-top: 1.05rem; }
.prose > :first-child, .prose > div > :first-child { margin-top: 0; }
.prose ul { list-style: none; padding: 0; }
.prose li { position: relative; padding-left: 1.4rem; margin-top: .55rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--gold-1); transform: rotate(45deg); }
.prose b { font-weight: 650; color: var(--bone); }
.prose a:not(.btn), .row a, .over40__link a { color: var(--gold-1); text-underline-offset: 3px; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-stretch: 112%; font-weight: 800; line-height: 1.1; margin-top: 3.2rem; }
.prose h3 { font-size: 1.2rem; font-stretch: 110%; font-weight: 700; margin-top: 1.8rem; color: var(--gold-1); }

/* ---------- tarifas ---------- */
.section-lead { margin-top: 1.1rem; color: var(--ash); font-size: var(--fs-md); max-width: 40ch; }
.plans { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--gold-3); }
.plan { padding: 2.2rem 2rem; display: flex; flex-direction: column; gap: .35rem; }
.plan + .plan { border-left: 1px solid var(--gold-3); }
.plan:first-child { background: linear-gradient(180deg, rgba(189, 143, 55, .14), transparent 70%); }
.plan__name { font-size: .95rem; font-weight: 700; font-stretch: 110%; color: var(--ash); }
.plan__term { font-size: var(--fs-lg); font-stretch: 112%; font-weight: 700; line-height: 1.2; }
.plan__price {
  margin-top: .8rem; font-size: clamp(3rem, 2.2rem + 2.4vw, 4.4rem); font-stretch: 125%; font-weight: 900; line-height: 1;
  background: var(--gold-metal); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.plan__note { color: var(--ash); font-size: .95rem; min-height: 1.5em; }
.plan__cta { margin-top: auto; padding-top: 1.4rem; }
.plan__cta .btn { width: 100%; }
.includes { margin-top: 2.2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1rem 3rem; }
.includes h3 { font-size: 1.1rem; font-stretch: 110%; font-weight: 700; }
.includes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 2rem; }
.includes li { position: relative; padding-left: 1.4rem; color: var(--bone); }
.includes li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--gold-1); transform: rotate(45deg); }

/* ---------- transformaciones ---------- */
.trans { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.trans__img { aspect-ratio: 1; overflow: hidden; background: var(--coal); }
.trans__img img { width: 100%; height: 100%; object-fit: cover; }
.trans__item h3 { margin-top: 1.1rem; font-size: 1.2rem; font-stretch: 110%; font-weight: 700; line-height: 1.25; }
.trans__story { margin-top: .6rem; }
.trans__story summary {
  cursor: pointer; color: var(--gold-1); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: .5rem;
}
.trans__story summary::-webkit-details-marker { display: none; }
.trans__story summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.trans__story[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.trans__story blockquote { margin: .9rem 0 0; color: var(--ash); font-size: 1rem; line-height: 1.6; border-left: 2px solid var(--gold-3); padding-left: 1rem; }
.center-cta { margin-top: 3rem; display: flex; justify-content: center; }
.center-cta .btn svg, .cta-band .btn svg, .trt .btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* ---------- artículos ---------- */
.cards { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: .7rem; }
.card__media { aspect-ratio: 1; overflow: hidden; background: var(--coal); border: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--type { display: grid; place-items: center; font-stretch: 125%; font-weight: 900; font-size: clamp(3rem, 2rem + 3vw, 5rem); color: transparent; -webkit-text-stroke: 1.5px var(--gold-1); background: radial-gradient(80% 80% at 50% 30%, rgba(189, 143, 55, .22), transparent 70%), var(--coal); }
.card h3 { margin-top: .4rem; font-size: 1.15rem; font-stretch: 110%; font-weight: 700; line-height: 1.25; }
.card:hover h3 { color: var(--gold-1); }
.card p { color: var(--ash); font-size: .98rem; }

/* ---------- amix ---------- */
.amix { border-block: 1px solid var(--line); background: var(--coal); }
.amix__inner { display: flex; align-items: center; gap: 1.5rem 3rem; padding-block: 2.2rem; flex-wrap: wrap; }
.amix__logo { background: #fff; padding: .7rem 1.1rem; border-radius: 6px; }
.amix__logo img { width: 170px; height: auto; }
.amix__text { font-size: var(--fs-md); font-weight: 600; font-stretch: 108%; flex: 1 1 16rem; }

.over40__link { margin-top: 1.2rem; font-weight: 600; }

/* ---------- páginas interiores ---------- */
.article { padding-top: 8rem; }
.article__head { padding-bottom: 3rem; }
.crumbs { font-size: .9rem; color: var(--ash); }
.crumbs a { color: var(--ash); text-decoration: none; }
.crumbs a:hover { color: var(--gold-1); }
.article__title {
  margin-top: 1rem; font-size: clamp(2.3rem, 1.2rem + 4.2vw, 5rem); font-stretch: 118%; font-weight: 900; line-height: .98;
  letter-spacing: -.012em; max-width: 18ch; text-wrap: balance;
  background: var(--gold-metal); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.article__sub { margin-top: 1rem; font-size: var(--fs-lg); font-stretch: 110%; font-weight: 700; line-height: 1.25; color: var(--bone); max-width: 30ch; }
.article__lead { margin-top: 1.8rem; max-width: 60ch; font-size: var(--fs-md); line-height: 1.55; }
.article__lead p + p { margin-top: 1rem; }
.article__body { padding-bottom: var(--section); }
.article__body > * + * { margin-top: 2.2rem; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.tile h3 { margin-top: 1rem; font-size: 1.2rem; font-stretch: 110%; font-weight: 700; color: var(--gold-1); }
.tile p, .tile ul { margin-top: .6rem; color: var(--bone); font-size: 1rem; }
.tile ul { list-style: none; padding: 0; }
.tile li { position: relative; padding-left: 1.2rem; margin-top: .4rem; }
.tile li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--gold-1); transform: rotate(45deg); }
.tile--text { border-top: 2px solid var(--gold-2); padding-top: 1.2rem; align-self: start; }
.tile--text h3 { margin-top: 0; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.art-fig { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); }
.art-fig img { width: 100%; height: 100%; object-fit: cover; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: center; }
.proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 66ch; }
.proscons > div { background: var(--coal); padding: 1.4rem 1.5rem; border-top: 2px solid var(--gold-2); }
.proscons h3 { font-size: 1.15rem; font-stretch: 110%; font-weight: 700; }
.proscons ul { list-style: none; padding: 0; margin-top: .6rem; }
.proscons li { position: relative; padding-left: 1.2rem; margin-top: .45rem; }
.proscons li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--gold-1); transform: rotate(45deg); }
.conclusion { font-size: var(--fs-md); line-height: 1.55; border-left: 2px solid var(--gold-2); padding-left: 1.2rem; }

.supp { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 1.5rem 4rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.supp__head .step__n { margin-bottom: .6rem; }
.supp__head h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-stretch: 115%; font-weight: 800; line-height: 1.05; }
.supp__sub { margin-top: .5rem; color: var(--ash); }
.trt .btn { margin-top: .8rem; }

.story { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 3rem 5rem; align-items: start; }
.story__lead { max-width: 420px; width: 100%; }
.story__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-block: 4rem; }
.story__strip img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; }
.story--b { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.story__wide { width: 100%; height: auto; max-height: 70vh; object-fit: cover; margin-top: 4rem; margin-bottom: var(--section); }

.mags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; padding-bottom: var(--section); }
.mag { padding: 0; border: 1px solid var(--line); background: var(--coal); cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; }
.mag img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.mag:hover img { transform: scale(1.03); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; height: auto; display: block; margin: auto; }
.lightbox__close {
  position: fixed; top: 1rem; right: 1rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid var(--gold-1);
  background: #000; color: var(--gold-1); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

.cta-band { border-top: 1px solid var(--line); background: var(--coal); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3.5rem; flex-wrap: wrap; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- pie ---------- */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 6rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem 3rem; align-items: start; }
.footer__brand p { color: var(--ash); margin-top: .35rem; font-size: .95rem; }
.footer__logo { width: 88px; height: 88px; margin-bottom: 1.1rem; }
.footer__nav, .footer__links { display: grid; gap: .55rem; }
.footer__nav a { text-decoration: none; color: var(--ash); }
.footer__nav a:hover { color: var(--gold-1); }
.footer__title { color: var(--ash); font-size: .9rem; margin-bottom: .2rem; }
.footer__links a { text-decoration: none; font-weight: 600; }
.footer__links a span { color: var(--ash); font-weight: 400; margin-left: .35rem; }
.footer__links a:hover span { color: var(--gold-1); }
.footer__legal { grid-column: 1 / -1; color: var(--ash); font-size: .82rem; padding-top: 1.5rem; border-top: 1px solid rgba(239, 232, 218, .08); }

/* botón flotante de WhatsApp */
.fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-metal); background-size: 220% 100%; color: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(243, 216, 150, .3) inset;
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.fab svg { width: 1.7rem; height: 1.7rem; fill: currentColor; }
.fab.is-visible { transform: none; }

/* ---------- responsive ---------- */
@media (min-width: 821px) {
  .photo--hero::before { /* sombra a la izquierda: el titular se lee bien donde pisa la foto */
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 28%);
  }
}

@media (max-width: 1100px) {
  .nav { gap: 1.2rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1300px) {
  .menu-btn { display: inline-grid; }
  .topbar__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: 4.5rem 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: rgba(0, 0, 0, .96); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem;
    display: none;
  }
  .menu-open .nav { display: flex; }
  .menu-open .topbar { background: #000; }
  .nav a { font-size: 1.15rem; padding: .85rem 0; color: var(--bone); border-bottom: 1px solid rgba(239, 232, 218, .08); }
}

@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--gold-3); }
  .trans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .includes { grid-template-columns: minmax(0, 1fr); }
  .tiles, .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero { padding-top: 4.5rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .photo--hero { order: -1; margin-inline: calc(var(--gutter) * -1); aspect-ratio: auto; width: auto; height: min(78svh, 115vw); }
  .photo--hero::after { display: none; }
  .photo--hero::before { /* fundido inferior para que el titular se lea sobre la foto */
    content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 2;
    background: linear-gradient(180deg, transparent, #000 92%); pointer-events: none;
  }
  .hero__copy { margin-top: -5.5rem; padding-right: 0; }
  .hero__lead { margin-top: 1.4rem; }
  .row { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding-block: 1.5rem; }
  .over40__grid, .bio__grid, .start__panel, .story, .story--b, .split, .supp { grid-template-columns: minmax(0, 1fr); }
  .photo--about { max-width: 360px; margin-right: 14px; position: relative; top: 0; }
  .story__lead { max-width: 360px; }
  .manifesto__small { margin-left: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .article { padding-top: 6rem; }
  .mags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .story__strip { /* en móvil, galería que se desliza con el dedo */
    display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-block: 2.5rem; scrollbar-width: none;
  }
  .story__strip::-webkit-scrollbar { display: none; }
  .story__strip img { flex: 0 0 78%; width: 78%; min-width: 0; scroll-snap-align: center; }
}

@media (max-width: 420px) {
  .topbar__inner { gap: .6rem; }
  .brand { gap: .5rem; }
  .brand__logo { width: 34px; height: 34px; }
  .brand__name { font-size: .8rem; letter-spacing: .05em; }
  .topbar__actions { gap: .5rem; }
  .lang button { padding: .28rem .5rem; font-size: .72rem; }
  .menu-btn { width: 2.4rem; height: 2.4rem; }
}
@media (max-width: 345px) {
  .brand__name { display: none; }
}
/* si aun así no cabe (letra del móvil aumentada), se queda solo el medallón */
.topbar.is-compact .brand__name { display: none; }
.brand { min-width: 0; }

@media (max-width: 520px) {
  .brand__logo { width: 36px; height: 36px; }
  .brand__name { font-size: .92rem; letter-spacing: .06em; }
  .topbar__cta { display: none; }
  .hero__ctas .btn { width: 100%; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .btn--wa { width: 100%; }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
  .creds dt { font-size: 1.1rem; }
  .tiles, .tiles--4, .proscons, .cards { grid-template-columns: minmax(0, 1fr); }
  .includes ul { grid-template-columns: minmax(0, 1fr); }
  .cta-band__actions .btn { width: 100%; }
  .center-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
