/* ==========================================================================
   CSS puente — Círculo de Hombres (recreación WordPress)
   = styles.css + blog.css del sitio original, con los colores y la fuente
   enganchados a los presets de theme.json (con fallback a su valor exacto).
   Cargar: Apariencia → Personalizar → CSS adicional, o como stylesheet del
   tema hijo (enqueue). No tocar si ya está subido el theme.json.
   ========================================================================== */

/* ==========================================================================
   Círculo de Hombres — landing editorial
   Libre Caslon Text · paleta oliva/verde/crema/ocre/tierra
   ========================================================================== */

:root {
  --cream: var(--wp--preset--color--cream, #fefae0);
  --olive: var(--wp--preset--color--olive, #606c38);
  --dark: var(--wp--preset--color--dark, #283618);
  --ochre: var(--wp--preset--color--ochre, #dda15e);
  --earth: var(--wp--preset--color--earth, #bc6c25);

  --ink: var(--wp--preset--color--ink, #283618);
  --ink-soft: var(--wp--preset--color--ink-soft, #606c38);
  --ink-faint: var(--wp--preset--color--ink-faint, #7b8152);
  --line: var(--wp--preset--color--line, rgba(96, 108, 56, 0.28));
  --line-soft: var(--wp--preset--color--line-soft, rgba(96, 108, 56, 0.16));

  --serif: var(--wp--preset--font-family--serif, "Libre Caslon Text", Georgia, "Times New Roman", serif);

  /* Escala tipográfica (de menor a mayor) */
  --text-2xs: 0.75rem;    /* 12px */
  --text-xs: 0.8125rem;   /* 13px — etiquetas / meta */
  --text-sm: 0.875rem;    /* 14px — notas / captions */
  --text-base: 0.9375rem; /* 15px — navegación / enlaces */
  --text-md: 1rem;        /* 16px — cuerpo móvil */
  --text-lg: 1.0625rem;   /* 17px — cuerpo */
  --text-xl: 1.125rem;    /* 18px — subtítulos */
  --text-2xl: 1.2rem;     /* 19px — leads */
  --text-3xl: 1.25rem;    /* 20px */
  --text-4xl: 1.375rem;   /* 22px — h3 de sección */
  --text-5xl: 1.5rem;     /* 24px — h2 de artículo */

  /* Bordes */
  --radius: 2px;
  --hairline: var(--wp--preset--color--hairline, rgba(40, 54, 24, 0.14));

  --container: 1200px;
  --header-h: 116px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--text-lg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  font-family: inherit;
}

::selection {
  background: var(--ochre);
  color: var(--dark);
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--earth);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ---------- Grain (subtle film texture) ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  mix-blend-mode: multiply;
}

.grain svg {
  width: 100%;
  height: 100%;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: transparent;
  z-index: 101;
  pointer-events: none;
}

.scroll-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--ochre);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id],
main[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--dark);
  color: var(--cream);
  font-size: 0.95rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--olive);
  text-transform: uppercase;
}

.eyebrow-num {
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  color: var(--ochre);
  letter-spacing: 0;
}

.section-head {
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head .eyebrow {
  margin-bottom: 1.25rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.05rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-primary {
  background: var(--dark);
  color: var(--cream);
}

.btn-ochre {
  background: var(--ochre);
  color: var(--dark);
}

.btn-arrow {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  transition: transform 0.2s var(--ease);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--olive);
    color: var(--cream);
  }
  .btn-ochre:hover {
    background: var(--earth);
    color: var(--cream);
  }
  .btn:hover .btn-arrow {
    transform: translateX(4px);
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.brand-mark {
  width: auto;
  height: 56px;
}

/* Cabecera: logo más grande y legible */
.site-header .brand-mark {
  height: 80px;
}

.site-header .brand-name {
  font-size: var(--text-5xl);
  font-weight: 700;
  letter-spacing: 0.005em;
}

/* Nav */
.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.main-nav .nav-list a {
  position: relative;
  display: inline-block;
  font-size: var(--text-base);
  padding: 0.25rem 0;
}

.main-nav .nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

@media (hover: hover) {
  .main-nav .nav-list a:hover {
    color: var(--olive);
  }
  .main-nav .nav-list a:hover::after {
    transform: scaleX(1);
  }
}

/* Menu toggle (mobile) */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle-box {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.menu-toggle-box::before,
.menu-toggle-box::after,
.menu-toggle-box span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}

.menu-toggle-box::before {
  top: 0;
}

.menu-toggle-box span {
  top: 7px;
}

.menu-toggle-box::after {
  top: 14px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-box::before {
  top: 7px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-box::after {
  top: 7px;
  transform: rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-box span {
  opacity: 0;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

[data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: clamp(2.5rem, 6vw, 5.5rem);
  padding-bottom: var(--section-y);
}

.hero-inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero-copy {
  max-width: 58rem;
}

.hero .eyebrow {
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 6.5vw, 4.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 20ch;
}

.hero-lead {
  margin-top: 2rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.6;
  max-width: 52ch;
  color: var(--ink-soft);
  padding-left: 1.25rem;
  border-left: 1px solid var(--ochre);
}

.hero-desc {
  margin-top: 1.75rem;
  font-size: var(--text-lg);
  line-height: 1.75;
  max-width: 62ch;
  color: var(--ink);
}

.hero-copy .btn {
  margin-top: 3rem;
}

/* Hero media — collage editorial en la columna lateral */
.hero-media {
  display: flex;
  flex-direction: column;
}

.hero-media-stage {
  position: relative;
  flex: none;
}

.hero-media .media-box {
  aspect-ratio: 3 / 4;
  max-height: none;
  width: 100%;
}

.hero-media .media-box img {
  object-fit: cover;
  height: 100%;
}

.hero-media-mini {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: clamp(8rem, 18vw, 13rem);
  margin: 0;
  background: var(--cream);
  padding: 0.5rem;
  box-shadow: 0 1px 0 rgba(40, 54, 24, 0.12);
}

.hero-media-mini--alt {
  bottom: 1rem;
  right: auto;
  left: 1rem;
  width: clamp(6.5rem, 14vw, 10rem);
}

.hero-media-mini img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero-media-mini--alt img {
  aspect-ratio: 1 / 1;
}

.media {
  margin: 0;
}

.media-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.media-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--hairline);
  border-radius: inherit;
  pointer-events: none;
}

.media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .media-box {
  aspect-ratio: 4 / 3;
}

.media-caption {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.9rem;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--ink-faint);
}

.caption-index {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--olive);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 1.1rem;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  animation: ticker 32s linear infinite;
  will-change: transform;
}

.ticker-track span {
  font-size: var(--text-3xl);
  font-style: italic;
  color: var(--ink-soft);
}

.ticker-track i {
  font-style: normal;
  color: var(--ochre);
  font-size: var(--text-md);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefits {
  padding-block: var(--section-y);
}

.benefits-grid {
  display: grid;
  gap: 2.5rem;
}

.benefit {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.benefit-num {
  display: block;
  font-family: var(--serif);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1rem;
}

.benefit h3 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.875rem;
}

.benefit p {
  line-height: 1.7;
  max-width: 40ch;
  color: var(--ink);
}

/* ==========================================================================
   Lista con marcador de punto (compartido)
   ========================================================================== */
.pq-block li,
.person-list li,
.article-body ul li {
  position: relative;
  padding-left: 1.5rem;
}

.pq-block li::before,
.person-list li::before,
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pq-yes li::before,
.person-list li::before,
.article-body ul li::before {
  background: var(--olive);
}

.pq-no li::before {
  background: var(--earth);
}

/* ==========================================================================
   Para quién
   ========================================================================== */
.para-quien {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

.para-quien-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.pq-block {
  padding-top: 1.75rem;
}

.pq-yes {
  border-top: 3px solid var(--olive);
}

.pq-no {
  border-top: 3px solid var(--earth);
}

.pq-block h3 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.pq-block li {
  margin-bottom: 1rem;
  line-height: 1.7;
  max-width: 48ch;
}

.pq-block li:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Metodología
   ========================================================================== */
.metodologia {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

.metodo {
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.metodo:last-child {
  border-bottom: 1px solid var(--line);
}

.metodo-num {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.metodo-num::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--ochre);
  margin-top: 0.9rem;
}

.metodo-body h3 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.875rem;
}

.metodo-body p {
  line-height: 1.7;
  max-width: 58ch;
}

.metodo-note {
  margin-top: 2.75rem;
  max-width: 58ch;
}

.metodo-note h3 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.875rem;
}

.metodo-note p {
  line-height: 1.7;
}

/* ==========================================================================
   Formato y condiciones
   ========================================================================== */
.formato {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

.formato-inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.formato-lead {
  font-size: var(--text-2xl);
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.formato-list {
  counter-reset: formato;
  border-top: 1px solid var(--line);
}

.formato-item {
  counter-increment: formato;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.formato-item h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.formato-item h3::before {
  content: "0" counter(formato);
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.formato-item p {
  line-height: 1.7;
  max-width: 52ch;
}

.formato-copy .btn {
  margin-top: 2.5rem;
}

.formato-fig .media-box {
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .formato-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

@media (max-width: 899px) {
  .formato-lead {
    font-size: var(--text-md);
    margin-bottom: 1.5rem;
  }
  .formato-item h3 {
    font-size: var(--text-md);
  }
}

/* ==========================================================================
   Lugar
   ========================================================================== */
.lugar {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

.lugar-inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.lugar-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.lugar-copy h3 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.lugar-copy p {
  line-height: 1.75;
  max-width: 58ch;
  margin-bottom: 1.25rem;
}

.lugar-copy p:last-of-type {
  margin-bottom: 0;
}

.lugar-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.lugar-fig--main .media-box,
.lugar-fig--alt .media-box {
  aspect-ratio: 4 / 3;
}

/* ==========================================================================
   Equipo
   ========================================================================== */
.equipo {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

.equipo-people {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.person {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.person-fig {
  margin: 0;
  max-width: 420px;
}

.person-fig .media-box {
  aspect-ratio: 1 / 1;
}

.person-fig .media-caption {
  margin-top: 0.9rem;
}

.person-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.person-list li {
  margin-bottom: 0.875rem;
  line-height: 1.7;
  max-width: 46ch;
}

.person-list li:last-child {
  margin-bottom: 0;
}

.equipo-origen {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.equipo-origen h3 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.equipo-origen p {
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 62ch;
}

.equipo-origen p:last-child {
  margin-bottom: 0;
}

.equipo-origen .lead {
  font-size: var(--text-2xl);
  line-height: 1.6;
  color: var(--ink);
}

.lugar-copy a,
.equipo-origen a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s var(--ease);
}

@media (hover: hover) {
  .lugar-copy a:hover,
  .equipo-origen a:hover {
    color: var(--dark);
  }
}

.year {
  color: var(--olive);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

.faq-container {
  max-width: 820px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-heading {
  margin: 0;
}

.faq-trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.375rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-family: var(--serif);
  font-size: var(--text-xl);
  line-height: 1.4;
  font-weight: 400;
  cursor: pointer;
}

.faq-q-text {
  flex: 1 1 0;
  min-width: 0;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.25rem;
  transition: transform 0.3s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ochre);
}

.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s var(--ease), visibility 0.35s;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  line-height: 1.7;
  max-width: 62ch;
  color: var(--ink-soft);
}

@media (hover: hover) {
  .faq-trigger:hover .faq-q-text {
    color: var(--olive);
  }
}

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-final {
  background: var(--dark);
  color: var(--cream);
  padding-block: var(--section-y);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.eyebrow--light {
  color: var(--ochre);
}

.cta-inner h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  max-width: 20ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-note {
  font-size: var(--text-sm);
  color: var(--ink-faint);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-social,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-social a {
  font-size: var(--text-base);
  color: var(--ink-soft);
}

.footer-legal a {
  font-size: var(--text-base);
  color: var(--ink-faint);
}

@media (hover: hover) {
  .footer-social a:hover,
  .footer-legal a:hover {
    color: var(--olive);
  }
}

/* ==========================================================================
   WhatsApp flotante (móvil)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 1.125rem;
  bottom: 1.125rem;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--olive);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(40, 54, 24, 0.22);
  transition: background-color 0.2s var(--ease);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (hover: hover) {
  .whatsapp-float:hover {
    background: var(--dark);
  }
}

@media (max-width: 899px) {
  .whatsapp-float {
    display: inline-flex;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 899px) {
  :root {
    --header-h: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header .brand-mark {
    height: 56px;
  }

  .site-header .brand-name {
    font-size: var(--text-3xl);
  }

  /* Escala tipográfica reducida en móvil */
  body {
    font-size: var(--text-sm);
  }

  .hero h1 {
    font-size: clamp(1.375rem, 6.5vw, 2rem);
    line-height: 1.15;
  }

  .hero-lead {
    margin-top: 1.5rem;
    padding-left: 0.875rem;
    font-size: var(--text-md);
  }

  .hero-desc {
    margin-top: 1.25rem;
    font-size: var(--text-sm);
  }

  .section-head h2 {
    font-size: clamp(1.375rem, 5vw, 1.75rem);
  }

  .benefit h3,
  .pq-block h3,
  .metodo-body h3,
  .metodo-note h3,
  .lugar-copy h3,
  .equipo-origen h3 {
    font-size: var(--text-lg);
  }

  .equipo-origen .lead {
    font-size: var(--text-md);
  }

  .faq-trigger {
    font-size: var(--text-base);
  }

  .metodo-num {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .cta-inner h2 {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  .btn {
    font-size: var(--text-base);
  }

  .hero .eyebrow {
    margin-bottom: 1rem;
    font-size: var(--text-2xs);
  }

  .hero-copy .btn {
    margin-top: 2rem;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }

  .main-nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
  }

  .main-nav .nav-list li {
    border-top: 1px solid var(--line);
  }

  .main-nav .nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: var(--text-lg);
  }

  .main-nav .nav-list a::after {
    display: none;
  }

  .lugar-media {
    grid-template-columns: 1fr;
  }

  .lugar-fig--main .media-box,
  .lugar-fig--alt .media-box {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: stretch;
  }

  .hero-media-stage {
    flex: 1;
    min-height: 0;
  }

  .hero-media .media-box {
    aspect-ratio: auto;
    height: 100%;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .para-quien-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metodo {
    grid-template-columns: minmax(8rem, 12rem) 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
  }

  .lugar-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    align-items: start;
    gap: 3rem;
  }

  .footer-meta {
    align-items: flex-end;
    text-align: right;
  }

  .footer-social,
  .footer-legal {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .hero-lead {
    margin-top: 2.25rem;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .faq-panel {
    transition: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
  }
}


/* ==========================================================================
   blog.css (listado + artículos)
   ========================================================================== */
/* ==========================================================================
   Círculo de Hombres — blog (index + artículos)
   Se carga después de styles.css y reutiliza sus tokens.
   ========================================================================== */

/* ---------- Navegación: estado activo ---------- */
.main-nav .nav-list a[aria-current="page"] {
  color: var(--olive);
}

.main-nav .nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- Blog hero ---------- */
.blog-hero {
  padding-top: clamp(2.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line-soft);
}

.blog-hero-inner {
  max-width: 60rem;
}

.blog-hero .eyebrow {
  margin-bottom: 1.5rem;
}

.blog-hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 20ch;
}

.blog-hero .lead {
  margin-top: 1.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40ch;
}

/* ---------- Listado de artículos ---------- */
.blog-posts {
  padding-block: var(--section-y);
}

.blog-posts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.blog-posts-head h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
}

.blog-posts-head .count {
  font-size: var(--text-sm);
  color: var(--ink-faint);
  font-style: italic;
}

.post-entry {
  display: grid;
  gap: 1.75rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
}

.post-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.post-media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.post-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--hairline);
  border-radius: inherit;
  pointer-events: none;
}

.post-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.post-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.post-meta {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
}

.post-title {
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 26ch;
}

.post-title a {
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

@media (hover: hover) {
  .post-title a:hover {
    color: var(--olive);
  }
}

.post-intro {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}

.post-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--dark);
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}

.post-link .btn-arrow {
  width: 1em;
  height: 1em;
  transition: transform 0.2s var(--ease);
}

@media (hover: hover) {
  .post-link:hover {
    color: var(--olive);
  }
  .post-link:hover .btn-arrow {
    transform: translateX(4px);
  }
}

@media (min-width: 900px) {
  .post-entry {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

/* ---------- Artículo ---------- */
.article-head {
  max-width: 720px;
  margin-inline: auto;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--ink-faint);
  margin-bottom: 2rem;
  transition: color 0.3s var(--ease);
}

.back-link svg {
  width: 1em;
  height: 1em;
  transition: transform 0.3s var(--ease);
}

@media (hover: hover) {
  .back-link:hover {
    color: var(--olive);
  }
  .back-link:hover svg {
    transform: translateX(-3px);
  }
}

.article-head .eyebrow {
  margin-bottom: 1.25rem;
}

.article-head h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  max-width: 24ch;
}

.article-standfirst {
  margin-top: 1.75rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  padding-left: 1.25rem;
  border-left: 1px solid var(--ochre);
}

.article-cover {
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.article-cover .media-box {
  border-radius: var(--radius);
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Figura intercalada dentro del cuerpo del artículo */
.article-figure {
  margin: 2.5rem 0;
}

.article-figure .media-box {
  border-radius: var(--radius);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------- Cuerpo del artículo ---------- */
.article-body {
  max-width: 720px;
  margin-inline: auto;
  padding-bottom: var(--section-y);
}

.article-body h2 {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.25;
  margin: 2.75rem 0 1rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  font-size: var(--text-xl);
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.article-body ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.article-body ul li {
  margin-bottom: 1rem;
  font-size: var(--text-xl);
  line-height: 1.7;
}

.article-body ul li:last-child {
  margin-bottom: 0;
}

.article-body strong {
  font-weight: 700;
}

.article-body blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 2px solid var(--ochre);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.article-body blockquote p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

/* Preguntas de revisión */
.review-box {
  margin: 2.75rem 0;
  padding: 1.75rem 1.75rem 0.5rem;
  background: color-mix(in srgb, var(--olive) 8%, var(--cream));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.review-box h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 1rem;
}

.review-box ul {
  margin-bottom: 1.25rem;
}

.review-box ul li {
  font-size: var(--text-lg);
}

/* Cierre del artículo */
.article-close {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-xl);
  line-height: 1.7;
  color: var(--ink);
}

.article-close .btn {
  margin-top: 1.75rem;
}

/* Nota editorial (testimonio) */
.editorial-note {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: color-mix(in srgb, var(--olive) 6%, var(--cream));
  border-left: 2px solid var(--ochre);
  border-radius: var(--radius);
  max-width: 62ch;
}

.editorial-note .editorial-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.75rem;
}

.editorial-note p:last-child {
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* Firma del autor */
.article-signature {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .blog-hero h1 {
    font-size: clamp(1.375rem, 6.5vw, 2rem);
    line-height: 1.15;
  }

  .blog-hero .lead {
    margin-top: 1.5rem;
    font-size: var(--text-md);
  }

  .article-head h1 {
    font-size: clamp(1.375rem, 6.5vw, 2rem);
    line-height: 1.15;
  }

  .article-standfirst {
    margin-top: 1.5rem;
    padding-left: 0.875rem;
    font-size: var(--text-md);
  }

  .article-body p,
  .article-body ul li {
    font-size: var(--text-md);
  }

  .article-body blockquote {
    font-size: var(--text-3xl);
  }

  .review-box h3 {
    font-size: var(--text-lg);
  }

  .review-box ul li {
    font-size: var(--text-md);
  }

  .post-title {
    font-size: var(--text-3xl);
  }

  .post-intro {
    font-size: var(--text-sm);
  }
}
