/* ==========================================================================
   BANNER CTA DE CONTACTO (todas las páginas)
   Estilo ON Empresas: Fondo oscuro con bloque blanco recortado y logo.
   ========================================================================== */
.seccion-banner-cta {
  position: relative;
  z-index: 10;
  padding: 0;
  margin-top: -60px; /* Pull the section up to overlap */
  background-color: transparent; /* No background needed, let the previous section show through */
}

.banner-cta-caja {
  position: relative;
  z-index: 11;
  width: 100%;
  max-width: none;
  margin: 0; /* Reset box margin */
  background-color: #ffffff; /* Bloque blanco principal */
  /* Recorte diagonal en la parte superior derecha */
  clip-path: polygon(0 60px, calc(100% - 320px) 60px, calc(100% - 280px) 0, 100% 0, 100% 100%, 0 100%);
  padding: 120px 20px 80px; 
  text-align: center;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

/* Pseudo-elemento para el logo en el "escalón" superior derecho */
.banner-cta-caja::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 60px;
  width: 220px;
  height: 50px;
  background-image: url('../img/logofiberzBLANCO.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  /* Convertir logo blanco a azul corporativo oscuro (#2b3a82 aprox) */
  filter: brightness(0) invert(22%) sepia(35%) saturate(3025%) hue-rotate(218deg) brightness(96%) contrast(87%);
  z-index: 10;
}

/* Ocultar elementos decorativos flotantes anteriores */
.banner-cta-orbe,
.banner-cta-orbe--derecha,
.banner-cta-puntos {
  display: none !important;
}

.banner-cta-contenido {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.banner-cta-titulo {
  font-family: var(--fuente-titulos, 'Poppins', sans-serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 auto 16px;
  color: #2b3a82;
}

.banner-cta-desc {
  font-family: var(--fuente-cuerpo, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 1.65;
  color: #4a4a4a;
  max-width: 620px;
  margin: 0 auto 30px;
}

.banner-cta-acciones {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.brcta-whatsapp,
.brcta-llamada {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--fuente-titulos, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 34px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.brcta-whatsapp {
  background: linear-gradient(135deg, #eeea60, #e5e045);
  color: #0e122b;
  box-shadow: 0 10px 26px rgba(238, 234, 96, 0.4);
}

.brcta-whatsapp i {
  font-size: 20px;
}

.brcta-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(238, 234, 96, 0.55);
  color: #0e122b;
}

/* Botón llamar (ahora azul oscuro por estar sobre fondo blanco) */
.brcta-llamada {
  background: #0e122b;
  color: #ffffff;
  border: 1px solid #0e122b;
  box-shadow: 0 10px 26px rgba(14, 18, 43, 0.2);
}

.brcta-llamada i {
  font-size: 17px;
  color: #eeea60;
}

.brcta-llamada:hover {
  background: #1a1f40;
  transform: translateY(-3px);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(14, 18, 43, 0.3);
}

.banner-cta-nota {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-family: var(--fuente-cuerpo, 'Inter', sans-serif);
  font-size: 13px;
  color: #6c757d;
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
  .seccion-banner-cta {
    padding: 0;
    margin-top: -50px;
  }

  .banner-cta-caja {
    margin-top: 0;
    padding: 100px 20px 60px;
    clip-path: polygon(0 50px, calc(100% - 180px) 50px, calc(100% - 150px) 0, 100% 0, 100% 100%, 0 100%);
  }

  .banner-cta-caja::before {
    top: 12px;
    right: 35px;
    width: 120px;
    height: 30px;
  }

  .banner-cta-titulo {
    font-size: 28px;
  }

  .banner-cta-desc {
    font-size: 15px;
  }

  .banner-cta-acciones {
    flex-direction: column;
    width: 100%;
  }

  .brcta-whatsapp,
  .brcta-llamada {
    width: 100%;
    max-width: 340px;
  }
}

@media (max-width: 480px) {
  .seccion-banner-cta {
    margin-top: -45px;
  }
  .banner-cta-caja {
    margin-top: 0;
    padding: 80px 20px 50px;
    /* En pantallas muy pequeñas, quizás el logo apenas quepa, hacemos el corte más pequeño */
    clip-path: polygon(0 45px, calc(100% - 140px) 45px, calc(100% - 120px) 0, 100% 0, 100% 100%, 0 100%);
  }

  .banner-cta-caja::before {
    top: 12px;
    right: 15px;
    width: 100px;
    height: 24px;
  }
}