:root {
    /* Nueva Paleta Light Theme con #07999A */
    --primary: #07999A;        
    --primary-deep: #005b5c;   
    --bg-white: #ffffff;         
    --bg-light-alt: #f4f7f6;     
    --text-main: #2d3748;      
    --text-muted: #4a5568;    
    --border-light: #e2e8f0;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.08);
    --transition-base: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-slow: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-reveal: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text-main); line-height: 1.6; overflow-x: hidden; background: var(--bg-white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* -------------------------------------------------------------------------- */
/* PRELOADER VIP (LA OBRA MAESTRA) */
/* -------------------------------------------------------------------------- */
body.no-scroll { overflow: hidden; }

#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-white);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    width: 250px;
    margin-bottom: 30px;
    animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    filter: drop-shadow(0 0 15px rgba(7, 153, 154, 0.3));
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(7, 153, 154, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    position: absolute;
    top: 0; left: 0;
    height: 100%; width: 40%;
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--primary);
    animation: sweep 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(7, 153, 154, 0.2)); opacity: 1; }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(7, 153, 154, 0.6)); opacity: 0.8; }
}

@keyframes sweep {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* -------------------------------------------------------------------------- */

/* Text Utilities */
strong { font-weight: 600; color: var(--primary); }
.text-white { color: var(--bg-white) !important; }
.text-vibrant { color: var(--primary) !important; }

/* Brillo Global del Mouse */
.global-glow {
    position: fixed;
    top: 0; left: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(7, 153, 154, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* Header & Logo */
.main-header { position: fixed; width: 100%; top: 0; z-index: 1000; padding: 15px 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); transition: var(--transition-base); border-bottom: 1px solid var(--border-light); }
.main-header.scrolled { padding: 10px 0; box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.98); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo img { height: 90px; transition: var(--transition-base); }
.main-header.scrolled .logo img { height: 75px; }

/* Menú Hamburguesa */
.menu-toggle { display: none; font-size: 1.8rem; color: var(--primary); cursor: pointer; z-index: 1001; transition: var(--transition-base); }
.menu-toggle:hover { color: var(--primary-deep); }

.nav-links { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition-base); }
.nav-links a:hover { color: var(--primary); }
.btn-cta { background: var(--primary); color: var(--bg-white) !important; padding: 8px 18px; border-radius: 5px; border: 1px solid var(--primary); }
.btn-cta:hover { background: var(--primary-deep); color: var(--bg-white) !important; box-shadow: 0 5px 15px rgba(7, 153, 154, 0.3); }

/* Hero Section */
.hero-section { 
    height: 100vh; 
    background: url('../assets/img/banner.webp') no-repeat center center/cover; 
    background-attachment: fixed;
    display: flex; align-items: center; position: relative; color: var(--text-main);
    padding-top: 120px;
}
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255,255,255,0.95) 10%, rgba(255,255,255,0.7) 100%); }
.hero-content { position: relative; z-index: 2; text-align: left; max-width: 900px; }
.hero-content h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted); margin-bottom: 10px; }
.hero-content h1 { font-size: 4.5rem; font-weight: 700; line-height: 1.1; margin: 0 0 20px 0; text-transform: uppercase; color: var(--text-main); }
.hero-content h1 span { color: var(--primary); }

/* Social Buttons */
.social-hero { display: flex; gap: 15px; margin-top: 30px; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: var(--transition-base); text-transform: uppercase; }
.btn-social i { font-size: 1.2rem; }
.fb-btn { background: #3b5998; color: var(--bg-white); border: 1px solid #3b5998; }
.fb-btn:hover { background: var(--primary); border-color: var(--primary); box-shadow: 0 5px 15px rgba(7, 153, 154, 0.3); }
.wa-btn { background: #25d366; color: var(--bg-white); border: 1px solid #25d366; }
.wa-btn:hover { background: var(--primary); border-color: var(--primary); box-shadow: 0 5px 15px rgba(7, 153, 154, 0.3); }

/* Backgrounds */
.bg-white { background: var(--bg-white); }
.bg-light-alt { background: var(--bg-light-alt); }
.section-padding { padding: 100px 0; }
.subhead { color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: 0.9rem; margin-bottom: 15px; }
h2 { font-size: 2.5rem; margin-bottom: 40px; color: var(--text-main); }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { width: 100%; border-radius: 15px; box-shadow: var(--shadow-lg); }
.about-lead p { margin-bottom: 20px; font-size: 1.1rem; color: var(--text-muted); }
.mision-box { background: var(--bg-white); padding: 30px; border-radius: 10px; border-left: 4px solid var(--primary); box-shadow: var(--shadow-sm); margin-top: 30px; }
.mision-box h4 { font-size: 1.3rem; color: var(--primary); margin-bottom: 10px; text-transform: uppercase; }

/* Hosting */
.hosting-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.hosting-card { display: flex; flex-direction: column; background: var(--bg-white); padding: 50px 35px; border-radius: 15px; width: 350px; text-align: center; border: 1px solid var(--border-light); transition: var(--transition-base); transform-style: preserve-3d; box-shadow: var(--shadow-sm); }
.hosting-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.hosting-card.featured { border: 2px solid var(--primary); position: relative; box-shadow: var(--shadow-lg); }
.hosting-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--bg-white); font-size: 0.8rem; padding: 5px 20px; font-weight: 700; border-radius: 20px; text-transform: uppercase; }
.hosting-card h4 { font-size: 1.5rem; color: var(--text-main); }
.hosting-card p.period { color: var(--text-muted); margin-bottom: 10px; }
.price { font-size: 2.8rem; font-weight: 700; color: var(--primary); margin-top: 10px; }
.hosting-card ul { list-style: none; text-align: left; margin: 30px 0; padding-top: 20px; border-top: 1px solid var(--border-light); flex-grow: 1; }
.hosting-card ul li { margin-bottom: 15px; font-size: 0.95rem; color: var(--text-muted); }
.hosting-card ul li i { color: var(--primary); margin-right: 12px; }
.btn-hosting { display: block; background: var(--bg-light-alt); color: var(--primary-deep); text-decoration: none; padding: 15px; border-radius: 8px; font-weight: 700; text-transform: uppercase; transition: var(--transition-base); margin-top: auto; border: 1px solid var(--border-light); }
.btn-hosting:hover { background: var(--primary); color: var(--bg-white); border-color: var(--primary); }
.btn-featured { background: var(--primary); color: var(--bg-white); }
.btn-featured:hover { background: var(--primary-deep); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-white); padding: 45px; border-radius: 12px; box-shadow: var(--shadow-sm); transition: var(--transition-base); text-align: left; transform-style: preserve-3d; border: 1px solid var(--border-light); }
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.service-card i { font-size: 3rem; color: var(--primary); margin-bottom: 25px; transition: var(--transition-base); }
.service-card:hover i { transform: translateZ(30px) scale(1.1); color: var(--primary-deep); }
.service-card h3 { font-size: 1.3rem; color: var(--text-main); margin-bottom: 15px; transform: translateZ(10px); }
.service-card p { color: var(--text-muted); font-size: 0.95rem; transform: translateZ(5px); }

/* Contacto */
.contact-card { background: var(--bg-white); border-radius: 20px; padding: 50px; border: 1px solid var(--border-light); box-shadow: var(--shadow-lg); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; }
.contact-primary h3 { font-size: 2rem; color: var(--text-main); margin-bottom: 10px; }
.contact-primary p { color: var(--text-muted); margin-bottom: 30px; }
.input-group { position: relative; margin-bottom: 20px; }
.input-group i { position: absolute; left: 18px; top: 18px; color: var(--primary); font-size: 1.1rem; }
.contact-input { width: 100%; padding: 16px 16px 16px 50px; background: var(--bg-light-alt); border: 1px solid var(--border-light); border-radius: 8px; color: var(--text-main); font-family: inherit; font-size: 1rem; transition: var(--transition-base); }
.contact-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 10px rgba(7, 153, 154, 0.1); background: var(--bg-white); }
.btn-submit { background: var(--primary); color: var(--bg-white); border: none; padding: 18px 40px; border-radius: 8px; cursor: pointer; font-weight: 700; width: 100%; text-transform: uppercase; transition: var(--transition-base); display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 1.1rem; }
.btn-submit:hover { background: var(--primary-deep); box-shadow: 0 5px 15px rgba(7, 153, 154, 0.3); }

/* Contact Info List */
.contact-secondary h5 { font-size: 1.3rem; color: var(--text-main); margin-bottom: 30px; border-bottom: 2px solid var(--border-light); padding-bottom: 15px; }
.contact-info-list { list-style: none; }
.contact-info-list li { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.icon-box { background: rgba(7, 153, 154, 0.1); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--primary); font-size: 1.3rem; }
.contact-info-list strong { color: var(--text-main); display: block; margin-bottom: 5px; font-size: 1.1rem; }
.contact-info-list a { color: var(--primary); text-decoration: none; transition: 0.3s; }
.contact-info-list a:hover { color: var(--primary-deep); }

/* Footer */
.main-footer { background: var(--text-main); color: var(--border-light); padding: 40px 0; font-size: 0.95rem; }
.main-footer p { margin-bottom: 10px; }
.main-footer a { color: var(--primary); text-decoration: none; }
.footer-links { margin-top: 15px; }
.footer-links a { color: var(--bg-white); text-decoration: none; margin: 0 15px; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }

/* -------------------------------------------------------------------------- */
/* RESPONSIVE & MENÚ HAMBURGUESA */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .main-header { padding: 15px 0; }
    .logo img { height: 60px; }
    .main-header.scrolled .logo img { height: 50px; }
    
    .menu-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--transition-base);
        z-index: 1000;
        gap: 30px;
    }
    
    .nav-links.nav-active { right: 0; }
    .nav-links li { margin: 0; }
    .nav-links a { font-size: 1.2rem; }

    .hero-content { text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .social-hero { justify-content: center; flex-direction: column; }
    .hosting-card { width: 100%; }
    .contact-card { padding: 30px 20px; }
    
    /* ¡AQUÍ ESTÁ LA MAGIA PARA SALVAR EL BANNER EN CELULARES! */
    .hero-section {
        background-attachment: scroll !important; /* Desactiva el parallax bugueado en iOS/Android */
        background-position: center !important;
    }
}

/* -------------------------------------------------------------------------- */
/* REVEAL ANIMATIONS PRO */
/* -------------------------------------------------------------------------- */
.reveal { opacity: 0; transition: var(--transition-reveal); will-change: transform, opacity; }

.reveal-up { transform: translateY(80px); }
.reveal-left { transform: translateX(-150px); }
.reveal-right { transform: translateX(150px); }
.reveal-scale { transform: scale(0.7); }

.reveal.visible { opacity: 1; transform: translate(0, 0) scale(1); }

@media (max-width: 768px) {
    .reveal-left, .reveal-right { transform: translateY(50px) translateX(0); } 
}

/* Trampa Ninja Anti-Spam (Honeypot) */
.oculto-ninja {
    opacity: 0; position: absolute; top: 0; left: -9999px; height: 0; width: 0; z-index: -1;
}