/* ========================================
   SECCIÓN CIFRAS DE IMPACTO
======================================== */
.impacto-section {
  background: #fff;
  text-align: center;
  padding: 90px 20px;
  color: #00232a;
}

.container-impacto {
  max-width: 1000px;
  margin: auto;
}

.impacto-section h2 {
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 60px;
}

.impacto-section h2 span {
  color: #46d4cd;
}

.impacto-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}

.impacto-item {
  flex: 1 1 250px;
  padding: 0 20px;
}

.impacto-item h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #46d4cd;
  margin-bottom: 10px;
  line-height: 1.2;
}

.impacto-item p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

.divider {
  width: 1px;
  background: #ddd;
  margin: 0 30px;
}

/* ========================================
   RESET Y CONFIGURACIÓN BASE
======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.5;
  color: #222;
}

/* ========================================
   TIPOGRAFÍA POPPINS
======================================== */
.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

/* ========================================
   HEADER
======================================== */
header {
  padding: 20px;
  text-align: center;
}

header img {
  max-width: 100%;
  height: auto;
}

hr.degrade {
  border: none;
  height: 3px;
  margin: 20px auto;
  text-align: center;
  width: 80%;
  background: #46d4cd;
  border-radius: 2px;
  opacity: 1;
}

/* ========================================
   BOTÓN CTA
======================================== */
.btn-cta {
  display: inline-block;
  background: #ff3366;
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #e22b58;
  transform: scale(1.05);
}

/* ========================================
   SECCIONES
======================================== */
section {
  width: 100%;
  margin: auto;
  padding: 80px 20px;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #001b23;
  color: #fff;
  border-radius: 25px;
  padding: 50px;
  margin: 40px auto;
  gap: 30px;
  width: 80%;
  max-width: 1400px;
}

.hero-left {
  flex: 1;
  text-align: left;
  padding: 20px;
}

.hero-left h2 {
  color: #ffffff;  /* ✅ CORREGIDO: Blanco en lugar de rosa */
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 37px;
}

.hero-left p {
  color: #00d5ce;  /* ✅ Cyan/Turquesa para el subtítulo */
  font-size: 18px;
}

.hero-right {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   FORMULARIO
======================================== */
form {
  max-width: 433px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-left,
.form-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  outline: none;
  border-color: #ff3366;
}

/* Checkbox */
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 14px;
  color: #ddd;
}

.check input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

/* Botón de envío */
button,
form button[type="submit"] {
  background: #ff3366;
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  margin-top: 15px;
  transition: all 0.3s ease;
}

button:hover,
form button[type="submit"]:hover:not(:disabled) {
  background: #e22b58;
}

form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mensaje de éxito */
.success {
  display: none;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 12px 20px;
  border-radius: 5px;
  margin-top: 15px;
  text-align: center;
  font-weight: 500;
}

/* ========================================
   CARRUSEL
======================================== */
.carousel-container {
  margin: 40px auto;
  max-width: 80%;
  overflow: hidden;
  position: relative;
}

.carousel-container a {
  color: #0c2336;
  text-decoration: none;
  transition: color 0.3s ease;
}

.carousel-container a:hover {
  color: #ff546e;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 200px;
  margin: 0 10px;
  background: #fbfbfb;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
  max-width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.carousel-buttons {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 15px;
}

.carousel-buttons button {
  background: #0c2336;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.carousel-buttons button:hover {
  background: #ff3366;
}

/* ========================================
   FOOTER
======================================== */
footer {
  background: #0c2336;
  color: #fff;
  padding: 40px 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #00d5ce;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #00d5ce;
  text-decoration: underline;
}

.footer-col.logo img {
  max-width: 180px;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-bottom img {
  max-height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 20px 0;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 900px) {
  .logointro {
    width: 100%;
  }

  .mo {
    text-align: center;
    display: block !important;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    width: 90%;
  }

  .hero-left {
    text-align: center;
  }

  .hero-left h2 {
    font-size: 28px;
  }

  .form-grid {
    flex-direction: column;
  }

  section {
    padding: 40px 20px;
  }

  .carousel-container {
    max-width: 95%;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .impacto-grid {
    flex-direction: column;
    gap: 40px;
  }

  .divider {
    display: none;
  }

  .impacto-item h1 {
    font-size: 3rem;
  }

  .impacto-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-left h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero-left p {
    font-size: 16px;
  }

  form {
    max-width: 100%;
  }
}