/* ==========================================================================
   TRONCHIFIT · estilos
   Colores sacados del logo: negro #030102 · cobre #876F5D → #AB8768 → #D1A57E
   ========================================================================== */
@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton.woff2") format("woff2");
  font-display: swap;
}

:root {
  --negro: #030102;
  --sup: #0d0b0a;
  --sup-2: #161311;
  --linea: #2a2420;
  --blanco: #ffffff;
  --texto: #e9e4df;
  --gris: #b5aca4;
  --cobre: #ab8768;
  --cobre-claro: #d1a57e;
  --cobre-osc: #876f5d;
  --grad: linear-gradient(135deg, #876f5d 0%, #d1a57e 55%, #ab8768 100%);
  --tit: "Anton", "Bebas Neue", Impact, "Arial Narrow Bold", "Roboto Condensed", sans-serif;
  --txt: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
  --header: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--negro); color: var(--texto);
  font: 400 1rem/1.6 var(--txt); overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobre-claro); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--cobre-claro); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--cobre-claro); color: #000; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.wrap--estrecho { width: min(760px, 100% - 2rem); }

/* ---------- Tipografía ---------- */
h1, h2, .h2b {
  font-family: var(--tit); font-weight: 400; text-transform: uppercase;
  color: var(--blanco); line-height: 1.02; letter-spacing: .01em;
}
h1 { font-size: clamp(2.9rem, 13vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 8.5vw, 4rem); margin-bottom: 1rem; }
.h2b { font-size: clamp(1.7rem, 6vw, 2.6rem); margin: 3.5rem 0 1.25rem; }
.h3 { font: 700 .85rem/1.2 var(--txt); letter-spacing: .14em; text-transform: uppercase; color: var(--cobre-claro); margin: 1.75rem 0 .75rem; }
.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cobre-claro); margin-bottom: .75rem; }
.kicker__sub { display: block; color: var(--texto); letter-spacing: .06em; text-transform: none; font-weight: 600; font-size: .85rem; margin-top: .25rem; }
.cobre-txt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--gris); max-width: 60ch; margin-bottom: 2rem; }
.nota { color: var(--gris); font-size: .95rem; margin-top: 1.5rem; text-align: center; }
.nota--fuerte { color: var(--blanco); font-weight: 600; border: 1px solid var(--linea); border-radius: 999px; padding: .7rem 1.2rem; width: fit-content; margin-inline: auto; }

mark.pend { background: #ffd84d; color: #000; font-weight: 700; padding: 0 .3em; border-radius: 4px; font-family: var(--txt); font-size: .9em; letter-spacing: 0; text-transform: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn--sm { min-height: 46px; padding: .6rem 1.2rem; font-size: .85rem; }
.btn--cobre { background: var(--grad); color: #120c08; box-shadow: 0 8px 28px rgba(209, 165, 126, .22); }
.btn--linea { border-color: var(--cobre); color: var(--blanco); background: rgba(3, 1, 2, .35); }
.btn--bloque { width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn--cobre:hover { box-shadow: 0 12px 34px rgba(209, 165, 126, .4); }
.btn--linea:hover { background: rgba(171, 135, 104, .18); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header); transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.is-solid, .header.is-open { background: rgba(3, 1, 2, .94); border-color: var(--linea); backdrop-filter: blur(8px); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--blanco); }
.brand img { height: 30px; width: auto; mix-blend-mode: screen; }
.brand__txt { font-weight: 900; letter-spacing: .08em; font-size: 1.05rem; }
.brand__txt b { color: var(--cobre-claro); font-weight: 900; }
.burger { width: 48px; height: 48px; display: grid; place-content: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--blanco); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav {
  position: fixed; inset: var(--header) 0 0 0; background: rgba(3, 1, 2, .98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
}
.nav.is-open { visibility: visible; opacity: 1; }
.nav a:not(.btn) { color: var(--blanco); text-decoration: none; font-family: var(--tit); text-transform: uppercase; font-size: 1.9rem; letter-spacing: .03em; padding: .2rem .6rem; }
.nav a:not(.btn):hover { color: var(--cobre-claro); }

@media (min-width: 960px) {
  .burger { display: none; }
  .nav { position: static; visibility: visible; opacity: 1; flex-direction: row; background: none; gap: 1.5rem; }
  .nav a:not(.btn) { font: 600 .9rem var(--txt); letter-spacing: .04em; text-transform: none; padding: .4rem 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; padding: calc(var(--header) + 1.2rem) 0 4.6rem; isolation: isolate; overflow: hidden; background: #060505; }
.hero__img, .final__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__img { object-position: 52% 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(3,1,2,.5) 0%, rgba(3,1,2,0) 32%, rgba(3,1,2,0) 52%, rgba(3,1,2,.88) 76%, #030102 100%),
    radial-gradient(90% 50% at 85% 62%, rgba(171,135,104,.26), transparent 70%);
}
.hero__in { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.hero__sub { font-size: .95rem; line-height: 1.5; max-width: 46ch; margin: 0 0 1.2rem; color: var(--texto); text-shadow: 0 2px 12px #000; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__cta .btn { flex: 1 1 240px; max-width: 340px; }
.hero__scroll { position: absolute; bottom: .9rem; left: 50%; translate: -50% 0; width: 24px; height: 38px; border: 2px solid var(--cobre); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cobre-claro); animation: baja 1.8s infinite; }
@keyframes baja { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }
.hero__top, .hero__bottom { animation: sube .8s both; }
.hero__bottom { animation-delay: .2s; }
@keyframes sube { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (min-width: 960px) {
  .hero { align-items: center; padding-bottom: 3rem; }
  .hero__img { inset: 0 0 0 auto; width: 56%; object-position: 50% 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 82%, transparent); }
  .hero::before { background: linear-gradient(90deg, #030102 0%, rgba(3,1,2,.7) 42%, rgba(3,1,2,0) 62%), linear-gradient(0deg, #030102, rgba(3,1,2,0) 22%), radial-gradient(40% 50% at 74% 60%, rgba(171,135,104,.22), transparent 70%); }
  .hero__in { justify-content: center; gap: 1.4rem; }
  .hero__in > * { max-width: 560px; }
  .hero h1 { font-size: clamp(3.4rem, 6vw, 5.4rem); }
  .hero__sub { font-size: 1.15rem; }
}

/* ---------- Secciones ---------- */
.sec { padding: 4.5rem 0; position: relative; }
.sec--alt { background: var(--sup); border-block: 1px solid var(--linea); }
@media (min-width: 900px) { .sec { padding: 7rem 0; } }

/* ---------- Quién soy ---------- */
.about { display: grid; gap: 2rem; }
#about-parrafos p { margin-bottom: 1rem; }
.about__lado { display: grid; gap: 1rem; align-content: start; }
.ficha { background: linear-gradient(140deg, rgba(171,135,104,.22), var(--sup-2) 60%); border: 1px solid rgba(209,165,126,.4); border-radius: var(--r); padding: 1.4rem 1.2rem; }
.ficha .h3 { margin-top: 0; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .95rem; height: .5rem; border-left: 3px solid var(--cobre-claro); border-bottom: 3px solid var(--cobre-claro); transform: rotate(-45deg); }
@media (min-width: 900px) { .about { grid-template-columns: 6fr 5fr; gap: 4rem; align-items: start; } }

.datos { display: grid; gap: 1rem; }
.datos li { background: var(--sup-2); border: 1px solid var(--linea); border-radius: var(--r); padding: 1.4rem 1.2rem; display: flex; align-items: center; gap: 1.1rem; }
.datos__num { font-family: var(--tit); font-size: 3.4rem; line-height: 1; min-width: 2.2ch; text-align: center; }
.datos__et { color: var(--texto); font-weight: 600; }

/* ---------- Tarjetas Qué hago ---------- */
.cards { display: grid; gap: 1rem; margin-top: 2rem; }
.card { background: var(--sup-2); border: 1px solid var(--linea); border-radius: var(--r); padding: 1.5rem; transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--cobre); transform: translateY(-4px); }
.card__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--grad); display: grid; place-content: center; color: #120c08; margin-bottom: 1rem; }
.card h3 { font: 800 1.15rem/1.25 var(--txt); color: var(--blanco); margin-bottom: .4rem; }
.card p { color: var(--gris); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Línea de tiempo ---------- */
.timeline { position: relative; margin-top: 2.5rem; display: grid; gap: 2rem; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--cobre-claro), var(--cobre-osc) 80%, transparent); }
.timeline li { position: relative; padding-left: 74px; }
.timeline__n { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--negro); border: 2px solid var(--cobre-claro); display: grid; place-content: center; font-family: var(--tit); font-size: 1.5rem; color: var(--cobre-claro); }
.timeline h3 { font: 800 1.15rem/1.3 var(--txt); color: var(--blanco); margin-bottom: .3rem; padding-top: .2rem; }
.timeline p { color: var(--gris); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .timeline::before { left: 26px; right: 12%; top: 25px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--cobre-claro), var(--cobre-osc) 80%, transparent); }
  .timeline li { padding: 70px 0 0; }
}

/* ---------- Planes ---------- */
.planes { display: grid; gap: 1.25rem; align-items: stretch; }
.plan { position: relative; background: var(--sup-2); border: 1px solid var(--linea); border-radius: 18px; padding: 1.75rem 1.4rem; display: flex; flex-direction: column; }
.plan--top { border: 2px solid var(--cobre-claro); background: linear-gradient(180deg, rgba(171,135,104,.2), var(--sup-2) 45%); box-shadow: 0 20px 60px rgba(171,135,104,.18); }
.plan__tag, .guia__tag { position: absolute; top: -14px; left: 50%; translate: -50% 0; background: var(--grad); color: #120c08; font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-family: var(--tit); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; line-height: 1.05; color: var(--blanco); }
.plan__desc { color: var(--gris); margin: .3rem 0 1.1rem; }
.periodos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--negro); border: 1px solid var(--linea); border-radius: 999px; padding: 4px; }
.periodos label { position: relative; text-align: center; cursor: pointer; }
.periodos input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.periodos span { display: block; padding: .6rem .2rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--gris); transition: background-color .2s, color .2s; }
.periodos input:checked + span { background: var(--grad); color: #120c08; }
.periodos input:focus-visible + span { outline: 3px solid var(--cobre-claro); outline-offset: 2px; }
.plan__precio { margin: 1.2rem 0 .1rem; font-family: var(--tit); font-size: 3.6rem; line-height: 1; color: var(--blanco); }
.plan__nota { color: var(--cobre-claro); font-weight: 600; min-height: 1.6em; }
.plan .checks { margin: 1.1rem 0 1.5rem; flex: 1; }
@media (min-width: 900px) { .planes { grid-template-columns: repeat(3, 1fr); } .plan--top { transform: scale(1.04); z-index: 1; } }

/* ---------- Otros servicios ---------- */
.servicios { display: grid; gap: 1.25rem; }
.serv { background: var(--sup-2); border: 1px solid var(--linea); border-radius: 18px; padding: 1.6rem 1.4rem; display: flex; flex-direction: column; }
.serv h4 { margin: 0; font: 800 1.25rem/1.25 var(--txt); color: var(--blanco); }
.serv__precio { font-family: var(--tit); font-size: 3rem; line-height: 1; margin: .8rem 0; color: var(--blanco); }
.serv__precio small { font: 600 1rem var(--txt); color: var(--gris); }
.serv .checks { flex: 1; margin-bottom: 1.3rem; }
@media (min-width: 760px) { .servicios { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Guías ---------- */
.guias { display: grid; gap: 1.25rem; }
.guia { position: relative; background: var(--sup-2); border: 1px solid var(--linea); border-radius: 18px; padding: 1.1rem; display: flex; flex-direction: column; transition: border-color .2s; }
.guia.is-sel { border-color: var(--cobre-claro); box-shadow: 0 0 0 1px var(--cobre-claro); }
.portada { aspect-ratio: 3 / 4; max-height: 300px; width: 100%; border-radius: 10px; background: radial-gradient(120% 80% at 100% 0%, rgba(209,165,126,.4), transparent 55%), linear-gradient(160deg, #1b1512, #030102 60%); border: 1px solid rgba(209,165,126,.4); padding: 1.1rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.portada::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: 3.1rem; height: 3px; background: var(--grad); }
.portada__marca { font-weight: 900; letter-spacing: .14em; font-size: .7rem; color: var(--blanco); }
.portada__marca b { color: var(--cobre-claro); }
.portada__tit { font-family: var(--tit); text-transform: uppercase; font-size: clamp(1.7rem, 7vw, 2.1rem); line-height: 1; color: var(--blanco); margin-bottom: 2.6rem; }
.portada__tit span { display: block; }
.portada__tit span:last-child { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portada__pie { position: absolute; left: 1.1rem; bottom: 1rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.guia h3 { font: 800 1.15rem/1.25 var(--txt); color: var(--blanco); margin: 1rem 0 .3rem; }
.guia__desc { color: var(--gris); font-size: .95rem; }
.guia .checks { margin: .8rem 0; font-size: .95rem; flex: 1; }
.guia__aviso { font-size: .8rem; color: var(--gris); border-left: 3px solid var(--cobre-osc); padding-left: .6rem; margin-bottom: .8rem; }
.guia__precio { font-family: var(--tit); font-size: 2.4rem; line-height: 1; color: var(--blanco); margin-bottom: .8rem; }
.guia__sel { display: flex; align-items: center; gap: .6rem; min-height: 46px; margin-top: .6rem; cursor: pointer; font-weight: 600; font-size: .92rem; }
.guia__sel input { width: 22px; height: 22px; accent-color: var(--cobre-claro); }
@media (min-width: 600px) { .guias { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guias { grid-template-columns: repeat(4, 1fr); } }

.pack { position: relative; margin-top: 2.2rem; border: 2px solid var(--cobre-claro); border-radius: 18px; padding: 1.8rem 1.4rem; background: linear-gradient(135deg, rgba(171,135,104,.28), var(--sup-2) 60%); display: grid; gap: 1rem; box-shadow: 0 20px 60px rgba(171,135,104,.18); }
.pack h3 { font-family: var(--tit); font-weight: 400; text-transform: uppercase; font-size: 2rem; color: var(--blanco); line-height: 1.05; }
.pack__precio { font-family: var(--tit); font-size: 3.4rem; line-height: 1; color: var(--blanco); }
.pack__precio s { font: 600 1.1rem var(--txt); color: var(--gris); margin-left: .5rem; }
.pack__ahorro { color: var(--cobre-claro); font-weight: 700; }
@media (min-width: 760px) { .pack { grid-template-columns: 1fr auto; align-items: center; padding: 2rem 2.2rem; } }

.seleccion { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(13,11,10,.97); border-top: 2px solid var(--cobre-claro); padding: .7rem 0; }
.seleccion__in { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.seleccion p { font-size: .9rem; color: var(--blanco); font-weight: 600; white-space: nowrap; }
.seleccion .btn { padding-inline: .9rem; font-size: .78rem; letter-spacing: .04em; }
.seleccion small { display: block; color: var(--cobre-claro); font-weight: 600; }

/* ---------- Cuestionario ---------- */
.quiz { background: var(--sup-2); border: 1px solid var(--linea); border-radius: 18px; padding: 1.4rem; }
.quiz__barra { height: 8px; background: var(--negro); border-radius: 999px; overflow: hidden; }
.quiz__barra span { display: block; height: 100%; width: 16.6%; background: var(--grad); border-radius: 999px; transition: width .4s; }
.quiz__paso { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cobre-claro); font-weight: 700; margin: .9rem 0 .4rem; }
.quiz fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz legend { font-family: var(--tit); text-transform: uppercase; font-size: 1.7rem; line-height: 1.1; color: var(--blanco); padding: 0; margin-bottom: 1rem; }
.quiz input[type="text"], .quiz textarea { width: 100%; background: var(--negro); border: 2px solid var(--linea); border-radius: 12px; padding: .9rem 1rem; font-size: 1rem; }
.quiz input[type="text"]:focus, .quiz textarea:focus { border-color: var(--cobre-claro); outline: none; }
.opciones { display: grid; gap: .6rem; }
.opciones--fila { grid-template-columns: repeat(5, 1fr); }
.opciones label { position: relative; cursor: pointer; }
.opciones input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opciones span { display: block; padding: .9rem 1rem; border: 2px solid var(--linea); border-radius: 12px; font-weight: 600; background: var(--negro); transition: border-color .2s, background-color .2s; text-align: left; }
.opciones--fila span { text-align: center; padding-inline: .2rem; font-family: var(--tit); font-size: 1.4rem; }
.opciones input:checked + span { border-color: var(--cobre-claro); background: rgba(171,135,104,.22); color: var(--blanco); }
.opciones input:focus-visible + span { outline: 3px solid var(--cobre-claro); outline-offset: 2px; }
.quiz__error { color: #ffb4a8; font-weight: 600; min-height: 1.6em; margin-top: .6rem; }
.quiz__nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: .4rem; }
.quiz__nav .btn--cobre { margin-left: auto; }
.quiz__resumen { white-space: pre-wrap; background: var(--negro); border: 1px solid var(--linea); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; color: var(--blanco); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem; border-right: 3px solid var(--cobre-claro); border-bottom: 3px solid var(--cobre-claro); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--gris); padding: 0 0 1.2rem; max-width: 65ch; }

/* ---------- Llamada final ---------- */
.final { position: relative; isolation: isolate; padding: 6rem 0; text-align: center; overflow: hidden; }
.final__img { object-position: 50% 20%; opacity: .5; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #030102 0%, rgba(3,1,2,.72) 40%, rgba(3,1,2,.85) 100%), linear-gradient(300deg, rgba(171,135,104,.45), transparent 60%); }
.final h2 { font-size: clamp(3rem, 14vw, 6rem); }
.final p { max-width: 44ch; margin: 0 auto 1.6rem; color: var(--texto); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--linea); padding: 3rem 0 6.5rem; text-align: center; }
.footer__logo { width: 190px; margin: 0 auto 1.5rem; mix-blend-mode: screen; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin-bottom: 1.5rem; }
.footer__links a { color: var(--blanco); text-decoration: none; font-weight: 600; display: inline-block; padding: .6rem .2rem; }
.footer__links a:hover { color: var(--cobre-claro); text-decoration: underline; }
.footer__aviso { color: var(--gris); font-size: .85rem; max-width: 70ch; margin: 0 auto 1rem; }
.footer__copy { color: var(--gris); font-size: .85rem; }
@media (min-width: 960px) { .footer { padding-bottom: 3rem; } }

/* ---------- WhatsApp flotante (móvil) ---------- */
.wa-flot { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #1faa53; color: #fff; display: grid; place-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.6); transition: transform .2s, bottom .25s; }
.wa-flot:hover { transform: scale(1.07); }
body.hay-seleccion .wa-flot { bottom: 92px; }
body.hay-seleccion.fuera-guias .wa-flot { bottom: 16px; }
@media (min-width: 960px) { .wa-flot { display: none; } }

.noscript { background: #ffd84d; color: #000; padding: 1rem; text-align: center; font-weight: 700; }

/* ---------- Páginas legales y 404 ---------- */
.legal { padding: calc(var(--header) + 3rem) 0 4rem; }
.legal h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); margin-bottom: 1.5rem; }
.legal h2 { font: 800 1.25rem/1.3 var(--txt); text-transform: none; letter-spacing: 0; margin: 2.2rem 0 .6rem; color: var(--cobre-claro); }
.legal p, .legal li { margin-bottom: .8rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal .caja { border: 2px dashed #ffd84d; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 2rem; }
.e404 { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: 2rem 1rem; }
.e404 h1 { font-size: clamp(6rem, 34vw, 13rem); }
.e404 p { margin: 1rem 0 1.8rem; }

/* ---------- Menú móvil: panel lateral derecho ---------- */
@media (max-width: 959px) {
  .header.is-open { background: transparent; border-color: transparent; backdrop-filter: none; }
  .burger { position: relative; z-index: 2; }
  .nav {
    inset: 0 0 0 auto; width: min(78vw, 310px); z-index: 1;
    background: #0d0b0a; border-left: 1px solid rgba(209,165,126,.45);
    align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--header) + 1rem) 1.4rem 2rem;
    transform: translateX(100%); opacity: 1;
    transition: transform .3s cubic-bezier(.2,.7,.2,1), visibility .3s, box-shadow .3s;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.72); }
  .nav a:not(.btn) { font-size: 1.45rem; padding: .85rem .2rem; border-bottom: 1px solid var(--linea); text-align: left; }
  .nav .btn { margin-top: 1.6rem; }
}

/* ---------- Animación de entrada ---------- */
.intro { display: none; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 500; display: grid; place-content: center; text-align: center;
  background: radial-gradient(60% 45% at 50% 42%, rgba(171,135,104,.16), transparent 70%), #030102;
  transition: transform .7s cubic-bezier(.7,0,.2,1); cursor: pointer;
}
.intro-on body { overflow: hidden; }
.intro-out .intro { transform: translateY(-100%); }
.intro__fig { width: min(46vw, 200px); height: auto; margin: 0 auto; color: #5d554f; overflow: visible;
  animation: introEntra .6s both; transition: color 1.1s .1s, filter 1.1s .1s; }
.intro-go .intro__fig { color: #d1a57e; filter: drop-shadow(0 0 26px rgba(209,165,126,.45)); }
.intro__barra { width: min(46vw, 200px); height: 3px; margin: 1.4rem auto 1.1rem; background: #241f1b; border-radius: 3px; overflow: hidden; }
.intro__barra span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(.65,0,.2,1); }
.intro-go .intro__barra span { transform: scaleX(1); }
.intro__marca { font-weight: 900; letter-spacing: .22em; font-size: 1.5rem; color: #fff; }
.intro__marca b { color: var(--cobre-claro); }
.intro__lema { font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gris); margin-top: .4rem; }
.intro__marca, .intro__lema { opacity: 0; transform: translateY(10px); transition: opacity .6s 1.2s, transform .6s 1.2s; }
.intro-go .intro__marca, .intro-go .intro__lema { opacity: 1; transform: none; }
.intro-go .intro__lema { transition-delay: 1.4s; }
@keyframes introEntra { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.intro-on:not(.intro-out) .hero__top, .intro-on:not(.intro-out) .hero__bottom { animation-play-state: paused; }

/* ---------- Animación al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Ajustes hero móvil: el texto largo va por debajo de la cara ---------- */
.datos__num { flex: none; min-width: 3ch; }
@media (max-width: 959px) {
  .hero { background: var(--negro); padding-bottom: 2.5rem; }
  .hero__img { height: 100vh; height: 100svh; bottom: auto; }
  .hero::before { height: 100vh; height: 100svh; bottom: auto;
    background: linear-gradient(180deg, rgba(3,1,2,.5) 0%, rgba(3,1,2,0) 30%, rgba(3,1,2,0) 55%, rgba(3,1,2,.9) 80%, #030102 100%),
                radial-gradient(90% 50% at 85% 62%, rgba(171,135,104,.26), transparent 70%); }
  .hero__in { justify-content: flex-start; gap: 0; }
  .hero__top { min-height: calc(66vh - var(--header)); min-height: calc(66svh - var(--header)); }
  .hero__scroll { display: none; }
}

.nota:empty { display: none; }
