/* ============================================
   SALUD EN CASA — Premium UI Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap');

:root {
  /* Brand Palette — Premium Health */
  --bg-warm:        #F5F2EC;
  --bg-subtle:      #FAFAF8;
  --green-deep:     #1F5C40;
  --green-dark:     #0F1C15;
  --green-mid:      #2E7D5A;
  --green-soft:     #A8C5B4;
  --green-pale:     #EAF2EE;
  --blue-cool:      #2D6A8F;
  --blue-pale:      #E8F3FA;
  --sand:           #D9C49A;
  --sand-pale:      #F5EDD9;
  --terracotta:     #C07A55;
  --white:          #FFFFFF;
  --white-soft:     #FDFCF9;
  --text-primary:   #111A14;
  --text-secondary: #3A4D3F;
  --text-muted:     #607069;
  --text-light:     #94A09A;
  --border-light:   #E4DDD0;
  --border-subtle:  #EDE8DF;

  /* Semantic aliases */
  --color-primary:        var(--green-deep);
  --color-primary-hover:  var(--green-mid);
  --color-primary-light:  var(--green-soft);
  --color-secondary:      var(--sand);
  --color-tertiary:       var(--terracotta);
  --color-background:     var(--bg-warm);
  --color-surface:        var(--white-soft);
  --color-text-main:      var(--text-primary);
  --color-text-muted:     var(--text-muted);
  --color-text-light:     var(--text-light);
  --color-border:         var(--border-light);

  /* Shadows — delicate premium layer */
  --shadow-xs:      0 1px 3px rgba(15, 28, 21, 0.06);
  --shadow-sm:      0 2px 8px rgba(15, 28, 21, 0.07), 0 1px 2px rgba(15, 28, 21, 0.04);
  --shadow-md:      0 8px 24px rgba(15, 28, 21, 0.08), 0 2px 6px rgba(15, 28, 21, 0.04);
  --shadow-lg:      0 20px 48px rgba(15, 28, 21, 0.10), 0 6px 16px rgba(15, 28, 21, 0.05);
  --shadow-xl:      0 32px 64px rgba(15, 28, 21, 0.12), 0 8px 24px rgba(15, 28, 21, 0.06);
  --shadow-premium: 0 24px 60px rgba(31, 92, 64, 0.09), 0 4px 12px rgba(31, 92, 64, 0.04);
  --shadow-glow:    0 0 0 3px rgba(31, 92, 64, 0.12);
  --shadow-blue:    0 0 0 3px rgba(45, 106, 143, 0.14);

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;

  /* Typography */
  --font-family:  'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:   Georgia, 'Times New Roman', serif;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;
}

/* ================================================
   RESET & BASE
   ================================================ */

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

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

body {
  font-family: var(--font-family);
  background-color: var(--color-background);
  color: var(--color-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }
a { transition: color var(--transition-base); }

/* ================================================
   TYPOGRAPHY — Premium hierarchy
   ================================================ */

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-10);
  text-align: center;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
  font-weight: 600;
  letter-spacing: -0.015em;
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ================================================
   LAYOUT
   ================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
  padding: var(--space-24) 0;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ================================================
   HERO SECTION — unchanged structure
   ================================================ */

.hero {
  display: flex;
  align-items: center;
  min-height: 76vh;
  padding: var(--space-10) 0;
  position: relative;
  overflow: hidden;
  background-color: #f4f1e9;
  background-image: url("../assets/img/01-hero.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left,  rgba(12, 28, 18, 0.28)  0%, transparent 52%),
    linear-gradient(to top,   #f4f1e9                 0%, transparent 16%);
  z-index: 0;
  pointer-events: none;
}

/* Overlay: soft left fade — ensures text legibility without card */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(248, 246, 239, 0.86)  0%,
    rgba(248, 246, 239, 0.68) 24%,
    rgba(248, 246, 239, 0.28) 48%,
    rgba(248, 246, 239, 0.00) 68%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Hero topbar — benefits strip */
.hero-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  padding: 9px clamp(1rem, 4vw, 2rem);
  background: rgba(248, 246, 239, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 92, 64, 0.09);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.hero-topbar-sep {
  opacity: 0.28;
  font-weight: 300;
  font-size: 0.72rem;
  line-height: 1;
}

.hero-copy {
  max-width: 680px;
  align-self: center;
  position: relative;
  z-index: 10;
}

/* ================================================
   HERO COPY PANEL — Editorial text block (no card)
   ================================================ */
.hero-copy-panel {
  max-width: 560px;
  align-self: center;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-kicker {
  display: inline-block;
  width: fit-content;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(31, 92, 64, 0.22);
  background: rgba(31, 92, 64, 0.07);
}

.hero-title span {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green-deep);
  font-weight: 400;
}

.hero-question {
  font-size: clamp(0.98rem, 1.8vw, 1.13rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.42;
  margin-top: var(--space-1);
}

.hero-description {
  font-size: clamp(0.88rem, 1.2vw, 0.97rem);
  color: var(--color-text);
  line-height: 1.70;
}

.hero-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.84rem, 1.15vw, 0.93rem);
  color: var(--green-deep);
  line-height: 1.58;
  border-left: 2.5px solid rgba(31, 92, 64, 0.55);
  padding-left: 14px;
  margin-top: var(--space-1);
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
  border: 1.5px solid rgba(31, 92, 64, 0.28);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  background: rgba(248, 246, 239, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  margin-top: var(--space-2);
}
.hero-secondary-btn:hover {
  background: rgba(31, 92, 64, 0.10);
  border-color: rgba(31, 92, 64, 0.45);
  transform: translateX(3px);
}

.hero-secure-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  opacity: 0.72;
}

.hero-brand {
  margin-bottom: 24px;
}

.hero-brand img {
  display: block;
  max-width: 300px;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(31, 92, 64, 0.40), rgba(168, 197, 180, 0.08));
  box-shadow: 0 0 22px rgba(168, 197, 180, 0.42);
  animation: floatCell 12s ease-in-out infinite;
  opacity: 0.65;
}

.hero-particles .p-1 { width: 14px; height: 14px; top: 12%; left: 55%; animation-delay: 0s; }
.hero-particles .p-2 { width: 8px;  height: 8px;  top: 18%; left: 68%; animation-delay: 2s; }
.hero-particles .p-3 { width: 18px; height: 18px; top: 9%;  left: 82%; animation-delay: 5s; }
.hero-particles .p-4 { width: 6px;  height: 6px;  top: 28%; left: 76%; animation-delay: 1s; }
.hero-particles .p-5 { width: 11px; height: 11px; top: 15%; left: 92%; animation-delay: 8s; }
.hero-particles .p-6 { width: 8px;  height: 8px;  top: 34%; left: 61%; animation-delay: 4s; }

/* ================================================
   HERO VISUAL — Ebook Mockup + Floating Icons
   ================================================ */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 440px;
  z-index: 4;
}

.hero-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 52% 48%,
    rgba(31, 92, 64, 0.11) 0%,
    rgba(168, 197, 180, 0.07) 36%,
    transparent 64%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
  filter: blur(6px);
}

.hero-ebook-wrap {
  position: relative;
  animation: ebookFloat 7s ease-in-out infinite alternate;
}

.hero-ebook-img {
  display: block;
  width: 284px;
  height: auto;
  object-fit: contain;
  transform: perspective(900px) rotateY(-3deg) rotateX(1deg);
  filter:
    drop-shadow(0 48px 72px rgba(15, 28, 21, 0.20))
    drop-shadow(0 16px 32px rgba(31, 92, 64, 0.18))
    drop-shadow(0 3px 6px rgba(15, 28, 21, 0.10));
  transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-ebook-img:hover {
  transform: perspective(900px) rotateY(-1.5deg) rotateX(0.5deg) translateY(-4px);
  filter:
    drop-shadow(0 56px 80px rgba(15, 28, 21, 0.22))
    drop-shadow(0 20px 40px rgba(31, 92, 64, 0.20))
    drop-shadow(0 4px 8px rgba(15, 28, 21, 0.12));
}

.hero-ebook-badge-dl {
  position: absolute;
  bottom: -14px;
  right: -24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(253,252,249,0.94);
  border: 1px solid rgba(31,92,64,0.12);
  box-shadow: 0 8px 24px rgba(31,92,64,0.12), 0 2px 6px rgba(31,92,64,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: 0.01em;
  white-space: nowrap;
  z-index: 2;
}

.hero-ebook-badge-dl svg {
  flex-shrink: 0;
  stroke: var(--green-deep);
}

a.hero-ebook-badge-dl {
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

a.hero-ebook-badge-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31,92,64,0.16), 0 3px 8px rgba(31,92,64,0.08);
}

/* Ambient organic background */
.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ha-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ha-blob-1 {
  width: 320px;
  height: 320px;
  top: -10%;
  right: -6%;
  background: radial-gradient(circle at center, rgba(168, 197, 180, 0.18) 0%, transparent 68%);
  filter: blur(32px);
  animation: blobDrift 14s ease-in-out infinite alternate;
}

.ha-blob-2 {
  width: 240px;
  height: 240px;
  bottom: 0%;
  left: 2%;
  background: radial-gradient(circle at center, rgba(31, 92, 64, 0.09) 0%, transparent 68%);
  filter: blur(40px);
  animation: blobDrift 18s ease-in-out infinite alternate-reverse;
}

.ha-blob-3 {
  width: 180px;
  height: 180px;
  top: 38%;
  right: -4%;
  background: radial-gradient(circle at center, rgba(217, 196, 154, 0.11) 0%, transparent 68%);
  filter: blur(28px);
  animation: blobDrift 12s ease-in-out infinite alternate;
  animation-delay: 3s;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(234, 242, 238, 0.85);
  border: 1px solid rgba(31, 92, 64, 0.16);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(31, 92, 64, 0.08);
  backdrop-filter: blur(10px);
  margin-bottom: var(--space-5);
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-deep);
  stroke-width: 1.8;
}

/* Hero title — una sola línea en desktop */
.hero-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  white-space: nowrap;
}

/* Hero highlight */
.hero-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green-deep);
  font-weight: 400;
}

/* Hero CTA area */
.hero-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* Hero benefits row */
.hero-benefits {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(228, 221, 208, 0.7);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(0.65rem, 1vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.72;
  white-space: nowrap;
  padding: 0 clamp(12px, 2vw, 22px);
  flex-shrink: 0;
}

.benefit-item:first-child { padding-left: 0; }

.benefit-item + .benefit-item {
  border-left: 1px solid rgba(168, 155, 130, 0.40);
}

.benefit-item svg {
  color: var(--green-deep);
  flex-shrink: 0;
  opacity: 0.65;
}

/* ================================================
   BUTTONS — Premium CTA style
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 1rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(31, 92, 64, 0.22), 0 1px 3px rgba(31, 92, 64, 0.12);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(31, 92, 64, 0.28), 0 2px 6px rgba(31, 92, 64, 0.14);
}

.btn:hover::before { opacity: 1; }

.btn:active { transform: translateY(0); }

.btn svg, .btn-secondary svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.btn:hover svg { transform: translateY(2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--color-primary);
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1.5px solid rgba(31, 92, 64, 0.35);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.btn-secondary:hover {
  background: rgba(31, 92, 64, 0.05);
  border-color: var(--green-deep);
}

.btn-secondary:hover svg { transform: translateX(3px); }

.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ================================================
   SECTION — BENEFICIOS (¿Qué vas a descubrir?)
   Premium cards with glassmorphism
   ================================================ */

.beneficios-bg {
  background: linear-gradient(180deg, var(--white-soft) 0%, var(--bg-subtle) 100%);
  position: relative;
  overflow: hidden;
}

.beneficios-bg::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(31, 92, 64, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

/* Premium card */
.card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(228, 221, 208, 0.65);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-soft));
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(168, 197, 180, 0.08) 0%, transparent 55%);
  pointer-events: none;
  border-radius: var(--radius-xl);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(31, 92, 64, 0.14);
}

.card:hover::before { opacity: 1; }

/* Card icons — premium outline style */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--green-pale) 0%, rgba(234, 242, 238, 0.6) 100%);
  border: 1px solid rgba(31, 92, 64, 0.10);
  box-shadow: 0 4px 12px rgba(31, 92, 64, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover .card-icon {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(31, 92, 64, 0.12);
}

.card-icon svg {
  color: var(--green-deep);
  stroke: var(--green-deep);
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

.card h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

.card > p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* ================================================
   SECTION — AUTORIDAD (Dr. Llompart)
   ================================================ */

.autoridad-bg {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 30%, rgba(168, 197, 180, 0.22), transparent 32%),
    linear-gradient(180deg, var(--white-soft) 0%, var(--bg-warm) 100%);
}

.autoridad-bg::before,
.autoridad-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.autoridad-bg::before {
  width: 200px;
  height: 200px;
  left: 6%;
  top: 16%;
  background: radial-gradient(circle, rgba(31, 92, 64, 0.10), transparent 66%);
  filter: blur(12px);
}

.autoridad-bg::after {
  width: 8px;
  height: 8px;
  right: 12%;
  top: 22%;
  background: rgba(31, 92, 64, 0.24);
  box-shadow:
    -70px 90px 0 rgba(168, 197, 180, 0.26),
    44px 178px 0 rgba(192, 122, 85, 0.16),
    -160px 214px 0 rgba(31, 92, 64, 0.12);
  animation: autoridadFloat 9s ease-in-out infinite alternate;
}

.autoridad-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(31, 92, 64, 0.09);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(255,253,249,0.82), rgba(255,253,249,0.48));
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.autoridad-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 92, 64, 0.14);
  box-shadow: 0 36px 80px rgba(31, 92, 64, 0.12);
}

.autoridad-photo-wrap {
  position: relative;
  min-height: 460px;
}

.autoridad-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -6% 4% 8%;
  border-radius: var(--radius-2xl);
  background: radial-gradient(circle at 54% 38%, rgba(31, 92, 64, 0.18), transparent 62%);
  filter: blur(22px);
  opacity: 0.8;
}

.autoridad-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 460px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* Floating icon badges */
.autoridad-float-icon {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  color: var(--green-deep);
  background: rgba(255,253,249,0.80);
  border: 1px solid rgba(31, 92, 64, 0.10);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  animation: autoridadFloat 7s ease-in-out infinite alternate;
}

.autoridad-float-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.65;
}

.autoridad-float-icon-one { top: 9%;   right: -14px; }
.autoridad-float-icon-two { left: -14px; bottom: 16%; animation-delay: 1.4s; }

.autoridad-content h2 {
  margin-bottom: 10px;
  text-align: left;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.autoridad-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  color: var(--green-deep);
  background: linear-gradient(135deg, rgba(234, 242, 238, 0.9), rgba(234, 242, 238, 0.5));
  border: 1px solid rgba(31, 92, 64, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.autoridad-badge svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.7;
}

.autoridad-subtitle {
  margin-bottom: 22px;
  color: var(--green-mid);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Título de la guía dentro de la sección autoridad */
.autoridad-guia-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--green-pale), rgba(234, 242, 238, 0.4));
  border: 1px solid rgba(31, 92, 64, 0.13);
  border-left: 3px solid var(--green-mid);
  border-radius: var(--radius-md);
}

.autoridad-guia-nombre {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.autoridad-guia-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* CTA dentro de la sección autoridad */
.autoridad-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: #fff;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(31, 92, 64, 0.22), 0 1px 3px rgba(31, 92, 64, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.autoridad-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.autoridad-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(31, 92, 64, 0.28), 0 2px 6px rgba(31, 92, 64, 0.14);
}

.autoridad-cta:hover::before { opacity: 1; }

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

.autoridad-cta svg {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.autoridad-cta:hover svg { transform: translateY(2px); }

/* Redes sociales del autor */
.autoridad-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
  margin-bottom: 4px;
}

.autoridad-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.autoridad-social-link svg {
  color: var(--green-soft);
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.autoridad-social-link:hover {
  color: var(--green-deep);
}

.autoridad-social-link:hover svg {
  color: var(--green-deep);
  transform: translateY(-1px);
}

.autoridad-copy { max-width: 660px; }

.autoridad-copy p {
  color: rgba(15, 28, 21, 0.72);
  font-size: 0.97rem;
  line-height: 1.8;
}

/* Authority tags — chip style */
.autoridad-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.autoridad-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255,253,249,0.80);
  border: 1px solid rgba(31, 92, 64, 0.10);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.autoridad-tags span:hover {
  background: var(--green-pale);
  border-color: rgba(31, 92, 64, 0.18);
  color: var(--green-deep);
  transform: translateY(-1px);
}

.autoridad-tags svg {
  width: 14px;
  height: 14px;
  color: var(--green-deep);
  stroke-width: 1.8;
  flex-shrink: 0;
}

@keyframes autoridadFloat {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(8px, -10px, 0); }
}

/* ================================================
   SECTION — FORMULARIO
   Premium input + CTA
   ================================================ */

.form-section {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--white-soft) 100%);
  position: relative;
}

.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(31, 92, 64, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.form-container {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(228, 221, 208, 0.6);
  position: relative;
  z-index: 1;
}

.form-container h2 {
  font-size: 1.6rem;
  margin-bottom: var(--space-2);
  text-align: center;
  letter-spacing: -0.025em;
}

.form-container > p {
  text-align: center;
  margin-bottom: var(--space-8);
  font-size: 0.94rem;
  color: var(--text-muted);
}

.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.97rem;
  color: var(--text-primary);
  background: var(--bg-subtle);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-control::placeholder {
  color: var(--text-light);
  font-size: 0.93rem;
}

.form-control:hover {
  border-color: rgba(31, 92, 64, 0.28);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 0 0 3.5px rgba(31, 92, 64, 0.10), 0 2px 8px rgba(31, 92, 64, 0.06);
}

/* Custom select */
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231F5C40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Custom checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding: 14px 16px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 92, 64, 0.10);
}

.form-check-input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  border: 1.5px solid rgba(31, 92, 64, 0.35);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
  accent-color: var(--green-deep);
  transition: all var(--transition-base);
}

.form-check-input:checked {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.form-check-label {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
  cursor: pointer;
}

/* Form header */
.form-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-2);
}

.form-header-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-pale), rgba(234, 242, 238, 0.5));
  border: 1px solid rgba(31, 92, 64, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  box-shadow: 0 6px 20px rgba(31, 92, 64, 0.10);
  color: var(--green-deep);
}

/* Submit button inside form */
.form-container .btn {
  font-size: 1rem;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  margin-top: var(--space-2);
  letter-spacing: 0.01em;
}

.btn-submit {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  gap: 10px;
}

.btn-submit svg {
  transition: transform 0.3s ease;
}

.btn-submit:hover svg {
  transform: translateY(3px) !important;
}

/* Secure note below button */
.form-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-3);
  margin-bottom: 0;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.4;
}

.form-secure-note svg {
  flex-shrink: 0;
  color: var(--green-soft);
  opacity: 0.9;
}

/* ================================================
   SECTION — FAQ
   Modern accordion
   ================================================ */

/* Section header with icon — shared pattern */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}

.section-header h2 {
  margin-bottom: var(--space-10);
}

.section-header-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-pale), rgba(234, 242, 238, 0.4));
  border: 1px solid rgba(31, 92, 64, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  box-shadow: 0 6px 20px rgba(31, 92, 64, 0.09);
  color: var(--green-deep);
}

.faq-bg {
  background: var(--bg-warm);
  position: relative;
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.faq-container h2 {
  margin-bottom: var(--space-10);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item:last-child { margin-bottom: 0; }

.faq-item:hover {
  border-color: rgba(31, 92, 64, 0.18);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: rgba(31, 92, 64, 0.20);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-family);
  transition: background var(--transition-base);
  letter-spacing: -0.01em;
}

.faq-question:hover { background: rgba(234, 242, 238, 0.5); }

.faq-item.active .faq-question {
  color: var(--green-deep);
  background: rgba(234, 242, 238, 0.4);
}

.faq-question span { flex: 1; }

/* Plus/minus icon */
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(31, 92, 64, 0.22);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
  background: transparent;
}

.faq-icon polyline {
  stroke-width: 2.5;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--green-pale);
  border-color: rgba(31, 92, 64, 0.30);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.faq-item.active .faq-answer { max-height: 300px; }

/* ================================================
   DISCLAIMER
   ================================================ */

.disclaimer {
  padding: var(--space-10) 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-light);
  border-top: 1px solid rgba(217, 196, 154, 0.34);
  background: linear-gradient(180deg, var(--white-soft) 0%, rgba(245, 242, 236, 0.92) 100%);
}

.disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 252, 244, 0.98) 0%, rgba(245, 237, 217, 0.72) 58%, rgba(234, 242, 238, 0.52) 100%);
  border: 1px solid rgba(157, 120, 73, 0.26);
  border-radius: var(--radius-lg);
  padding: var(--space-6) clamp(var(--space-5), 4vw, var(--space-8));
  box-shadow:
    0 18px 42px rgba(31, 92, 64, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
  position: relative;
  overflow: hidden;
}

.disclaimer-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(234, 242, 238, 0.86));
  border: 1px solid rgba(31, 92, 64, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  margin-top: 2px;
  box-shadow: 0 8px 18px rgba(31, 92, 64, 0.08);
}

.disclaimer p {
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.85;
  font-size: 0.9rem;
}

.disclaimer strong {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: 0;
}

/* ================================================
   FOOTER — Clean premium
   ================================================ */

.site-footer {
  background: linear-gradient(180deg, var(--white-soft) 0%, var(--bg-subtle) 100%);
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

/* Footer separator */
.footer-inner::before {
  content: "";
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-soft), transparent);
  border-radius: var(--radius-pill);
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.footer-brand img {
  display: block;
  max-width: 180px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.90;
  transition: opacity var(--transition-base);
}

.footer-brand img:hover { opacity: 1; }

.footer-brand p {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
  font-size: 0.85rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base);
}

.footer-links a:hover {
  color: var(--green-deep);
  background: var(--green-pale);
}

/* Dot separator between footer links */
.footer-links a + a::before {
  content: "·";
  display: inline-block;
  margin-right: var(--space-6);
  color: var(--border-light);
  pointer-events: none;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes floatCell {
  0%   { transform: translate3d(0, 0, 0)     scale(1);    opacity: 0.35; }
  50%  { transform: translate3d(-12px, 18px, 0) scale(1.18); opacity: 0.75; }
  100% { transform: translate3d(10px, -10px, 0) scale(0.95); opacity: 0.42; }
}


@keyframes glowPulse {
  from { opacity: 0.55; transform: translate(-50%, -50%) scale(0.95); }
  to   { opacity: 0.90; transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes ebookFloat {
  from { transform: translateY(0px); }
  to   { transform: translateY(-14px); }
}

@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(14px, -18px) scale(1.06); }
}

@keyframes spin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeInUp 0.65s ease forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 767px) {
  /* ── Prevenir scroll horizontal global ── */
  html, body { overflow-x: hidden; }

  .section { padding: var(--space-16) 0; }

  /* ── Hero mobile ── */
  .hero {
    min-height: auto;
    padding-top: clamp(3rem, 10vw, 5rem);
    padding-bottom: clamp(3rem, 10vw, 5rem);
    align-items: flex-start;
  }

  .hero {
    background-position: 78% center;
  }

  .hero::before {
    background: linear-gradient(
      to right,
      var(--bg-warm)             0%,
      var(--bg-warm)             60%,
      rgba(245, 242, 236, 0.92) 78%,
      rgba(245, 242, 236, 0.82) 100%
    );
  }

  .hero-inner {
    padding: 0 clamp(1.25rem, 5vw, 1.5rem);
    gap: 0;
  }

  /* Logo */
  .hero-brand { margin-bottom: 18px; }
  .hero-brand img {
    max-width: 220px;
    max-height: 72px;
  }

  /* Badge */
  .hero-badge {
    font-size: 0.68rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  /* Título */
  h1 {
    font-size: clamp(2rem, 9.5vw, 2.6rem);
    line-height: 1.08;
    margin-bottom: var(--space-4);
  }

  .hero-title {
    white-space: normal;
    font-size: clamp(1.75rem, 8.5vw, 2.4rem);
  }

  /* Topbar mobile — compact */
  .hero-topbar {
    gap: 8px;
    padding: 7px 1rem;
    font-size: 0.58rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Panel editorial mobile */
  .hero-copy-panel {
    gap: var(--space-3);
    max-width: 100%;
  }

  .hero-question { font-size: clamp(0.94rem, 4.2vw, 1.05rem); }

  .hero-secondary-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }

  /* Hero benefits — wrap en mobile */
  .hero-benefits {
    flex-wrap: wrap;
    gap: 10px 0;
    margin-top: var(--space-6);
  }

  .benefit-item {
    font-size: 0.68rem;
    padding: 0 14px;
    white-space: nowrap;
  }

  .benefit-item:first-child { padding-left: 0; }

  /* Partículas — reducir presencia */
  .hero-particles { opacity: 0.25; }

  .hero-particles .p-3,
  .hero-particles .p-4,
  .hero-particles .p-5,
  .hero-particles .p-6 { display: none; }

  /* Hero visual — mobile: stack below copy, compact ebook */
  .hero-visual {
    margin-top: var(--space-10);
    min-height: 280px;
  }

  .hero-ebook-img {
    width: 200px;
  }

  .hero-glow {
    width: 240px;
    height: 240px;
  }

  .hero-ebook-badge-dl {
    bottom: -12px;
    right: -14px;
    font-size: 0.72rem;
    padding: 7px 12px;
  }

  /* ── Secciones inferiores ── */
  .autoridad-card {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: var(--radius-xl);
  }

  .autoridad-photo-wrap { min-height: 280px; }

  .autoridad-photo {
    height: 280px;
    border-radius: var(--radius-lg);
  }

  .autoridad-content h2 { text-align: left; }

  .autoridad-tags { gap: 6px; }
  .autoridad-tags span { font-size: 0.78rem; }

  .autoridad-cta { width: 100%; justify-content: center; }

  .faq-question { padding: 16px 18px; font-size: 0.95rem; }
  .faq-answer p { padding: 0 18px 18px; }

  .form-container { border-radius: var(--radius-lg); }

  .footer-links a + a::before { display: none; }
}

/* ── Tablet 768px–1023px ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    min-height: 72vh;
    padding-top: clamp(3.5rem, 8vw, 5rem);
    padding-bottom: clamp(3.5rem, 8vw, 5rem);
  }

  .hero::after {
    opacity: 0.55;
    background-position: 70% center;
  }

  h1 { font-size: clamp(2.5rem, 5.5vw, 3.25rem); }

  .hero-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-actions .btn,
  .hero-actions .btn-secondary {
    min-width: 200px;
  }

  .hero-benefits {
    flex-wrap: wrap;
    gap: 10px 0;
  }
}

@media (min-width: 768px) {
  h1 { font-size: clamp(3rem, 5vw, 3.75rem); }

  .hero-inner {
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  }

  .beneficios-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .autoridad-card { grid-template-columns: 1fr; }

  .autoridad-photo-wrap {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .hero-ebook-img { width: 230px; }
  .ha-blob-1 { width: 220px; height: 220px; }
  .ha-blob-2 { width: 160px; height: 160px; }
  .ha-blob-3 { display: none; }
}

/* ── reCAPTCHA v3 badge — posición estándar abajo a la derecha ── */
.grecaptcha-badge {
  right: 16px !important;
  left: auto !important;
  bottom: 16px !important;
  z-index: 9999 !important;
}

/* ── reCAPTCHA v3 badge — posición estándar abajo a la derecha ── */
.grecaptcha-badge {
  right: 16px !important;
  left: auto !important;
  bottom: 16px !important;
  z-index: 9999 !important;
