/* ============================================================
   styles.css — Psicóloga Cristina Ordoñez
   Estilos personalizados que complementan Tailwind CSS (CDN).
   Nota: @apply no funciona en archivos CSS externos con el CDN
   de Tailwind, por lo que se usan valores CSS estándar aquí.

   Paleta brand:
     dark  #4f4631   light #f0ead6   cream #f7f4e8
     gold  #b89c6f
============================================================ */

/* ── Scroll suave ─────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

/* ── Focus visible global ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid #b89c6f; /* brand-gold */
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Sombra + navbar inteligente ──────────────────────────── */
#navbar {
  transition: transform 0.45s ease, box-shadow 0.35s ease;
}
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}
#navbar.navbar--hidden {
  transform: translateY(-100%);
}

/* ── Botón principal ──────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background-color: #7a5c43;    /* botones — marrón de momentos */
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(122, 92, 67, 0.3);
}

.btn-primary:hover {
  background-color: #6a4f38;    /* botones hover — un tono más oscuro */
  box-shadow: 0 4px 12px rgba(122, 92, 67, 0.35);
}

.btn-primary:active {
  transform: scale(0.97);
}

/* ── Botón secundario ─────────────────────────────────────── */
.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #7a5c43;               /* botones — marrón de momentos */
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid #b89c6f;   /* brand-gold */
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background-color: #f0ead6;   /* brand-light */
  border-color: #7a5c43;       /* botones hover */
}

.btn-secondary:active {
  transform: scale(0.97);
}

/* ── Botón de agendamiento (sistema unificado) ─────────────── */
.cta-agendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 9999px;
  padding: 0.72rem 1.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  box-shadow: 0 8px 22px rgba(79, 70, 49, 0.12);
}

.cta-agendar:hover {
  transform: translateY(-1px);
}

.cta-agendar:active {
  transform: translateY(0);
}

.cta-agendar--dark {
  background-color: #7a5c43;
  border-color: #7a5c43;
  color: #ffffff;
}

.cta-agendar--dark:hover {
  background-color: #6a4f38;
  border-color: #6a4f38;
  box-shadow: 0 12px 26px rgba(79, 70, 49, 0.2);
}

.cta-agendar--light {
  background-color: #f7f4e8;
  border-color: rgba(240, 234, 214, 0.55);
  color: #4f4631;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.cta-agendar--light:hover {
  background-color: #f0ead6;
  border-color: rgba(184, 156, 111, 0.45);
  color: #4f4631;
}

@media (max-width: 767px) {
  .cta-agendar {
    width: 100%;
    padding: 0.78rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* ── Links de navegación (escritorio) ────────────────────── */
.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4f4631;               /* brand-dark2 */
  text-decoration: none;
  transition: color 0.2s ease;
  padding-bottom: 3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4f4631;   /* brand-dark */
  border-radius: 1px;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #4f4631;               /* brand-dark */
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ── Links de navegación (móvil) ─────────────────────────── */
.mobile-nav-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4f4631;               /* brand-dark2 */
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover {
  background-color: #f0ead6;   /* brand-light */
  color: #4f4631;               /* brand-dark */
}

/* ── Etiqueta de sección ──────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b89c6f;               /* brand-gold */
  margin-bottom: 0.25rem;
}

/* ── Tarjetas de servicio ─────────────────────────────────── */
.service-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #f0ead6;   /* brand-light */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(79, 70, 49, 0.1);
}

/* ── Ícono de servicio ────────────────────────────────────── */
.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: #f0ead6;   /* brand-light */
  color: #4f4631;               /* brand-dark */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* ── Formulario: etiquetas ────────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;               /* slate-700 */
  margin-bottom: 0.375rem;
}

/* ── Formulario: campos ───────────────────────────────────── */
.form-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;   /* slate-200 */
  background-color: #f8fafc;   /* slate-50 */
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: #334155;               /* slate-700 */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.form-input::placeholder {
  color: #cbd5e1;               /* slate-300 */
}

.form-input:focus {
  outline: none;
  border-color: #b89c6f;       /* brand-gold */
  box-shadow: 0 0 0 3px rgba(184, 156, 111, 0.18);
  background-color: #ffffff;
}

/* ── Links del pie de página ──────────────────────────────── */
.site-footer {
  background-color: #4f4631; /* tono base unificado para todos los pies de página */
}

.footer-link {
  color: #b89c6f;               /* brand-gold */
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #f0ead6;               /* brand-light */
}

/* ── Animación de entrada (fadeUp) ───────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.2s;  }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s;  }

/* ── Preguntas frecuentes — estilo simple ─────────────────── */
.faq-list {
  border-top: 1px solid rgba(79, 70, 49, 0.12);
  max-width: 52rem;
  margin: 0 auto;
}

.faq-entry {
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(79, 70, 49, 0.12);
}

.faq-entry:last-child {
  border-bottom: none;
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  color: #4f4631;
  line-height: 1.55;
  padding: 0.7rem 0.2rem;
  transition: color 0.2s ease;
}

.faq-summary:hover {
  color: #8f7750;
}

.faq-summary:focus-visible {
  outline: 2px solid #b89c6f;
  outline-offset: 2px;
}

.faq-entry[open] .faq-summary {
  color: #8f7750;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  transition: transform 0.25s ease;
  color: #b89c6f;
  flex-shrink: 0;
  font-size: 0.9rem;
  line-height: 1;
  margin-left: 0.35rem;
}

.faq-summary:hover .faq-arrow,
.faq-entry[open] .faq-arrow {
  color: #8f7750;
}

.faq-entry[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-entry p {
  margin: 0.1rem 0 0.7rem;
  padding: 0 2rem 0 0.25rem;
  font-size: 0.97rem;
  color: rgba(79, 70, 49, 0.92);
  line-height: 1.8;
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .faq-summary {
    font-size: 0.97rem;
    padding: 0.65rem 0.1rem;
    gap: 0.7rem;
  }

  .faq-entry p {
    font-size: 0.94rem;
    padding: 0 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-arrow {
    transition: none;
  }
}

/* ── Animación de entrada: desde la derecha (hero imagen) ─── */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-right {
  animation: fadeInRight 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Figura de línea continua: persona sentada, manos al pecho ─── */
/* ── Hero Warm — presencia sin imagen, calidez estructural ─────── */
.hero-warm {
  background-color: #f7f4e8; /* brand-cream */
}

.hero-warm--cortinas {
  background-image: url('imagenes/HERO 7.png');
}

.hero-warm__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247, 244, 232, 0.36) 0%,
    rgba(247, 244, 232, 0.44) 55%,
    rgba(247, 244, 232, 0.5) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Círculo dorado superior derecho — profundidad cálida */
.hero-warm__bg-circle {
  position: absolute;
  top: -18%;
  right: -8%;
  width: 58vw;
  height: 58vw;
  max-width: 680px;
  max-height: 680px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(184, 156, 111, 0.14) 0%,
    rgba(240, 234, 214, 0.26) 50%,
    transparent 72%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Círculo blush inferior izquierdo — equilibrio visual */
.hero-warm__bg-circle-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  max-width: 440px;
  max-height: 440px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(240, 234, 214, 0.40) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Grid interior: texto izquierda, visual derecha */
.hero-warm__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-warm__inner {
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: center;
  }
}

.hero-warm__kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a5c43;
  margin-bottom: 1rem;
}

.hero-warm__title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1.18;
  color: #6f523a;
}

.hero-warm__title-subline {
  display: block;
  margin-top: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(79, 70, 49, 0.91);
}

/* Subtítulo */
.hero-warm__sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(79, 70, 49, 0.78);
}

/* Columna textual del hero: estructura consistente y centrada */
.hero-warm__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 46rem;
}

/* ── Sobre mí: marcos rectangulares (elige una variante) ───────────── */
.about-photo-rect {
  width: min(100%, 26rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #f0ead6;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

/* Variante 1: elegante (sobria y profesional) */
.about-photo-rect--elegante {
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(79, 70, 49, 0.1);
}

/* Variante 2: cálida (más cercana y suave) */
.about-photo-rect--calida {
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(79, 70, 49, 0.11);
}

.about-photo-rect:hover {
  transform: translateY(-1px);
}

.about-photo-arch__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-bio {
  padding-top: 0.25rem;
}

/* ============================================================
   BLOG — tarjetas de artículos (placeholder de imagen)
============================================================ */
.blog-post-card {
  border: 1px solid #7a5c43;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
}

.moments-section-bg {
  background-color: #7a5c43;
}

.footer-warm-bg {
  background-color: #7a5c43;
}

.blog-post-content {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (min-width: 768px) {
  .blog-post-content {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}

.blog-post-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #e5e7eb; /* gris placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 640px) {
  .blog-post-media {
    aspect-ratio: 4 / 3;
  }
}

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

.blog-post-media__placeholder {
  text-align: center;
  padding: 1rem;
  color: rgba(79, 70, 49, 0.45);
}

.blog-post-media__placeholder-title {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.blog-post-media__placeholder-sub {
  margin-top: 0.25rem;
  font-size: 0.7rem;
  font-weight: 500;
}

.blog-post-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.blog-post-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: #b89c6f;
  text-decoration: none;
}

.blog-post-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(79, 70, 49, 0.35);
  padding: 0.8rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4f4631;
  text-decoration: none;
  background: #ffffff;
}

.blog-post-button:hover {
  background: rgba(184, 156, 111, 0.12);
}

/* Columna visual — oculta en móvil */
.hero-warm__visual {
  position: relative;
  min-height: 420px;
  display: none;
}

@media (min-width: 768px) {
  .hero-warm__visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Forma orgánica animada — movimiento suave, presencia viva */
.hero-warm__shape {
  width: 420px;
  height: 420px;
  background: linear-gradient(
    135deg,
    rgba(240, 234, 214, 0.95) 0%,
    rgba(184, 156, 111, 0.22) 55%,
    rgba(247, 244, 232, 0.80) 100%
  );
  border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
  animation: hero-morph 18s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes hero-morph {
  0%   { border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%; }
  33%  { border-radius: 40% 60% 48% 52% / 62% 38% 58% 42%; }
  66%  { border-radius: 52% 48% 62% 38% / 42% 58% 45% 55%; }
  100% { border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%; }
}

/* Ilustración centrada y fija sobre la burbuja — no anima con ella */
.hero-warm__illustration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}

/* Badge de modalidad — información contextual, no competencia al título */
.hero-warm__badge {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(184, 156, 111, 0.30);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(79, 70, 49, 0.70);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(79, 70, 49, 0.06);
}

.hero-warm__badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #b89c6f;
  flex-shrink: 0;
}

/* Botón primario sobre fondo oscuro */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #7a5c43;      /* marrón de momentos */
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-hero:hover {
  background-color: #6a4f38;
  transform: translateY(-0.5px);
}

.btn-hero--gold {
  background-color: #b89c6f;
  color: #4f4631;
}

.btn-hero--gold:hover {
  background-color: #a88f66;
  color: #4f4631;
}

/* ── Paleta brand actualizada (color de referencia) ──────── */
/*
  brand-dark:  #4f4631  (marrón cálido — primario)
  brand-light: #f0ead6  (blush — tono de apoyo y hover)
  brand-cream: #f7f4e8  (crema — fondo)
  brand-gold:  #b89c6f  (dorado — acento)
*/

/* ── Estrellas Zen decorativas ──────────────────────────────── */
.star-zen {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

@keyframes starZenFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes starZenFloatB {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-6px) rotate(15deg); }
}
@keyframes starZenPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%       { opacity: 0.85; transform: scale(1.3); }
}

.star-zen--float-a { animation: starZenFloat  6s ease-in-out infinite; }
.star-zen--float-b { animation: starZenFloatB 8s ease-in-out infinite 1s; }
.star-zen--pulse   { animation: starZenPulse  3.5s ease-in-out infinite; }

/* ── Sección "Hay momentos en la vida que…" ──────────────── */

/* Etiqueta de sección sobre fondo oscuro */
.section-label-light {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b89c6f;   /* brand-gold */
}

/* ── Hay momentos — layout asimétrico 2 columnas ─────────────────── */

/* Grid principal: una columna en móvil, asimétrico en escritorio */
.moments-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
}

@media (min-width: 768px) {
  .moments-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
  }
}

/* Columna derecha: contenedor de la foto */
.moments-photo-col {
  display: none;
  position: relative;
  min-height: 540px;
}

@media (min-width: 768px) {
  .moments-photo-col {
    display: block;
  }
}

/* Foto: cubre todo el contenedor, centrada */
.moments-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(184, 156, 111, 0.35),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Cada frase: serif regular, color uniforme */
.moments-phrase {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #ffffff;
  line-height: 1.75;
  text-align: left;
  padding: 0.45rem 0;
  margin: 0;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  text-wrap: balance;
}

/* Separador: línea dorada tenue entre frases */
.moments-phrase--sep {
  border-top: 1px solid rgba(184, 156, 111, 0.15);
}

/* Guión dorado prefijo */
.moments-dash {
  color: #b89c6f;
  flex-shrink: 0;
}

/* Opción A: tinte dorado cálido */
.moments-phrase--card {
  background: rgba(184, 156, 111, 0.08);
  border-radius: 8px;
  padding: 0.55rem 1.1rem !important;
  margin-bottom: 0.4rem;
  display: block;
}

/* ── Voces del Proceso — diseño editorial ─────────────────── */

/* Contenedor externo: fija el ancho visible y oculta el desbordamiento */
.voices-carousel-outer {
  overflow: hidden;
  position: relative;
}

/* Pista: fila de slides que se desliza */
.voices-carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide: ocupa el 100 % del contenedor visible */
.voices-slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* Interior del slide: tarjeta con borde casi imperceptible */
.voices-slide__inner {
  position: relative;
  padding: 2.5rem 2.5rem 2.25rem;
  border: 1px solid rgba(184, 156, 111, 0.18);
  border-radius: 4px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

@media (max-width: 639px) {
  .voices-slide__inner {
    padding: 2rem 1.5rem 1.75rem;
  }
}

/* Número pequeño y elegante — esquina superior izquierda del recuadro */
.voices-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #b89c6f;
  opacity: 0.75;
  user-select: none;
  line-height: 1;
}

/* Cita: tipografía serif itálica */
.voices-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  line-height: 1.8;
  color: #4f4631;
  max-width: 680px;
  margin: 0;
}

/* Controles: flecha + contador + flecha */
.voices-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Botones de flecha */
.voices-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1.5px solid #b89c6f;
  background: transparent;
  color: #b89c6f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.voices-arrow:hover:not(:disabled) {
  background-color: #b89c6f;
  color: #fff;
}

.voices-arrow:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

/* Contador tipográfico  01 / 06 */
.voices-counter {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: #4f4631;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.voices-counter-sep {
  color: #b89c6f;
}

.voices-counter-total {
  color: #4f4631;
  opacity: 0.38;
}

/* Barra de progreso delgada debajo de los controles */
.voices-progress-bar {
  margin-top: 1.25rem;
  height: 2px;
  background-color: rgba(184, 156, 111, 0.18);
  border-radius: 9999px;
  overflow: hidden;
}

.voices-progress-fill {
  height: 100%;
  background-color: #b89c6f;
  border-radius: 9999px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  width: 16.666%;  /* 1/6 inicial */
}

/* ── Tarjeta de servicio destacada ───────────────────────── */
.service-card--featured {
  background-color: #6b5c42;   /* botones — marrón medio */
  border-color: #6b5c42;
  position: relative;
  overflow: hidden;
}

.service-card--featured:hover {
  box-shadow: 0 14px 32px rgba(107, 92, 66, 0.25);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: #b89c6f;
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

/* ── Botón de la tarjeta destacada ───────────────────────── */
.btn-featured {
  display: inline-block;
  background-color: #ffffff;
  color: #6b5c42;              /* botones — marrón medio */
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-featured:hover {
  background-color: #f0ead6;
}

.btn-featured:active {
  transform: scale(0.97);
}

/* ── Ícono de check en tarjetas de servicio ──────────────── */
.check-icon {
  color: #b89c6f;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   SERVICIOS — Diseño editorial sin tarjetas
══════════════════════════════════════════════════════════ */

.service-list {
  border-top: 1px solid rgba(184, 156, 111, 0.18);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(184, 156, 111, 0.18);
}

/* Tinte muy sutil en la consulta gratuita */
.service-item--featured {
  background: rgba(184, 156, 111, 0.045);
  margin: 0 -1.75rem;
  padding: 2.75rem 1.75rem;
}

@media (max-width: 767px) {
  .service-item {
    flex-direction: column;
    gap: 1.25rem;
  }
  .service-item--featured {
    margin: 0 -1.5rem;
    padding: 2.25rem 1.5rem;
  }
}

.service-item__body {
  flex: 1;
  min-width: 0;
}

.service-item__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b89c6f;
  display: block;
  margin-bottom: 0.5rem;
}

.service-item__title {
  font-family: 'Marcellus', serif;
  font-size: 1.375rem;
  color: #4f4631;
  margin-bottom: 0.875rem;
}

.service-item__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(79, 70, 49, 0.86);
  max-width: 54ch;
}

/* Columna derecha: precio + enlace */
.service-item__aside {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
  min-width: 7.5rem;
  padding-top: 0.125rem;
}

@media (max-width: 767px) {
  .service-item__aside {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.85rem;
  }
}

/* Precio: ligero, muted — no debe dominar */
.service-item__tariff {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: rgba(79, 70, 49, 0.72);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Variante pequeña para texto como "De mi parte" */
.service-item__tariff--sm {
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.service-item__per {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(79, 70, 49, 0.64);
  line-height: 1.35;
  text-align: right;
  margin-top: 0.2rem;
  letter-spacing: 0.03em;
}

/* CTA: botón outline píldora */
.service-item__cta {
  font-family: 'Inter', sans-serif;
  white-space: normal;
  text-align: center;
  min-width: 10rem;
}

.service-item__cta:hover {
  transform: none;
}

/* Nota a pie de sección */
.service-footnote {
  font-size: 0.78rem;
  color: rgba(79, 70, 49, 0.5);
  margin-top: 2.25rem;
  line-height: 1.6;
  font-style: normal;
  max-width: 60ch;
}

@media (max-width: 767px) {
  /* En móvil el precio debe quedar unido: "35 EUR" / "60 EUR" */
  .service-item__tariff {
    white-space: nowrap;
    font-size: 1.2rem;
    line-height: 1.15;
  }

  .service-item__per {
    text-align: left;
    margin-top: 0.15rem;
  }

  /* Evita que el CTA herede tamaño grande global en esta sección */
  .service-item__cta {
    width: auto;
    min-width: 0;
    white-space: nowrap;
    padding: 0.58rem 0.9rem;
    font-size: 0.78rem;
    line-height: 1.2;
    flex-shrink: 0;
  }

  .service-footnote {
    font-size: 0.72rem;
    line-height: 1.5;
    margin-top: 1.5rem;
  }
}

/* ══════════════════════════════════════════════════════════
   SERVICIOS — Opción A: tarjetas con descripción (legacy)
══════════════════════════════════════════════════════════ */
.service-card-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(79, 70, 49, 0.68);   /* brand-dark/70 */
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-desc--light {
  color: rgba(255, 255, 255, 0.72);
}

.service-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b89c6f;
  margin-bottom: 0.625rem;
  display: block;
}

.service-card-meta--light {
  color: rgba(255, 255, 255, 0.55);
}

/* Hace que las tarjetas de la opción A estiren uniformemente */
.services-grid-a {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .services-grid-a {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card-a {
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════════════════════════════
   SERVICIOS — Opción B: filas horizontales
══════════════════════════════════════════════════════════ */
.service-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  padding: 2.5rem 0;
}

@media (max-width: 767px) {
  .service-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.service-row--featured {
  background-color: rgba(184, 156, 111, 0.07);
  border-radius: 0.75rem;
  padding: 2.5rem;
  border: 1px solid rgba(184, 156, 111, 0.2);
}

.service-row__content {
  flex: 1;
  min-width: 0;
}

.service-row__price {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  min-width: 9rem;
  padding-top: 0.25rem;
}

@media (max-width: 767px) {
  .service-row__price {
    align-items: flex-start;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

.service-row__title {
  font-family: 'Marcellus', serif;
  font-size: 1.25rem;
  color: #4f4631;
  margin-bottom: 0.625rem;
}

.service-row__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(79, 70, 49, 0.65);
  max-width: 52ch;
}

.service-row__amount {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #4f4631;
  line-height: 1;
}

/* ── Pasos del proceso — diseño fluido sin tarjetas ─────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  position: relative;
  padding-left: 1.6rem;
  list-style: none;
  margin: 0;
}

/* Línea vertical visible en móvil */
.process-steps::before {
  content: '';
  position: absolute;
  top: 0.85rem;
  bottom: 0.85rem;
  left: 0.65rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(184, 156, 111, 0.2),
    rgba(184, 156, 111, 0.55) 20%,
    rgba(184, 156, 111, 0.55) 80%,
    rgba(184, 156, 111, 0.2)
  );
}

.process-step {
  text-align: left;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  column-gap: 1rem;
  row-gap: 0.2rem;
  align-items: start;
  padding: 0.2rem 0;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    align-items: start;
    padding-left: 0;
  }

  .process-steps::before {
    top: 2.75rem;
    left: calc(12.5% + 1.5rem);
    right: calc(12.5% + 1.5rem);
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(184, 156, 111, 0.35) 15%,
      rgba(184, 156, 111, 0.75) 50%,
      rgba(184, 156, 111, 0.35) 85%,
      transparent
    );
  }

  .process-step {
    text-align: center;
    display: block;
    padding: 0;
  }
}

/* Círculo con fondo crema que contiene el icono */
.process-step__icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background-color: #f7f4e8;
  border: 1px solid #eadfc6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.4rem;
  color: #b89c6f;
  box-shadow: 0 10px 24px rgba(79, 70, 49, 0.08);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* En móvil: icono fijo a la izquierda y todo el texto a la derecha */
.process-step__icon {
  grid-column: 1;
  grid-row: 1 / span 3;
}

@media (min-width: 768px) {
  .process-step__icon {
    margin: 0 auto 1.25rem;
  }
}

.process-step__number {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #7a5c43;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.process-step__title {
  font-family: 'Marcellus', serif;
  font-size: 1.05rem;
  color: #4f4631;
  margin-bottom: 0.4rem;
  transition: color 0.25s ease;
  grid-column: 2;
  grid-row: 2;
}

.process-step__desc {
  font-size: 0.875rem;
  color: rgba(79, 70, 49, 0.80);
  line-height: 1.7;
  min-height: 4.5rem; /* altura mínima uniforme sin saltos manuales */
  grid-column: 2;
  grid-row: 3;
}

.process-step__desc br {
  display: none;
}

/* Paso activo: hover en desktop + clase en móvil al tocar */
.process-step:hover .process-step__icon,
.process-step.is-active .process-step__icon {
  transform: translateY(-2px);
  background-color: #f0ead6;
  color: #a88656;
  box-shadow: 0 14px 28px rgba(79, 70, 49, 0.12);
}

.process-step:hover .process-step__title,
.process-step.is-active .process-step__title {
  color: #7a5c43;
}

@media (max-width: 767px) {
  .process-steps {
    gap: 1.2rem;
    padding-left: 0;
    max-width: 30rem;
    margin: 0 auto;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    grid-template-columns: 1fr;
    row-gap: 0;
    justify-items: center;
    text-align: center;
    padding: 0;
    border-bottom: none;
  }

  .process-step__icon {
    display: flex;
    grid-column: auto;
    grid-row: auto;
    position: relative;
    width: 2.2rem;
    height: 2.2rem;
    margin: 0;
    border: 1px solid #e9dcc3;
    background-color: #fbf7ec;
    box-shadow: 0 4px 10px rgba(79, 70, 49, 0.06);
    color: #a88656;
  }

  /* Conector breve entre íconos para mantener la línea de tiempo sin cruzar texto */
  .process-step__icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(100% + 0.18rem);
    transform: translateX(-50%);
    width: 1px;
    height: 0.72rem;
    background: linear-gradient(
      to bottom,
      rgba(184, 156, 111, 0.68),
      rgba(184, 156, 111, 0.18)
    );
  }

  .process-step__icon svg {
    width: 1rem;
    height: 1rem;
  }

  .process-step__number {
    grid-column: auto;
    grid-row: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 1.15rem;
    padding: 0 0.45rem;
    border-radius: 9999px;
    font-size: 0.54rem;
    letter-spacing: 0.14em;
    margin-top: 0.55rem;
    margin-bottom: 0.3rem;
    color: #7a5c43;
    background-color: #f2ead8;
    border: 1px solid #e4d4b3;
  }

  .process-step__title {
    grid-column: auto;
    grid-row: auto;
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .process-step__desc {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    font-size: 0.84rem;
    line-height: 1.62;
    color: rgba(79, 70, 49, 0.72);
    max-width: 30ch;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .process-step__icon,
  .process-step__number,
  .process-step__title,
  .process-step__desc {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ── Tarjetas de afirmaciones ─────────────────────────────── */
.affirmation-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid #f0ead6;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affirmation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(79, 70, 49, 0.1);
}

.affirmation-word {
  font-family: 'Marcellus', serif;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: #4f4631;
  margin-bottom: 1rem;
}

/* ── Ícono de contacto ────────────────────────────────────── */
.contact-icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: #f0ead6; /* contact-icon hover */
  color: #7a5c43; /* mismo tono base que la sección "momentos" */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.contact-icon-wrap:hover {
  background-color: #b89c6f;
  color: #ffffff;
}

/* ── MOMENTOS — Toggle de diseño ──────────────────────────── */
.moments-design-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
}

.moments-design-toggle--active {
  background-color: rgba(184, 156, 111, 0.3) !important;
  color: #ffffff !important;
  border-radius: 9999px;
}

/* ── MOMENTOS — Carousel Diseño B (Simple) ──────────────────── */
.moments-track-b {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── MOMENTOS — Carousel Premium (3 tarjetas, central destacada) ──────────── */
.moments-carousel-premium-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 1rem;
}

.moments-carousel-stage {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moments-nav-btn--prev {
  margin-left: -4rem;
}

.moments-nav-btn--next {
  margin-right: -4rem;
}

.moments-card-premium {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  width: 320px;
  height: 360px;
  border: 1px solid rgba(240, 234, 214, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease,
              box-shadow 0.35s ease,
              background-color 0.35s ease,
              border-color 0.35s ease;
}

.moments-card-premium.is-center {
  width: 360px;
  opacity: 1;
  transform: scale(1);
  z-index: 10;
  order: 2;
  position: relative;
  pointer-events: auto;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(240, 234, 214, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
}

.moments-card-premium.is-side {
  opacity: 0.6;
  transform: scale(0.85);
  z-index: 5;
  position: relative;
  pointer-events: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.moments-card-premium.is-side.is-left {
  order: 1;
}

.moments-card-premium.is-side.is-right {
  order: 3;
}

.moments-card-premium.is-hidden {
  opacity: 0;
  transform: scale(0.82);
  order: 4;
  position: absolute;
  pointer-events: none;
}

.moments-card-premium:hover {
  box-shadow: 0 8px 32px rgba(184, 156, 111, 0.15);
}

.moments-card-premium__tag {
  position: relative;
  top: -0.9rem; /* Separa más la etiqueta del título sin robar protagonismo */
  margin-bottom: 0.45rem;
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 234, 214, 0.42);
}

.moments-card-premium li {
  text-wrap: pretty;
}

.moments-mobile-hint {
  display: none;
  margin-top: 0.15rem;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: none;
  color: rgba(240, 234, 214, 0.2);
  font-style: normal;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.moments-mobile-hint--hidden {
  opacity: 0;
  transform: translateY(-2px);
  pointer-events: none;
}

@media (max-width: 1279px) {
  .moments-nav-btn--prev {
    margin-left: -2rem;
  }

  .moments-nav-btn--next {
    margin-right: -2rem;
  }
}

@media (max-width: 1023px) {
  .moments-nav-btn--prev {
    margin-left: -0.5rem;
  }

  .moments-nav-btn--next {
    margin-right: -0.5rem;
  }
}

@media (max-width: 767px) {
  .moments-carousel-viewport {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    overflow: visible;
  }

  .moments-mobile-hint {
    display: block;
  }

  #moments-track-a {
    touch-action: pan-y;
    overflow: visible;
  }

  #moments-prev-a,
  #moments-next-a {
    display: none;
  }

  .moments-card-premium {
    padding: 1.4rem;
    height: 336px !important;
    box-sizing: border-box;
  }

  .moments-card-premium.is-center {
    width: min(calc(100vw - 3rem), 360px);
    margin-left: auto;
    margin-right: auto;
    border-width: 1px;
  }

  .moments-card-premium.is-side,
  .moments-card-premium.is-hidden {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    order: 4;
  }
}

/* ── MOMENTOS — Carousel Diseño Simple — Hover con círculo expandible ── */
.moments-card {
  position: relative;
  overflow: hidden;
}

/* Círculo expandible de hover */
.moments-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(143, 111, 85, 0.4);
  transition: width 0.8s ease-out, height 0.8s ease-out;
  pointer-events: none;
  z-index: 1;
}

.moments-card:hover::before {
  width: 150%;
  height: 150%;
}

/* Asegurar que el contenido esté sobre el círculo */
.moments-card > * {
  position: relative;
  z-index: 2;
}

/* Animación de parpadeo (flecha en Hero) */
@keyframes bounce {
  0%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.65;
    transform: translateY(-4px);
  }
}

.animate-bounce {
  animation: bounce 3.2s ease-in-out infinite;
}

/* ── Accesibilidad: reducir movimiento si el usuario lo solicita ───── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* ── Artículo de blog — lectura editorial ─────────────────── */
.reading-progress {
  position: fixed;
  top: 88px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(184, 156, 111, 0.2);
  z-index: 45;
}

.reading-progress__bar {
  width: 0;
  height: 100%;
  background: #b89c6f;
  transition: width 0.1s linear;
}

.article-prose {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.article-prose p,
.article-prose li {
  line-height: 1.9;
}

.article-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(79, 70, 49, 0.12);
}

.article-toc {
  max-width: 68ch;
  margin: 0 auto;
  border: 1px solid rgba(184, 156, 111, 0.35);
  border-radius: 1rem;
  background: rgba(240, 234, 214, 0.35);
  padding: 1rem 1.1rem;
}

.article-toc a {
  color: rgba(79, 70, 49, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
}

.article-toc a:hover {
  color: #7a5c43;
}

.symptoms-checklist {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.symptoms-checklist li {
  position: relative;
  list-style: none;
  padding-left: 1.75rem;
}

.symptoms-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: #b89c6f;
  font-weight: 700;
}

.article-cta-soft {
  max-width: 68ch;
  margin: 2.5rem auto 0;
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(184, 156, 111, 0.3);
  background: #ffffff;
}

.author-card {
  max-width: 68ch;
  margin: 2.8rem auto 0;
  border: 1px solid rgba(184, 156, 111, 0.28);
  border-radius: 1rem;
  background: #fff;
  padding: 1.1rem;
  display: flex;
  gap: 0.95rem;
  align-items: center;
}

.author-card__img {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .reading-progress {
    top: 80px;
  }

  .article-prose p,
  .article-prose li {
    line-height: 1.82;
    font-size: 0.98rem;
  }

  .article-section {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
  }

  .author-card {
    align-items: flex-start;
  }
}

/* ── Banner de consentimiento de cookies (GA solo tras aceptar) ── */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom));
  background: rgba(79, 70, 49, 0.97);
  color: #f7f4e8;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(240, 234, 214, 0.2);
}

.cookie-consent__inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.cookie-consent__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(247, 244, 232, 0.92);
}

.cookie-consent__text a {
  color: #e8d9b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
  color: #fff;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-consent__btn {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cookie-consent__btn--accept {
  background: #b89c6f;
  color: #2a2418;
}

.cookie-consent__btn--accept:hover {
  background: #c9ae82;
}

.cookie-consent__btn--reject {
  background: transparent;
  color: #f0ead6;
  border: 1px solid rgba(240, 234, 214, 0.45);
}

.cookie-consent__btn--reject:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.cookie-consent-open {
  padding-bottom: 8.5rem;
}

@media (min-width: 768px) {
  body.cookie-consent-open {
    padding-bottom: 5rem;
  }
}
