/* =========================================================
   RAEE PAGE
========================================================= */

.raee-page {
  color: #ffffff;
  background: #222222;
  padding-bottom: 80px;
}

/* =========================================================
   HERO
========================================================= */

.raee-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 20px 40px;
  background: linear-gradient(180deg, rgba(150, 72, 170, 0.20) 0%, rgba(34, 34, 34, 0.95) 100%);
}

.raee-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
  gap: 30px;
  align-items: center;
}

.raee-hero-content {
  min-width: 0;
}

.raee-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d884ff;
  font-family: "Lexend Zetta", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}

.raee-main-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: "Staatliches", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.raee-subtitle {
  margin: 0 0 18px;
  max-width: 760px;
  color: #d9d9d9;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.raee-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.raee-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #9648aa;
  color: #ffffff;
  text-decoration: none;
  font-family: "Pathway Gothic One", sans-serif;
  font-size: 24px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.raee-action-btn:hover {
  color: #ffffff;
  background: #a05fb1;
  transform: translateY(-2px);
}

.raee-action-btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.raee-hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(62vh, 560px);
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.22);
}

.raee-hero-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(56vh, 520px);
  object-fit: contain;
  border-radius: 20px;
}

/* =========================================================
   WRAPPER
========================================================= */

.raee-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 0;
}

/* =========================================================
   INFO BOXES
========================================================= */

.raee-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.raee-info-box {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.raee-info-box h3 {
  margin: 0 0 10px;
  color: #d884ff;
  font-size: 28px;
  font-family: "Pathway Gothic One", sans-serif;
  text-align: left;
}

.raee-info-box p {
  margin: 0;
  color: #e7e7e7;
  font-family: "Montserrat", sans-serif;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* =========================================================
   RAEE SECTIONS - CARD 50/50
========================================================= */

.raee-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: 28px;
  align-items: stretch;
  min-height: min(78vh, 760px);
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(150, 72, 170, 0.05));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.raee-section--text-only {
  grid-template-columns: 1fr;
  min-height: auto;
}

.raee-section-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin-bottom: 0;
  padding-right: 6px;
}

.raee-section-number {
  display: inline-block;
  margin-bottom: 10px;
  color: #d884ff;
  font-family: "Lexend Zetta", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}

.raee-section-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: "Staatliches", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.raee-section-text {
  margin: 0;
  max-width: 980px;
  color: #e5e5e5;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}

.raee-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  margin-top: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
}

.raee-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(70vh, 680px);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  border-radius: 18px;
}

.raee-highlight {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid #d884ff;
  border-radius: 10px;
  background: rgba(216, 132, 255, 0.08);
  color: #f2f2f2;
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
}

.raee-highlight--inside {
  margin-top: 22px;
}

.raee-note {
  margin-top: 20px;
  color: #cfcfcf;
  font-size: 0.95rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

/* =========================================================
   CTA
========================================================= */

.raee-cta {
  margin-top: 34px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(150, 72, 170, 0.24), rgba(34, 34, 34, 0.95));
}

.raee-cta h2 {
  margin: 0 0 10px;
  color: #ffffff;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Staatliches", sans-serif;
}

.raee-cta p {
  margin: 0 auto 22px;
  max-width: 760px;
  color: #ededed;
  font-family: "Montserrat", sans-serif;
  line-height: 1.8;
}

.raee-pdf-frame {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.raee-pdf-frame iframe {
  display: block;
  width: 100%;
  height: 780px;
  border: none;
  background: #ffffff;
}

.raee-mini-warning {
  margin-top: 18px;
  color: #cfcfcf;
  font-size: 0.92rem;
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
}

/* =========================================================
   TEXTO LARGO / TRADUCCIONES
========================================================= */

.raee-main-title,
.raee-subtitle,
.raee-section-title,
.raee-section-text,
.raee-cta h2,
.raee-cta p,
.raee-info-box h3,
.raee-info-box p,
.raee-highlight,
.raee-note,
.raee-mini-warning {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

@media (max-width: 1100px) {
  .raee-hero-inner {
    grid-template-columns: 1fr;
  }

  .raee-hero-card {
    min-height: auto;
  }

  .raee-hero-card img {
    height: auto;
    max-height: 420px;
  }

  .raee-section,
  .raee-section--split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .raee-visual {
    order: 2;
  }

  .raee-visual img {
    height: auto;
    max-height: 460px;
  }
}

@media (max-width: 992px) {
  .raee-info-grid {
    grid-template-columns: 1fr;
  }

  .raee-pdf-frame iframe {
    height: 560px;
  }
}

@media (max-width: 768px) {
  .raee-section {
    padding: 20px 18px;
    gap: 20px;
    border-radius: 22px;
  }

  .raee-section-title {
    font-size: 1.45rem;
  }

  .raee-section-text,
  .raee-highlight,
  .raee-note {
    font-size: 0.93rem;
    line-height: 1.72;
  }

  .raee-visual img {
    padding: 6px;
    border-radius: 16px;
  }
}

@media (max-width: 600px) {
  .raee-hero {
    padding: 50px 16px 30px;
  }

  .raee-wrapper {
    padding: 20px 16px 0;
  }

  .raee-section,
  .raee-cta {
    padding: 20px;
  }

  .raee-action-btn {
    width: 100%;
    font-size: 22px;
  }

  .raee-pdf-frame iframe {
    height: 420px;
  }
}