/* ============================================================
   GEORGETOWN NOTICIAS — Spanish Edition
   Warm Texas earth-tone palette · Cinematic editorial
   ============================================================ */

:root {
  /* Palette - warm Texas earth tones */
  --cream:       #f9f2e7;   /* page cream */
  --cream-deep:  #f0e3cd;   /* warm cream */
  --sand:        #e7d5b2;
  --warm-white:  #f9f2e7;
  --clay:        #c9763f;   /* terracotta accent */
  --clay-deep:   #a15a2b;
  --gold:        #e6b54a;   /* golden yellow */
  --gold-deep:   #c9972f;
  --navy:        #1b3e29;   /* deep forest */
  --navy-soft:   #2a5238;
  --forest:      #1b3e29;   /* forest green */
  --forest-deep: #1b3e29;
  --ink:         #1b3e29;
  --ink-soft:    #3d5c44;
  --mist:        #807a72;
  --line:        rgba(34,33,30,0.12);

  /* Type */
  --sans: 'Nunito', system-ui, -apple-system, sans-serif;
  --serif: 'Fraunces', Georgia, serif;

  /* Radii + shadows */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(34,33,30,0.06);
  --shadow-md: 0 10px 30px rgba(34,33,30,0.10);
  --shadow-lg: 0 24px 60px rgba(34,33,30,0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
html, body { background: #f9f2e7; color: #1b3e29; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Brand logo */
.site-logo { max-width: 400px; height: auto; display: block; }
@media (max-width: 640px) { .site-logo { max-width: 280px; } }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== Typography primitives ===== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-family: var(--sans); font-weight: 800; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
em { font-style: italic; color: var(--clay-deep); font-family: var(--serif); }
p { margin: 0 0 1rem; }
sup { font-size: 0.55em; vertical-align: super; opacity: 0.85; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(230,181,74,0.35);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(230,181,74,0.45);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav.is-scrolled {
  background: rgba(249,242,231,0.92);
  backdrop-filter: saturate(130%) blur(14px);
  -webkit-backdrop-filter: saturate(130%) blur(14px);
  box-shadow: 0 2px 20px rgba(27,62,41,0.08);
}
.nav__inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--warm-white);
  transition: color 0.3s;
}
.nav.is-scrolled .brand { color: var(--navy); }
.brand__mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand .site-logo { filter: brightness(0) invert(1); transition: filter 0.3s; }
.nav.is-scrolled .brand .site-logo { filter: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav__links a {
  color: var(--warm-white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, opacity 0.2s;
}
.nav__links a:hover { opacity: 0.85; }
.nav.is-scrolled .nav__links a { color: var(--navy); }
.nav__lang {
  border: 1.5px solid currentColor;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem !important;
  opacity: 0.85;
}
.nav__cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-weight: 800 !important;
  box-shadow: 0 6px 18px rgba(230,181,74,0.35);
}
.nav__cta:hover { opacity: 1 !important; transform: translateY(-1px); }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--warm-white);
  transition: background 0.3s, transform 0.3s;
}
.nav.is-scrolled .nav__burger span { background: var(--navy); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--warm-white);
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
}
.nav__mobile .nav__cta {
  align-self: flex-start;
  margin-top: 0.3rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--warm-white);
  overflow: hidden;
  padding: 7rem 0 5rem;
}
.hero__video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hero__kenburns {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 58%;
  will-change: transform;
  animation: heroKenBurnsGT 20s ease-in-out infinite alternate;
}
@keyframes heroKenBurnsGT {
  0%   { transform: scale(1.08) translate(-3.5%, 2%); }
  100% { transform: scale(1.25) translate(4%, -3%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__kenburns { animation: none; transform: scale(1.04); }
}
.hero-credit {
  position: absolute; bottom: 14px; right: 18px; z-index: 3;
  font-size: 0.7rem; color: rgba(255,255,255,0.75);
  background: rgba(15,26,22,0.55); backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 999px;
  font-style: italic; letter-spacing: 0.01em;
}
.hero-credit a { color: rgba(255,255,255,0.95); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.4); }
.hero-credit a:hover { color: #f3c969; border-color: #f3c969; }
.photo-credit {
  display: block; font-size: 0.68rem; font-style: italic;
  color: rgba(255,255,255,0.7); margin-top: 8px; padding: 4px 10px;
  background: rgba(15,26,22,0.45); border-radius: 999px;
  position: absolute; bottom: 12px; left: 18px; z-index: 3;
  backdrop-filter: blur(6px);
}
.photo-credit a { color: rgba(255,255,255,0.92); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.4); }
.photo-credit a:hover { color: #f3c969; border-color: #f3c969; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(29,42,58,0.45) 0%, rgba(29,42,58,0.55) 55%, rgba(29,42,58,0.85) 100%),
    radial-gradient(ellipse at 30% 30%, rgba(230,181,74,0.18), transparent 55%);
}
.hero__content {
  position: relative; z-index: 2;
  width: min(1100px, 92%);
  margin: 0 auto;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(251,246,236,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(251,246,236,0.22);
  margin-bottom: 1.4rem;
}
.hero__kicker-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(230,181,74,0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230,181,74,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(230,181,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,181,74,0); }
}
.hero__title {
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.hero__title-accent {
  color: var(--gold);
  font-style: italic;
}
.hero__lede {
  font-size: clamp(1.1rem, 1.6vw, 1.38rem);
  font-weight: 400;
  max-width: 640px;
  line-height: 1.55;
  margin-bottom: 2.2rem;
  color: rgba(251,246,236,0.92);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__proof {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  opacity: 0.95;
}
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--warm-white);
  margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.hero__proof strong { color: var(--gold); }

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px; height: 48px;
  border: 2px solid rgba(251,246,236,0.45);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px;
  background: rgba(251,246,236,0.85);
  border-radius: 2px;
  animation: scrollHint 2s infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

/* ============================================================
   SUBSCRIBE FORMS
   ============================================================ */
.subscribe {
  background: rgba(251,246,236,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  max-width: 720px;
  color: var(--ink);
}
.subscribe__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}
.subscribe__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.subscribe__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.subscribe__field input {
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--warm-white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border 0.2s, box-shadow 0.2s;
}
.subscribe__field input:focus {
  outline: 0;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(201,118,63,0.15);
}
.subscribe__btn { height: 51px; }
.subscribe__note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--mist);
  text-align: center;
}
.subscribe__status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}
.subscribe__status.is-error { color: var(--clay-deep); }
.subscribe__status.is-loading { color: var(--mist); }
.cf-turnstile {
  min-height: 0;
  margin: 0.75rem 0 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}
.section--cream { background: var(--cream); }
.section--warm {
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--sand) 100%);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section__title {
  margin-bottom: 1rem;
}
.section__lede {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

/* ============================================================
   CARDS (Qué recibirás)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--warm-white);
  padding: 2rem 1.75rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--clay), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--cream-deep), var(--sand));
  display: flex; align-items: center; justify-content: center;
  color: var(--clay-deep);
  margin-bottom: 1.3rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.7rem; color: var(--navy); }
.card p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; line-height: 1.55; }

/* ============================================================
   DIVIDER HERO (Georgetown Square)
   ============================================================ */
.divider-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: var(--warm-white);
  overflow: hidden;
  padding: 6rem 0;
}
.divider-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  transform: scale(1.05);
  will-change: transform;
}
.divider-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,42,58,0.45), rgba(29,42,58,0.72));
  z-index: 1;
}
.divider-hero__content {
  position: relative; z-index: 2;
  text-align: center;
}
.divider-hero__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
  max-width: 900px;
  margin: 0 auto 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.divider-hero__attr {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0;
}

/* ============================================================
   ELIZABETH
   ============================================================ */
.elizabeth {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.elizabeth__photo {
  margin: 0;
  position: relative;
}
.elizabeth__photo img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.elizabeth__photo::before {
  content: "";
  position: absolute;
  inset: -1.5rem -1.5rem 1.5rem 1.5rem;
  border: 2px solid var(--clay);
  border-radius: var(--r-lg);
  z-index: -1;
  opacity: 0.5;
}
.elizabeth__photo figcaption {
  margin-top: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-align: center;
  font-style: italic;
}
.elizabeth__text h2 { margin-bottom: 1.2rem; }
.elizabeth__text p { color: var(--ink-soft); }
.elizabeth__text .lead { color: var(--ink); margin-bottom: 1.3rem; }
.elizabeth__signature-block { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.elizabeth__signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--clay-deep);
  margin: 0;
  line-height: 1.1;
}
.elizabeth__signature-block .editor-credit { margin-top: 0; color: var(--ink-soft); }

/* ============================================================
   COMUNIDAD (full-bleed bg with overlay)
   ============================================================ */
.comunidad {
  position: relative;
  color: var(--warm-white);
  padding: clamp(5rem, 9vw, 8rem) 0;
  overflow: hidden;
}
.comunidad__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.03);
}
.comunidad__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,42,58,0.88), rgba(45,69,48,0.92));
  z-index: 1;
}
.comunidad__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.comunidad__intro { grid-column: 1; }
.comunidad__intro h2 { margin: 0.5rem 0 1.3rem; }
.comunidad__intro .lead { color: rgba(251,246,236,0.85); }
.comunidad__intro strong { color: var(--gold); font-weight: 800; }

.comunidad__stats {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  background: rgba(251,246,236,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(251,246,236,0.12);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.stat {
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: var(--r-md);
  background: rgba(29,42,58,0.35);
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat__label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
}
.comunidad__perks {
  grid-column: 1;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.comunidad__perks li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  background: rgba(251,246,236,0.08);
  border-radius: var(--r-md);
  font-weight: 600;
}
.comunidad__perks span {
  color: var(--gold);
  font-size: 1.2rem;
}

/* ============================================================
   SOPHIE CHAT TEASER
   ============================================================ */
.sophie__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.sophie__text h2 { margin: 0.5rem 0 1rem; }
.sophie__text p { color: var(--ink-soft); }

.sophie__card {
  background: linear-gradient(160deg, var(--navy), var(--navy-soft));
  border-radius: var(--r-xl);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.sophie__card::before {
  content: "";
  position: absolute;
  top: -20px; right: 30px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  opacity: 0.5;
  filter: blur(20px);
}
.sophie__chat { display: flex; flex-direction: column; gap: 0.9rem; }
.chat__bubble {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  max-width: 85%;
  animation: fadeSlide 0.6s var(--ease) both;
}
.chat__bubble:nth-child(1) { animation-delay: 0.2s; }
.chat__bubble:nth-child(2) { animation-delay: 0.9s; }
.chat__bubble:nth-child(3) { animation-delay: 1.6s; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat__bubble p {
  background: rgba(251,246,236,0.96);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 16px 16px 16px 4px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}
.chat__bubble--you { align-self: flex-end; margin-left: auto; }
.chat__bubble--you p {
  background: var(--gold);
  color: var(--navy);
  border-radius: 16px 16px 4px 16px;
}
.chat__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clay), var(--gold));
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
  color: var(--warm-white);
  overflow: hidden;
  text-align: center;
}
.cta-final__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.cta-final__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(29,42,58,0.55), rgba(29,42,58,0.88));
  z-index: 1;
}
.cta-final__inner {
  position: relative; z-index: 2;
}
.cta-final h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.cta-final__lede {
  max-width: 580px;
  margin: 0 auto 2.2rem;
  font-size: 1.1rem;
  opacity: 0.92;
}
.cta-final .subscribe {
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: var(--warm-white);
  padding: 4rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer__brand { color: var(--gold); }
.footer__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.7rem 0 0.3rem;
  color: var(--warm-white);
}
.footer__tag {
  color: rgba(251,246,236,0.7);
  font-size: 0.92rem;
  margin: 0;
  max-width: 260px;
}
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col h4 {
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.footer__col a {
  color: rgba(251,246,236,0.78);
  font-size: 0.93rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--warm-white); }

.footer__bar {
  border-top: 1px solid rgba(251,246,236,0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer__bar p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(251,246,236,0.65);
}
.footer__mini { font-size: 0.78rem !important; opacity: 0.75; }
.footer-logo-link { display: inline-block; background: #f9f2e7; padding: .75rem 1rem; border-radius: 10px; border: 1px solid rgba(243,201,105,0.35); margin-bottom: 1rem; line-height: 0; }
.footer-logo { display: block; width: 100%; max-width: 280px; height: auto; }

/* ============================================================
   SUCCESS MODAL
   ============================================================ */
.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(29,42,58,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
  animation: fadeIn 0.3s var(--ease);
}
.success-modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.success-modal__card {
  background: var(--warm-white);
  color: var(--ink);
  padding: 3rem 2.5rem 2.5rem;
  border-radius: var(--r-xl);
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.5s var(--ease);
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.success-modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--mist);
  line-height: 1;
}
.success-modal__icon {
  color: var(--forest);
  width: 72px; height: 72px;
  margin: 0 auto 1.2rem;
  animation: drawCheck 0.8s var(--ease) 0.2s both;
}
@keyframes drawCheck {
  from { transform: scale(0) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}
.success-modal__card h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}
.success-modal__sign {
  margin-top: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay-deep);
  font-size: 1.1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .elizabeth,
  .sophie__grid {
    grid-template-columns: 1fr;
  }
  .elizabeth__photo::before { display: none; }

  .comunidad__grid {
    grid-template-columns: 1fr;
  }
  .comunidad__stats {
    grid-column: 1;
    grid-row: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: 1 / -1; }

  .divider-hero__bg { background-attachment: scroll; }
}

@media (max-width: 680px) {
  .subscribe { padding: 1.25rem; }
  .subscribe__row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .subscribe__btn { width: 100%; justify-content: center; }

  .hero { padding: 6rem 0 4rem; }
  .hero__proof { font-size: 0.88rem; }
  .avatars span { width: 30px; height: 30px; margin-left: -8px; }

  .comunidad__stats { grid-template-columns: 1fr 1fr; padding: 1.25rem; gap: 0.8rem; }

  .footer__grid { grid-template-columns: 1fr; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__video { display: none; }
  .hero__video-wrap { background: url('../assets/hero-poster.jpg') center/cover; }
  .divider-hero__bg { background-attachment: scroll; }
  html { scroll-behavior: auto; }
}

/* Añadido: promesa siempre local, siempre gratis */
.hero__promise{display:inline-block;margin-top:.5rem;font-family:'Fraunces',serif;font-style:italic;font-weight:500;letter-spacing:.01em;opacity:.95;}

/* Sobre la editora — crédito sutil */
.editor-credit{margin-top:.5rem;font-size:.82rem;letter-spacing:.02em;opacity:.7;font-style:italic;}


/* ========== MASTHEAD OVERRIDES (V3 — 50% logo, cream band) ========== */
/* Make nav a static cream band instead of fixed translucent overlay */
.nav, header.nav {
  position: static !important;
  background: #f9f2e7 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 8px clamp(16px, 3vw, 32px) !important;
  box-shadow: 0 1px 0 rgba(27, 62, 41, 0.08) !important;
  color: #1b3e29 !important;
}
.nav .nav__inner { padding: 0 !important; }

/* Logo: 50% viewport width, tight lockup, no white filter */
.site-logo {
  width: 50vw !important;
  max-width: 50vw !important;
  height: auto !important;
  filter: none !important;
  display: block !important;
}
.nav .logo .site-logo,
.nav .brand .site-logo,
.nav.is-scrolled .logo .site-logo,
.nav.is-scrolled .brand .site-logo { filter: none !important; }

/* Logo anchor: LEFT-aligned (matches V3 mockup), lang/nav items sit right */
.nav > .logo,
.nav .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  margin-right: auto; /* pushes everything else to the right */
}

/* Nav links: keep dark on cream */
.nav, .nav a, .nav .lang-switch, .nav .nav__lang, .nav .nav__cta,
.nav .nav__links a { color: #1b3e29 !important; }
.nav .lang-switch, .nav .nav__lang {
  border-color: #1b3e29 !important;
  background: transparent !important;
}
.nav .lang-switch:hover, .nav .nav__lang:hover {
  background: #1b3e29 !important; color: #c9a862 !important;
}
.nav .nav__cta {
  background: #1b3e29 !important; color: #f9f2e7 !important;
  border-color: #1b3e29 !important;
}

/* Hero: drop the large top padding since nav is no longer fixed */
.hero { padding-top: 1.5rem !important; }

/* Mobile: logo bigger (78vw) when space allows */
@media (max-width: 720px) {
  .site-logo { width: 78vw !important; max-width: 78vw !important; }
  .nav { flex-direction: column; gap: 4px; padding: 8px 12px !important; }
  .nav .nav__inner { flex-direction: column; }
}
/* ================================================================ */


/* ========== NAV-LINKS (restored per approved masthead) ========== */
.nav .nav-link {
  color: #1b3e29 !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-display, Fraunces), Georgia, serif;
  letter-spacing: -0.005em;
  padding: 6px 10px;
  transition: opacity .2s ease;
  opacity: 0.85;
}
.nav .nav-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-right { display: flex; align-items: center; gap: 1.25rem; flex: 0 0 auto; }
@media (max-width: 860px) {
  .nav .nav-link:not(:first-child) { display: none; } /* keep only Subscribe on small screens */
}
/* ================================================================ */


/* ES nav CTA: guarantee visibility */
.nav .nav__cta, .nav a.nav__cta {
  background: #1b3e29 !important;
  color: #f9f2e7 !important;
  border: 1px solid #1b3e29 !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
}
.nav .nav__cta:hover { background: #0f2818 !important; color: #c9a862 !important; }


/* Hero kicker: 3-line stacked layout (future-proof for any city name) */
.hero__kicker {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center;
  line-height: 1.35;
  padding: .7rem 1.4rem;
}
.hero__kicker .kicker-line1 { color: var(--gold); font-weight: 700; display: block; }
.hero__kicker .kicker-line2 { color: #f9f2e7; font-weight: 500; display: block; letter-spacing: 0.18em; }
.hero__kicker .kicker-line3 { color: #b4a7e8; font-weight: 700; display: block; margin-top: .15rem; }



/* ============================================================
   MOBILE: Show Suscríbete CTA directly in masthead (skip burger)
   Mirror of EN sites' "keep only Subscribe on small screens" pattern.
   ============================================================ */
@media (max-width: 960px) {
  .nav__burger { display: none !important; }
  .nav__links { display: inline-flex !important; gap: 0; flex: 0 0 auto; }
  .nav__links > a:not(.nav__cta) { display: none !important; }
  .nav__links > a.nav__cta { display: inline-flex !important; }
}
@media (max-width: 720px) {
  .nav { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; gap: 12px !important; padding: 8px 12px !important; }
  .nav .nav__inner { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand .site-logo { max-width: 65vw !important; width: 65vw !important; height: auto !important; }
  .nav__links { flex: 0 0 auto !important; }
}

/* ============================================================
   CARD PHOTO SUPPORT (Qué recibirás cards)
   ============================================================ */
.card { padding: 0; display: flex; flex-direction: column; }
.card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
  display: block;
}
.card:hover .card__image img { transform: scale(1.06); }
.card__image::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(15,26,22,0.28), transparent);
  pointer-events: none;
}
.card__body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; }

/* ============================================================
   MOBILE NAV — ALLOW EN LANGUAGE SWITCH TO BE VISIBLE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links > a.nav__lang { display: inline-flex !important; }
}

/* Tighten mobile nav so EN pill + Suscríbete both fit on 390px */
@media (max-width: 720px) {
  .nav__inner { gap: 0.4rem; padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
  .nav__links { gap: 0.35rem !important; }
  .site-logo { max-width: 160px !important; }
  .nav__lang {
    padding: 0.4rem 0.7rem !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.04em !important;
  }
  .nav__cta, .nav a.nav__cta {
    padding: 0.55rem 0.9rem !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.04em !important;
  }
}
@media (max-width: 420px) {
  .site-logo { max-width: 130px !important; }
  .nav__lang { padding: 0.35rem 0.55rem !important; font-size: 0.72rem !important; }
  .nav__cta, .nav a.nav__cta { padding: 0.5rem 0.75rem !important; font-size: 0.78rem !important; }
}

/* Final mobile nav — force the logo to shrink so EN + Suscríbete both fit */
@media (max-width: 720px) {
  header.nav .site-logo {
    width: auto !important;
    max-width: 180px !important;
    max-height: 56px !important;
    object-fit: contain;
  }
}
@media (max-width: 420px) {
  header.nav .site-logo {
    max-width: 140px !important;
    max-height: 46px !important;
  }
}

/* Hero kicker line 2 — lowercase + italic per user request */
.hero__kicker .kicker-line2 {
  text-transform: none !important;
  font-style: italic !important;
  letter-spacing: 0.04em !important;
  font-family: var(--serif, Fraunces), Georgia, serif !important;
}


/* Tighten Elizabeth Ann signature block — Fundadora/Editora close to name */
.elizabeth__signature-block .editor-credit { margin: 0.1rem 0 0 0 !important; line-height: 1.2 !important; }


/* =====================================================================
   DESKTOP MASTHEAD PARITY WITH EN — 2026-04-23
   Strip solid CTA background from Suscríbete on desktop, prevent nav link
   text wrapping, ensure all nav items sit on one line matching EN.
   ===================================================================== */
@media (min-width: 961px) {
  /* Plain-link treatment for Suscríbete on desktop (matches EN "Subscribe") */
  .nav .nav__cta,
  .nav a.nav__cta {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #1b3e29 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: normal !important;
  }
  .nav .nav__cta:hover,
  .nav a.nav__cta:hover {
    background: transparent !important;
    color: #1b3e29 !important;
    transform: none !important;
    opacity: 0.7 !important;
  }
  /* Nav links: force single line, match EN sizing */
  .nav__links { flex-wrap: nowrap !important; white-space: nowrap; gap: 1.4rem !important; }
  .nav__links > a { white-space: nowrap !important; }
  /* Lang pill: keep outlined treatment like EN */
  .nav .nav__lang {
    border: 1.5px solid #1b3e29 !important;
    padding: 0.55rem 1rem !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
  }
}


/* ES_NAV_FIT_MARKER — ensure ES nav fits viewport at desktop */
@media (min-width: 961px) {
  .nav__links > a { font-size: 0.88rem !important; }
  .nav .nav__lang { font-size: 0.72rem !important; padding: 0.45rem 0.85rem !important; }
}


/* ============================================================
   MOBILE MASTHEAD PARITY WITH EN (Apr 23, 2026)
   Stack logo above controls, big logo, match EN cream header
   Overrides conflicting earlier mobile rules.
   ============================================================ */
@media (max-width: 720px) {
  .nav,
  header.nav {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px 12px !important;
    background: #f9f2e7 !important;
  }
  .nav .nav__inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .nav .brand,
  .nav > .brand {
    flex: 0 0 auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 0 !important;
  }
  .brand .site-logo,
  .nav .brand .site-logo,
  .site-logo {
    width: 78vw !important;
    max-width: 78vw !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }
  .nav__burger { display: none !important; }
  .nav__links {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: auto !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .nav__links > a:not(.nav__cta):not(.nav__lang) { display: none !important; }
  .nav__links > a.nav__cta,
  .nav__links > a.nav__lang { display: inline-flex !important; }
  .nav__cta,
  .nav a.nav__cta {
    background: #1b3e29 !important;
    color: #f9f2e7 !important;
    border: 1px solid #1b3e29 !important;
    padding: 10px 26px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    letter-spacing: 0.01em !important;
  }
  .nav__lang {
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.06em !important;
    border: 1.5px solid #1b3e29 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #1b3e29 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
  }
}
@media (max-width: 420px) {
  .brand .site-logo,
  .nav .brand .site-logo,
  .site-logo {
    width: 82vw !important;
    max-width: 82vw !important;
  }
  .nav__cta, .nav a.nav__cta { padding: 9px 22px !important; font-size: 0.9rem !important; }
  .nav__lang { padding: 7px 15px !important; font-size: 0.78rem !important; }
}


/* ============================================================
   FINAL OVERRIDE: kill old legacy max-height/max-width:180px
   rules and lock big logo (Apr 23, 2026 #2)
   ============================================================ */
@media (max-width: 720px) {
  html body header.nav .brand .site-logo,
  html body header.nav .site-logo,
  html body .nav .site-logo {
    width: 78vw !important;
    max-width: 78vw !important;
    min-width: 78vw !important;
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
@media (max-width: 420px) {
  html body header.nav .brand .site-logo,
  html body header.nav .site-logo,
  html body .nav .site-logo {
    width: 82vw !important;
    max-width: 82vw !important;
    min-width: 82vw !important;
    max-height: none !important;
    height: auto !important;
  }
}


/* ============================================================
   MOBILE BUTTON PARITY WITH EN (Apr 23, 2026 #3)
   Match EN's exact Subscribe + lang-pill sizing and typography.
   ============================================================ */
@media (max-width: 720px) {
  /* Suscríbete: match EN Subscribe */
  html body header.nav .nav__links > a.nav__cta,
  html body header.nav a.nav__cta,
  html body .nav .nav__cta {
    padding: 8px 18px !important;
    font-size: 0.9rem !important;       /* 14.4px */
    font-weight: 700 !important;
    font-family: var(--serif, Fraunces), Georgia, serif !important;
    letter-spacing: 0.01em !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    border: 1px solid #1b3e29 !important;
    background: #1b3e29 !important;
    color: #f9f2e7 !important;
    text-transform: none !important;
    height: auto !important;
  }
  /* English pill: match EN ES-pill height and letter-spacing,
     give it enough horizontal padding since "English" is longer than "ES" */
  html body header.nav .nav__links > a.nav__lang,
  html body header.nav a.nav__lang,
  html body .nav .nav__lang {
    padding: 8px 14px !important;
    font-size: 0.78rem !important;      /* 12.48px */
    font-weight: 700 !important;
    font-family: Nunito, system-ui, -apple-system, sans-serif !important;
    letter-spacing: 0.1em !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    border: 1px solid #1b3e29 !important;
    background: transparent !important;
    color: #1b3e29 !important;
    text-transform: uppercase !important;
    height: auto !important;
  }
  /* Gap between the two buttons: match EN (about 20px) */
  html body header.nav .nav__links {
    gap: 20px !important;
  }
}
