/* Estilos index */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff; /* o #f5f5f5, NO rojo */
}



header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.4); /* opcional: transparente oscuro */
}


.contact-container2 {
 background-color: #f14c4cdd; 
 color: white;
 text-align: center;
 justify-content: center;
 align-items: center;

}
.phone-number {
  color: white;
}

/* === CABECERA FIJA === */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4); /* Transparente sobre la imagen */
  backdrop-filter: blur(8px); /* efecto vidrio difuminado */
  padding: 10px 30px;
}

/* =======================
 NAVBAR ESTILOS PRINCIPALES
 ======================= */
.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.35); /* transparente sobre la imagen */
  backdrop-filter: blur(6px);      /* efecto vidrio */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* cuando haces scroll, cambia de color */
.navbar-container.scrolled {
  background-color: rgba(255, 255, 255, 0.97); /* fondo blanco sólido */
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}


.navbar {
  width: 95%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Asegura que el logo esté centrado y ajustado */
.navbar-brand img {
max-height: 120px; /* Cambiar este valor según el tamaño que prefieras */
width: auto;
margin-top: 10px; /* Ajustar la distancia desde la parte superior */
}

/* Asegura que la cabecera no sobrecargue los otros elementos */
.navbar-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px; /* Espaciado interno ajustado */
z-index: 1000;
position: fixed;
top: 0;
left: 0;
width: 100%;

}



.navbar-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.navbar-menu a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: #FF0000;
}

.navbar-btn {
  background-color: #FF0000;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.navbar-btn:hover {
  background-color: #d10000;
}

/* BOTÓN HAMBURGUESA (para celular) */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: white;
}

/* =======================
   MODO CELULAR
   ======================= */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #7A7A7A;
    padding: 15px 0;
    text-align: center;
  }

  .navbar-menu.show {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-btn {
    display: none; /* ocultar botón contáctanos en móvil */
  }
}


/* === NAVBAR === */
.navbar a.nav-link {
  color: white !important;
  font-weight: 600;
  transition: color 0.3s;
}

.navbar a.nav-link:hover {
  color: #ff2a2a !important;
}

/* === BOTÓN ROJO === */
.btn-contacto {
  background-color: #e30613;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-contacto:hover {
  background-color: #b9050f;
}




.navbar {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  height: 100%;
  width: 100%;
  align-items: center;
  text-align: center;
  padding: 0; /* Elimina el relleno por defecto */
  
}
.navbar-brand img {
  display: block;
  margin-bottom: 5px; /* Espacio entre el logo y el texto */
}
.navbar-brand .small-text {
  font-size: 0.8rem; /* Tamaño de fuente más pequeño */
  color: #333; /* Color de texto (ajústalo según tu diseño) */
  margin: 0; /* Quita el margen por defecto */
}


 .nav-item {
  margin: 0 10px;
}

.btn {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #FF0000; 
  transition: all 0.3s ease;
  
}
/* Estilos cobertura */

.cobertura-btn {
  color: #FF0000;
  text-decoration: none;
  
}


.dropdown-menu{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex
  
}
.dropdown-menu li {
  display: flex; 
  gap: 20px; 

}




.btn-success i {
  margin-right: 0.5rem; 
}


/* Estilo para el texto sobre la imagen */

.carousel-inner img {
  width: 100%;
  height: 100vh; /* hace que ocupe toda la pantalla */
  object-fit: cover; /* sin deformar */
  display: block;
  margin-top: 0;
  padding-top: 0;
}

.carousel {
  margin-top: 0;
  padding-top: 0;
}


.text-overlay {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; 
  text-align: center; 
  padding: 20px;
  
  border-radius: 10px;
}
.carousel-item{
  position: relative;
}
.carousel-inner img{
  width: 100%;
  height: 45vh; /* Ajusta la altura para cubrir la altura de la ventana */
  object-fit: cover; /* Asegura que la imagen cubra el contenedor sin distorsionarse */
      
}


.botoncomprar {
  background-color: rgba(255, 255, 255, 0.795);
  color: #FF0000;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  

}
.botoncomprar :hover {
  color: #FF0000;
}
.botoncomprar .button-principal a {
  color: #FF0000;
  text-decoration: none;
}
.button-primary-btn-lg {
    color: #FF0000;
  text-decoration: none;
}



/* Estilos del encabezado */
header {
  background-color: white;
  color: #221616;
  padding: 10px 0;
}

header img {
  height: 1%;
  margin-right: 20px;
}



header nav ul li {
  display: inline-block;
  margin-right: 20px;
}

header nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

header nav ul li a:hover {
  color: #FF0000;
}

header ul li h1 {
  color: black;
  font-size: 20px;
  background-color: #FF0000;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Estilos de la sección hero */
.hero {
  background-size: cover;
  background-position: center;
  color: black;
  text-align: center;
  padding: 100px 0;
  
}



.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5em;
  margin-bottom: 30px;
}

.text-overlay {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.192);
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.text-overlay.btnComensar{
  color: white;
  background-color: #FF0000;
  
}

/* Centrar las tarjetas en la columna */
.col {
  display: flex;
  justify-content: space-between/* Centra horizontalmente el contenido dentro de la columna */
}

/* Asegurarse de que el contenido de la tarjeta esté bien distribuido */
.card-body    {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribuye el contenido de la tarjeta verticalmente */
}

.row-cols-1 {
  display: flex;
  justify-content: center; /* Centra el botón dentro de su contenedor */
  
}


.btn h2 a {
  text-decoration: none;
  color: #ffffff; /* Cambia el color del texto según tu diseño */
}

.emi-intro {
  max-width: 900px;
  margin: 60px auto 40px;
  text-align: center;
  padding: 20px 25px;
}

.emi-intro h2 {
  font-size: 36px;
  font-weight: 900;
  color: #c00000;
  margin-bottom: 15px;
  position: relative;
}

.emi-intro h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #c00000;
  display: block;
  margin: 12px auto 0;
  border-radius: 4px;
}

.emi-intro p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  max-width: 800px;
  margin: auto;
}



.planes-emi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 40px;
  background: #ffffff;
  text-align: center;
}

@media(max-width: 992px) {
  .planes-emi {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px) {
  .planes-emi {
    grid-template-columns: 1fr;
  }
}

.titulo-planes {
  grid-column: 1/-1;
  font-size: 36px;
  margin-bottom: 30px;
  color: #c00000;
  font-weight: 800;
}

.plan-card {
  background: #ffffff;
  border: 2px solid #e6e6e6;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all .3s ease-in-out;
}

.plan-card:hover {
  background: #ffeaea; /* Fondo suave rojo */
  border-color: #c00000;
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(192,0,0,0.25);
}

.plan-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}

.precio span {
  font-size: 26px;
  color: #c00000;
  font-weight: 800;
}

.plan-card ul {
  text-align: left;
  padding-left: 0;
  margin: 20px 0;
}

.plan-card ul li {
  margin-bottom: 8px;
  list-style: "✔️ ";
}

.btn-emi {
  display: block;
  margin-top: 15px;
  background: #c00000;
  color: #fff;
  padding: 12px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: .3s;
}

.btn-emi:hover {
  background: #900000;
}


.hero-image {
width: 100%;
height: 60vh; /* Altura dinámica (60% de la pantalla) */
object-fit: cover;
object-position: center; /* Centra las caras */
}




.row-cols-1 {
  width: 80%;
  height: 100%;
  display: grid;
  text-align: center;
  
  
}


.subservicios{
  text-align: center;
  padding-bottom: 2rem;
  color: black;
  
  
  
}

.containerS{
  font-size: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3,  1fr);
  gap: 100px;
  grid-gap: 3rem;
  padding: 2rem 0;
  margin-bottom: 20px;
  text-align: center;
  align-items: flex-start;
}

.boxS{
  padding: 2rem ;
  flex: 1;
  box-shadow: 0px 0px 55px rgb(0, 0, 0,  6%);
  margin: 0 10px; 
  text-align: center;
  
}  

.benefits-section {
padding: 60px 20px;
background: #ffffff;
}

.benefits-title {
text-align: center;
font-size: 38px;
font-weight: 800;
color: #c50000; /* Rojo corporativo */
margin-bottom: 45px;
}

.benefits-grid {
display: grid;
gap: 25px;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.benefit-card {
background: #ffffff;
padding: 28px;
border-radius: 18px;
text-align: center;
border: 2px solid #f4f4f4;
box-shadow: 0 6px 15px rgba(197,0,0,0.12);
transition: 0.3s;
}

.benefit-card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 26px rgba(197,0,0,0.18);
border-color: #c50000;
}

.benefit-card .icon {
font-size: 45px;
margin-bottom: 15px;
color: #c50000; /* Íconos rojos */
}

.benefit-card h3 {
font-size: 20px;
font-weight: 700;
margin-bottom: 10px;
color: #c50000;
}

.benefit-card p {
font-size: 15px;
color: #444;
line-height: 1.45;
}
.testimonios-section {
padding: 60px 20px;
text-align: center;
background: #ffffff; /* Fondo blanco */
}

.titulo-testimonios {
font-size: 32px;
font-weight: 700;
margin-bottom: 40px;
color: #D6001C; /* El rojo de tu marca para el título */
}

.testimonios-container {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}

.testimonial-card {
background: #fff;
width: 290px;
padding: 25px;
border-radius: 12px;
border: 1px solid #e5e5e5;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
text-align: left;
}

.testimonios-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 15px;
}

.avatar-silueta {
width: 55px;
height: 55px;
border-radius: 50%;
background: #e6e6e6; /* Gris claro */
display: flex;
justify-content: center;
align-items: center;
color: #6E6E6E; /* Gris oscuro para el ícono */
font-size: 28px;
font-weight: bold;
}

.icon-user::before {
content: "👤"; /* Silueta */
}

.fecha {
font-size: 12px;
color: #777;
}

.texto-testimonio {
font-size: 15px;
line-height: 1.5;
margin-bottom: 15px;
color: #444;
}

.estrellas {
font-size: 18px;
color: #ffb400; /* Amarillo estrellas */
font-weight: bold;
}


/* Estilos botones*/

.button-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 15vh;
  color: #FF0000;
  text-align: center;
  padding: 10px;
  margin: 10px;
  font-size: 1rem;
 
  
  
}

.button-principal-comensar {
  position: relative;
  color: white;
 
}

.subservicios h2 {
  color: #FF0000;
}

.contenedor-app p{
  color: black;
  font-size: 1.3rem;
  text-align: center;
  margin: 0 10px;
  padding: 10px;
  margin-bottom: 20px;
 
  
}
.contenedor-app h5 {
  color: black;
  text-align: center;
  margin: 0 10px;
  padding: 10px;
  
}

  
  

/* Estilos de la sección formulario */
.formulario {
  background-color: #fff;
  padding: 50px 0;
  position: relative;
  
}

.container {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid #FF0000;
  border-radius: 4px;
 
  
}

textarea {
  resize: vertical;
}

.container.formulario {
  width: 1%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color:  #fff;
  color: #FF0000;
  font-size: 16px;
  cursor: pointer;
 
}

.form-group button {
  background-color: #FF0000; /* Color de fondo del botón */
  color: white; /* Color del texto del botón */
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.form-group button:hover {
  background-color: grey; /* Color del botón al pasar el ratón por encima */
}

/* Estilo para el botón de WhatsApp */

/* Botón flotante WhatsApp */
.whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.whatsapp-btn:hover { transform: translateY(-2px); }
.phone-btn {
  position: fixed;
  left: 18px;       /* 👉 lado izquierdo */
  bottom: 18px;     /* alineado con WhatsApp */
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #FF0000; /* rojo */
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .2s ease;
}

.phone-btn:hover {
  transform: translateY(-2px);
  background: #cc0000;
}
/* Teléfono */
.phone-btn {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;   /* tamaño igual */
  height: 70px;  /* tamaño igual */
  border-radius: 50%;
  background: #FF0000;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.phone-btn:hover {
  transform: translateY(-2px);
  background: #cc0000;
}
.phone-btn svg {
  width: 34px;
  height: 34px;
}

/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;   /* 👈 igual que el rojo */
  height: 70px;  /* 👈 igual que el rojo */
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  background: #1ebe5d;
}
.whatsapp-btn img {
  width: 34px;  /* ícono igual al teléfono */
  height: 34px;
}


.phone-btn svg {
  width: 34px;
  height: 34px;
}


.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000; /* Asegura que el botón esté encima de otros elementos */
  background-color: #25D366; /* Color de fondo de WhatsApp */
  border-radius: 50%; /* Redondear el botón */
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.767); /* Sombra sutil */
  
  
}


.whatsapp-btn img {
  width: 76px; /* Tamaño del ícono */
  height: 60px;
}

/* Estilo para el botón de llamada */
.call-btn {
  position: fixed;
  bottom: 105px; /* Ajusta la distancia desde la parte inferior si es necesario */
  right: 20px;
  z-index: 1000; /* Asegura que el botón esté encima de otros elementos */
  background-color: #134ac0; /* Color de fondo del botón de llamada */
  border-radius: 50%; /* Redondear el botón */
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.795); /* Sombra sutil */
  
}


.call-btn img {
  width: 50px; /* Tamaño del ícono */
  height: 50px;
}

/* Estilos opcionales para mejorar la visibilidad */
.whatsapp-btn:hover,
.call-btn:hover {
  opacity: 0.8; /* Reducir la opacidad al pasar el ratón */
}




/* Estilos del pie de página */
footer {
  background-color:  #55555541;
  color: #FF0000;
  text-align: center;
  padding: 15px 0;
  bottom: 0;
  width: 100%;
}



footer p {
  margin: 0;
  text-align: center;
}

/* formulario aparece*/

.modal {
  display: none; /* Oculto por defecto */
  position: fixed; /* Fijo */
  z-index: 1; /* Encima de otros elementos */
  left: 0;
  top: 0;

  overflow: auto; /* Habilita el desplazamiento si es necesario */
  background-color: rgba(0, 0, 0, 0.438); /* Fondo oscuro */
}

div.modal-content {
  background-color: rgba(255, 255, 255, 0.842); /* Fondo blanco para el contenido del modal */
  padding: 20px; /* Espaciado interno */
  border-radius: 8px; /* Bordes redondeados */
  width: 80%; /* Ancho del modal */
  max-width: 600px; /* Ancho máximo del modal */
  display: flex; /* Usar flexbox para la disposición interna */
  flex-direction: column; /* Colocar elementos en columna */
  align-items: center; /* Centrar elementos horizontalmente */
}

.modal-content {
  background-color: rgba(255, 255, 255, 0.89); /* Fondo blanco con opacidad */
  margin: 20% auto; /* Ajusta el margen superior para centrar */
  padding: 20px;
  border: 1px solid #888888e0;
  width: 800px; /* Ancho del modal (ajusta este valor) */
  border-radius: 8px; /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.24); /* Sombra */
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.required {
  color: red;
}

.logoemi {
  background-color:rgba(255, 255, 255, 0.199); 
  display: block;
  margin: 0 auto 20px; /* Centra el logo y añade un margen inferior */
  max-width: 100%; /* Asegúrate de que el logo no se desborde del contenedor */
  height: auto; /* Mantiene la proporción del logo */
  opacity: 0.7; /* Ajusta la opacidad (0.0 es completamente transparente, 1.0 es completamente opaco) */
}
.modal-body {
  display: flex; /* Utiliza flexbox para alinear elementos en fila */
  align-items: flex-start; /* Alinea verticalmente al principio */
  width: 100%;
}

.left-image {
  width: 100%; /* O utiliza un porcentaje, por ejemplo, 70% */
  max-width: 200px; /* Ancho máximo para evitar que se expanda demasiado */
  height: auto; /* Mantiene la proporción de la imagen */
  object-fit: cover; /* Asegúrate de que la imagen cubra el área sin distorsionarse */
  margin-right: 20px; /* Espacio entre la imagen y el formulario */
  opacity: 0.7;
}

.form-container {
  flex: 1; /* Permite que el contenedor del formulario ocupe el espacio restante */
}
h2 {
  text-align: center; /* Centrar el texto del encabezado */
}

label {
  display: block; /* Cada etiqueta en su propia línea */
  margin: 10px 0; /* Espaciado vertical entre etiquetas */
}

input {
  width: calc(100% - 20px); /* Ajustar el ancho del input */
  padding: 10px; /* Espaciado interno en los inputs */
  border-radius: 4px; /* Bordes redondeados en los inputs */
  border: 1px solid #ccc; /* Borde gris claro */
}

button {
  background-color: #ff1e00; /* Color de fondo del botón */
  color: white; /* Color del texto del botón */
  padding: 10px 20px; /* Espaciado interno del botón */
  border: none; /* Sin borde */
  border-radius: 4px; /* Bordes redondeados en el botón */
  cursor: pointer; /* Cambia el cursor al pasar sobre el botón */
}

button:hover {
  background-color: #b32a007a; /* Color al pasar el mouse */
}

@media (max-width: 768px) {
  .modal-body {
      flex-direction: column; /* Cambia a columna en pantallas pequeñas */
  }
  .left-image {
      order: 2; /* Mueve la imagen abajo si es necesario */
      max-width: 100%; /* Asegúrate de que la imagen no se desborde */
  }
  .form-container {
      order: 1; /* Mantiene el formulario arriba */
  }
}