:root {
    --primary: #00D4FF;
    --secondary: #FF3366;
    --accent: #6C63FF;
    --dark: #0a0a0f;
    --darker: #050508;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: white;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}
#preloader.fade-out { opacity: 0; }
.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--glass);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Navbar */
.navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.brand-sp { color: var(--primary); }
.brand-pc { color: white; }
.nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    transition: all 0.3s;
    margin: 0 5px;
}
.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Section - imagen grande y nítida centrada */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite;
}
.sphere-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -200px;
    left: -200px;
}
.sphere-2 {
    width: 600px;
    height: 600px;
    background: var(--secondary);
    bottom: -250px;
    right: -200px;
    animation-delay: -5s;
}
.sphere-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

/* Avatar: grande, cuadrada, nítida */
.hero-avatar {
    display: block;
    margin: 0 auto 20px;
}
.avatar-main {
    width: 260px;        /* Tamaño grande */
    height: 260px;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 0 30px rgba(0,212,255,0.3);
    transition: all 0.3s;
    animation: floatAvatar 3s ease-in-out infinite;
    border-radius: 0;    /* Cuadrada */
}
@keyframes floatAvatar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@media (max-width: 768px) {
    .avatar-main {
        width: 180px;
        height: 180px;
    }
}
@media (max-width: 480px) {
    .avatar-main {
        width: 150px;
        height: 150px;
    }
}

/* Textos y badges */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.badge-humanities, .badge-tech, .badge-ai {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 5px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-humanities {
    background: rgba(255, 51, 102, 0.2);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}
.badge-tech {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}
.badge-ai {
    background: rgba(108, 99, 255, 0.2);
    color: var(--accent);
    border: 1px solid var(--accent);
}
.slogan-text {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Botones */
.btn-primary-glow {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
}
.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    color: white;
}
.btn-outline-light {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    background: transparent;
}
.btn-outline-light:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { margin: 0; width: 80%; }
}

/* Quote Section */
.quote-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

/* Service Cards */
.service-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(255,51,102,0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

/* Radio Section */
.radio-card {
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(108,99,255,0.1));
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--glass-border);
}
.btn-radio {
    background: linear-gradient(135deg, #FF3366, #6C63FF);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-radio:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,51,102,0.3);
    color: white;
}

/* CTA Section */
.cta-card {
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(108,99,255,0.1));
    border-radius: 30px;
    padding: 50px;
    border: 1px solid var(--glass-border);
}
.btn-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,212,255,0.4);
    color: white;
}

/* ========== FOOTER PREMIUM ========== */
.footer-premium {
    background: linear-gradient(135deg, #0a0a0f 0%, #050508 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}
.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
     max-width: 100%;
    justify-content: flex-start; /* para que no centre y limite el espacio */
}
.footer-logo-img {
    width: 200px !important;
    height: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s;
}
.footer-logo-img:hover {
    transform: scale(1.05);
}
.footer-brand {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s;
}
.footer-brand span {
    font-weight: 500;
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: var(--primary);
}
.footer-brand:hover {
    opacity: 0.9;
    transform: translateX(3px);
}
.footer-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.5rem 0 1rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.footer-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #cbd5e1;
    transition: all 0.3s;
    font-size: 1.2rem;
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--primary);
    color: #0a0a0f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}
.footer-premium h6 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}
.footer-premium h6::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.footer-premium ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-premium ul li {
    margin-bottom: 0.6rem;
}
.footer-premium ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
    display: inline-block;
}
.footer-premium ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}
.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.85rem;
    flex-wrap: wrap;
}
.contact-info li i {
    width: 24px;
    color: var(--primary);
    font-size: 1rem;
}
.contact-info li a {
    color: #cbd5e1;
    text-decoration: none;
}
.contact-info li a:hover {
    color: var(--primary);
}
.footer-divider {
    margin: 2rem 0 1.5rem;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: #64748b;
}
.footer-bottom p {
    margin: 0;
}
.footer-bottom span {
    color: var(--primary);
    font-weight: 500;
}
@media (max-width: 768px) {
    .footer-premium {
        text-align: center;
    }
    .footer-logo-wrapper {
        justify-content: center;
        
    }
    .footer-premium h6::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-social {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .contact-info li {
        justify-content: center;
    }
}
/* ========== HERO CON TEXTO MÁS PEQUEÑO ========== */
.hero-text-sm h1 {
    font-size: clamp(2rem, 5vw, 3rem) !important; /* antes era más grande */
    font-weight: 700;
}

.hero-text-sm .lead {
    font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
    margin-bottom: 1.5rem !important;
}

.hero-text-sm .hero-tag {
    font-size: 0.8rem !important;
    padding: 0.3rem 1rem !important;
}

.hero-text-sm .hero-quote {
    font-size: 1.1rem !important;
}

.hero-text-sm .btn-primary-glow,
.hero-text-sm .btn-outline-light {
    padding: 8px 24px !important;
    font-size: 0.9rem !important;
}

.hero-text-sm .hero-buttons {
    gap: 12px;
}

/* Ajuste para móvil */
@media (max-width: 768px) {
    .hero-text-sm h1 {
        font-size: 1.8rem !important;
    }
    .hero-text-sm .lead {
        font-size: 0.8rem !important;
    }
    .hero-text-sm .hero-tag {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.8rem !important;
    }
    .hero-text-sm .hero-quote {
        font-size: 0.9rem !important;
    }
    .hero-text-sm .btn-primary-glow,
    .hero-text-sm .btn-outline-light {
        padding: 6px 18px !important;
        font-size: 0.8rem !important;
    }
}
/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;800&family=Fira+Code:wght@500&display=swap');

/* Ajustes para el navbar-brand */
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    text-decoration: none;
}

/* SHP (parte principal) */
.brand-sp {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--primary);
    line-height: 1;
}

/* Punto separador */
.brand-dot {
    font-weight: 800;
    font-size: 1.6rem;
    color: white;
    line-height: 1;
}

/* Informática */
.brand-pc {
    font-weight: 500;
    font-size: 1.2rem;
    color: white;
    letter-spacing: -0.3px;
    line-height: 1;
}

/* Etiqueta de código </> */
.code-tag-nav {
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    font-size: 0.85rem;
    background: rgba(0, 212, 255, 0.2);
    padding: 4px 8px;
    border-radius: 24px;
    color: var(--primary);
    margin-left: 6px;
    transition: all 0.2s;
    line-height: 1;
}

.code-tag-nav:hover {
    background: rgba(0, 212, 255, 0.4);
    transform: translateY(-1px);
}

/* Ajuste responsive para móvil */
@media (max-width: 768px) {
    .brand-sp, .brand-dot {
        font-size: 1.3rem;
    }
    .brand-pc {
        font-size: 1rem;
    }
    .code-tag-nav {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}
/* Navbar-brand horizontal, estilo SHIP */
.navbar-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

/* SHP: grueso, color primario */
.brand-sp-h {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    color: var(--primary);
    line-height: 1;
}

/* Informática: semigrueso, blanco, ligeramente más pequeño */
.brand-pc-h {
    font-weight: 500;
    font-size: 1.2rem;
    color: white;
    letter-spacing: -0.3px;
    line-height: 1;
}

/* Responsive: en móvil se achica un poco */
@media (max-width: 768px) {
    .brand-sp-h {
        font-size: 1.3rem;
    }
    .brand-pc-h {
        font-size: 1rem;
    }
}
.footer-logo-img {
    border: 2px solid rgba(192, 192, 192, 0.7); /* plateado semitransparente */
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5), 0 0 5px rgba(255,255,255,0.3);
    transition: all 0.3s;
}
.footer-logo-img:hover {
    box-shadow: 0 0 25px rgba(192, 192, 192, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
}
/* ========== CTA MODERNO ========== */
.cta-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(108, 99, 255, 0.04));
    backdrop-filter: blur(12px);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.4);
}

.cta-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 25px 40px -15px rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.btn-cta {
    background: linear-gradient(135deg, #002D35, #6C63FF);
    border: none;
    color: #0a0a0f;
    padding: 0.85rem 2.2rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #1ae0ff, #7e78ff);
    color: #000;
}

/* Texto interno del CTA */
.cta-card h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 1rem;
}

.cta-card p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}