/* =========================================================
   Spanish with Héctor — site styles
   Tokens: fondo claro, banda oscura, UN acento (amarillo de
   la portada del pódcast) y un color exclusivo para el CTA (rojo).
   ========================================================= */

:root {
    /* Paleta "Mediterráneo" (elegida por el cliente, ago 2026):
       azul marino + blanco de cal + sol + terracota. */
    --bg: #f7f4ec;
    --surface: #ffffff;
    --ink: #14304d;
    --muted: #5b6470;
    --line: #e3ded2;
    --accent: #e9b44c;
    --accent-ink: #1d1a0c;
    --cta: #d2622a;
    --cta-hover: #b85222;
    --dark: #14304d;
    --dark-muted: #aebbc9;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --container: 1120px;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(20,20,20,.06);
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.container.narrow { max-width: 720px; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .75rem;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 2px;
    margin-right: .6rem;
    vertical-align: 1px;
}

.eyebrow--dark { color: var(--accent-ink); }

.skip-link {
    position: absolute; left: -999px; top: 8px;
    background: var(--ink); color: #fff; padding: .5rem .75rem; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    padding: .85rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn--cta { background: var(--cta); color: #fff; }
.btn--cta:hover { background: var(--cta-hover); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.1rem; }

/* ---------- Header ---------- */

.site-header {
    background: var(--dark);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 68px;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
}
.brand__with { font-style: italic; font-weight: 500; color: var(--accent); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.site-nav a:not(.btn) {
    color: var(--dark-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: .98rem;
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover,
.site-nav a.is-active { color: #fff; border-bottom-color: var(--accent); }

.nav-toggle {
    display: none;
    background: none; border: 0; padding: .5rem; cursor: pointer;
    flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; }

@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 20px 1.5rem;
        gap: 1rem;
        border-top: 1px solid #2a2a2a;
    }
    .site-nav.is-open { display: flex; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }

.hero__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 1rem; }

.hero__note { font-size: .95rem; color: var(--muted); }

.podcast-card {
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: var(--radius);
    padding: 2rem;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.podcast-card::before {
    content: "";
    position: absolute;
    width: 60%; aspect-ratio: 1;
    border-radius: 50%;
    background: var(--cta);
    top: -18%; right: -14%;
    opacity: .95;
}
.podcast-card > * { position: relative; }
.podcast-card__label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin: 0 0 .3rem; }
.podcast-card__title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.05; margin: 0 0 .4rem; }
.podcast-card__sub { margin: 0 0 1rem; font-weight: 500; }
.podcast-card__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.podcast-card__links a {
    font-size: .85rem; font-weight: 600; text-decoration: none;
    background: rgba(0,0,0,.85); color: #fff; padding: .35rem .7rem; border-radius: 999px;
}
.podcast-card__more { margin: .8rem 0 0; font-size: .85rem; font-weight: 600; }
.podcast-card__more a { color: var(--accent-ink); }

/* Variante con la foto recortada de Héctor (public/img/hector-cutout.*):
   texto arriba a la izquierda, Héctor abajo a la derecha, sin pisarse. */
.podcast-card--photo { justify-content: flex-start; aspect-ratio: 1 / 1.15; }
.podcast-card--photo .podcast-card__title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); white-space: nowrap; }
.podcast-card--photo .podcast-card__sub { white-space: nowrap; font-size: .95rem; }
.podcast-card__photo {
    position: absolute; right: -4%; bottom: -1px;
    height: 58%; width: auto; max-width: none;
    filter: drop-shadow(0 18px 28px rgba(20,48,77,.28));
    pointer-events: none;
}

@media (max-width: 820px) {
    .hero__grid { grid-template-columns: 1fr; }
    .podcast-card { aspect-ratio: auto; padding-top: 4rem; }
    .podcast-card--photo { min-height: 0; aspect-ratio: 1 / 0.82; padding-top: 2rem; }
    .podcast-card--photo .podcast-card__sub { white-space: normal; }
    .podcast-card__photo { height: 62%; }
}
@media (max-width: 480px) {
    .podcast-card--photo > *:not(.podcast-card__photo) { max-width: 100%; }
    /* En móvil el hueco para la foto se reserva en función del ANCHO (la foto mide 62% de ancho
       y su alto es ~52% del ancho de la tarjeta), así nunca pisa el texto ni las pastillas. */
    .podcast-card--photo { aspect-ratio: auto; padding-bottom: 58%; min-height: 0; }
    .podcast-card--photo .podcast-card__title { white-space: normal; }
    .podcast-card__photo { height: auto; width: 88%; right: -4%; }
}

/* ---------- Metrics ---------- */

.metrics { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
}
.metric { text-align: center; }
.metric strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.metric span { font-size: .9rem; color: var(--muted); }

@media (max-width: 820px) {
    .metrics__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sections ---------- */

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__head { max-width: 720px; margin-bottom: 2.5rem; }
.section__head--row {
    max-width: none;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.section__head--row > div { max-width: 720px; }
.section__foot { margin-top: 2rem; color: var(--muted); }

.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--3 { grid-template-columns: 1fr; } .section__head--row { flex-direction: column; align-items: flex-start; } }

/* ---------- Cards (classes) ---------- */

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    box-shadow: var(--shadow);
    position: relative;
}
.card--highlight { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,194,0,.25), var(--shadow); }
.card--highlight::after {
    content: "Most popular";
    position: absolute; top: -.8rem; right: 1.2rem;
    background: var(--accent); color: var(--accent-ink);
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: .25rem .6rem; border-radius: 999px;
}
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.card__top h3 { margin: 0; }
.card__tag { font-size: .85rem; color: var(--muted); margin: 0; }
.card p { margin: 0; }
.card__bottom { margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line); }
.price { margin: 0; color: var(--muted); }
.price strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); margin-left: .15rem; }
.durations { margin: 0; font-size: .9rem; color: var(--muted); }
.card__link { font-weight: 600; text-decoration: none; color: var(--ink); margin-top: .4rem; }
.card__link:hover { text-decoration: underline; }

.badge {
    display: inline-block;
    background: var(--ink); color: #fff;
    font-size: .72rem; font-weight: 700; letter-spacing: .06em;
    padding: .2rem .55rem; border-radius: 6px; white-space: nowrap;
}

/* ---------- Steps ---------- */

.steps {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    counter-reset: step;
}
.step__num {
    display: inline-grid; place-items: center;
    width: 2.4rem; height: 2.4rem; border-radius: 50%;
    background: var(--accent); color: var(--accent-ink);
    font-weight: 700; margin-bottom: .8rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); }

@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Episodes ---------- */

.episode {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow);
}
.episode__meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.episode__num { font-family: var(--font-display); color: var(--muted); font-weight: 600; }
.episode h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.episode h3 a { text-decoration: none; }
.episode h3 a:hover { text-decoration: underline; }
.episode__date { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Testimonials ---------- */

.testimonial {
    margin: 0;
    background: var(--bg);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.4rem 1.5rem;
}
.testimonial p { font-size: 1rem; margin-bottom: 1rem; }
.testimonial footer { font-size: .92rem; color: var(--muted); }
.testimonial footer strong { color: var(--ink); }

/* ---------- Newsletter ---------- */

.newsletter { background: var(--accent); color: var(--accent-ink); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.newsletter__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.newsletter__inner > div { max-width: 640px; }
.newsletter h2 { margin-bottom: .4rem; }
.newsletter p { margin: 0; }

@media (max-width: 820px) { .newsletter__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- CTA band ---------- */

.cta-band { background: var(--dark); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; text-align: center; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { color: var(--dark-muted); margin-bottom: 1.5rem; }

/* ---------- Page band (cabecera de páginas interiores) ---------- */

.page-band { background: var(--dark); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-band .eyebrow { color: var(--dark-muted); }
.page-band h1 { margin: 0; }
.page-band__sub { margin: .6rem 0 0; color: var(--dark-muted); font-size: 1.15rem; max-width: 60ch; }
.page-band__sub-inline { display: block; font-family: var(--font-body); font-weight: 400; font-size: 1.1rem; color: var(--dark-muted); margin-top: .5rem; }
a.choice { text-decoration: none; }

.page-band__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.page-band__row > div:first-child { max-width: 720px; }
.page-band__aside { display: grid; gap: 1rem; justify-items: end; }
.page-band__cover { width: 180px; height: 180px; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.episode-cover { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) { .page-band__aside { justify-items: start; } .page-band__cover { width: 140px; height: 140px; } }
.page-band__back { color: var(--dark-muted); text-decoration: none; }
.page-band__back:hover { color: #fff; }
.page-band__kicker { color: var(--dark-muted); font-weight: 600; }
.page-band .episode__meta { margin-bottom: .6rem; }
@media (max-width: 820px) { .page-band__row { flex-direction: column; align-items: flex-start; } }

.platform-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.platform-links a {
    font-size: .85rem; font-weight: 600; text-decoration: none;
    border: 1.5px solid var(--dark-muted); color: #fff; padding: .4rem .8rem; border-radius: 999px;
}
.platform-links a:hover { background: #fff; color: var(--dark); border-color: #fff; }
.platform-links--inline a { border-color: var(--line); color: var(--ink); }
.platform-links--inline a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Podcast: filtros + buscador ---------- */

.filters { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 68px; z-index: 40; }
.filters__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
    text-decoration: none; font-size: .9rem; font-weight: 600;
    padding: .4rem .9rem; border-radius: 999px;
    border: 1.5px solid var(--line); color: var(--muted); background: var(--surface);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.search { display: flex; gap: .5rem; }
.search input {
    font: inherit; font-size: .95rem; padding: .5rem .9rem; min-width: 220px;
    border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink);
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.results-note { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- Podcast: tarjetas ---------- */

.ep-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.ep-card__media {
    display: grid; place-items: center;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--cta)));
    color: var(--accent-ink);
    text-decoration: none;
}
.ep-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ep-card__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
.ep-card__body { padding: 1.2rem 1.4rem 1.4rem; }
.ep-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.ep-card h3 a { text-decoration: none; }
.ep-card h3 a:hover { text-decoration: underline; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2.5rem; }
.pagination__btn { text-decoration: none; font-weight: 600; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); }
.pagination__btn:hover { background: var(--ink); color: #fff; }
.pagination__btn.is-disabled { opacity: .35; border-color: var(--muted); color: var(--muted); pointer-events: none; }
.pagination__info { color: var(--muted); font-size: .95rem; }

/* ---------- Podcast: ficha de episodio ---------- */

.episode-layout { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.episode-aside { display: grid; gap: 1.2rem; position: sticky; top: 88px; }
.badge--accent { background: var(--accent); color: var(--accent-ink); }

.player {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem; margin-bottom: 2rem; box-shadow: var(--shadow);
}
.player audio { width: 100%; margin-bottom: 1rem; }
.player iframe { width: 100%; border: 0; border-radius: 8px; margin-bottom: 1rem; }
.player__fallback { margin: 0 0 .8rem; color: var(--muted); }

.prose { font-size: 1.08rem; max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }

.ep-nav { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ep-nav__link { text-decoration: none; display: grid; gap: .15rem; max-width: 45%; }
.ep-nav__link span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.ep-nav__link strong { font-family: var(--font-display); font-weight: 600; }
.ep-nav__link:hover strong { text-decoration: underline; }
.ep-nav__link--right { text-align: right; margin-left: auto; }

.facts--accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.facts--accent h3 { color: var(--accent-ink); }
.facts p { font-size: .98rem; margin-bottom: 1rem; }

@media (max-width: 820px) {
    .episode-layout { grid-template-columns: 1fr; }
    .episode-aside { position: static; }
    .filters { position: static; }
    .search input { min-width: 0; width: 100%; }
    .search { width: 100%; }
}

/* ---------- Classes: fichas de tipo de clase ---------- */

.plans { display: grid; gap: 1.4rem; }
.plan {
    display: grid; grid-template-columns: 3fr 2fr; gap: clamp(1.5rem, 4vw, 3rem);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow);
    scroll-margin-top: 140px;
}
.plan__desc { margin: .6rem 0 0; color: var(--ink); }
.plan__note { margin: .8rem 0 0; font-size: .92rem; color: var(--muted); }
.plan__prices { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; }
.plan__prices-title { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.price-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.price-list span { color: var(--muted); }
.price-list strong { font-family: var(--font-display); font-size: 1.45rem; }
.plan__prices .btn { align-self: flex-start; margin-top: auto; }

@media (max-width: 820px) {
    .plan { grid-template-columns: 1fr; }
    .plan__prices { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; }
}

/* ---------- Forms (contacto) ---------- */

.form { display: grid; gap: 1.2rem; max-width: 560px; }
.form__row { display: grid; gap: .35rem; }
.form label { font-weight: 600; font-size: .95rem; }
.form input, .form textarea {
    font: inherit; padding: .7rem .9rem;
    border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 140px; }
.form__error { margin: 0; font-size: .88rem; color: #b3261e; }
.form__privacy { font-size: .85rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.5rem; font-weight: 500; }
.alert--success { background: #e7f3ea; color: #1d4d2b; border: 1px solid #bfe0c8; }

/* ---------- Substack posts (home) ---------- */

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.post {
    display: grid; gap: .3rem; text-decoration: none;
    background: rgba(255,255,255,.55); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 1.1rem 1.2rem;
    color: var(--accent-ink);
}
.post:hover { background: rgba(255,255,255,.8); }
.post__date { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.post__title { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25; }
.post__excerpt { font-size: .9rem; opacity: .85; }

@media (max-width: 820px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Booking: pasos guiados ---------- */

.book-step { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; }
.book-step .step__num { flex-shrink: 0; margin: .2rem 0 0; }
.book-step h2 { margin-bottom: .3rem; }
.book-step .lead { margin: 0; }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.choices--categories { grid-template-columns: repeat(3, 1fr); }
.choice {
    font: inherit; text-align: left; cursor: pointer;
    display: flex; flex-direction: column; gap: .5rem;
    background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem; box-shadow: var(--shadow); color: var(--ink);
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.choice:hover { border-color: var(--ink); transform: translateY(-2px); }
.choice:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice[aria-pressed="true"] { border-color: var(--cta); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cta) 22%, transparent), var(--shadow); }
.choice[aria-pressed="true"]::after {
    content: "Selected"; align-self: flex-start;
    background: var(--cta); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: .2rem .6rem; border-radius: 999px; margin-top: .2rem;
}
.choice strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.choice__top { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.choice__desc { color: var(--muted); font-size: .95rem; }
.choice__meta { font-size: .85rem; color: var(--muted); font-weight: 600; margin-top: auto; padding-top: .4rem; border-top: 1px dashed var(--line); }
.choice__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; margin-bottom: .2rem; position: relative; }
.choice__icon::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-ink); opacity: .85; }
.choice__icon--group::before { box-shadow: -12px 0 0 -4px var(--accent-ink), 12px 0 0 -4px var(--accent-ink); }
.choice__icon--individual::before { border-radius: 50% 50% 6px 6px; }
.choice__icon--course::before { border-radius: 3px; width: 20px; height: 14px; }
.choice__icon--package { background: var(--ink); }
.choice__icon--package::before { background: #fff; border-radius: 4px; width: 20px; height: 16px; }

/* Con JS, los pasos 2 y 3 solo se ven cuando se elige algo; sin JS, todo visible. */
.js .book-panel { display: none; }
.js .book-panel.is-active { display: block; }
.book-panel { scroll-margin-top: 84px; }

.book-options { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.option-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.option {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.1rem 1.4rem; box-shadow: var(--shadow);
}
.option__info { display: flex; align-items: baseline; gap: 1rem; }
.option__info strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.option__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.facts dt { min-width: 1.2rem; }
.facts__note { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); }

@media (max-width: 900px) { .choices, .choices--categories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .choices, .choices--categories { grid-template-columns: 1fr; }
    .book-options { grid-template-columns: 1fr; }
    .option { flex-direction: column; align-items: flex-start; }
}

/* ---------- Legal pages ---------- */

.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal p, .legal li { font-size: 1rem; color: var(--ink); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.legal__meta { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0; }
.legal-table th, .legal-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal-table code { font-size: .85rem; background: var(--surface); padding: .1rem .35rem; border-radius: 4px; border: 1px solid var(--line); }

/* ---------- Cookie banner ---------- */

.cookie-banner {
    position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%);
    z-index: 90; width: min(100% - 2rem, 720px);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: var(--dark); color: #fff; padding: .9rem 1.2rem; border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--dark-muted); }
.cookie-banner a { color: #fff; }
@media (max-width: 600px) { .cookie-banner { flex-direction: column; align-items: flex-start; } }

/* ---------- Photos (marcadores hasta tener fotos reales) ---------- */

.photo {
    margin: 0;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px dashed var(--line);
    display: grid; place-items: center;
    text-align: center; color: var(--muted); font-size: .95rem; line-height: 1.4;
    overflow: hidden;
}
.photo small { font-size: .8rem; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo picture { display: contents; }
.photo--real { border: 0; background: var(--line); box-shadow: var(--shadow); }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--landscape { aspect-ratio: 4 / 3; }
.photo--square { aspect-ratio: 1; }
.about-grid__side { display: grid; gap: 1.2rem; align-content: start; }

/* ---------- About ---------- */

.about-intro {
    display: grid;
    grid-template-columns: minmax(260px, 2fr) 3fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.about-intro__text .lead { margin-bottom: 1.2rem; }

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
    content: "✓";
    position: absolute; left: 0; top: .1rem;
    width: 1.35rem; height: 1.35rem; border-radius: 50%;
    background: var(--accent); color: var(--accent-ink);
    font-size: .8rem; font-weight: 700;
    display: grid; place-items: center;
}

.facts {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
}
.facts h3 { margin-bottom: 1rem; }
.facts dl { margin: 0 0 1.4rem; display: grid; gap: .9rem; }
.facts dt { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .15rem 0 0; }

.about-podcast {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (max-width: 820px) {
    .about-intro, .about-grid, .about-podcast { grid-template-columns: 1fr; }
    .about-intro .photo { max-width: 360px; }
    .about-podcast .photo { order: -1; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: var(--dark-muted); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2rem;
}
.site-footer__brand p { margin-top: .8rem; max-width: 32ch; font-size: .95rem; }
.brand--footer { font-size: 1.2rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: var(--dark-muted); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid #2a2a2a; margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }
