/* =============================================
   EYMM — style.css  (non-critical / async)
   Mobile-first, performance-optimized
   ============================================= */

/* ── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container {
  width: 100%; max-width: 1140px;
  margin-inline: auto; padding-inline: 1.25rem;
}

/* ── Desktop Nav ── */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block !important;
    position: static; background: transparent;
    border: none; padding: 0;
  }
  .site-nav ul {
    flex-direction: row; gap: 0;
  }
  .site-nav a {
    padding: .35rem .75rem; font-size: .85rem;
    border-bottom: none;
  }
}

/* ── Section Shared ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header--light .section-eyebrow,
.section-header--light h2 { color: #fff; }
.section-header:not(.section-header--light) h2 {
  color: var(--c-dark);
}
.section-eyebrow {
  font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--c-olive);
  font-weight: 700; margin-bottom: .6rem;
  display: block;
}
.section-eyebrow--light { color: rgba(255,255,255,.7); }

.section-header h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -.02em;
}
.section-desc {
  margin-top: .75rem;
  color: rgba(48,43,40,.65); font-size: 1rem; line-height: 1.7;
}

/* ── VSL Section ── */
.vsl-section {
  background: var(--c-dark);
  padding: 3rem 0 4rem;
}
.vsl-wrapper {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  background: #111;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  overflow: hidden;
}
.vsl-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
  z-index: 2;
}
/* Placeholder shown while src="about:blank" */
.vsl-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #1a1410 0%, #302B28 100%);
  z-index: 1;
  color: rgba(255,255,255,.4);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
/* Hide placeholder once iframe has real content */
.vsl-wrapper iframe:not([src="about:blank"]) + .vsl-placeholder {
  display: none;
}
.vsl-play-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35);
}

/* Variante del VSL embebida dentro del hero (fondo claro) */
.vsl-hero {
  max-width: 700px;
  width: 100%;
  margin-inline: auto;
  box-shadow: 0 12px 40px rgba(48,43,40,.18);
}
.vsl-hero .vsl-placeholder {
  background: linear-gradient(135deg, rgba(48,43,40,.06) 0%, rgba(170,186,177,.18) 100%);
  color: rgba(48,43,40,.35);
}
.vsl-hero .vsl-play-icon {
  border-color: rgba(48,43,40,.2);
  color: rgba(48,43,40,.3);
}

/* ── Pain Points ── */
.pain-section {
  background: var(--c-dark);
  padding: 5rem 0;
}
.pain-section .section-header h2 { color: #fff; }
.pain-section .section-eyebrow { color: var(--c-sage); }

.pain-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}

.pain-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(170,186,177,.15);
  padding: 1.75rem 1.5rem;
  transition: background .25s;
}
.pain-card:hover { background: rgba(255,255,255,.08); }
.pain-icon {
  color: var(--c-sage);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(170,186,177,.12);
  margin-bottom: 1rem;
}
.pain-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.05rem; color: #fff;
  margin-bottom: .6rem; font-weight: 700;
}
.pain-card p { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.65; }

/* ── About Brenda ── */
.about-section {
  background: var(--c-bg-soft);
  padding: 5rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-section .section-header { text-align: left; }
}

.about-image-wrap {
  position: relative;
  display: flex; justify-content: center;
}
/* ── About Brenda slideshow ── */
.about-img-slideshow {
  position: relative;
  width: 100%; max-width: 300px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--c-sage);
}

.slideshow-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: about-slideshow 12s infinite;
}

/* Stagger each image by 3s */
.slideshow-img--1 { animation-delay: 0s; }
.slideshow-img--2 { animation-delay: 3s; }
.slideshow-img--3 { animation-delay: 6s; }
.slideshow-img--4 { animation-delay: 9s; }

@keyframes about-slideshow {
  0%   { opacity: 0; }
  4%   { opacity: 1; }  /* fade in ~0.5s */
  20%  { opacity: 1; }  /* stay visible */
  25%  { opacity: 0; }  /* fade out */
  100% { opacity: 0; }  /* stay hidden */
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .slideshow-img { animation: none; }
  .slideshow-img--1 { opacity: 1; }
}

.about-badge-float {
  position: absolute;
  bottom: 1.25rem; right: 0;
  background: var(--c-burgundy); color: #fff;
  padding: .5rem 1rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 8px 24px rgba(124,10,40,.3);
}
.about-lead {
  font-size: 1.05rem; line-height: 1.7;
  color: var(--c-dark); margin-bottom: 1rem;
  font-family: var(--ff-serif);
}
.about-content p:not(.about-lead) {
  font-size: .95rem; line-height: 1.75;
  color: rgba(48,43,40,.75);
  margin-bottom: 1.25rem;
}
.about-quote {
  border-left: 3px solid var(--c-burgundy);
  padding-left: 1.25rem; margin: 1.5rem 0;
  font-family: var(--ff-serif);
  font-size: 1.15rem; font-style: italic;
  color: var(--c-dark); line-height: 1.5;
}

/* ── Episodes ── */
.podcast-section {
  background: var(--c-bg);
  padding: 5rem 0;
}
.episodes-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
}
.episode-card {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center; gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(48,43,40,.1);
  transition: background .2s;
}
.episode-card:first-child { border-top: 1px solid rgba(48,43,40,.1); }
@media (min-width: 480px) {
  .episode-card { grid-template-columns: 180px 1fr auto; gap: 1.25rem; }
}

.ep-thumb {
  width: 160px;
  aspect-ratio: 16 / 9;
  background: var(--c-sage);
  overflow: hidden; flex-shrink: 0;
  display: block;
  text-decoration: none;
}
@media (min-width: 480px) { .ep-thumb { width: 180px; } }
.ep-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s ease;
}
.ep-thumb:hover img { transform: scale(1.04); }
.ep-number {
  font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-olive);
  font-weight: 700; display: block; margin-bottom: .2rem;
}
.ep-title {
  font-family: var(--ff-serif);
  font-size: 1rem; font-weight: 700;
  color: var(--c-dark); margin-bottom: .35rem;
  line-height: 1.3;
}
.ep-desc {
  font-size: .83rem; color: rgba(48,43,40,.6);
  line-height: 1.55; display: none;
}
@media (min-width: 480px) { .ep-desc { display: block; } }

.ep-play {
  width: 44px; height: 44px;
  background: var(--c-sage);
  color: var(--c-dark); border: none;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s;
}
.ep-play:hover { background: var(--c-burgundy); color: #fff; }

.podcast-platforms {
  text-align: center; padding-top: 1.5rem;
}
.platforms-label {
  font-size: .78rem; color: rgba(48,43,40,.5);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.platforms-links {
  display: flex; flex-wrap: wrap;
  gap: .75rem; justify-content: center;
}
.platform-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem;
  border: 1.5px solid rgba(48,43,40,.2);
  color: var(--c-dark); text-decoration: none;
  font-size: .85rem; font-weight: 600;
  transition: border-color .2s, color .2s, background .2s;
}
.platform-link:hover {
  border-color: var(--c-burgundy);
  color: var(--c-burgundy);
}

/* ── Pillars ── */
.pillars-section {
  background: #F0EBE3;
  padding: 5rem 0;
}
.pillars-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(4, 1fr); }
}
.pillar-card {
  background: var(--c-white);
  padding: 1.75rem 1.5rem;
  transition: box-shadow .25s;
}
.pillar-card:hover { box-shadow: 0 12px 32px rgba(48,43,40,.08); }
.pillar-num {
  font-family: var(--ff-serif);
  font-size: 2rem; color: rgba(48,43,40,.12);
  font-weight: 700; display: block;
  line-height: 1; margin-bottom: .75rem;
}
.pillar-card h3 {
  font-family: var(--ff-serif);
  font-size: 1rem; font-weight: 700;
  color: var(--c-dark); margin-bottom: .5rem;
}
.pillar-card p { font-size: .85rem; color: rgba(48,43,40,.65); line-height: 1.6; }

/* ── HPC CTA ── */
.hpc-section {
  background: var(--c-burgundy);
  padding: 5rem 0;
}
.hpc-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .hpc-inner { grid-template-columns: 1fr auto; align-items: center; }
}
.hpc-content h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700; color: #fff;
  line-height: 1.2; margin-bottom: 1rem;
}
.hpc-content p {
  color: rgba(255,255,255,.8); font-size: .95rem;
  line-height: 1.7; margin-bottom: 1.5rem;
  max-width: 520px;
}
.hpc-form {
  display: flex; flex-wrap: wrap; gap: .6rem;
  max-width: 460px;
}
.hpc-form input[type="email"] {
  flex: 1 1 200px;
  padding: .875rem 1rem;
  border: none; outline: none;
  font-family: var(--ff-sans); font-size: .9rem;
  background: rgba(255,255,255,.95);
  color: var(--c-dark);
}
.hpc-form input::placeholder { color: rgba(48,43,40,.4); }
.hpc-form .btn-primary {
  background: var(--c-dark);
  white-space: nowrap;
}
.hpc-form .btn-primary:hover { background: #1a1410; }

/* Postulation CTA button in HPC section */
.btn-hpc-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  padding: 1rem 2rem;
  margin-top: .5rem;
  background: #fff;
  color: var(--c-burgundy);
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 28px rgba(255,255,255,.15);
}
.btn-hpc-cta:hover {
  background: #f0e8ec;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255,255,255,.2);
}
.hpc-disclaimer {
  margin-top: .75rem !important;
  font-size: .75rem !important;
  color: rgba(255,255,255,.55) !important;
}

.hpc-stats {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .hpc-stats { flex-direction: column; gap: 2rem; align-items: flex-end; }
}
.stat { text-align: right; }
.stat-num {
  display: block;
  font-family: var(--ff-serif);
  font-size: 2rem; font-weight: 700; color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: .72rem; color: rgba(255,255,255,.6);
  letter-spacing: .08em; text-transform: uppercase;
  display: block; margin-top: .2rem;
}

/* ── FAQ ── */
.faq-section {
  background: var(--c-bg);
  padding: 5rem 0;
}
.faq-container { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(48,43,40,.12); }
.faq-item:first-child { border-top: 1px solid rgba(48,43,40,.12); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 0;
  font-family: var(--ff-sans); font-size: .95rem;
  font-weight: 600; color: var(--c-dark);
  text-align: left; transition: color .2s;
}
.faq-q:hover { color: var(--c-burgundy); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); color: var(--c-burgundy); }
.faq-icon {
  flex-shrink: 0; font-size: 1.25rem;
  color: var(--c-olive); transition: transform .25s, color .25s;
  font-style: normal;
}
.faq-a {
  padding: 0 0 1.25rem;
  font-size: .9rem; line-height: 1.7;
  color: rgba(48,43,40,.72);
}
.faq-a[hidden] { display: none; }

/* ── Footer ── */
.site-footer {
  background: var(--c-dark);
  padding: 3.5rem 0 2rem;
  color: rgba(255,255,255,.7);
}
.footer-inner {
  display: flex; flex-direction: column;
  gap: 2rem; align-items: flex-start;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row; align-items: center;
    justify-content: space-between; flex-wrap: wrap;
  }
}
.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1.2rem; font-weight: 700; color: #fff;
  margin-bottom: .4rem;
}
.footer-manifesto {
  font-size: .78rem; line-height: 1.6;
  color: rgba(255,255,255,.5); font-style: italic;
}
.social-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem;
}
.social-link {
  padding: .4rem .8rem;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); text-decoration: none;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  transition: border-color .2s, color .2s;
}
.social-link:hover { border-color: var(--c-sage); color: var(--c-sage); }
.footer-copy {
  width: 100%; text-align: center;
  font-size: .72rem; color: rgba(255,255,255,.3);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 1rem;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
