:root {
    --color-bg-dark: #020205;
    --color-teal: #00f2fe;
    --color-blue: #4facfe;
    --color-purple: #b02add;
    --color-magenta: #ff0844;
    --color-text-light: #f5f6fa;
    --font-serif: 'Cinzel', serif; /* Cambiado a Cinzel para un look más corporativo/agresivo */
    --font-sans: 'Inter', sans-serif;
}

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

html, body {
    height: 100vh; /* Fija la altura al viewport */
    width: 100vw;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    font-family: var(--font-sans);
    overflow: hidden; /* Elimina cualquier tipo de scroll */
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

/* La Aurora - Más eléctrica, más colores, más rápida */
.aurora-background {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 40% 40%, var(--color-teal) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, var(--color-magenta) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, var(--color-blue) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, var(--color-purple) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #ffffff 0%, transparent 20%);
    filter: blur(40px) contrast(1.2);
    opacity: 0.9;
    animation: auroraMovement 20s ease-in-out infinite alternate;
    z-index: 1;
    mix-blend-mode: screen;
}

@keyframes auroraMovement {
    0% { transform: translate(-10%, 10%) scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: translate(5%, -5%) scale(1.2) rotate(3deg); opacity: 0.9; }
    100% { transform: translate(15%, 15%) scale(1.1) rotate(-2deg); opacity: 0.5; }
}

/* Estrellas dinámicas */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 250px 250px;
    z-index: 2;
    animation: twinkle 6s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    100% { opacity: 0.7; }
}

/* Neblina (Fog) animada sobre las montañas */
.fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 40%;
    background: linear-gradient(to top, rgba(255,255,255,0.15) 0%, transparent 100%);
    filter: blur(20px);
    z-index: 4;
    animation: fogMove 25s linear infinite;
    pointer-events: none;
}

@keyframes fogMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Montañas con relieve */
.mountain-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 -10px 20px rgba(0,0,0,0.8));
}

/* Contenido Principal Compacto */
.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 4rem;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.05);
    
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: fadeInContent 2s cubic-bezier(0.1, 0.8, 0.2, 1) 0.5s forwards;
    
    /* Para el Single Page */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@keyframes fadeInContent {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Logo Tipográfico */
.logo-title {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 4px;
    z-index: 5;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Animación de ventisca sobre las letras (se mantiene a petición) */
.wind-letter {
    animation: shiver 6s infinite;
}

@keyframes shiver {
    0%, 80%, 100% { transform: translate(0, 0) rotate(0deg); }
    82% { transform: translate(-3px, 1px) rotate(-1deg); }
    84% { transform: translate(3px, -1px) rotate(1deg); }
    86% { transform: translate(-2px, 2px) rotate(0deg); }
    88% { transform: translate(2px, -2px) rotate(-1deg); }
    90% { transform: translate(0, 0) rotate(0deg); }
}

/* --- ESTRELLAS Y VÍA LÁCTEA --- */
.stars-container {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2; /* Sobre la aurora, bajo las montañas (z-index 3) */
}

.stars-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 50px 160px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 90px 40px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 130px 80px, #fff, transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 210px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 240px 50px, #fff, transparent);
    background-repeat: repeat;
    transform-origin: center center;
}

.stars-layer.s1 {
    background-size: 250px 250px;
    animation: milkyWay 200s linear infinite, twinkle 4s ease-in-out infinite alternate;
}

.stars-layer.s2 {
    background-image: 
        radial-gradient(1px 1px at 40px 60px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 80px 140px, #fff, transparent),
        radial-gradient(1px 1px at 100px 40px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 180px 80px, #fff, transparent),
        radial-gradient(1px 1px at 220px 190px, rgba(255,255,255,0.8), transparent);
    background-size: 350px 350px;
    animation: milkyWay 300s linear infinite reverse, twinkle 5s ease-in-out infinite alternate-reverse;
    opacity: 0.7;
}

.stars-layer.s3 {
    background-image: 
        radial-gradient(2px 2px at 50px 50px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 150px 150px, #fff, transparent),
        radial-gradient(1.5px 1.5px at 250px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 300px 200px, rgba(255,255,255,0.5), transparent);
    background-size: 450px 450px;
    animation: milkyWay 400s linear infinite, twinkle 6s ease-in-out infinite alternate;
    opacity: 0.5;
}

@keyframes milkyWay {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* --- ESTRELLAS FUGACES --- */
.shooting-stars {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,1), transparent);
    opacity: 0;
    transform: rotate(-45deg);
    animation: shooting 10s infinite;
}

.shooting-star:nth-child(1) {
    top: 20%; left: 80%;
    animation-delay: 2s;
}

.shooting-star:nth-child(2) {
    top: 10%; left: 50%;
    animation-delay: 6s;
    animation-duration: 15s;
}

.shooting-star:nth-child(3) {
    top: 40%; left: 90%;
    animation-delay: 12s;
    animation-duration: 20s;
}

@keyframes shooting {
    0% {
        transform: rotate(-45deg) translateX(0);
        opacity: 1;
    }
    10% {
        transform: rotate(-45deg) translateX(-800px);
        opacity: 0;
    }
    100% {
        transform: rotate(-45deg) translateX(-800px);
        opacity: 0;
    }
}

/* --- ESTRELLAS GRANDES (Planetas) --- */
.big-star {
    position: absolute;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    text-shadow: 0 0 10px white, 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px var(--color-cyan);
    animation: twinkleStar 3s ease-in-out infinite alternate;
    z-index: 2;
    pointer-events: none;
}

@keyframes twinkleStar {
    0% { transform: scale(0.7); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

.subtitle {
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #a8b2d1;
    margin-bottom: 0.5rem;
}

/* Tarjetas de servicios en Single Page */
.services-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 1rem;
}

.service-card {
    background: rgba(25, 25, 35, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    flex: 1;
    max-width: 250px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-teal);
    background: rgba(255, 255, 255, 0.05);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-teal);
    letter-spacing: 1px;
}

.service-card p {
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}

/* Navegación y Redes */
.main-nav {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    color: var(--color-text-light);
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0.8;
}

.social-link:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.social-link.whatsapp:hover {
    color: #25D366;
}

.social-link.instagram:hover {
    color: #E1306C;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    z-index: 10;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-teal);
}

/* --- RESPONSIVIDAD (PC, Tablet, Celular) --- */

@media (max-width: 1024px) {
    .logo-title { font-size: 4.5rem; }
    .hero-content { padding: 2rem 2rem; }
    .services-grid { gap: 1rem; }
    .service-card { padding: 1.5rem 0.8rem; }
}

@media (max-width: 768px) {
    .logo-title { 
        font-size: 3rem; 
        margin-bottom: 0; 
    }
    .subtitle { 
        font-size: 0.8rem; 
        letter-spacing: 2px; 
        margin-bottom: 0; 
    }
    .hero-content { 
        padding: 1rem; 
        width: 95%; 
        margin-bottom: 10px; 
        /* Transparencia MÁXIMA para móviles */
        background: rgba(10, 10, 15, 0.02);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        border-color: rgba(255, 255, 255, 0.05);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }
    .services-grid { 
        flex-direction: column; 
        align-items: center; 
        gap: 0.4rem; 
        margin-bottom: 0;
    }
    .service-card { max-width: 100%; width: 100%; padding: 0.6rem 0.8rem; }
    .service-card h3 { font-size: 1rem; margin-bottom: 0.1rem; }
    .service-card p { font-size: 0.75rem; line-height: 1.1; }
    
    .main-nav {
        margin-top: 0;
    }

    .footer {
        position: static;
        margin-top: 0;
        padding-bottom: 0.5rem;
    }
    
    /* Hacer cerros MUCHO más visibles en móvil */
    .mountain-silhouette {
        height: 35vh;
        min-height: 250px;
    }

    /* Comprimir la aurora para que se vean más los colores en pantalla angosta */
    .aurora-background {
        background-size: 200% 200%;
    }
}

@media (max-width: 480px) {
    .logo-title { font-size: 2.2rem; letter-spacing: 2px; margin-bottom: 0; }
    .subtitle { font-size: 0.7rem; letter-spacing: 1px; text-align: center; margin-bottom: 0; }
    .hero-content { 
        padding: 0.8rem; 
        width: 98%; 
        border-radius: 20px; 
        margin-bottom: 5px; 
    }
    .services-grid { gap: 0.3rem; margin-bottom: 0; }
    .service-card { padding: 0.5rem 0.6rem; }
    .main-nav { gap: 1.5rem; margin-top: 0; }
}
/* --- WhatsApp Widget --- */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

.whatsapp-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.whatsapp-chat.active {
    transform: scale(1);
}

.whatsapp-header {
    background-color: #075e54;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-logo {
    width: 40px;
    height: 40px;
    background-color: white;
    color: #075e54;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.whatsapp-body {
    padding: 20px;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    height: 300px;
    overflow-y: auto;
}

.whatsapp-message {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    border-top-left-radius: 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    max-width: 90%;
}

.whatsapp-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.whatsapp-button {
    background-color: #25d366;
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.whatsapp-button:hover {
    background-color: #1ebe5d;
}
