/* ==========================================
   ARQUIXCLOUD - LAYOUT.CSS (ESTILO PREMIUM)
   ========================================== */

/* Utilidades de Contenedor */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 5rem 0;
}

/* NAVEGACIÓN Y HEADER (Efecto Cristal Premium) */
.global-header {
    position: fixed;
    top: 0;
    width: 100%;
    /* Fondo translúcido tipo Apple/Stripe */
    background: rgba(5, 5, 7, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

body.light-mode .global-header {
    background: rgba(244, 245, 247, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    padding: 0.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO: Identidad de Marca Imponente */
.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img { 
    display: block; 
    height: 85px; /* Tamaño grande y profesional */
    width: auto; 
    object-fit: contain;
    /* Suave realce para que no se pierda en el fondo */
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-img:hover {
    transform: scale(1.04);
}

/* Enlaces del Menú */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2.2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
    opacity: 0.85;
}

.nav-links a:hover { 
    color: var(--accent-cyan); 
    opacity: 1;
}

/* Botón de cambio de tema */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    background: var(--accent-cyan-glow);
    border-color: var(--accent-cyan);
}

/* LEMA Y HERO SECTION */
.hero {
    position: relative;
    padding-top: 120px; /* Espacio para el header fijo */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(41, 98, 255, 0.05) 0%, transparent 40%);
}

.hero-content { 
    max-width: 900px; 
    text-align: center; 
    z-index: 2;
}

.slogan-tag {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    border: 1px solid var(--accent-cyan-glow);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background: rgba(0, 229, 255, 0.03);
}

.hero-content h1 { 
    font-size: clamp(2.8rem, 6vw, 4.8rem); 
    line-height: 1.05;
    letter-spacing: -2px; 
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p { 
    font-size: 1.25rem; 
    color: var(--text-secondary); 
    margin-bottom: 3rem; 
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions { 
    display: flex; 
    gap: 1.2rem; 
    justify-content: center; 
}

/* MARCA DE AGUA (Holografía de fondo) */
.watermark-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120vw; 
    max-width: 1600px;
    opacity: 0.03; /* Muy sutil, elegancia pura */
    z-index: 1;
    pointer-events: none;
    filter: blur(1px) grayscale(100%);
}

/* GRILLAS Y SECCIONES */
.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.1fr; 
    gap: 5rem; 
    align-items: center; 
}

.maintenance-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2.5rem; 
}

/* GRILLAS DESKTOP ESTRICTAS (4 Columnas) */
@media (min-width: 1025px) {
    .grid-desktop-strict {
        display: grid;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.8rem;
    }
    .maintenance-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* FOOTER */
.global-footer { 
    background: var(--bg-secondary); 
    border-top: 1px solid var(--border-color); 
    padding: 4rem 0;
}

.footer-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
    .grid-desktop-strict {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .logo-img { height: 70px; }
}

@media (max-width: 768px) {
    .grid-desktop-strict { grid-template-columns: 1fr; }
    
    .logo-img { height: 60px; }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .mobile-menu-btn span {
        width: 25px;
        height: 2px;
        background: var(--text-primary);
    }

    .nav-links {
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--bg-primary);
        flex-direction: column; 
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        display: none; /* Se activa con JS */
    }

    .nav-links.active { display: flex; }
    
    .hero-actions { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; align-items: center; }
}