/* Fondo y altura total */
body,
html {
  height: 100%;
  margin: 0;
  background-color: #fff;
}

/* Centrar todo en la pantalla */
.full-height {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40%;
}

.info-banner {
  background-color: #009ba5;
  /* mismo color que "SOLAR MÉXICO" */
  color: white;
  /* padding: 12px 20px; */
  font-size: 2.5rem;
  font-weight: 700;
  z-index: 10;
  position: relative;
  text-transform: uppercase;
}

/* Estilos para los textos
.center-title {
    color: #009ba5;
    font-size: 9vw;
    font-weight: bold;
    text-align: center;
}

.subtitle {
    color: #009ba5;
    font-size: 3vw;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5vw;
} */

.logo-text {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

/* Estilo para el logo */
.logo-img {
  max-height: 160px;
  height: 160px;
  width: 160px;
  display: block;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-height: 100vh;
  overflow: hidden;
}

.video-button-wrapper {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.btn-custom {
  background-color: white;
  color: #009ba5;
  border: 2px solid #009ba5;
  padding: 14px 32px;
  /* más grande */
  font-size: 1.3rem;
  /* texto más grande */
  font-weight: 600;
  border-radius: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  text-transform: uppercase;
  /* convierte el texto a MAYÚSCULAS */
}

/* Hover elegante */
.btn-custom:hover {
  background-color: #009ba5;
  color: white;
  text-decoration: none;
}

/* Contenedor de los botones superiores */
.video-top-buttons {
  position: absolute;
  top: 50px;
  width: 100%;
  padding: 0 10%;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  flex-wrap: wrap;
}

/* Botón inferior centrado sobre el video */
.video-bottom-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

/* Botón principal más grande */
.btn-custom-primary {
  background-color: white;
  color: #009ba5;
  border: 2px solid #009ba5;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Hover elegante */
.btn-custom-primary:hover {
  background-color: #009ba5;
  color: white;
  text-decoration: none;
}

/* Botones con opacidad y estilo moderno */
.btn-custom {
  background-color: rgba(255, 255, 255, 0.8);
  /* blanco con opacidad */
  color: #009ba5;
  border: 2px solid #009ba5;
  padding: 12px 30px;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(4px);
  /* efecto sutil de vidrio */
}

.solar-value-section {
  background-color: #f8f9fa;
  padding-top: 5rem;

}

.section-title {
  font-size: 3rem;
  color: #009ba5;
  padding: 20px 0;
  font-weight: 700;
  text-transform: uppercase;
}

.value-box img {
  max-width: 180px;
  height: auto;
}

.value-box p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  padding: 0 100px;
}

.final-text {
  font-size: 1.7rem;
  color: #009ba5;
  font-weight: 300;
  font-style: oblique;
}

.value-text {
  /* width: 100px; */
  margin: 0;
  font-size: 1.3rem !important;
  /* tamaño más grande */
  color: #009ba5 !important;
  /* mismo color que el branding */
  font-weight: 500 !important;
}

/* Nueva Sección */
.renewable-energy-section {
  background-color: #ffffff;
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  color: #009ba5;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* Card Verde */
.card-green {
  background-color: #009ba5;
  color: #fff;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  text-align: justify;
  margin: 0 auto;
  position: relative;
  /* para posicionar el botón */
}

.card-green:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Card Blanco con borde verde */
.card-outline {
  background-color: #fff;
  border: 2px solid #009ba5;
  color: #009ba5;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  text-align: justify;
  margin: 0 auto;
  position: relative;
}

.card-outline:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Imágenes centradas */
.card img {
  max-width: 100%;
  height: 100%;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Botón Leer Más */
.btn-read-more {
  background-color: #009ba5;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  text-transform: uppercase;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.btn-read-more:hover {
  background-color: #18a1a1;
  transform: translateY(-3px);
}

/***** Sección Verde - Alianzas *****/
.alliances-section {
  background-color: #009ba5;
  padding: 4rem 2rem;
  text-align: center;
}

.alliance-text {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 0rem;
  font-style: oblique;
}

.highlight {
  color: #ffffff;
  font-weight: 700;
}

.alliance-img {
  max-width: 40%;
  height: auto;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.alliance-img:hover {
  transform: scale(1.05);
}

/* Botón Ver Módulos */
.btn-view-modules {
  background-color: #ffffff;
  color: #009ba5;
  border: 2px solid #ffffff;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-view-modules:hover {
  background-color: #18a1a1;
  color: #ffffff;
  border-color: #18a1a1;
}

/***** Sección Financiamiento *****/
.financing-section {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.financing-text {
  font-size: 3rem;
  font-weight: 600;
  color: #009ba5;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 2rem;
  font-weight: 300;
  font-style: oblique;
}

.highlight-finance {
  font-weight: 800;
  color: #009ba5;
  font-style: normal !important;
}

.financing-logo {
  /* max-width: 200px; */
  width: 30%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.financing-logo:hover {
  transform: scale(1.05);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/***** Cuadro informativo *****/
.info-box {
  background-color: #8eaea9;
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
  color: #fff;
}

.info-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.info-column {
  font-size: 2rem;
  line-height: 1.6;
  padding: 0 2.8rem;
  text-align: left;
  font-style: oblique;
  font-weight: 250;
}

.info-column p {
  margin-bottom: 0.5rem;
}

.info-column p::before {
  content: "• ";
  font-weight: bold;
  color: #fff;
}

/*ssss*/
.projects-section {
  background-color: #009ba5;
  padding: 60px 0;
}



.carousel-inner {
  display: flex;
  gap: 1rem;
}

.carousel-item {
  min-height: 200px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-img {
  width: 550px;
  height: 320px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.carousel-img:hover {
  transform: scale(1.05);
}

.carousel-title {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
  padding-bottom: 10%;
}

.carousel-title-uno {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  padding-left: 8rem !important;
  padding-bottom: 10%;

}

.carousel-text {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.4;
  font-style: italic;
}

.carousel-text-uno {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.4;
  padding-left: 8rem;
  font-style: italic;
}

.carousel-separator {
  height: 40px;
  /* Espacio entre carruseles */
  background-color: #ffffff;
}

.carousel-control-prev,
.carousel-control-next {
  filter: invert(1);
}

.contact-section {
  background-color: #fff;
  padding: 60px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title {
  font-size: 3rem;
  color: #009ba5;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
}

.form-left,
.form-right {
  flex: 1;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 1rem;
  color: #333;
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #009ba5;
  background-color: #009ba5;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #d1f2f2;
}

.form-group input:focus,
.form-group textarea:focus {
  background-color: #1a8a8a;
  border-color: #009ba5;
}

.form-right .form-group textarea {
  height: calc(4 * 80px + 3 * 15px);
  /* 4 campos de altura + 3 espacios entre campos */
  resize: none;
}

.form-submit {
  text-align: center;
  grid-column: 1 / span 2;
}

.form-submit button {
  background-color: #009ba5;
  color: #fff;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-submit button:hover {
  background-color: #1a8a8a;
}


/* ======= RESPONSIVE ======= */

/* Ajustes para tablets */
@media (max-width: 992px) {
  .contact-form {
    flex-direction: column;
  }

  .form-left,
  .form-right {
    width: 100%;
  }

  .form-right .form-group textarea {
    height: 300px;
    /* Ajuste para pantallas pequeñas */
  }

  .logo-text {
    max-width: 350px;
  }

  .logo-img {
    width: 140px;
    height: 140px;
    max-height: 140px;
  }
}

@media (max-width: 768px) {

  .info-banner {
    font-size: 1.1rem;
    padding: 10px 16px;
  }

  .logo-img {
    width: 120px;
    height: 120px;
    max-height: 120px;
  }

  .logo-text {
    max-width: 300px;
  }

  .video-top-buttons {
    top: 30px;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-left,
  .btn-right {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  .btn-right {
    margin-bottom: 60px;
    /* espacio extra para evitar colisión con el botón principal */
  }

  .btn-custom-primary {
    padding: 12px 28px;
    font-size: 1rem;
  }

  .video-size {
    height: 20em !important;
  }

  .card-green,
  .card-outline {
    max-width: 100%;
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .alliances-section {
    padding: 3rem 1rem;
  }

  .alliance-text {
    font-size: 1.3rem;
  }

  .alliance-img {
    max-width: 150px;
  }

  .btn-view-modules {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .financing-section {
    padding: 3rem 1rem;
  }

  .financing-text {
    font-size: 1.3rem;
  }

  .financing-logo {
    max-width: 150px;
  }

  .info-box {
    padding: 1.5rem;
  }

  .info-column {
    font-size: 0.9rem;
  }
}

/* Responsive para móviles */
@media (max-width: 576px) {
  .contact-title {
    font-size: 1.8rem;
  }

  .form-submit button {
    width: 100%;
  }

  .full-height {
    height: 20%;

  }

  .center-title {
    font-size: 15vw;
  }

  .subtitle {
    font-size: 7vw;
    letter-spacing: 1vw;
  }

  .logo-img {
    width: 80px;
    height: 80px;
    max-height: 80px;
  }

  .logo-text {
    max-width: 200px;
  }

  .info-banner {
    font-size: 1.4rem;
    padding: 8px 12px;
  }

  .video-top-buttons {
    top: 20px;
    gap: 1rem;
  }

  .btn-custom {
    padding: 10px 24px;
    width: 100%;
    max-width: 200px;
  }

  .btn-custom,
  .btn-custom-primary {
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 20px;
  }

  .btn-custom-primary {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
    color: #009ba5;
    font-weight: bold;
    padding: 20px 0;
    font-weight: 800;
    text-transform: uppercase;
  }

  .card-green,
  .card-outline {
    max-width: 100%;
    padding: 1rem;
  }

  .alliance-text {
    font-size: 1.2rem;
  }

  .alliance-img {
    max-width: 40%;
  }

  .btn-view-modules {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .financing-text {
    font-size: 1.2rem;
  }

  .financing-logo {
    max-width: 120px;
  }

  .info-box {
    padding: 1rem;
  }

  .info-column {
    font-size: 0.85rem;
  }

  .info-title {
    font-size: 1.2rem;
  }
}