:root {
  --purple: #6C4F86;
  --purple-dark: #4F3A64;
  --rose: #C48CA2;
  --legal-bg: #1b4357;
  --bg: #f6f6ff;
  --text: #000000;
  --green: #249c00;
  --green-alt: #53b544;
  --green-alt-hover: #46963a;
  --headline-font: 'Montserrat', sans-serif;
  --content-font: 'Figtree', sans-serif;
  --content-width: 1170px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--content-font);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

.topbar {
  background-color: var(--purple);
  padding: 14px 16px;
  text-align: center;
}

.topbar p {
  margin: 0;
  color: #fff;
  font-family: var(--headline-font);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 15px;
}

main {
  padding: 32px 20px 0;
}

.hero {
  max-width: var(--content-width);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--headline-font);
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 22px);
  color: var(--rose);
  text-align: center;
  margin: 0 0 10px;
}

.headline {
  font-family: var(--headline-font);
  font-weight: 800;
  font-size: clamp(24px, 4.2vw, 34px);
  line-height: 1.3;
  margin: 0 0 24px;
  text-align: center;
}

.badge-pill {
  display: inline-block;
  background-color: var(--purple);
  color: #fff;
  padding: 4px 16px;
  border-radius: 8px;
  margin-top: 8px;
}

.video-wrap {
  border-radius: 6px;
  overflow: hidden;
}

.btn-container {
  text-align: center;
  margin-top: 20px;
}

#btn-unirme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  width: 500px;
  max-width: 100%;
  height: 60px;
  padding: 0 40px;
  background-color: var(--green-alt);
  color: #fff;
  font-family: var(--content-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.6px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.8s ease;
}

#btn-unirme:hover { transform: scale(1.05); background-color: var(--green-alt-hover); }
#btn-unirme.show { opacity: 1; }

@media (max-width: 540px) {
  #btn-unirme {
    width: 90vw;
    font-size: 20px;
    letter-spacing: 0.5px;
  }
}

.byline {
  margin-top: 28px;
}

.byline p {
  margin: 0 0 4px;
  font-size: 14px;
  color: #444;
}

.bio {
  font-family: var(--content-font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  margin: 20px 0 32px;
}

.bio p { margin: 0 0 12px; }
.bio p:last-child { margin-bottom: 0; }
.bio strong { font-weight: 700; }

/* En la página original este temporizador existe y corre en segundo plano
   (efecto de urgencia interno), pero es completamente transparente/invisible
   para la visitante: color y fondo en rgba(0,0,0,0). Se replica igual aquí. */
.countdown {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
}

.timer-box {
  background-color: transparent;
  border: 0;
  padding: 10px 18px;
  text-align: center;
  min-width: 70px;
}

.timer-box .count {
  font-family: var(--headline-font);
  font-weight: 800;
  font-size: 32px;
  color: transparent;
}

.timer-box .label {
  font-size: 15px;
  color: transparent;
}

.testimonials-section {
  background-color: #ffffff;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 20px 20px 40px;
  text-align: center;
}

.section-title {
  font-family: var(--content-font);
  font-weight: 700;
  color: var(--purple);
  font-size: clamp(22px, 3.4vw, 28px);
  max-width: var(--content-width);
  margin: 0 auto 28px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 auto 28px;
  max-width: var(--content-width);
}

.testimonial-grid img {
  width: 100%;
  border-radius: 12px;
}

.references-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 8px 20px 40px;
  text-align: center;
}

.section-title-alt {
  font-family: var(--headline-font);
  font-weight: 700;
  color: var(--text);
  font-size: clamp(18px, 2.6vw, 22px);
  margin: 0 0 24px;
}

.references-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 0 auto 24px;
}

.references-grid img {
  width: auto;
  max-height: 60px;
}

.references-disclaimer {
  font-size: 13px;
  color: #666;
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.references-citations {
  font-size: 12px;
  color: #888;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal {
  background-color: var(--legal-bg);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 32px 20px 8px;
}

.legal p {
  max-width: var(--content-width);
  margin: 0 auto;
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
  text-align: center;
}

footer {
  background-color: var(--legal-bg);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 8px 20px 40px;
}

footer p {
  max-width: var(--content-width);
  margin: 0 auto;
  font-size: 13px;
  color: #fff;
  text-align: center;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }
