/* Variables de colores */
        :root {
            --primary-color: #00509e; /* Azul principal */
            --secondary-color: #e8a317; /* Amarillo dorado */
            --white: white; /* Blanco puro */
            --text-color: #003366; /* Azul oscuro para texto */
        }
           /* ==== ESTILO GENERAL ==== */
        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            background:transparent;
            color: var(--secondary-color);
            line-height: 1.6;
            font-size: 14px;
        }

        * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
/* Tamaños de encabezados dinámicos */
h1 { font-size: clamp(2.5rem, 4vw, 3.1rem); }
h2 { font-size: clamp(2.2rem, 3vw, 3rem); }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
p  { font-size: clamp(1rem, 1.8vw, 1.2rem); }

/* General */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


/* Para Tablets */
@media (max-width: 1180px) {
    .container {
        max-width: 90%;
        padding: 10px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    p  { font-size: 1rem; }
}

/* Para Móviles */
@media (min-width: 250px)and (max-width: 768px) {
    .container {
        max-width: 90%;
        padding: 5px;
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    p  { font-size: 0.9rem; }
    
    section {
        padding: 30px 15px;
    }
    
    img {
        max-width: 99%;
        height: auto;
    }
}

/* Para Móviles Pequeños */
@media (max-width: 450px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    p  { font-size: 0.85rem; }
}  

/* Botón de WhatsApp Flotante */
.whatsapp-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 1.5rem;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    background-color: #20c357;
}

.whatsapp-floating:hover::after {
    content: "¡Chatea con nosotros!";
    position: absolute;
    bottom: 60px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Animación de sacudida */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
}

.shake {
    animation: shake 1s infinite;
    animation-delay: 2s; /* Espera antes de animar */
}

/* Modal para opciones */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content .btn {
    background: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin: 10px 5px;
    display: inline-block;
    transition: background 0.3s ease;
}

.modal-content .btn:hover {
    background: #20c357;
}
