/* ========== ETTA LANDING ========== */

/* HERO comercial */
.section_.hero-sell {
  background: linear-gradient(135deg, #0f2b46 0%, #0d1f35 100%) !important;
  color: #fff;
  padding: 3rem 1rem;
  border-radius: 1rem;
  overflow: hidden;
}
.section_.hero-sell .btn-cta-primary {
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  color: #fff;
  border: 0;
}
.section_.hero-sell .btn-cta-outline {
  border: 2px solid #22c55e;
  color: #22c55e;
  background: transparent;
}
.section_.hero-sell .btn-cta-outline:hover {
  background: #22c55e;
  color: #fff;
}

/* Barra de confianza */
.trustbar {
  background: #004996;
  border: 1px solid #004996;
  border-radius: 0.8rem;
  color: #cfe8ff;
  text-align: center;
  padding: 0.75rem;
}

/* Ofertas académicas */
.offer-sell,
.offer-contrast {
  background: linear-gradient(135deg, #0f2b46 0%, #0d1f35 100%);
  border-radius: 1rem;
  color: #fff;
}
.offer-sell .card-offer,
.offer-contrast .card-offer {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
}

/* Chips de ruta académica */
.route .badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  background: linear-gradient(120deg, #004996 0%, #0a2b5f 100%);
  color: #fff;
  text-align: center;
  padding: 60px 20px 80px; /* Antes 120px arriba */

}

/* ===== LOGOS TOP HERO ===== */
.logos-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  width: 100%;
}

.logos-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.logos-wrap .logo {
  height: 56px;              /* tamaño consistente */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* fuerza color blanco */
}

/* Para evitar el espacio blanco visual, ajustamos el fondo del contenedor superior */
.hero {
  background: linear-gradient(120deg, #004996 0%, #0a2b5f 100%);
  padding: 60px 20px 80px;
  color: #fff;
  text-align: center;
}


.hero-in {
  max-width: 960px;
  margin: 0 auto;
}

.hero .tag {
  background: #fdda34;
  color: #000;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero .h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 24px 0 12px;
  line-height: 1.3;
}

.hero .sub {
  font-size: 1.2rem;
  color: #e8e8e8;
  margin-bottom: 24px;
}

.hero .badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.hero .badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
}

.cta-row {
  margin-top: 20px;
}

.btn.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn.btn-whatsapp:hover {
  background-color: #1ebe5c;
  transform: scale(1.05);
}

.hero-foot {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 0.95rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero {
    padding: 90px 20px 60px;
  }
  .hero .h1 {
    font-size: 1.8rem;
  }
  .logos-wrap img {
    height: 48px;
  }
}

/* ========== RRSS / REDES SOCIALES (Landing) ========== */

.feature-area-1 {
  background: #0f1b2e;
  background: radial-gradient(circle at 20% 20%, #1e355d 0%, #0f1b2e 70%);
  color: #fff;
  padding: 40px 16px;
  margin-top: 48px;
}

.feature-area-1 .sec-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.social-icons-etta {
  flex-wrap: wrap;
}

.social-btn-etta {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: all .15s;
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.social-btn-etta.fb { background: #1877f2; }

.social-btn-etta.ig {
  background: radial-gradient(circle at 30% 30%,
    #feda77 0%,
    #d62976 40%,
    #962fbf 60%,
    #4f5bd5 100%);
}

.social-btn-etta.tt,
.social-btn-etta.x {
  background: #000;
}

.social-btn-etta:hover {
  transform: scale(1.07);
  box-shadow: 0 16px 32px rgba(0,0,0,0.75);
}

/* responsive */
@media (max-width:768px){
  .feature-area-1 {
    text-align:center;
  }
}

/* ========== FORMULARIO DE CONTACTO / CTA ========== */
.contact.section {
  background: #004996;
  color: #fff;
  padding: 60px 0;
}

.lp-brand {
  padding-right: 20px;
}

.lp-brand .badge {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 500;
}

.lp-brand ul {
  list-style: none;
  padding-left: 0;
}

.lp-brand ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

.lp-brand ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #fdda34;
  font-weight: bold;
}

.trustbar {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.lp-form h2 {
  color: #252d5d;
  font-weight: 700;
}

.btn-cta-primary {
  background: #25D366;
  color: #fff;
  border-radius: 40px;
  font-weight: 600;
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  transition: all .2s ease;
}

.btn-cta-primary:hover {
  background: #1EBE5C;
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .lp-brand {
    text-align: center;
    padding: 0;
  }
  .lp-brand ul li {
    padding-left: 18px;
  }
}

/* Logos en el bloque de marca del formulario */
.lp-logos {
  gap: 16px;
}

.lp-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1); /* convertir logos a blanco sobre fondo oscuro */
}

@media (min-width: 768px) {
  .lp-logo {
    height: 56px;
  }
}

/* Ajuste fino por si uno es más ancho que el otro */
.etta-logo {
  max-width: 160px;
}

.esci-logo {
  max-width: 160px;
}


/* CONTENEDOR PRINCIPAL DEL BLOQUE CONTACTO */
.contact.section {
  background: #004996;
  color: #fff;
  padding: 48px 24px;       /* antes era 60px 0;  -> agregamos padding lateral */
  border-radius: 16px;
  max-width: 1280px;        /* limita el ancho total del bloque */
  margin: 32px auto;        /* lo centra en la página */
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

/* El .container interno de Bootstrap suele tener padding lateral chico.
   Aquí lo reforzamos un poco y le damos gap horizontal entre columnas */
.contact.section .container {
  max-width: 1200px;        /* ancho de la fila interna */
  padding-left: 16px;
  padding-right: 16px;
}

/* Separación entre la columna de texto y el formulario */
.contact.section .row {
  --bs-gutter-x: 2rem;      /* aumenta gap horizontal entre col-lg-7 y col-lg-5 */
}

/* Texto de la izquierda */
.lp-brand {
  padding-right: 12px;
}

/* Caja del formulario (columna derecha) */
.contact.section .card {
  border-radius: 10px;
  border: 1px solid #dfe3ea;
}

/* Ajuste tipográfico general adentro del bloque */
.lp-brand h1.h2 {
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #fff;
}

.lp-brand p.lead {
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

/* Lista con checks amarillos */
.lp-brand ul.list-bullets {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Barra de confianza (la caja azul grisácea con badges) */
.trustbar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.4;
}

/* badges dentro de trustbar */
.trustbar .badge {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 500;
  font-size: .75rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  padding: 4px 8px;
}

/* “Siguiente inicio” bloque final */
.lp-brand .next-start {
  color: #fff;
  font-size: .95rem;
  line-height: 1.4;
  margin-top: 24px;
}

/* RESPONSIVE: en móvil queremos todavía más aire lateral y stack vertical */
@media (max-width: 991px) {
  .contact.section {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .contact.section .row {
    --bs-gutter-x: 1rem;   /* menos gap porque ya va en stack */
  }

  .lp-brand {
    text-align: center;
    padding-right: 0;
  }

  .trustbar {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }

  .contact.section .card {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ===== Overrides específicos de LANDING para la franja de logos ===== */

/* Quitamos el fondo blanco heredado de etta_base.css */
.logos-top {
  background: transparent !important;
  border-bottom: 0 !important;
  padding: 0 !important;

  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  width: 100%;
}

/* Ajuste del contenedor interno de los logos */
.logos-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  max-width: 800px;
}
/* Logos en modo blanco visibles sobre el hero oscuro */
.logos-wrap .logo {
  height: 64px;          /* antes 56px */
  width: auto;
  max-width: 220px;      /* límite sano para que no se descuadre */
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .logos-wrap .logo {
    height: 120px;        /* más grande en desktop */
    max-width: 300px;
  }
}


/* ===== Footer override para landing ===== */
.footer {
  background: radial-gradient(circle at 20% 20%, #1e355d 0%, #0f1b2e 70%) !important;
  color: #fff;
  padding: 40px 0 40px;
  font-family: Poppins, sans-serif;
  border-radius: 0; /* <- quitamos bordes redondeados */
  box-shadow: 0 16px 36px rgba(0,0,0,0.6);
}

@media (min-width: 992px) {
  .footer {
    padding: 100px 0 40px;
  }
}


/* Asegurar contraste interno del footer */
.footer .text,
.footer .main_label,
.footer .main_info,
.footer a.link,
.footer_main-block--subscribe .title,
.footer_main-block--subscribe .text,
.footer_copyrights {
  color: #fff !important;
}

.footer_main-block--subscribe .form {
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
}

.footer_main-block--subscribe .form .field {
  border: 0;
  color: #fff;
  background: transparent;
}

.footer_main-block--subscribe .form .field::placeholder {
  color: #fff;
}

.footer_info-block {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
}

.footer_info-block--highlight {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255,255,255,0.32);
}

/* Logos del footer (ETTA + ESCI) */
.footer-logos .footer-logo-img {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1); /* fuerza logos blancos sobre el fondo oscuro */
}

@media (min-width:768px){
    .footer-logos .footer-logo-img {
        height: 56px;
        max-width: 240px;
    }
}

/* ===== Bloque CTA con fondo de imagen + overlay ===== */
.contact-hero-bg {
  position: relative;
  isolation: isolate;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  padding: 64px 32px;
  max-width: 1280px;
  margin: 40px auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  background-color: #001f4d; /* fallback si no carga la imagen */
}

.contact-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/service/contenedores.jpg"); /* cambia por tu imagen */
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: 0;
}

.contact-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 20, 70, 0.45) 0%,
    rgba(0, 10, 40, 0.6) 100%
  );
  z-index: 1;
}

/* Contenido visible */
.contact-hero-bg .container,
.contact-hero-bg .lp-brand,
.contact-hero-bg .card {
  position: relative;
  z-index: 2;
}

/* Logos blancos arriba */
.contact-hero-bg .lp-logo {
  height: 70px;
  max-width: 230px;
  margin-right: 20px;
  object-fit: contain;
}

/* Texto principal */
.contact-hero-bg h1,
.contact-hero-bg p,
.contact-hero-bg li,
.contact-hero-bg .lead {
  color: #fff;
}

/* Lista con bullets amarillos */
.contact-hero-bg .list-bullets li {
  list-style: none;
  margin: 6px 0;
  position: relative;
  padding-left: 22px;
}
.contact-hero-bg .list-bullets li::before {
  content: "✔";
  color: #fdda34;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Trustbar badges */
.contact-hero-bg .trustbar {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 12px;
}
.contact-hero-bg .trustbar .badge {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 6px;
}

/* Tarjeta formulario */
.contact-hero-bg .card {
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
.contact-hero-bg .card-body {
  padding: 32px;
}
.contact-hero-bg .card h2 {
  color: #001f4d;
  font-weight: 600;
}

/* Botón principal WhatsApp */
.btn-cta-primary {
  background: #25d366;
  color: #fff;
  border-radius: 40px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.2s ease;
}
.btn-cta-primary:hover {
  background: #1ebe5c;
  transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 991px) {
  .contact-hero-bg {
    padding: 48px 20px;
    text-align: center;
  }
  .contact-hero-bg .lp-logos {
    justify-content: center;
  }
  .contact-hero-bg .card {
    margin-top: 24px;
  }
}
