/* ========================================
   CRÉDITOS — CrossFit VNG | Editorial Premium
   ======================================== */

.cr-wrapper {
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
}

/* ===================
   HERO
   =================== */
.cr-hero {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 160px 2rem 100px;
}

.cr-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
}

.cr-hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.cr-hero h1::after,
.cr-hero h1::before { display: none; }

.cr-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================
   AUTOR (white)
   =================== */
.cr-autor {
  background: #fff;
  padding: 100px 2rem;
}

.cr-autor__inner {
  max-width: 800px;
  margin: 0 auto;
}

.cr-autor__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
}

.cr-autor__info h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.cr-autor__info h2::after,
.cr-autor__info h2::before { display: none; }

.cr-autor__info p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.cr-autor__datos {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2rem;
}

/* Shared dato component */
.cr-dato {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cr-dato:last-child {
  border-bottom: none;
}

.cr-dato__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.cr-dato__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.cr-dato__link {
  text-decoration: none;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.cr-dato__link:hover {
  color: #8b0000;
}

/* ===================
   SERVICIOS (dark)
   =================== */
.cr-servicios {
  background: #0a0a0a;
  padding: 100px 2rem;
}

.cr-servicios__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cr-servicios__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
}

.cr-servicios h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 3.5rem;
}

.cr-servicios h2::after,
.cr-servicios h2::before { display: none; }

.cr-servicios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  text-align: left;
}

.cr-servicio {
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: background 0.3s ease;
}

.cr-servicio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #8b0000;
}

.cr-servicio:hover {
  background: rgba(255, 255, 255, 0.04);
}

.cr-servicio__num {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 1.2rem;
}

.cr-servicio h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}

.cr-servicio p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

/* ===================
   ENFOQUE (white)
   =================== */
.cr-enfoque {
  background: #fff;
  padding: 100px 2rem;
}

.cr-enfoque__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cr-enfoque__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
}

.cr-enfoque h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.cr-enfoque h2::after,
.cr-enfoque h2::before { display: none; }

.cr-enfoque p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

/* ===================
   CTA (dark)
   =================== */
.cr-cta {
  background: #0a0a0a;
  color: #fff;
  padding: 100px 2rem;
  text-align: center;
}

.cr-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}

.cr-cta__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
}

.cr-cta h2 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.cr-cta h2::after,
.cr-cta h2::before { display: none; }

.cr-cta p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  margin: 0 auto 3rem;
}

.cr-cta__contacto {
  max-width: 400px;
  margin: 0 auto 3rem;
  text-align: left;
}

.cr-cta__contacto .cr-dato {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.cr-cta__contacto .cr-dato__label {
  color: rgba(255, 255, 255, 0.3);
}

.cr-cta__contacto .cr-dato__value,
.cr-cta__contacto .cr-dato__link {
  color: #fff;
}

.cr-cta__contacto .cr-dato__link:hover {
  color: rgba(255, 255, 255, 0.6);
}

.cr-cta__action {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cr-cta__btn {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
}

.cr-cta__btn:hover {
  background: #fff !important;
  color: #1a1a1a !important;
  border-color: #fff !important;
}

.cr-cta__btn-wa {
  border-color: rgba(37, 211, 102, 0.5) !important;
  color: #25d366 !important;
}

.cr-cta__btn-wa:hover {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
}

/* Ocultar flotante WhatsApp de CrossFit en créditos */
.cr-wrapper ~ footer .wa-float {
  display: none !important;
}

/* ===================
   RESPONSIVE
   =================== */
@media (max-width: 768px) {
  .cr-hero {
    padding: 140px 1.5rem 80px;
  }

  .cr-hero h1 {
    font-size: 3rem;
    letter-spacing: -1px;
  }

  .cr-autor,
  .cr-servicios,
  .cr-enfoque {
    padding: 70px 1.5rem;
  }

  .cr-autor__info h2,
  .cr-enfoque h2 {
    font-size: 2.2rem;
  }

  .cr-servicios h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }

  .cr-servicios__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cr-cta {
    padding: 80px 1.5rem;
  }

  .cr-cta h2 {
    font-size: 2.5rem;
  }

  .cr-dato {
    flex-direction: column;
    gap: 0.2rem;
  }

  .cr-dato__value {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .cr-hero h1 {
    font-size: 2.4rem;
  }

  .cr-autor__info h2,
  .cr-servicios h2,
  .cr-enfoque h2 {
    font-size: 1.8rem;
  }

  .cr-servicios__grid {
    grid-template-columns: 1fr;
  }

  .cr-cta h2 {
    font-size: 2rem;
  }
}
