.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ========================================
   TERMINAL INTRO
   ======================================== */
#terminal-intro {
    position: fixed;
    inset: 0;
    background: #0a0e1a;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.terminal-window {
    width: 100%;
    max-width: 680px;
    background: #0d1117;
    border-radius: 12px;
    border: 1px solid #30363d;
    box-shadow: 0 0 60px rgba(0, 212, 214, 0.15), 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

.terminal-topbar {
    background: #161b22;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #30363d;
}

.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.t-dot.red    { background: #ff5f57; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green  { background: #28ca42; }

.t-title {
    margin-left: 8px;
    color: #8b949e;
    font-size: 0.82rem;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 20px 24px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.terminal-line {
    font-size: 0.88rem;
    line-height: 1.6;
    animation: fadeInLine 0.3s ease forwards;
}

@keyframes fadeInLine {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}

.terminal-cursor-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #e6edf3;
    margin-top: 4px;
}

.t-prompt {
    color: #00d4d6;
    font-weight: 700;
    margin-right: 6px;
}

.t-cursor {
    color: #00d4d6;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Barra de carga */
#loader-bar-wrap {
    width: 100%;
    max-width: 680px;
}

.loader-label {
    display: flex;
    justify-content: space-between;
    color: #8b949e;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    margin-bottom: 8px;
}

#loader-status { color: #00d4d6; }
#loader-percent { color: #a8ff78; font-weight: 700; }

.loader-track {
    width: 100%;
    height: 8px;
    background: #161b22;
    border-radius: 50px;
    border: 1px solid #30363d;
    overflow: hidden;
}

#loader-fill {
    height: 100%;
    width: 0%;
    border-radius: 50px;
    background: linear-gradient(90deg, #005f7d, #00d4d6, #a8ff78);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    transition: width 0.05s linear;
    box-shadow: 0 0 12px rgba(0, 212, 214, 0.6);
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* 1. VARIABLES PERSONALIZADAS (Colores de IHS) */
:root {
    --primary-color: #005f7d;      /* Azul profundo */
    --accent-color: #00a4a6;       /* Turquesa vibrante */
    --primary-hover: #004b63;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. RESET Y ESTILOS BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 3. NAVEGACIÓN PREMIUM */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 85px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.nav-logo:hover { transform: scale(1.05); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a, .dropbtn {
    text-decoration: none;
    color: var(--text-dark);
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 8px;
}

.nav-links a:hover, .dropdown:hover .dropbtn {
    color: var(--primary-color);
    background: rgba(0, 95, 125, 0.05);
}

/* 4. LÓGICA DE MENÚS (DROPDOWN Y MEGA MENÚ) */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    border-radius: 12px;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid rgba(0,0,0,0.05);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown:hover .dropdown-content { display: block; }

/* Mega Menú Giros */
.mega-menu {
    min-width: 850px;
    left: -300px;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 35px;
}

.dropdown:hover .mega-menu { display: grid; }

.menu-column small {
    display: block;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-light);
}

.menu-column a {
    padding: 8px 12px;
    display: block;
    font-size: 0.88rem;
    color: var(--text-dark);
    border-radius: 6px;
}

.menu-column a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 18px;
}

/* 5. HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 5%;
}

/* Video de fondo */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay oscuro con degradado */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 20, 40, 0.82) 0%,
        rgba(0, 60, 90, 0.75) 50%,
        rgba(0, 95, 125, 0.70) 100%
    );
    z-index: 1;
}

/* Canvas partículas */
#hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Contenido */
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    max-width: 800px;
    animation: heroFadeIn 1.2s ease-out forwards;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Tag superior */
.hero-tag {
    display: inline-block;
    background: rgba(0, 164, 166, 0.2);
    border: 1px solid rgba(0, 164, 166, 0.5);
    color: #7eecea;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
}

/* Título */
.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: white;
    letter-spacing: -2px;
    margin: 0;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-highlight {
    background: linear-gradient(to right, #00d4d6, #7eecea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0;
    font-weight: 400;
}

/* Botones hero */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.btn-glow {
    box-shadow: 0 0 25px rgba(0, 164, 166, 0.5), 0 0 50px rgba(0, 164, 166, 0.2) !important;
}

.btn-glow:hover {
    box-shadow: 0 0 35px rgba(0, 164, 166, 0.7), 0 0 70px rgba(0, 164, 166, 0.3) !important;
}

.btn-outline-white {
    color: white !important;
    border-color: rgba(255,255,255,0.6) !important;
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: white !important;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 14px 32px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #7eecea;
    line-height: 1;
}

.hero-stat small {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1rem; }
    .hero-stats { gap: 1rem; padding: 12px 20px; }
}

/* Opcional: Para que no se vea nada antes de animar */
.hero, .cloud-service-section {
    opacity: 0;
}

/* 6. BOTONES PROFESIONALES 3D */
.btn-primary, .btn-outline {
    border-radius: 12px;
    padding: 1rem 2.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-block;
    position: relative;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1), -5px -5px 15px rgba(255,255,255,0.8);
}

/* Botón Primario (3D Sólido) */
.btn-primary {
    background: linear-gradient(145deg, var(--accent-color), var(--primary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
}

.btn-primary:active {
    box-shadow: inset 4px 4px 8px rgba(0,0,0,0.2);
    transform: translateY(0);
}

/* Botón Outline (Borde Definido) */
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* 7. PRODUCTOS Y FILTROS */
.catalog-section { padding: 100px 6%; }

.filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

/* 8. EL CARRITO (MODAL) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.hidden { display: none !important; }

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    width: 95%;
    max-width: 550px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

/* 9. FORMULARIO DE CONTACTO */
.contact-section {
    background: var(--white);
    padding: 100px 6%;
}

#contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form input, #contact-form select, #contact-form textarea {
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: white;
    font-size: 1rem;
    transition: var(--transition);
}

#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 164, 166, 0.1);
}
/* ESTILOS AGREGADOS PARA LA OFERTA (UPSELL) */
.upsell-badge {
    background-color: #e0f2f1; /* Turquesa muy suave */
    color: var(--primary-color);
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid var(--accent-color);
    margin-left: 8px;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

.upsell-badge strong {
    color: var(--accent-color);
}

/* 10. RESPONSIVO */
@media (max-width: 1100px) {
    .mega-menu { min-width: 100%; left: 0; grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   MENÚ HAMBURGUESA
   ========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
    /* Navbar compacto */
    .navbar {
        height: 65px;
        padding: 0 4%;
    }

    .nav-logo { height: 44px; }

    /* Ocultar acciones del nav en móvil */
    .nav-actions { display: none; }

    /* Mostrar hamburguesa */
    .hamburger { display: flex; }

    /* Menú desplegable móvil */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        padding: 1rem 0 2rem;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
        max-height: calc(100vh - 65px);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a, .dropbtn {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
        text-align: left;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    /* Dropdown dentro del menú móvil */
    .dropdown { width: 100%; }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        border: none;
        border-top: 1px solid rgba(0,0,0,0.05);
        animation: none;
        background: var(--bg-light);
    }

    .dropdown:hover .dropdown-content,
    .dropdown:hover .mega-menu { display: none; }

    .dropdown.open .dropdown-content,
    .dropdown.open .mega-menu { display: grid !important; }

    .mega-menu {
        min-width: 100%;
        left: 0;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0.5rem 0;
    }

    .menu-column {
        padding: 12px 24px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .menu-column small { margin-bottom: 10px; }

    .menu-column a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    /* Botones carrito e ingresar dentro del menú */
    .mobile-nav-actions {
        display: flex;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px 24px;
        border-top: 2px solid var(--bg-light);
        margin-top: 4px;
    }

    .mobile-nav-actions .btn-outline,
    .mobile-nav-actions .btn-primary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .hero h1 { font-size: 2.5rem; }
    .mega-menu { grid-template-columns: 1fr; }
}

/* --- SECCIÓN DE PLANES / PRICING --- */
.pricing-section {
    padding: 7rem 6%;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.pricing-section .section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 2px solid #e8f4f8;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 95, 125, 0.12);
}

/* Tarjeta destacada */
.pricing-card--featured {
    background: linear-gradient(145deg, var(--primary-color), #007a9a);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 95, 125, 0.3);
    color: white;
}

.pricing-card--featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 95, 125, 0.4);
}

.pricing-card--featured h3,
.pricing-card--featured .price-amount,
.pricing-card--featured .price-period {
    color: white;
}

.pricing-card--featured .pricing-features li {
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.15);
}

/* Badge */
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #e0f2f1;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 50px;
    white-space: nowrap;
    border: 1px solid var(--accent-color);
}

.pricing-badge--featured {
    background: var(--accent-color);
    color: white;
    border-color: transparent;
}

/* Ícono */
.pricing-icon {
    font-size: 2.8rem;
    margin-top: 0.5rem;
}

/* Título */
.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Precio */
.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 0.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Lista de features */
.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid #e8f4f8;
    padding-top: 1.2rem;
    flex: 1;
}

.pricing-features li {
    font-size: 0.92rem;
    color: var(--text-dark);
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Botón */
.pricing-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 0.5rem;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pricing-card--featured { transform: scale(1); }
    .pricing-card--featured:hover { transform: translateY(-8px); }
}

/* --- Estilos para la sección Sobre Nosotros --- */
.about-section {
    padding: 7rem 6%;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 60%, #e0f2f1 100%);
    position: relative;
    overflow: hidden;
}

.about-section .section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-section .section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-text > p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1rem;
}

/* Tarjetas de Misión y Visión */
.about-values {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.about-values li {
    background: white;
    border-radius: 16px;
    padding: 1.5rem 1.8rem;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    line-height: 1.7;
    font-size: 0.97rem;
    color: #4a5568;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-values li:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.about-values li strong {
    color: var(--primary-color);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

/* Imagen con decoración */
.about-image {
    text-align: center;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0,164,166,0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 95, 125, 0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.03) translateY(-5px);
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image { order: -1; }
}

/* --- Estilos para la sección de Servicio en la Nube --- */
.cloud-service-section {
    padding: 6rem 6%;
    background-color: var(--white);
}

.cloud-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1100px;
    margin: 3rem auto 0;
    align-items: center;
    background: var(--bg-light);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
}

.cloud-text {
    flex: 1;
    min-width: 300px;
}

.cloud-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.cloud-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.cloud-text li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: 500;
}

.cloud-image {
    flex: 0 0 250px;
    text-align: center;
}

.cloud-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    transition: var(--transition);
    border-radius: 12px;
}

.cloud-image img:hover {
    transform: scale(1.05);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
/* Animación base */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clase para aplicar el efecto */
.animar-entrada {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Opcional: Para que no se vea nada antes de animar */
.cloud-service-section {
    opacity: 0;
}

.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden { 
    display: none;
    opacity: 0;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

.modal.hidden .modal-content {
    animation: slideOut 0.3s ease-in;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #000;
}

@media (max-width: 640px) {
    .modal-content {
        padding: 24px;
        width: 95%;
    }
}