/* ===== RESET BÁSICO ===== */
*{box-sizing:border-box;margin:0;padding:0}

body{
  font-family:'Roboto',sans-serif;
  background:#fff;
  color:#333;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* ===== HEADER ===== */
header {
  background: #ffffff;  /* fondo blanco */
  padding: 25px 0;
  box-shadow: 0 4px 15px rgba(0, 182, 177, 0.2); /* sombra suave */
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between; /* logo a la izquierda, menú a la derecha */
  align-items: center;
}


.logo {
  height: 85px;
  filter: drop-shadow(0 2px 2px rgba(0, 182, 177, 0.3));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #00B6B1;      /* color normal */
  font-weight: 700;
  font-size: 21px;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #00B6B1; /* línea del color normal */
  transition: width 0.3s ease;
}

nav a:hover {
  color: #e1007e;      /* color al hacer hover */
  transform: translateX(15px);
}

nav a:hover::after {
  width: 100%;         /* línea se expande */
  /* sin transform para que no se mueva */
}





/* ===== BANNER ===== */
.banner{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 15px 50px rgba(0,182,177,.3);
  margin-bottom:60px;
}
.banner-img{
  width:100%;
  height:450px;
  object-fit:cover;
  transition:.6s;
}
.banner:hover .banner-img{transform:scale(1.05)}
.banner-overlay-centered{
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  background:rgba(0,182,177,.85);
  padding:18px 48px;
  border-radius:40px;
  box-shadow:0 12px 35px rgba(0,182,177,.6);
}
.btn-banner{
  color:#fff;
  font-size:22px;
  font-weight:900;
  letter-spacing:1.3px;
  text-decoration:none;
}
.btn-banner:hover{
  background:rgba(0,182,177,1);
  box-shadow:0 16px 40px rgba(0,182,177,.9);
}

/* ===== INFO + VIDEO ===== */
.info-video-section{
  background:#fff;
  padding:70px 20px;
  text-align:center;
  max-width:900px;
  margin:0 auto 70px;
}
.info-video-section h3{
  font-size:28px;
  color:#00B6B1;
  margin-bottom:15px;
  font-weight:700;
}
.info-video-section h3 span{color:#b10064;font-weight:900}
.info-video-section p{
  font-size:18px;
  color:#555;
  margin-bottom:30px;
}
.video-wrapper{
  position:relative;
  padding-bottom:56.25%;
  height:0;
  overflow:hidden;
  border-radius:14px;
  box-shadow:0 12px 40px rgba(177,0,100,.4);
  max-width:560px;
  margin:0 auto;
}
.video-wrapper iframe{
  position:absolute;top:0;left:0;
  width:100%;height:100%;
  border:none;border-radius:14px;
}

/* ===== BLOQUE CENTRAL ===== */
.bloque-central {
  text-align: center;
  padding: 60px 0;       /* Más espacio arriba y abajo */
  background: #fff;
  border-top: 2px solid #00B6B1;   /* Línea separadora arriba */
  border-bottom: 2px solid #00B6B1; /* Línea separadora abajo */
}

.logo-central {
  width: 280px;           /* Más grande que antes (220px) */
  margin: 0 auto 30px auto; /* Margen inferior más grande para separar bien */
  display: block;
  filter: none;
  box-shadow: none;
  border-radius: 8px;
}

.btn-wrapper {
  text-align: center;
  margin-top: 25px;       /* Más espacio arriba del botón */
}



.btn-central {
  background: #00B6B1; /* Azul Bantrab */
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: none;
}

.btn-central:hover {
  background-color: #008e8a; /* tono más oscuro al pasar */
  transform: translateY(-2px);
}


/* ===== SERVICIOS ===== */
.servicios{padding:70px 0;text-align:center;background:#f0fcfb}
.servicios h2{
  font-size:36px;
  font-weight:900;
  margin-bottom:50px;
  color:#00B6B1;
}
.servicios h2 span{color:#e1007e}
.servicios-carrusel{
  display:flex;
  overflow-x:auto;
  gap:30px;
  padding-bottom:10px;
  scrollbar-width:thin;
  scrollbar-color:#00B6B1 transparent;
  -webkit-overflow-scrolling:touch;
}
.servicios-carrusel::-webkit-scrollbar{height:10px}
.servicios-carrusel::-webkit-scrollbar-thumb{
  background:#00B6B1;border-radius:20px;
}
.card{
  min-width:320px;
  flex-shrink:0;
  background:#fff;
  border-radius:16px;
  padding:35px 25px;
  box-shadow:0 18px 40px rgba(225,0,126,.2);
  transition:.3s;
  cursor:pointer;
}
.card:hover{
  transform:translateY(-12px);
  box-shadow:0 28px 70px rgba(225,0,126,.5);
}
.card img{
  width:150px;height:150px;
  object-fit:contain;
  margin-bottom:25px;
}
.card h3{font-size:18px;margin-bottom:10px;color:#333}
.card p{font-size:14px;color:#666;margin-bottom:15px}
.btn-card{
  display:inline-block;
  background:#00B6B1;
  color:#fff;
  padding:10px 18px;
  border-radius:8px;
  font-weight:bold;
  text-decoration:none;
  transition:.3s;
}
.btn-card:hover{background:#008e8a}

/* ===== BLOQUE INFERIOR ===== */
.bloque-inferior{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  align-items:center;
  justify-content:center;
  padding:60px 0;
  max-width:1000px;
  margin:0 auto 80px;
}
.bloque-inferior .imagen{flex:0 0 45%}
.bloque-inferior .imagen img{
  width:100%;
  border-radius:20px;
  box-shadow:0 20px 50px rgba(0,182,177,.3);
  transition:.4s;
}
.bloque-inferior .imagen img:hover{transform:scale(1.07)}
.bloque-inferior .texto{flex:1 1 50%;color:#222}
.bloque-inferior h3{
  font-size:28px;
  color:#00B6B1;
  font-weight:800;
  margin-bottom:20px;
}
.bloque-inferior .texto span{color:#b10064;font-weight:900}
.bloque-inferior p{font-size:18px;color:#555}

/* ===== FOOTER ===== */
footer {
  background: #0a0a0a;
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
}

.footer-content .social img {
  width: 30px;
  margin: 0 12px;
  filter: invert(1);
  transition: 0.3s;
}

.footer-content .social a:hover img {
  filter: invert(.6) sepia(1) saturate(5) hue-rotate(150deg);
}

.footer-content .text {
  margin-top: 18px;
  font-size: 15px;
}

.footer-content .links a {
  color: #00B6B1;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 12px;
}

.footer-content .links a:hover {
  color: #00e0dd;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .logo {
    height: 70px;
  }

  .section-titulo h1 {
    font-size: 30px;
  }

  .form-texto p {
    font-size: 18px;
  }

  .agente-form button {
    width: 100%;
  }
}
