/* -------------------------------------------
   Estilos generales para toda la página
------------------------------------------- */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

body {
    padding-top: 60px;
}

html {
    scroll-padding-top: 65px;
    /* Alinea con la altura del navbar fijo */
}


/* -------------------------------------------
   Navbar (barra de navegación)
------------------------------------------- */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    /* transición para el hover */
}

/* Subrayado animado en enlaces */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #25D366;
    /* Verde WhatsApp */
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #25D366;
}

.nav-link.active {
    font-weight: bold;
}


/* -------------------------------------------
   Hero Section (sección principal)
------------------------------------------- */
section.bg-primary {
    background: linear-gradient(135deg, #62B5F4, #62B5F4);
    background-size: cover;
    background-position: center;
    color: white;
}

.display-4-1 {
    font-weight: bold;
}


/* -------------------------------------------
   Tarjetas / Planes
------------------------------------------- */
.card {
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}


/* -------------------------------------------
   Botones
------------------------------------------- */
.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-verde {
    background-color: #25D366;
    /* Color WhatsApp */
    color: white;
    border: none;
    transition: all 0.2s ease-in-out;
}

.btn-verde:hover {
    background-color: #1ebe5d;
}

.btn-verde:active {
    background-color: #1aa34a;
    transform: scale(0.96);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* -------------------------------------------
   Botón flotante para volver arriba
------------------------------------------- */
.btn-subir {
    position: fixed;
    border-radius: 50%;
    z-index: 9999;
    display: flex;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.btn-subir img {
    width: 40px;
    height: 40px;
}

#btn-subir {
    bottom: 60px;
    left: 40px;
    opacity: 0;
    pointer-events: none;
    background-color: #05111f;
    padding: 8px;
    border-radius: 15px;
    transition: opacity 0.8s ease;
}

#btn-subir.visible {
    opacity: 1;
    pointer-events: auto;
}

.btn-subir:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.btn-subir:active {
    transform: scale(0.95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}


/* -------------------------------------------
   Estructura de secciones y títulos
------------------------------------------- */
section {
    padding-top: 60px;
    padding-bottom: 60px;
}

h2 {
    font-weight: bold;
    margin-bottom: 30px;
    color: #222;
}


/* -------------------------------------------
   Footer (pie de página)
------------------------------------------- */
footer {
    background-color: #212529;
    color: white;
}


/* -------------------------------------------
   Formulario de contacto
------------------------------------------- */
form .form-control {
    border-radius: 0.375rem;
    border: 1px solid #ccc;
    box-shadow: none;
}

form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
}


/* -------------------------------------------
   WhatsApp flotante
------------------------------------------- */

/* Estilo base para botones flotantes (WhatsApp) */
.btn-whatsapp {
    position: fixed;
    bottom: 60px;
    right: 40px;
    background-color: #25D366;
    color: white;
    padding: 10px;
    border-radius: 50%;
    z-index: 9999;
    display: flex;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

/* Animación del botón WhatsApp al pasar el mouse */
.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: scale(1.05) rotate(10deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Animación del botón WhatsApp al hacer click */
.btn-whatsapp:active {
    transform: scale(0.95);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
}


/* -------------------------------------------
   Imágenes enmarcadas
------------------------------------------- */
#promociones .container {
  display: flex;
  justify-content: center; /* centra los bloques horizontalmente */
  flex-wrap: wrap; /* permite que bajen si no caben en pantalla */
  gap: 20px; /* espacio entre ellos */
  text-align: center; /* centra los textos debajo */
}

.cajon-imagen {
    width: 100%;
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #ddd;
}

.imagen-chica {
    width: 100%;
    height: auto;
	max-width: 100%;
    margin-bottom: 10px;
}

.logo {
    width: 80px;
    height: auto;
}

.texto-debajo {
    font-weight: bold;
    color: #333;
}


/* -------------------------------------------
   Textos personalizados
------------------------------------------- */
.texto-importante {
    font-size: 20px;
    text-align: center;
}

.texto-rojo {
    color: red;
    font-size: 20px;
    font-weight: bold;
}

.card-text {
    font-size: 18px;
}

.texto-amplia {
    font-size: 18px;
}

.texto-size {
    font-size: 19px;
}

.txt-size {
    font-size: 17px;
}

/* ----------------------------------------------
    Efecto expandible al pasar el mouse en la tarjeta 
---------------------------------------------- */
.efecto-expandible {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.efecto-expandible:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ---------------------------------------------
    Sombra y estilo al contenedor de mapa
------------------------------------------- */
.mapa-contenedor {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

/* Estilos iguales para todas las redes sociales en el footer */
.icono-red {
    width: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.icono-red:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}