/* ============================================================
   VITAL REGENERA — STYLES (CSS consolidado)
   Origen: src/styles/main.css + <style> de cada componente Astro
   ============================================================ */

/* ─── VARIABLES Y RESET GLOBAL ─── */
:root {
  --marfil: #F7F2E8;
  --marfil-profundo: #EFE6D8;
  --azul: #123B5A;
  --azul-profundo: #0E2A40;
  --negro: #111111;
  --gris: #4F4A45;
  --gris-suave: #827A72;
  --dorado: #B89A5E;
  --dorado-claro: #D4B87A;
  --dorado-suave: #E2C98A;
  --dorado-oscuro: #9A7A42;
  --blanco: #FFFFFF;
  --wa-verde: #25D366;
  --wa-verde-oscuro: #1da851;

  /* ─── HEADER TEXT SIZES ─── */
  --header-brand-name: 1.8rem;
  --header-brand-sub: 0.75rem;
  --header-nav-link: 14px;
  --header-contact: 1.15rem;
  --header-mobile-nav: 16px;
  --header-mobile-close: 32px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--marfil);
  color: var(--negro);
  font-family: "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

blockquote {
  font-style: normal;
  quotes: none;
}

blockquote::before,
blockquote::after {
  content: none;
}

:focus-visible {
  outline: 2px solid var(--dorado);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--dorado);
  color: var(--negro);
}

/* ─── HEADER (de Header.astro) ─── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2.5rem;
  background: var(--marfil, #F8F6F0);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(184, 154, 94, 0.3);
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-name {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  color: var(--azul-profundo, #0A1C2A);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.brand-name span {
  font-style: italic;
  color: var(--dorado, #C5A880);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--azul-profundo, #0A1C2A);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  overflow-y: auto;
  background: var(--marfil, #F8F6F0);
  flex-direction: column;
  padding: 80px 32px 32px;
  gap: 24px;
  z-index: 1002;
  transition: right 0.3s ease;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.mobile-nav.open {
  right: 0;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: var(--header-mobile-close);
  color: var(--azul-profundo, #0A1C2A);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: var(--header-mobile-nav);
  letter-spacing: 0.05em;
  text-decoration: none;
  font-weight: 600;
  color: var(--azul-profundo, #0A1C2A);
  padding: 8px 0;
  border-bottom: 1px solid rgba(184, 154, 94, 0.3);
}

.nav-cta-mobile {
  margin-top: 16px;
  padding: 14px 24px !important;
  border: 1px solid var(--azul, #123B5A);
  border-radius: 2px;
  background: var(--azul, #123B5A);
  color: var(--dorado) !important;
  text-align: center;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
  margin: 0 1.5rem;
}

nav a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-weight: 600;
  color: var(--azul-profundo, #0A1C2A);
  white-space: nowrap;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--dorado, #C5A880);
}

nav a.nav-cta {
  padding: 12px 24px;
  border: 1px solid var(--azul, #123B5A);
  border-radius: 2px;
  background: var(--azul, #123B5A);
  color: var(--dorado) !important;
  font-size: 12px;
  letter-spacing: 0.1em;
}

nav a.nav-cta:hover {
  background: var(--azul-profundo, #0E2A40);
  color: var(--dorado-claro) !important;
}

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  padding: 0;
}

.hero-left {
  background: var(--azul-profundo);
  padding: 72px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 15px;
  letter-spacing: 2.5px;
  color: var(--azul);
  margin-bottom: 22px;
  font-family: 'Roboto Condensed', sans-serif;
}

h1 {
  font-family: "Merriweather", serif;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: var(--azul);
  font-weight: 300;
  max-width: 480px;
}

h1 em {
  font-style: italic;
  color: var(--dorado);
  font-family: "Merriweather", serif;
}

#hero-title {
  font-size: clamp(32px, 4vw, 44px);
}

.hero-body {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(18, 59, 90, 0.68);
  font-weight: 300;
  line-height: 1.75;
  max-width: 420px;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(18, 59, 90, 0.4);
  line-height: 1.7;
  border-left: 2px solid var(--dorado);
  padding-left: 14px;
  max-width: 400px;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-actions a {
  width: auto;
}

.btn-dorado {
  display: inline-block;
  padding: 12px 26px;
  background: var(--dorado);
  color: var(--negro);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-dorado:hover {
  background: var(--dorado-claro);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(18, 59, 90, 0.5);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: rgba(18, 59, 90, 0.85);
}

.hero-right {
  overflow: hidden;
  position: relative;
  min-height: 500px;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #F7F2E8 0%, transparent 25%);
  z-index: 1;
  pointer-events: none;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ─── VALUES ─── */
.values-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--azul);
  border-top: 2px solid var(--dorado);
}

.value-item {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.value-item:last-child {
  border-right: none;
}

.value-item strong {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--dorado-claro);
  margin-bottom: 5px;
  font-family: 'Roboto Condensed', sans-serif;
}

.value-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  line-height: 1.5;
  display: block;
}

/* ─── COMMON SECTION ─── */
section {
  padding: 88px 7vw;
}

.section-kicker {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--dorado);
  margin-bottom: 14px;
  font-family: 'Roboto Condensed', sans-serif;
}

h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--azul);
  font-weight: 400;
}

h2 em {
  font-style: italic;
  color: var(--dorado);
  font-family: "Merriweather", serif;
}

.lead {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gris);
  font-weight: 300;
  line-height: 1.75;
  max-width: 520px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--azul);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 26px;
}

/* ─── PROCESO ─── */
#proceso {
  background: var(--marfil);
  padding: 100px 7vw;
}

#proceso .section-kicker {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

#proceso-title {
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.25;
  font-weight: 300;
}

#proceso-title em {
  font-style: italic;
  color: var(--dorado);
}

#proceso .lead {
  font-size: 15px;
  line-height: 1.8;
  max-width: 420px;
  margin-top: 20px;
}

#proceso .link-arrow {
  font-size: 13px;
  margin-top: 32px;
  letter-spacing: 1.5px;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 6vw;
  align-items: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  align-items: start;
  padding-top: 80px;
}

.step-item {
  display: flex;
  flex-direction: column;
  background: transparent;
  padding: 0;
  border-radius: 0;
  position: relative;
  overflow: visible;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  gap: 24px;
}

.step-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
  margin-bottom: 0;
  filter: hue-rotate(200deg) saturate(2) brightness(0.75);
}

.step-item h3 {
  font-family: "Merriweather", serif;
  font-size: 22px;
  color: var(--azul);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
  text-align: center;
}

.step-item p {
  font-size: 15px;
  color: var(--gris);
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
  text-align: center;
}

/* ─── CRITERIO + CTA ─── */
/* Solo se overridea padding-top/bottom — el padding-left/right lo hereda de
   `section { padding: ... }` general (88px/52px/40px) que adapta el horizontal por viewport. */
section.criterio-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 4rem;
  padding-bottom: 4rem;
  gap: 6vw;
}

.criterio-col {
  background: transparent;
  padding: 0;
}

.cta-col {
  background: var(--negro);
  padding: 2.4rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: 15px;
  min-height: 300px;
}

.criterio-col .section-kicker {
  color: var(--dorado);
  font-size: 16px;
}

.criterio-col h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

#criterio-title {
  font-size: clamp(28px, 4vw, 36px);
}

.criterio-col .lead {
  max-width: 440px;
  font-size: 16px;
}

.clinical-blocks {
  display: grid;
  gap: 0;
  margin-top: 36px;
}

.clinical-block {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  align-items: start;
}

.clinical-block:first-child {
  padding-top: 0;
}

.clinical-block:last-child {
  border-bottom: none;
}

.clinical-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dorado);
  flex-shrink: 0;
}

.clinical-block h3 {
  color: var(--azul);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
  font-family: "Merriweather", serif;
}

.clinical-block p {
  color: var(--gris);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.cta-col h2 {
  color: var(--blanco);
  font-size: clamp(20px, 2.4vw, 26px);
  max-width: none;
  margin-bottom: 0;
  line-height: 1.2;
}

.cta-col h2 em {
  color: var(--dorado);
}

.cta-col p {
  margin-top: 0;
  margin-bottom: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  line-height: 1.6;
  max-width: 90%;
}

.btn-wa-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 24px;
  background: var(--wa-verde);
  color: var(--blanco);
  text-decoration: none;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 15px;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.btn-wa-green:hover {
  opacity: 0.9;
}

.btn-wa-green svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Override específico al CTA de esta sección (centra el botón y reduce padding/font). */
section.criterio-cta .btn-wa-green {
  font-size: 13px;
  width: fit-content;
  margin: 0 auto;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
}

/* ─── PAQUETES ─── */
#paquetes {
  background: var(--marfil);
  padding: 0;
}

#paquetes .section-kicker {
  font-size: 16px;
}

#paquetes-title {
  font-size: clamp(28px, 4vw, 36px);
}

.pkg-header {
  background: var(--azul-profundo);
  padding: 56px 7vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.pkg-header .section-kicker {
  color: var(--dorado-claro);
}

.pkg-header h2 {
  color: var(--blanco);
}

.pkg-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  line-height: 1.75;
}

.pkg-prices-row {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: 24px;
  padding: 48px 7vw 56px;
  background: var(--azul-profundo);
  position: relative;
  z-index: 1;
  justify-content: center;
}

.pkg-flip-wrapper {
  perspective: 600px;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

.pkg-flip-wrapper.featured .pkg-flip-front {
  border: none;
  background: var(--dorado-suave);
  box-shadow: 0 0 0 4px rgba(226, 201, 138, 0.35), 0 8px 28px rgba(0, 0, 0, 0.22);
}

.pkg-flip-inner {
  position: relative;
  width: 100%;
  aspect-ratio: auto;
  transition: transform 0.25s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}

.pkg-flip-wrapper:hover .pkg-flip-inner {
  transform: scale(1.07);
}

.pkg-flip-front {
  position: relative;
  width: 100%;
  aspect-ratio: auto;
  backface-visibility: visible;
  border-radius: 8px;
  background: var(--dorado-claro);
  border: none;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  min-height: 120px;
}

.pkg-flip-wrapper:hover .pkg-flip-front {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  background: var(--dorado-suave);
}

.pkg-flip-back {
  display: none;
}

.pkg-flip-front .pkg-name {
  font-size: 8.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--azul-profundo);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
  font-family: 'Roboto Condensed', sans-serif;
}

.pkg-flip-front .pkg-price {
  font-family: "Merriweather", serif;
  font-size: 24px;
  color: var(--azul-profundo);
  letter-spacing: -1px;
  font-weight: 400;
  line-height: 1;
  margin: 4px 0;
}

.pkg-flip-front .pkg-currency {
  font-size: 13px;
  vertical-align: super;
  font-family: "Merriweather", serif;
}

.pkg-flip-front .pkg-price-note {
  color: var(--azul-profundo);
  font-size: 8px;
  margin: 5px 0 0;
  opacity: 0.75;
}

.pkg-complete-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 7vw 20px;
  align-items: stretch;
}

/* Tarjeta: flex-column para que el CTA quede siempre al fondo sin importar cuántos ítems haya */
.pkg-pricing-card {
  background: var(--blanco);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pkg-pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: url('../img/logo vr.png') no-repeat center 60% / 65%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.pkg-pricing-card>* {
  position: relative;
  z-index: 1;
}

.pkg-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

/* Featured: solo borde+sombra dorada, sin scale para no romper alineación de la fila */
.pkg-pricing-card.featured {
  box-shadow: 0 8px 32px rgba(184, 154, 94, 0.28);
  border: 2px solid var(--dorado);
}

.pkg-pricing-card.featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(184, 154, 94, 0.35);
}

.pkg-pricing-header {
  background: var(--dorado);
  padding: 8px 22px;
  text-align: center;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  min-width: 120px;
  box-shadow: 0 3px 10px rgba(184, 154, 94, 0.35);
  z-index: 10;
  white-space: nowrap;
}

.pkg-pricing-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  color: var(--blanco);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.pkg-pricing-badge {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--azul);
  color: var(--blanco);
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.pkg-pricing-card.featured .pkg-pricing-badge {
  background: var(--azul);
  color: var(--blanco);
}

.pkg-pricing-price {
  padding: 38px 20px 8px;
  text-align: center;
  flex-shrink: 0;
}

.pkg-pricing-currency {
  font-size: 20px;
  color: var(--azul);
  vertical-align: top;
  font-weight: 300;
  font-family: "Merriweather", serif;
}

.pkg-pricing-amount {
  font-family: "Merriweather", serif;
  font-size: 42px;
  color: var(--azul);
  letter-spacing: -2px;
  font-weight: 400;
  line-height: 1;
}

.pkg-pricing-period {
  display: block;
  font-size: 12px;
  color: var(--gris-suave);
  margin-top: 4px;
}

.pkg-pricing-note {
  text-align: center;
  font-size: 10px;
  color: var(--gris-suave);
  margin: 0 0 16px;
  flex-shrink: 0;
}

/* flex:1 + min-height:0 hace que la lista ocupe todo el espacio disponible sin importar cuántos ítems tenga */
.pkg-pricing-features {
  list-style: none;
  padding: 0 20px;
  flex: 1;
  min-height: 0;
  margin: 0 0 20px;
}

.pkg-pricing-features li {
  color: var(--gris);
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.pkg-pricing-features li:last-child {
  border-bottom: none;
}

.pkg-check {
  color: var(--dorado);
  flex-shrink: 0;
  font-size: 14px;
  font-weight: bold;
  margin-top: 1px;
}

/* CTA siempre al fondo, altura consistente */
.pkg-pricing-cta {
  display: block;
  margin: auto 20px 20px;
  padding: 12px;
  background: #F7F2E8;
  color: var(--negro);
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.pkg-pricing-cta:hover {
  background: #9A7A42;
  color: var(--blanco);
  transform: translateY(-1px);
}

.pkg-toggle-container {
  display: flex;
  justify-content: center;
  padding: 32px 7vw 0;
}

.btn-toggle-view {
  padding: 12px 26px;
  background: var(--dorado);
  color: var(--negro);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-toggle-view:hover {
  background: var(--dorado-claro);
}

/* `.pkg-name` / `.pkg-price` / `.pkg-price-note` se sobrescriben por
   `.pkg-flip-front .pkg-name` etc. (mayor especificidad) — los valores
   aquí solo aplicarían si la clase se usara fuera del flip wrapper. */
.pkg-badge {
  position: absolute;
  top: -11px;
  left: 18px;
  background: var(--azul);
  color: var(--blanco);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
}

.pkg-name {
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 10px;
}

.pkg-price {
  font-family: "Merriweather", serif;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--azul);
  letter-spacing: -2px;
  font-weight: 300;
  line-height: 1;
}

.pkg-currency {
  font-size: 18px;
  vertical-align: super;
}

.pkg-price-note {
  color: var(--gris-suave);
  font-size: 12px;
  margin: 4px 0 14px;
}

.pkg-items {
  list-style: none;
  flex: 1;
}

.pkg-items li {
  color: var(--gris);
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 8px;
  line-height: 1.65;
  font-weight: 300;
}

.pkg-items li:last-child {
  border-bottom: none;
}

.check {
  color: var(--dorado);
  flex-shrink: 0;
  font-size: 10px;
  margin-top: 1px;
}

.pkg-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 3rem;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
}

.pkg-footer-text {
  font-size: 16px;
  color: var(--gris);
  max-width: 480px;
  line-height: 1.6;
  font-weight: 300;
  text-align: center;
  margin: 0 0 0.25rem;
}

.pkg-footer-note {
  font-size: 11px;
  color: var(--gris-suave);
  max-width: 520px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.pkg-footer .btn-azul {
  margin-top: 1.75rem;
}

.pkg-footer .pkg-footer-note {
  margin-top: 1.25rem;
}

.btn-azul {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--azul);
  color: var(--blanco);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.btn-azul:hover {
  background: var(--azul-profundo);
}

/* ─── BLOG ─── */
#blog {
  background: var(--marfil);
  padding: 48px 7vw;
}

.blog-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.blog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-kicker {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--dorado);
  margin-bottom: 16px;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
}

#blog-title {
  font-family: "Merriweather", serif;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--azul);
  font-weight: 400;
  margin: 0;
}

#blog-title em {
  font-style: italic;
  color: var(--dorado);
}

.blog-description {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gris);
  font-weight: 300;
  line-height: 1.8;
  max-width: 550px;
}

.btn-blog {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--azul);
  color: var(--blanco);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}

.btn-blog:hover {
  background: var(--azul-profundo);
  transform: translateY(-2px);
}

.blog-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.blog-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--gris-suave);
  line-height: 1.5;
  max-width: 400px;
}

/* ─── DOCTORA ─── */
#doctora {
  background: var(--marfil-profundo);
}

#doctora .doctor-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5vw;
  align-items: stretch;
}

.doctor-photo {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 59, 90, 0.1);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 15%;
}

.doctor-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#doctora .section-kicker {
  font-size: 18px;
}

#doctora-title {
  font-size: clamp(28px, 4vw, 36px);
}

#doctora .lead {
  font-size: 16px;
}

#doctora .link-arrow {
  font-size: 16px;
}

.creds {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 26px;
}

.cred {
  font-size: 16px;
  color: var(--gris);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  font-family: 'Roboto Condensed', sans-serif;
}

.cred-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dorado);
  flex-shrink: 0;
}

/* ─── DOCTOR CTA ─── */
.doctor-cta {
  background: var(--azul-profundo);
  padding: 18px 6vw;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.doctor-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}

.doctor-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.doctor-cta .doctor-cta-kicker {
  font-size: clamp(10px, 1.2vw, 14px);
  letter-spacing: 2px;
  color: #B89A5E;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  margin: 0;
}

.doctor-cta h3 {
  font-family: "Merriweather", serif;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--blanco);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.doctor-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  line-height: 1.6;
  margin: 0;
}

.doctor-cta-deco {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.18;
  pointer-events: none;
}

.doctor-cta-deco img {
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
}

.btn-wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  padding: 11px 28px;
  background: transparent;
  border: 1px solid var(--dorado);
  color: var(--dorado);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-wa-cta:hover {
  background: rgba(212, 184, 122, 0.1);
  box-shadow: 0 4px 18px rgba(212, 184, 122, 0.2);
}

.btn-wa-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--dorado);
}

/* ─── TESTIMONIOS ─── */
#testimonios {
  background: var(--marfil);
  padding: 0;
}

.testi-header {
  text-align: center;
  padding: 72px 7vw 44px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.testi-tagline {
  font-family: "Merriweather", serif;
  font-size: clamp(28px, 3.2vw, 44px);
  color: var(--azul);
  letter-spacing: -1px;
  font-weight: 400;
  line-height: 1.25;
}

.testi-tagline em {
  font-style: italic;
  color: var(--dorado);
  font-family: "Merriweather", serif;
}

.testi-sub {
  font-size: 14px;
  color: var(--gris-suave);
  margin-top: 10px;
  font-weight: 300;
  font-style: italic;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 7vw 72px;
}

.testi-card {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border: 0.5px solid rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  padding: 26px 22px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(18, 59, 90, 0.08);
}

.testi-quote-mark {
  display: block;
  font-family: "Merriweather", serif;
  font-size: 48px;
  color: var(--dorado);
  line-height: 1;
  margin-top: -10px;
  margin-bottom: 8px;
}

.testi-text {
  flex-grow: 1;
  font-size: 14px;
  color: var(--gris);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 14px;
}

.testi-author {
  font-size: 11px;
  color: var(--dorado);
  letter-spacing: 0.3px;
}

/* ─── CONTACTO ─── */
#contacto {
  background: var(--azul-profundo);
  padding: 100px 7vw;
  position: relative;
  overflow: hidden;
}

#contacto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}

#contacto::after {
  content: "VR";
  position: absolute;
  right: 4vw;
  bottom: -80px;
  font-family: "Merriweather", serif;
  font-size: 340px;
  color: rgba(255, 255, 255, 0.025);
  font-weight: 300;
  pointer-events: none;
  letter-spacing: -12px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#contacto .section-kicker {
  color: var(--dorado-claro);
}

#contacto h2 {
  color: var(--blanco);
  margin: 0;
}

.contact-desc {
  margin-top: 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  line-height: 1.9;
}

.btn-contact-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--wa-verde), var(--wa-verde-oscuro));
  color: var(--blanco);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.btn-contact-wa svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.final-note {
  margin-top: 32px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.7;
}

.contact-right {
  display: flex;
  justify-content: center;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 184, 122, 0.25);
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.contact-card-logo {
  margin-bottom: 8px;
}

.contact-card-logo img {
  width: 72px;
  height: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.contact-card-divider {
  width: 40px;
  height: 1px;
  background: var(--dorado);
  opacity: 0.5;
  margin: 20px auto;
}

.contact-card-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--dorado-claro);
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Roboto Condensed', sans-serif;
}

.contact-card-phone {
  font-family: "Merriweather", serif;
  font-size: 22px;
  color: var(--blanco);
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: 300;
  transition: color 0.2s;
  margin-bottom: 14px;
}

.contact-card-phone:hover {
  color: var(--dorado-claro);
}

.contact-card .btn-contact-wa {
  width: 100%;
  justify-content: center;
  margin-top: 0;
}

.contact-card-items {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}

.contact-card-items li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
  font-family: 'Roboto Condensed', sans-serif;
}

.contact-card-items li:last-child {
  border-bottom: none;
}

.contact-card-icon {
  color: var(--dorado);
  font-size: 9px;
  flex-shrink: 0;
}

/* ─── FOOTER ─── */
footer {
  background: var(--azul-profundo);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 34px 7vw;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand-name {
  font-family: "Merriweather", serif;
  font-size: 17px;
  letter-spacing: 3.5px;
  color: var(--blanco);
  font-weight: 300;
}

.footer-brand-name span {
  color: var(--dorado);
  font-family: "Merriweather", serif;
}

.footer-brand-sub {
  font-size: 8.5px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 3px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 1.5px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
}

.footer-social a:hover {
  color: var(--dorado);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.24);
  flex-wrap: wrap;
  gap: 10px;
}

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  background: var(--wa-verde);
  color: var(--blanco);
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.48);
}

.wa-float svg {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}

/* ============================================================
   REVISTA — Edición digital (página /revista)
   ============================================================ */

/* ─── Header editorial (solo en layouts/revista.php) ─── */
.rev-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blanco);
  border-bottom: 1px solid var(--marfil-profundo);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.rev-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 80px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rev-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.rev-brand-name {
  font-family: "Merriweather", serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--azul-profundo);
  line-height: 1;
  display: inline-block;
}

.rev-brand-name strong {
  color: var(--dorado);
  font-style: italic;
  font-weight: 700;
  margin-left: 2px;
}

.rev-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.rev-brand-text {
  display: none;
  flex-direction: column;
  padding-left: 14px;
  border-left: 1px solid var(--dorado);
  line-height: 1.2;
}

.rev-brand-title {
  font-family: "Merriweather", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azul);
}

.rev-brand-sub {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris-suave);
  margin-top: 2px;
}

.rev-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.rev-nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gris);
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.rev-nav-link:hover {
  color: var(--dorado);
}

.rev-nav-link.is-active {
  color: var(--azul-profundo);
  border-bottom: 2px solid var(--dorado);
}

.rev-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--azul);
  transition: color 0.2s ease;
}

.rev-menu-toggle:hover {
  color: var(--dorado);
}

.rev-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.rev-menu-toggle .rev-icon-close {
  display: none;
}

.rev-menu-toggle.is-open .rev-icon-menu {
  display: none;
}

.rev-menu-toggle.is-open .rev-icon-close {
  display: block;
}

.rev-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 24px 32px;
  background: var(--blanco);
  border-top: 1px solid var(--marfil-profundo);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rev-mobile-nav.is-open {
  display: flex;
}

.rev-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--marfil-profundo);
  font-family: "Merriweather", serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gris);
  text-decoration: none;
}

.rev-mobile-link:last-child {
  border-bottom: none;
}

.rev-mobile-link.is-active {
  color: var(--azul-profundo);
  font-weight: 700;
}

.rev-mobile-link svg {
  width: 18px;
  height: 18px;
  color: var(--dorado);
  flex-shrink: 0;
}

@media (min-width:768px) {
  .rev-brand-text {
    display: flex;
  }
}

@media (min-width:1024px) {
  .rev-nav {
    display: flex;
  }

  .rev-menu-toggle {
    display: none;
  }
}

/* ─── Página revista ─── */
.revista {
  display: flex;
  flex-direction: column;
  background: var(--marfil);
}

/* NOTA: NO resetear padding de sections aquí — cada sección define el suyo con suficiente especificidad */

/* Animación de entrada del cover (reemplaza framer-motion). */
@keyframes rev-fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ─── Portada ─── */
.revista .rev-cover {
  position: relative;
  min-height: auto;
  background: var(--azul-profundo);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px 0 100px;
  font-family: 'Roboto Condensed', sans-serif;
}

.revista .rev-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  z-index: 2;
}

.revista .rev-cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  z-index: 2;
}

.rev-cover-bg {
  position: absolute;
  inset: 0;
}

.rev-cover-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  display: block;
}

.rev-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--azul-profundo) 0%, rgba(14, 42, 64, 0.78) 55%, rgba(14, 42, 64, 0.45) 100%);
}

.rev-cover-inner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 7vw;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.rev-cover-text {
  max-width: 840px;
  color: var(--blanco);
  animation: rev-fade-up 1s ease-out both;
}

.rev-cover-tags {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.rev-cover-edition {
  color: var(--dorado-claro);
  font-weight: 600;
  letter-spacing: 2.5px;
  font-size: 12px;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-cover-volume {
  color: rgba(247, 242, 232, 0.5);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-cover-title {
  font-family: "Merriweather", serif;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.08;
  margin: 0 0 22px;
  color: var(--marfil);
  font-weight: 300;
  letter-spacing: -1.2px;
}

.rev-cover-title em {
  font-style: italic;
  color: var(--dorado);
  font-weight: 300;
}

.rev-cover-lead {
  font-size: clamp(14px, 1.15vw, 16px);
  color: rgba(247, 242, 232, 0.78);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  margin: 0 0 28px;
  padding-left: 14px;
  border-left: 2px solid var(--dorado);
}

.rev-cover-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dorado);
  color: var(--negro);
  padding: 13px 28px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(184, 154, 94, 0.25);
}

.rev-cover-cta:hover {
  background: var(--dorado-claro);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(184, 154, 94, 0.35);
}

.rev-cover-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.rev-cover-cta:hover svg {
  transform: translateX(4px);
}

/* Sidebar índice flotante (solo en desktop ancho). */
.rev-cover-index {
  display: none;
  position: absolute;
  right: 7vw;
  top: 50%;
  transform: translateY(-50%);
  width: 230px;
  padding: 20px 22px;
  border: 1px solid rgba(212, 184, 122, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.rev-cover-index h2 {
  font-family: "Merriweather", serif;
  font-style: italic;
  color: var(--dorado-claro);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 18px;
}

.rev-cover-index ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rev-cover-index li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rev-cover-index li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rev-index-page {
  color: var(--dorado);
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
}

.rev-cover-index a {
  color: rgba(247, 242, 232, 0.85);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-cover-index a:hover {
  color: var(--dorado-claro);
}

/* ─── Nota del editor ─── */
.revista .rev-editorial {
  padding: 100px 7vw;
  background: var(--marfil);
}

.rev-editorial-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}

.rev-editorial-photo {
  position: relative;
  margin: 0;
}

.rev-editorial-photo-frame {
  display: none;
}

.rev-editorial-photo-main {
  position: relative;
  z-index: 10;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(18, 59, 90, 0.12);
  display: block;
}

.rev-editorial-photo-acc {
  position: absolute;
  z-index: 20;
  bottom: -48px;
  right: -24px;
  width: 56%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 6px solid var(--marfil);
  box-shadow: 0 16px 36px rgba(18, 59, 90, 0.18);
  display: block;
}

.rev-editorial-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rev-editorial-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.rev-editorial-divider span {
  flex: 0 0 32px;
  height: 1px;
  background: var(--dorado);
}

.rev-editorial-divider strong {
  color: var(--dorado);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 11px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-editorial-text h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--azul);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 26px;
  letter-spacing: -0.5px;
}

.rev-editorial-text h2 em {
  font-style: italic;
  color: var(--dorado);
}

.rev-editorial-body {
  color: var(--gris);
  font-weight: 300;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 32px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-editorial-body p {
  margin: 0 0 16px;
}

.rev-editorial-body p:first-of-type::first-letter {
  font-family: "Merriweather", serif;
  font-size: 3.4rem;
  color: var(--azul);
  float: left;
  line-height: 0.9;
  margin: 4px 12px 0 0;
  font-weight: 400;
}

.rev-editorial-quote {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--blanco);
  padding: 22px 24px;
  border-left: 3px solid var(--dorado);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 4px 18px rgba(18, 59, 90, 0.06);
  margin: 0;
}

.rev-editorial-quote svg {
  width: 26px;
  height: 26px;
  color: var(--dorado-suave);
  flex-shrink: 0;
}

.rev-editorial-quote p {
  margin: 0;
  color: var(--azul-profundo);
  font-family: "Merriweather", serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}

/* ─── Reportajes destacados ─── */
.revista .rev-articles {
  padding: 100px 7vw;
  background: var(--marfil-profundo);
}

.rev-articles-header {
  max-width: 1280px;
  margin: 0 auto 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.rev-articles-kicker {
  color: var(--dorado);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-articles-header h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--azul);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.5px;
}

.rev-articles-header h2 em {
  font-style: italic;
  color: var(--dorado);
}

.rev-articles-rule {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  min-width: 60px;
  margin-bottom: 14px;
}

.rev-articles-link {
  color: var(--azul);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
  margin-bottom: 8px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-articles-link:hover {
  color: var(--dorado);
}

.rev-articles-link svg {
  width: 14px;
  height: 14px;
}

.rev-articles-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.rev-article-card {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  height: 100%;
  box-shadow: 0 4px 20px rgba(18, 59, 90, 0.06);
  border: 0.5px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.rev-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(18, 59, 90, 0.12);
}

.rev-article-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.rev-article-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 59, 90, 0.08);
  z-index: 1;
  transition: background 0.25s ease;
  pointer-events: none;
}

.rev-article-card:hover .rev-article-img::before {
  background: transparent;
}

.rev-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.rev-article-card:hover .rev-article-img img {
  transform: scale(1.05);
}

.rev-article-body {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rev-article-kicker {
  color: var(--dorado);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-article-body h3 {
  font-family: "Merriweather", serif;
  font-size: 20px;
  color: var(--azul);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
  transition: color 0.2s ease;
}

.rev-article-card:hover .rev-article-body h3 {
  color: var(--azul-profundo);
}

.rev-article-body p {
  color: var(--gris);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 18px;
  font-family: 'Roboto Condensed', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rev-article-cta {
  color: var(--azul);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Condensed', sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rev-article-cta svg {
  width: 13px;
  height: 13px;
}

/* ─── Teaser: Mitos y testimonios ─── */
.revista .rev-teaser {
  background: var(--azul-profundo);
  padding: 100px 7vw;
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}

.rev-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}

.rev-teaser::after {
  content: "VR";
  position: absolute;
  right: 4vw;
  bottom: -80px;
  font-family: "Merriweather", serif;
  font-size: 340px;
  color: rgba(255, 255, 255, 0.025);
  font-weight: 300;
  pointer-events: none;
  letter-spacing: -12px;
  line-height: 1;
}

.rev-teaser-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.rev-teaser-shape-1 {
  width: 340px;
  height: 340px;
  right: -80px;
  top: -80px;
  border: 1px solid rgba(184, 154, 94, 0.15);
}

.rev-teaser-shape-2 {
  width: 220px;
  height: 220px;
  right: 40px;
  top: 40px;
  border: 1px solid rgba(184, 154, 94, 0.08);
}

.rev-teaser-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.rev-teaser-icon {
  width: 42px;
  height: 42px;
  color: var(--dorado);
  margin: 0 auto 24px;
  display: block;
}

.rev-teaser-inner h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 0 0 18px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--blanco);
  letter-spacing: -0.5px;
}

.rev-teaser-inner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.8;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-teaser-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.rev-teaser-btn {
  padding: 13px 28px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 220px;
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-teaser-btn-primary {
  background: var(--dorado);
  color: var(--negro);
  box-shadow: 0 4px 16px rgba(184, 154, 94, 0.25);
}

.rev-teaser-btn-primary:hover {
  background: var(--dorado-claro);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(184, 154, 94, 0.35);
}

.rev-teaser-btn-ghost {
  background: transparent;
  border: 1px solid rgba(212, 184, 122, 0.5);
  color: var(--dorado-claro);
}

.rev-teaser-btn-ghost:hover {
  background: rgba(212, 184, 122, 0.1);
  border-color: var(--dorado);
  color: var(--dorado-claro);
}

/* ─── Revista — responsive ─── */
@media (min-width:640px) {
  .rev-teaser-actions {
    flex-direction: row;
  }

  .rev-teaser-btn {
    min-width: 200px;
  }
}

@media (min-width:768px) {
  .rev-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .rev-cover-index {
    display: block;
  }

  .rev-editorial-grid {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
  }

  .rev-editorial-text {
    padding-left: 32px;
  }

  .rev-articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Revista — móvil (≤900px) ajustes ─── */
@media (max-width:900px) {
  .revista .rev-cover {
    min-height: auto;
    padding: 80px 0 80px;
  }

  .rev-cover-inner {
    padding: 0 6vw;
  }

  .rev-cover-text {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .rev-cover-tags {
    gap: 12px;
    margin-bottom: 18px;
    justify-content: center;
  }

  .rev-cover-title {
    font-size: clamp(30px, 7.5vw, 46px);
    margin-bottom: 16px;
    letter-spacing: -0.8px;
  }

  .rev-cover-lead {
    font-size: 14px;
    padding-left: 14px;
    margin: 0 auto 28px;
    text-align: left;
    max-width: 520px;
  }

  .rev-cover-cta {
    padding: 12px 24px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .revista .rev-editorial {
    padding: 72px 6vw;
  }

  .rev-editorial-grid {
    gap: 48px;
  }

  .rev-editorial-photo-acc {
    bottom: -28px;
    right: -12px;
    width: 54%;
    border-width: 5px;
  }

  .rev-editorial-divider {
    justify-content: center;
  }

  .rev-editorial-text h2 {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 18px;
    text-align: center;
  }

  .rev-editorial-body {
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
  }

  .rev-editorial-body p:first-of-type::first-letter {
    font-size: 2.8rem;
    margin: 2px 10px 0 0;
  }

  .rev-editorial-quote {
    padding: 18px 20px;
    gap: 12px;
  }

  .rev-editorial-quote svg {
    width: 22px;
    height: 22px;
  }

  .rev-editorial-quote p {
    font-size: 15px;
  }

  .revista .rev-articles {
    padding: 72px 6vw;
  }

  .rev-articles-header {
    margin-bottom: 36px;
    gap: 14px;
    justify-content: center;
    text-align: center;
  }

  .rev-articles-rule {
    display: none;
  }

  .rev-articles-grid {
    gap: 20px;
  }

  .rev-article-img {
    height: 200px;
  }

  .rev-article-body {
    padding: 22px 20px;
  }

  .rev-article-body h3 {
    font-size: 18px;
  }

  .revista .rev-teaser {
    padding: 72px 6vw;
  }

  .rev-teaser-shape-1 {
    width: 220px;
    height: 220px;
    right: -60px;
    top: -60px;
  }

  .rev-teaser-shape-2 {
    width: 140px;
    height: 140px;
    right: 20px;
    top: 20px;
  }

  .rev-teaser-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
  }

  .rev-teaser-inner h2 {
    font-size: clamp(22px, 5vw, 30px);
  }

  .rev-teaser-inner p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .rev-teaser-btn {
    width: 100%;
    min-width: 0;
    padding: 13px 20px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }
}

@media (max-width:768px) {
  .revista .rev-cover {
    padding: 64px 0 64px;
  }

  .rev-cover-title {
    font-size: clamp(28px, 8.5vw, 40px);
  }

  .rev-cover-edition {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .rev-cover-volume {
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .revista .rev-editorial {
    padding: 56px 5vw;
  }

  .revista .rev-articles {
    padding: 56px 5vw;
  }

  .revista .rev-teaser {
    padding: 56px 5vw;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width:1200px) {
  .nav-hide-md {
    display: none;
  }

  header {
    padding: 1rem 2rem;
  }

  nav {
    justify-content: flex-end;
    gap: 1.5rem;
    margin: 0 0 0 1rem;
  }

  nav a.nav-cta {
    margin-left: 0;
  }
}

@media (max-width:1050px) {
  header {
    padding: 1rem 1.5rem;
  }

  nav {
    gap: 1.2rem;
  }

  nav a {
    font-size: 12px;
  }

  .brand-name {
    font-size: 1.4rem;
  }
}

/* ─── BREAKPOINT 1100px — ajustes intermedios ─── */
@media (max-width:1100px) {
  .pkg-prices-row {
    grid-template-columns: repeat(4, 150px);
    gap: 18px;
  }

  .pkg-complete-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
  }

  .pkg-flip-wrapper {
    max-width: 150px;
  }

  .pkg-flip-front .pkg-price {
    font-size: 22px;
  }

  .pkg-flip-front .pkg-name {
    font-size: 8px;
  }

  /* Process ajustes */
  .process-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .step-item {
    padding: 18px 16px;
    min-height: 100px;
  }
}

/* ─── TABLET (≤900px) ─── */
@media (max-width:900px) {
  section {
    padding: 52px 6vw;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 48px 6vw 52px;
  }

  .hero-right {
    height: auto;
    min-height: 380px;
    order: -1;
  }

  /* Values */
  .values-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Process ── */
  .process-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .step-item {
    padding: 20px 18px;
    min-height: 100px;
  }

  /* ── Criterio + CTA ── */
  section.criterio-cta {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    gap: 2.5rem;
  }

  section.criterio-cta .cta-col {
    aspect-ratio: auto;
    padding: 2.8rem 2.4rem;
    border-radius: 14px;
    align-items: center;
    text-align: center;
  }

  .cta-col h2 {
    font-size: clamp(22px, 3.5vw, 28px);
    margin-bottom: 0.9rem;
    max-width: none;
  }

  .cta-col p {
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 1.6rem;
    line-height: 1.65;
    max-width: 500px;
  }

  section.criterio-cta .btn-wa-green {
    font-size: 14px;
    padding: 13px 28px;
    margin: 0 auto;
    border-radius: 10px;
  }

  .clinical-block {
    gap: 14px;
    padding: 18px 0;
  }

  .clinical-block h3 {
    font-size: 18px;
  }

  .clinical-block p {
    font-size: 14px;
  }

  /* ── Paquetes ── */
  .pkg-header {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 44px 6vw;
  }

  .pkg-prices-row {
    grid-template-columns: repeat(2, 180px);
    gap: 22px;
    padding: 36px 6vw 48px;
  }

  .pkg-flip-wrapper {
    max-width: 180px;
    position: relative;
  }

  .pkg-flip-front {
    padding: 24px 18px;
    min-height: 145px;
  }

  .pkg-flip-front .pkg-price {
    font-size: 24px;
    margin: 5px 0;
  }

  .pkg-flip-front .pkg-name {
    font-size: 9px;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
  }

  .pkg-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
  }

  .pkg-complete-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 28px 6vw 24px;
    align-items: stretch;
  }

  .pkg-pricing-card {
    margin-top: 28px;
    border-radius: 14px;
  }

  .pkg-pricing-amount {
    font-size: 36px;
  }

  .pkg-pricing-features li {
    font-size: 13px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .pkg-toggle-container {
    padding: 20px 6vw 0;
  }

  /* ── Blog ── */
  #blog {
    padding: 36px 6vw;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .blog-kicker {
    font-size: 11px;
    margin-bottom: 10px;
  }

  #blog-title {
    font-size: clamp(20px, 3vw, 26px);
  }

  .blog-description {
    font-size: 14px;
    margin-top: 12px;
  }

  .btn-blog {
    margin-top: 18px;
    font-size: 11px;
    padding: 10px 22px;
  }

  .blog-note {
    font-size: 10px;
    margin-top: 12px;
  }

  /* ── Doctora ── */
  #doctora .doctor-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .doctor-photo {
    height: auto;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
  }

  .doctor-photo img {
    object-position: center 10%;
  }

  #doctora .section-kicker {
    font-size: 15px;
  }

  #doctora-title {
    font-size: clamp(24px, 3.5vw, 30px);
  }

  #doctora .lead {
    font-size: 15px;
  }

  .cred {
    font-size: 15px;
  }

  .doctor-cta {
    padding: 16px 5.5vw;
    display: none;
  }

  .doctor-cta h3 {
    font-size: clamp(18px, 2.2vw, 24px);
  }

  .doctor-cta p {
    font-size: 13px;
  }

  .doctor-cta-deco img {
    width: 130px;
  }

  .btn-wa-cta {
    font-size: 10px;
    padding: 12px 28px;
  }

  /* ── Testimonios ── */
  .testi-header {
    padding: 56px 6vw 36px;
  }

  .testi-tagline {
    font-size: clamp(24px, 3.5vw, 34px);
  }

  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 6vw 52px;
  }

  .testi-card {
    padding: 22px 18px;
  }

  .testi-text {
    font-size: 13px;
  }

  /* ── Contacto ── */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-left {
    align-items: center;
    text-align: center;
  }

  .contact-desc {
    font-size: 14px;
  }

  .btn-contact-wa {
    align-self: center;
  }

  .contact-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .contact-card-items li {
    justify-content: center;
  }

  /* ── Footer ── */
  footer {
    padding: 28px 6vw;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    gap: 16px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ─── MÓVIL (≤768px) ─── */
@media (max-width:768px) {
  section {
    padding: 40px 5vw;
  }

  /* ── Header ── */
  header {
    padding: 1rem 1.5rem;
  }

  #main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .mobile-nav a {
    text-align: center;
  }

  .brand {
    align-items: flex-start;
  }

  /* Centrado global móvil */
  h1,
  h2,
  h3,
  p,
  .section-kicker,
  .lead,
  .value-item span,
  blockquote,
  .footer-brand-sub {
    text-align: center !important;
  }

  .hero-left,
  .criterio-col,
  .cta-col,
  .doctor-text,
  .pkg-flip-wrapper,
  .pkg-pricing-card,
  .testi-card {
    align-items: center;
    text-align: center;
  }

  .link-arrow {
    justify-content: center;
    width: 100%;
  }

  /* ── Hero ── */
  .hero-left {
    padding: 36px 5vw 40px;
  }

  .hero-right {
    height: auto;
    min-height: 360px;
  }

  #hero-title {
    font-size: clamp(26px, 7vw, 32px);
  }

  .hero-body {
    font-size: 14px;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-note {
    border-left: none;
    border-top: 2px solid var(--dorado);
    padding-left: 0;
    padding-top: 14px;
    max-width: 100%;
    margin: 16px auto 0;
  }

  /* ── Values ── */
  .values-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-item {
    padding: 16px 12px;
  }

  .value-item strong {
    font-size: 11px;
  }

  .value-item span {
    font-size: 12px;
  }

  /* ── Process ── */
  .process-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .step-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 18px;
    min-height: 100px;
  }

  /* ── Criterio + CTA ── */
  section.criterio-cta {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    gap: 2rem;
  }

  section.criterio-cta .cta-col {
    aspect-ratio: auto;
    padding: 2rem 1.6rem;
    border-radius: 14px;
    align-items: center;
    text-align: center;
  }

  .cta-col h2 {
    font-size: clamp(20px, 6vw, 26px);
    margin-bottom: 0.8rem;
  }

  .cta-col p {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 1.2rem;
    line-height: 1.65;
    max-width: 100%;
  }

  section.criterio-cta .btn-wa-green {
    font-size: 14px;
    padding: 13px 22px;
    width: 100%;
    justify-content: center;
    border-radius: 10px;
  }

  .clinical-block {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px 0;
  }

  .clinical-icon {
    margin: 0 auto;
  }

  .clinical-block h3 {
    font-size: 16px;
  }

  .clinical-block p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* ── Paquetes — rectangulares ── */
  .pkg-prices-row {
    grid-template-columns: repeat(2, 160px);
    gap: 18px;
    padding: 28px 5vw 40px;
    justify-content: center;
  }

  .pkg-flip-wrapper {
    max-width: 160px;
    position: relative;
  }

  .pkg-flip-front {
    padding: 20px 16px;
    min-height: 140px;
  }

  .pkg-flip-front .pkg-price {
    font-size: 22px;
    margin: 4px 0;
  }

  .pkg-flip-front .pkg-name {
    font-size: 8.5px;
    letter-spacing: 1.2px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .pkg-flip-front .pkg-price-note {
    font-size: 7.5px;
  }

  .pkg-badge {
    position: absolute;
    top: 10px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dorado);
    color: var(--negro);
    padding: 5px 16px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    border-radius: 20px;
    margin-top: 0;
    white-space: nowrap;
  }

  /* ── Paquetes — tarjetas comparar ── */
  .pkg-complete-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 5vw 32px;
    align-items: start;
  }

  .pkg-pricing-card {
    border-radius: 14px;
    margin-top: 28px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  }

  .pkg-pricing-card.featured {
    border: 2px solid var(--dorado);
  }

  .pkg-pricing-header {
    top: -18px;
    padding: 7px 20px;
    min-width: 110px;
  }

  .pkg-pricing-title {
    font-size: 10px;
  }

  .pkg-pricing-badge {
    top: -38px;
    font-size: 8px;
  }

  .pkg-pricing-price {
    padding: 32px 20px 8px;
  }

  .pkg-pricing-currency {
    font-size: 17px;
  }

  .pkg-pricing-amount {
    font-size: 38px;
  }

  .pkg-pricing-period {
    font-size: 12px;
  }

  .pkg-pricing-note {
    font-size: 10px;
    margin-bottom: 14px;
  }

  .pkg-pricing-features {
    padding: 0 18px;
  }

  .pkg-pricing-features li {
    font-size: 13px;
    padding: 9px 0;
    gap: 10px;
  }

  .pkg-pricing-cta {
    margin: 0 18px 18px;
    padding: 13px;
    font-size: 12px;
  }

  .pkg-toggle-container {
    padding: 14px 5vw 0;
  }

  .btn-toggle-view {
    font-size: 12px;
    padding: 11px 22px;
    width: 100%;
  }

  .pkg-items li {
    justify-content: center;
    text-align: center;
    font-size: 13px;
  }

  /* ── Blog ── */
  #blog {
    padding: 28px 5vw;
  }

  .blog-layout {
    gap: 1.2rem;
  }

  .blog-kicker {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
  }

  #blog-title {
    font-size: clamp(18px, 5vw, 22px);
  }

  .blog-description {
    font-size: 13px;
    line-height: 1.6;
    max-width: 100%;
  }

  .btn-blog {
    width: 100%;
    text-align: center;
    font-size: 11px;
    padding: 10px 20px;
    margin-top: 14px;
  }

  .blog-note {
    font-size: 10px;
    text-align: center;
    max-width: 100%;
    margin-top: 10px;
  }

  /* ── Doctora ── */
  #doctora .doctor-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .doctor-photo {
    height: auto;
    min-height: 380px;
    border-radius: 10px;
    overflow: hidden;
  }

  .doctor-photo img {
    object-position: center 8%;
  }

  #doctora .section-kicker {
    font-size: 13px;
  }

  #doctora-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  #doctora .lead {
    font-size: 14px;
    line-height: 1.7;
  }

  #doctora .link-arrow {
    font-size: 14px;
  }

  .creds {
    margin-top: 20px;
    gap: 0;
    justify-items: center;
    text-align: center;
  }

  .cred {
    font-size: 14px;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
  }

  .cred-dot {
    flex-shrink: 0;
  }

  .doctor-cta {
    padding: 14px 5vw;
    display: none;
  }

  .doctor-cta h3 {
    font-size: clamp(16px, 4vw, 20px);
  }

  .doctor-cta p {
    font-size: 12px;
  }

  .doctor-cta-deco {
    display: none;
  }

  .btn-wa-cta {
    font-size: 10px;
    padding: 11px 24px;
    gap: 10px;
  }

  /* ── Testimonios ── */
  .testi-header {
    padding: 40px 5vw 28px;
  }

  .testi-tagline {
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.2;
  }

  .testi-sub {
    font-size: 13px;
  }

  .testi-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 5vw 44px;
  }

  .testi-card {
    padding: 22px 20px;
    border-radius: 10px;
  }

  .testi-quote-mark {
    font-size: 40px;
    margin-bottom: 6px;
  }

  .testi-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
  }

  .testi-author {
    font-size: 12px;
  }

  /* ── Contacto ── */
  #contacto {
    padding: 64px 5vw;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-left {
    align-items: center;
    text-align: center;
  }

  .contact-desc {
    font-size: 14px;
  }

  .btn-contact-wa {
    align-self: center;
    font-size: 12px;
    padding: 13px 24px;
  }

  .final-note {
    text-align: center;
    font-size: 11px;
  }

  .contact-card {
    max-width: 100%;
    padding: 32px 24px;
  }

  .contact-card-phone {
    font-size: 20px;
  }

  .contact-card-items li {
    justify-content: center;
    font-size: 13px;
  }

  /* ── Footer ── */
  footer {
    padding: 28px 5vw;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-bottom: 18px;
  }

  .footer-brand-name {
    font-size: 15px;
    letter-spacing: 2.5px;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-nav a {
    font-size: 10px;
  }

  .footer-social {
    justify-content: center;
    gap: 18px;
  }

  .footer-social svg {
    width: 18px;
    height: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 10px;
    padding-top: 14px;
  }

}

/* Pantallas muy grandes */
@media (min-width:1440px) {
  h1 {
    font-size: clamp(62px, 5.5vw, 120px);
  }

  h2 {
    font-size: clamp(52px, 4.5vw, 90px);
  }

  .hero-body {
    font-size: 18px;
    max-width: 500px;
  }

  .hero-note {
    font-size: 14px;
    max-width: 480px;
  }
}

/* ============================================================
   REVISTA — Lector de articulo + Paywall
   ============================================================ */
.rev-reader {
  background: var(--marfil);
}

.rev-reader-header {
  position: relative;
  min-height: auto;
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.rev-reader-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  z-index: 2;
}

.rev-reader-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  z-index: 2;
}

.rev-reader-header-img {
  position: absolute;
  inset: 0;
}

.rev-reader-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  display: block;
}

.rev-reader-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.08) 100%);
}

.rev-reader-header-text {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 32px 48px;
  width: 100%;
}

.rev-reader-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.rev-reader-kicker {
  display: inline-block;
  color: var(--dorado-claro);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-reader-edition {
  display: inline-block;
  background: rgba(184, 154, 94, 0.18);
  color: var(--dorado-claro);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Roboto Condensed', sans-serif;
  border: 1px solid rgba(184, 154, 94, 0.3);
}

.rev-reader-header-text h1 {
  font-family: "Merriweather", serif;
  font-size: clamp(26px, 3.6vw, 40px);
  color: var(--marfil);
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.8px;
}

.rev-reader-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.rev-reader-author {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.rev-reader-author::before {
  content: 'Por ';
  opacity: 0.6;
  font-weight: 300;
}

.rev-reader-date {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.rev-reader-byline .rev-reader-author+.rev-reader-date::before {
  content: '·';
  margin-right: 16px;
  opacity: 0.4;
}

.rev-reader-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 32px 80px;
}

.rev-reader-page {
  margin-bottom: 56px;
}

/* — Párrafos — */
.rev-reader-page p {
  color: var(--gris);
  font-size: 16.5px;
  line-height: 1.9;
  font-weight: 300;
  margin: 0 0 20px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-reader-page p:last-of-type {
  margin-bottom: 0;
}

/* — Encabezados — */
.rev-reader-page h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--azul-profundo);
  font-weight: 400;
  line-height: 1.35;
  margin: 52px 0 16px;
  letter-spacing: -0.4px;
}

.rev-reader-page h3 {
  font-family: "Merriweather", serif;
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--azul);
  font-weight: 400;
  line-height: 1.4;
  margin: 40px 0 12px;
}

.rev-reader-page h4 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  color: var(--dorado);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 32px 0 10px;
}

.rev-reader-page h2:first-child,
.rev-reader-page h3:first-child {
  margin-top: 0;
}

/* — Links — */
.rev-reader-page a {
  color: var(--dorado);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s;
}

.rev-reader-page a:hover {
  color: var(--azul);
}

/* — Énfasis — */
.rev-reader-page strong,
.rev-reader-page b {
  font-weight: 700;
  color: var(--negro);
}

.rev-reader-page em,
.rev-reader-page i {
  font-style: italic;
}

/* — Listas — */
.rev-reader-page ul,
.rev-reader-page ol {
  color: var(--gris);
  font-size: 16.5px;
  line-height: 1.85;
  font-weight: 300;
  font-family: 'Roboto Condensed', sans-serif;
  margin: 0 0 24px;
  padding-left: 22px;
}

.rev-reader-page li {
  margin-bottom: 8px;
}

.rev-reader-page li:last-child {
  margin-bottom: 0;
}

.rev-reader-page ul {
  list-style-type: disc;
}

.rev-reader-page ol {
  list-style-type: decimal;
}

/* — Citas — */
.rev-reader-page blockquote {
  margin: 36px 0;
  padding: 20px 28px;
  border-left: 3px solid var(--dorado);
  background: rgba(184, 154, 94, 0.07);
  border-radius: 0 6px 6px 0;
}

.rev-reader-page blockquote p {
  color: var(--azul);
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

/* — Separador de páginas — */
.rev-reader-page-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0;
}

.rev-reader-page-divider::before,
.rev-reader-page-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--marfil-profundo);
}

.rev-reader-page-divider span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gris-suave);
  font-weight: 500;
  white-space: nowrap;
}

/* ─── Paywall ─── */
.rev-paywall {
  margin: 32px 0 48px;
  padding: 40px 32px;
  background: var(--blanco);
  border-radius: 14px;
  border: 1px solid var(--marfil-profundo);
  box-shadow: 0 4px 20px rgba(18, 59, 90, 0.06);
}

.rev-paywall-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.rev-paywall-box h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--azul);
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.rev-paywall-box>p {
  color: var(--gris);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 28px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-paywall-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.rev-paywall-field {
  text-align: left;
}

.rev-paywall-field:last-of-type {
  grid-column: 1 / -1;
}

.rev-paywall-field label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--gris);
  font-weight: 600;
  margin-bottom: 6px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-paywall-field input,
.rev-paywall-field select {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  color: var(--negro);
  background: var(--marfil);
  border: 1px solid var(--marfil-profundo);
  border-radius: 6px;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.rev-paywall-field input:focus,
.rev-paywall-field select:focus {
  outline: none;
  border-color: var(--dorado);
  background: var(--blanco);
}

.rev-paywall-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23827A72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}

.rev-paywall-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background: var(--azul);
  color: var(--blanco);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.rev-paywall-submit:hover {
  background: var(--azul-profundo);
  transform: translateY(-2px);
}

/* ─── Paywall — exito ─── */
.rev-paywall-success {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 0;
}

.rev-paywall-success h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--azul-profundo);
  font-weight: 400;
  margin: 0 0 14px;
}

.rev-paywall-success p {
  color: var(--gris);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.rev-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: var(--dorado);
  color: var(--negro);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(184, 154, 94, 0.22);
}

.rev-pdf-btn:hover {
  background: var(--dorado-claro);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(184, 154, 94, 0.32);
}

.rev-pdf-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ─── Revista — lector responsive ─── */
@media (max-width:900px) {
  .rev-reader-header {
    min-height: auto;
  }

  .rev-reader-header-text {
    padding: 44px 24px 36px;
  }

  .rev-reader-body {
    padding: 40px 24px 56px;
  }

  .rev-reader-page p,
  .rev-reader-page ul,
  .rev-reader-page ol {
    font-size: 15.5px;
    line-height: 1.8;
  }

  .rev-reader-page h2 {
    font-size: 22px;
    margin-top: 40px;
  }

  .rev-reader-page h3 {
    font-size: 18px;
    margin-top: 32px;
  }

  .rev-reader-page-divider {
    margin: 40px 0;
  }

  .rev-paywall-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rev-paywall {
    margin-top: 24px;
    padding: 32px 22px;
  }

  .rev-paywall-box h2 {
    font-size: 22px;
  }

  .rev-paywall-submit {
    width: 100%;
    justify-content: center;
    padding: 13px 22px;
  }

  .rev-pdf-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 22px;
  }
}

@media (max-width:600px) {
  .rev-reader-header-text {
    padding: 48px 20px 32px;
  }

  .rev-reader-body {
    padding: 32px 20px 48px;
  }

  .rev-reader-page p,
  .rev-reader-page ul,
  .rev-reader-page ol {
    font-size: 15px;
  }

  .rev-reader-page blockquote {
    padding: 16px 20px;
  }
}

/* ============================================================
   MODAL — Formulario flotante (lector de articulo)
   ============================================================ */
/* ─── Modal overlay ─── */
.rev-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(14, 42, 64, 0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rev-modal-overlay.is-open {
  display: flex;
}

/* ─── Modal card ─── */
.rev-modal {
  background: var(--blanco);
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 0;
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(14, 42, 64, 0.35), 0 0 0 1px rgba(184, 154, 94, 0.15);
  animation: rev-modal-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  position: relative;
  overflow: hidden;
}

/* Gold stripe at top */
.rev-modal::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--dorado) 30%, var(--dorado-claro) 60%, transparent 100%);
  flex-shrink: 0;
}

@keyframes rev-modal-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ─── Modal inner padding wrapper ─── */
.rev-modal-form-box,
.rev-modal-success {
  padding: 36px 36px 40px;
  text-align: center;
}

/* Icon in modal header */
.rev-modal-icon {
  margin: 0 auto 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(18, 59, 90, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-modal-icon svg {
  width: 26px;
  height: 26px;
  color: var(--azul);
}

.rev-modal-form-box h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(22px, 2.8vw, 28px);
  color: var(--azul-profundo);
  font-weight: 400;
  margin: 0 0 10px;
  letter-spacing: -0.4px;
}

.rev-modal-form-box>p {
  color: var(--gris);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 24px;
  font-family: 'Roboto Condensed', sans-serif;
}

/* ─── Paywall field: full-width override ─── */
.rev-paywall-field--full {
  grid-column: 1 / -1;
}

.rev-other-field {
  margin-top: -4px;
}

/* ─── Success state ─── */
.rev-modal-success-icon {
  margin: 0 auto 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(94, 184, 120, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-modal-success-icon svg {
  width: 28px;
  height: 28px;
  color: #3d9e5f;
}

.rev-modal-success h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(22px, 2.8vw, 28px);
  color: var(--azul-profundo);
  font-weight: 400;
  margin: 0 0 10px;
  letter-spacing: -0.4px;
}

.rev-modal-success p {
  color: var(--gris);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 24px;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--gris-suave);
  transition: color 0.2s, background 0.2s;
  padding: 0;
  z-index: 1;
}

.rev-modal-close:hover {
  color: var(--azul);
  background: var(--marfil);
}

.rev-modal-close svg {
  width: 18px;
  height: 18px;
}

@media (max-width:768px) {
  .rev-modal {
    border-radius: 14px;
  }

  .rev-modal-form-box,
  .rev-modal-success {
    padding: 28px 20px 32px;
  }

  .rev-modal-form-box h2,
  .rev-modal-success h2 {
    font-size: 21px;
  }
}

/* ─── BLOG CTA — extensiones para preview de artículos ─── */
#revista-cta {
  background: var(--marfil);
  padding: 64px 7vw;
}

#revista-cta .blog-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

#revista-cta .blog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 620px;
}

.btn-blog-outline {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: var(--azul);
  border: 1.5px solid var(--azul);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.btn-blog-outline:hover {
  background: var(--azul);
  color: var(--blanco);
}

/* Preview cards en la landing */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 640px;
}

.blog-preview-card {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border: 1px solid var(--marfil-profundo);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  border-radius: 6px;
}

.blog-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(18, 59, 90, 0.13);
}

.blog-preview-img {
  height: 120px;
  overflow: hidden;
  position: relative;
}

.blog-preview-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 59, 90, 0.15);
  z-index: 1;
  transition: background 0.2s;
}

.blog-preview-card:hover .blog-preview-img::before {
  background: transparent;
}

.blog-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: transform 0.6s ease;
  display: block;
}

.blog-preview-card:hover .blog-preview-img img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.blog-preview-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.blog-preview-kicker {
  color: var(--dorado);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.blog-preview-body h3 {
  font-family: "Merriweather", serif;
  font-size: 14px;
  color: var(--azul-profundo);
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.blog-preview-body p {
  color: var(--gris);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-preview-cta {
  color: var(--azul);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.blog-preview-cta svg {
  width: 12px;
  height: 12px;
}

/* ─── REVISTA — estados vacíos ─── */
.rev-articles-empty {
  text-align: center;
  color: var(--gris-suave);
  font-size: 15px;
  padding: 48px 0;
  grid-column: 1/-1;
}

.rev-article-meta {
  font-size: 11px;
  color: var(--gris-suave);
  margin-bottom: 8px;
}

/* ─── REVISTA BIBLIOTECA ─── */
.rev-bib-hero {
  background: var(--azul-profundo);
  padding: 56px 7vw 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rev-bib-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}

.rev-bib-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}

.rev-bib-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rev-bib-hero .rev-articles-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--dorado-claro);
}

.rev-bib-hero h1 {
  font-family: "Merriweather", serif;
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--blanco);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.8px;
}

.rev-bib-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 24px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
}

.rev-bib-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dorado-claro);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: color 0.2s;
  font-family: 'Roboto Condensed', sans-serif;
}

.rev-bib-back:hover {
  color: var(--blanco);
}

.rev-bib-back svg {
  width: 14px;
  height: 14px;
}

.rev-bib-section {
  background: var(--marfil-profundo);
  padding: 72px 7vw 80px;
}

.rev-bib-container {
  max-width: 1280px;
  margin: 0 auto;
}

.rev-bib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.rev-bib-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--gris-suave);
}

.rev-bib-empty svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: block;
  color: var(--gris-suave);
  opacity: 0.5;
}

.rev-bib-empty p {
  font-size: 16px;
  margin-bottom: 16px;
}

.rev-bib-empty a {
  color: var(--azul);
  text-decoration: underline;
}

.rev-bib-pagination {
  display: flex;
  justify-content: center;
}

@media (min-width:960px) {
  .blog-preview-grid {
    max-width: 700px;
  }
}

@media (max-width:768px) {
  #revista-cta {
    padding: 48px 6vw;
  }

  .blog-preview-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .blog-preview-img {
    height: 160px;
  }

  .rev-bib-hero {
    padding: 56px 6vw 44px;
  }

  .rev-bib-section {
    padding: 48px 6vw 56px;
  }

  .rev-bib-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rev-bib-hero h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .rev-bib-hero p {
    font-size: 14px;
  }
}

@media (min-width:640px) and (max-width:960px) {
  .rev-bib-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:480px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }

  .rev-bib-hero h1 {
    font-size: 26px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PDF VIEWER
   ═══════════════════════════════════════════════════════════════════════════ */

.pdf-viewer-wrap {
  width: 100%;
  background: var(--azul-profundo);
}

/* Toolbar */
.pdf-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  background: var(--azul-profundo);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.pdf-toolbar-title {
  font-family: "Merriweather", serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.pdf-toolbar-pages {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Stage — dark scrollable area */
.pdf-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: #3a3d40;
  min-height: 400px;
}

/* Loading state */
.pdf-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 24px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
}

.pdf-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--dorado);
  border-radius: 50%;
  animation: pdf-spin 0.75s linear infinite;
}

@keyframes pdf-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Individual page */
.pdf-page-wrap {
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  line-height: 0;
  border-radius: 2px;
  overflow: hidden;
}

.pdf-page-wrap canvas {
  display: block;
  max-width: 100%;
}

/* Last free page: gradient fade at its bottom */
.pdf-page-wrap--last-free::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent 0%, rgba(58, 61, 64, 0.9) 100%);
  pointer-events: none;
}

/* Locked pages — blurred */
.pdf-page-wrap--locked canvas {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
}

/* Invisible sentinel that triggers the modal */
.pdf-gate-sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
  flex-shrink: 0;
}

/* ─── Success state: two-button layout ─── */
.rev-success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.rev-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: var(--azul);
  color: var(--blanco);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  width: 100%;
  justify-content: center;
}

.rev-continue-btn:hover {
  background: var(--azul-profundo);
  transform: translateY(-2px);
}

.rev-continue-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.rev-success-actions .rev-pdf-btn {
  width: 100%;
  justify-content: center;
}

/* ─── PDF viewer responsive ─── */
@media (max-width: 768px) {
  .pdf-toolbar {
    padding: 10px 16px;
    gap: 10px;
  }

  .pdf-toolbar-title {
    font-size: 12px;
    max-width: 55%;
  }

  .pdf-stage {
    padding: 16px 10px;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .pdf-toolbar-title {
    display: none;
  }

  .pdf-toolbar {
    justify-content: center;
  }

  .pdf-stage {
    padding: 12px 6px;
    gap: 8px;
  }

  .pdf-page-wrap--last-free::after {
    height: 100px;
  }
}

/* ============================================================
   SERVICIOS — Dropdown nav + páginas de servicio
   ============================================================ */

/* ─── Brand link (wraps logo en todas las páginas) ─── */
.brand-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* ─── Dropdown desktop ─── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--azul-profundo);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  color: var(--dorado);
}

.nav-dropdown-arrow {
  display: inline-block;
  font-style: normal;
  font-size: 11px;
  transition: transform 0.2s;
  line-height: 1;
}

.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-arrow {
  transform: rotate(90deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--marfil);
  border: 1px solid rgba(184, 154, 94, 0.3);
  border-top: 2px solid var(--dorado);
  min-width: 240px;
  z-index: 1100;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  list-style: none;
  padding: 6px 0;
}

/* Transparent bridge eliminating the hover dead zone between button and menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

/* show on hover OR when trigger has aria-expanded=true */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-trigger[aria-expanded="true"]+.nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--azul-profundo);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(184, 154, 94, 0.15);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu li:last-child a {
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  background: var(--marfil-profundo);
  color: var(--dorado);
}

/* ─── Mobile nav: servicios colapsable ─── */
.mobile-services-toggle {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: var(--header-mobile-nav);
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--azul-profundo);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(184, 154, 94, 0.3);
  cursor: pointer;
  padding: 8px 0;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-services-arrow {
  font-style: normal;
  font-size: 14px;
  transition: transform 0.25s ease;
  line-height: 1;
}

.mobile-services-toggle[aria-expanded="true"] .mobile-services-arrow {
  transform: rotate(90deg);
}

.mobile-services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-services-list.open {
  max-height: 340px;
}

.mobile-services-list a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--azul) !important;
  letter-spacing: 0.04em !important;
  text-decoration: none;
  padding: 9px 0 9px 16px !important;
  border-bottom: 1px solid rgba(184, 154, 94, 0.15) !important;
  display: block;
}

.mobile-services-list a:last-child {
  border-bottom: 1px solid rgba(184, 154, 94, 0.3) !important;
}

/* ─── Servicio Hero ─── */
.svc-hero {
  background: var(--azul-profundo);
  padding: 48px 7vw 52px;
  position: relative;
}

.svc-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}

.svc-hero-inner {
  max-width: 700px;
}

.svc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.svc-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.svc-breadcrumb a:hover {
  color: var(--dorado-claro);
}

.svc-breadcrumb span:not(.svc-breadcrumb a) {
  color: rgba(255, 255, 255, 0.3);
}

.svc-breadcrumb>span:last-child {
  color: var(--dorado-claro);
}

.svc-hero .section-kicker {
  color: var(--dorado-claro);
  margin-bottom: 10px;
}

.svc-hero h1 {
  font-family: "Merriweather", serif;
  font-size: clamp(26px, 3.2vw, 40px);
  color: var(--marfil);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.svc-lead {
  font-size: 15px;
  color: rgba(247, 242, 232, 0.75);
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 28px;
}

/* ─── Contenedor compartido por todas las secciones de servicio ─── */
.svc-section-inner {
  max-width: 700px;
  margin: 0 auto;
}

.svc-section-inner h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(24px, 2.8vw, 36px);
  color: var(--azul-profundo);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  text-align: center;
}

.svc-body-text {
  font-size: 16px;
  color: var(--gris);
  line-height: 1.8;
  font-weight: 300;
  text-align: center;
}

/* ─── Qué es ─── */
.svc-what {
  background: #fff;
  padding: 60px 7vw;
}

/* ─── Beneficios ─── */
.svc-benefits {
  background: #fff;
  padding: 48px 7vw 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.svc-benefits-list {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
}

.svc-benefits-list li {
  font-size: 16px;
  color: var(--gris);
  line-height: 1.7;
  margin-bottom: 16px;
}

.svc-benefits-list li:last-child {
  margin-bottom: 0;
}

.svc-benefits-list strong {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--azul-profundo);
}

/* ─── Condiciones ─── */
.svc-conditions {
  background: #fff;
  padding: 48px 7vw 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.svc-conditions-list {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 20px;
}

.svc-conditions-list li {
  font-size: 16px;
  color: var(--gris);
  line-height: 1.7;
  margin-bottom: 12px;
}

.svc-conditions-list li:last-child {
  margin-bottom: 0;
}

.svc-conditions-note {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.38);
  font-style: italic;
  text-align: center;
}

/* ─── Responsive servicios ─── */
@media (max-width: 768px) {
  .svc-hero {
    padding: 40px 5vw 44px;
  }

  .svc-hero h1 {
    font-size: clamp(22px, 6vw, 32px);
  }

  .svc-lead {
    font-size: 14px;
  }

  .svc-what {
    padding: 44px 5vw;
  }

  .svc-benefits {
    padding: 36px 5vw 48px;
  }

  .svc-conditions {
    padding: 36px 5vw 48px;
  }

  .svc-benefits-list li,
  .svc-conditions-list li {
    font-size: 15px;
  }
}