/* --- ESTILOS GENERALES Y DE FONDO (COMUNES) --- */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #000000, #434343);
    background-attachment: fixed;
    color: white;
    scroll-behavior: smooth;
}

/* --- SECCIÓN PRINCIPAL Y TEXTO ANIMADO (COMUNES) --- */
.fullscreen {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.animated-text {
    font-weight: bold;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ff00ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 4s ease infinite;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- ============================================ --- */
/* --- ESTILOS PARA ESCRITORIO (VERSIÓN ORIGINAL) --- */
/* --- ============================================ --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease-out;
}

nav {
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 15px 0;
    display: inline-block;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 5px;
    border-radius: 30px;
    transition: color 0.3s, background-color 0.3s;
}

nav ul li a:hover {
    color: #ff00ff;
    background-color: transparent;
}

.fullscreen .animated-text {
    font-size: 8vw;
}

.content-section {
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-section .animated-text {
    display: none;
}

.content {
    max-width: 800px;
    text-align: center;
    background-color: transparent;
    padding: 20px;
    border-radius: 15px;
    transition: background-color 0.3s ease-out, padding 0.3s ease-out;
}

.content h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.content p {
    font-size: 1.2em;
    line-height: 1.7;
}

.whatsapp-link {
    display: inline-flex; 
    align-items: center;/* Color original para escritorio */
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.05);
    background-color: #727272d9; /* Verde oscuro para hover */
}

.whatsapp-link i {
    font-size: 1.2em;
    margin-right: 15px;
}

/* --- ==================================================== --- */
/* --- ESTILOS PARA MÓVIL (ISLA FLOTANTE Y CARDS) --- */
/* --- ==================================================== --- */
@media (max-width: 768px) {
    header {
        top: auto;
        bottom: 20px;
        width: auto;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(25, 25, 25, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 27px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    }

    nav {
        padding: 8px;
    }

    nav ul {
        padding: 0;
        display: flex;
        gap: 5px;
    }

    nav ul li { margin: 0; }
    
    nav ul li a {
        font-size: 0.9em;
        padding: 10px 15px;
    }

    nav ul li a:hover {
        background-color: #00ffff;
        color: #000;
    }

    .fullscreen .animated-text {
        font-size: 16vw;
    }

    /* ===== AQUÍ ESTÁ LA SOLUCIÓN ===== */
    .content-section {
        flex-direction: column;
        justify-content: flex-start; /* 1. Alinea el contenido arriba */
        gap: 2rem;
        box-sizing: border-box; /* Asegura que el padding se calcule correctamente */
        padding-top: 15vh; /* 2. Empuja el contenido hacia abajo (15% de la altura de la pantalla) */
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 120px; /* Margen para no chocar con el menú */
    }
    /* ================================== */

    .content-section .animated-text {
        display: block;
        font-size: 10vw;
    }
    
    .content {
        max-width: 90%;
        background-color: rgba(0, 0, 0, 0.08);
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 15px; /* Añadimos el border-radius también a móvil */
    }
    
    .content h2 { font-size: 2em; }
    .content p { font-size: 1em; }
    .whatsapp-link {
        font-size: 1.2em;
        padding: 12px 20px;
        background-color: transparent; /* Quitamos el fondo verde en móvil para que coincida con tu CSS */
    }
    
    .whatsapp-link:hover {
        background-color: #727272d9; /* Color de hover que tenías */
    }
}