/* style.css - IKUBERT */

/* 1. RESET Y ESTRUCTURA */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; display: flex; flex-direction: column; min-height: 100vh; line-height: 1.5; color: #1a1a1a; }
main { flex: 1 0 auto; width: 100%; }

/* 2. ALINEACIÓN MAESTRA (5%) */
.site-nav, .footer-inner, .landing-container {
    padding-left: 5% !important;
    padding-right: 5% !important;
}

/* 3. NAVEGACIÓN PC (No se toca) */
.site-nav {
    padding-top: 22px;
    padding-bottom: 22px;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 2000;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}
.site-nav .site-logo img { height: 62px; width: auto; display: block; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: #1a1a1a; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1.5px; }
.nav-checkbox, .nav-toggler { display: none; }

/* 4. FOOTER PC (No se toca) */
.main-footer { background-color: #1a1a1a !important; padding: 15px 0 !important; width: 100%; }
.footer-inner { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; }
.footer-col { flex: 1; }
.footer-col.center { text-align: center; }
.footer-col.right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer-logo-img { height: 55px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-mail { color: #ffffff !important; text-decoration: none !important; font-size: 0.85rem; opacity: 0.9; }
.footer-social-icon { width: 18px !important; height: 18px !important; filter: brightness(0) invert(1) !important; opacity: 0.7 !important; display: inline-block !important; }
.loc { font-size: 0.65rem; color: #fff; opacity: 0.6; text-transform: uppercase; letter-spacing: 1px; }
.copy { font-size: 0.55rem; color: #fff; opacity: 0.4; }

/* ==========================================================================
   5. LANDING FRAMEWORK (DISEÑO DE CONTENIDO)
   ========================================================================== */
.landing-container { max-width: 1000px; margin: 0 auto; padding-top: 80px; padding-bottom: 80px; }

/* Hero Section */
.hero-l { margin-bottom: 80px; }
.hero-l h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin: 25px 0; color: #1a1a1a; }
.subtitle-hero { font-size: 1.25rem; color: #666; margin-bottom: 20px; font-weight: 500; }
.hero-l p { font-size: 1.2rem; color: #444; line-height: 1.6; margin-bottom: 30px; }
.auth-line { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #0055ff; display: block; }
.meta-hero { display: block; background: #f9f9f9; padding: 25px; border-left: 4px solid #0055ff; margin: 35px 0; font-size: 1rem; }

/* Cajas de Problemas */
.problem-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin: 50px 0; }
.p-item { padding: 30px; background: #fff; border: 1px solid #eee; border-left: 4px solid #ff4b4b; }
.p-item h4 { margin-bottom: 12px; font-size: 1.2rem; font-weight: 700; }
.p-item p { font-size: 0.95rem; color: #666; line-height: 1.5; }

/* Metodología (CORRECCIÓN DE ESPACIADO) */
.section-l { padding: 80px 0; border-top: 1px solid #eee; }
.section-l h2 { font-size: 2rem; margin-bottom: 30px; font-weight: 800; }

.quote-text { 
    font-style: italic; font-size: 1.3rem; color: #555; 
    margin: 40px 0; padding: 20px 30px; background: #fcfcfc;
    border-left: 3px solid #0055ff; line-height: 1.4;
}

.method-list { list-style: none; padding: 0; margin: 40px 0; }
.method-list li { margin-bottom: 35px; font-size: 1.1rem; line-height: 1.6; color: #444; }
.method-list li strong { 
    display: block; font-size: 1.2rem; color: #1a1a1a; 
    margin-bottom: 8px; font-weight: 700; 
}

/* Checks */
.check-list { margin: 30px 0; }
.check-item { display: flex; align-items: flex-start; margin-bottom: 20px; font-size: 1.1rem; font-weight: 500; }
.check-item::before { content: "✓"; color: #0055ff; margin-right: 15px; font-weight: 900; }

/* Botones */
.btn-main { 
    display: inline-block; background: #0055ff !important; color: #fff !important; 
    padding: 22px 50px; text-decoration: none !important; font-weight: 700; 
    text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; border-radius: 4px; 
    transition: 0.3s ease; border: none; cursor: pointer; text-align: center;
}
.btn-main:hover { background: #0033bb !important; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,85,255,0.2); }

/* Complementarios */
.complementary-box { background: #f4f7ff; padding: 45px; margin: 60px 0; border-radius: 12px; }
.complementary-box h3 { margin-bottom: 20px; font-size: 1.6rem; font-weight: 800; }
.complementary-box ul { list-style: none; padding: 0; }
.complementary-box li { margin-bottom: 15px; }
.complementary-box a { color: #0055ff; font-weight: 700; text-decoration: none; }

/* ==========================================================================
   6. SECCIÓN FINAL (CTA) - CORRECCIÓN DE AMONTONAMIENTO
   ========================================================================== */
.final-cta { 
    text-align: center; 
    padding: 120px 5% !important; /* Más espacio arriba y abajo */
    background: #fdfdfd; 
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px; /* Espacio automático entre todos los elementos del bloque */
}
.final-cta h2 { font-size: 2.4rem !important; line-height: 1.2; color: #1a1a1a; max-width: 850px; margin: 0 !important; }
.final-cta p { font-size: 1.15rem; color: #555; line-height: 1.6; max-width: 750px; margin: 0 !important; }

.disclaimer { 
    font-size: 0.7rem !important; 
    text-transform: uppercase; 
    color: #bbb; 
    letter-spacing: 2px; 
    margin-top: 60px !important; /* Gran separación del botón */
    font-weight: 600;
}

/* ==========================================================================
   7. MÓVIL: NAVBAR PRO Y FOOTER (SIN TOCAR PC)
   ========================================================================== */
@media (max-width: 768px) {
    .site-nav { padding: 15px 5% !important; height: 70px !important; }
    .nav-toggler { display: flex !important; flex-direction: column; gap: 5px; z-index: 3000; cursor: pointer; }
    .nav-toggler span { width: 25px; height: 2px; background-color: #1a1a1a; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: #fff; flex-direction: column !important; justify-content: center !important; align-items: center !important; gap: 35px !important; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2500; display: flex !important; box-shadow: -10px 0 30px rgba(0,0,0,0.05); }
    .nav-checkbox:checked ~ .nav-links { right: 0 !important; }
    .site-nav .site-logo img { height: 45px !important; }

    .landing-container { padding: 40px 5%; }
    .hero-l h1 { font-size: 2.2rem; }
    .problem-box { grid-template-columns: 1fr; gap: 15px; }
    .btn-main { width: 100%; }
    
    .final-cta { padding: 80px 5% !important; gap: 25px; }
    .final-cta h2 { font-size: 1.8rem; }
    .disclaimer { margin-top: 40px !important; }

    /* Footer móvil grid */
    .footer-inner { 
        display: grid !important; 
        grid-template-columns: 1fr 1fr; 
        grid-template-areas: "logo contact" "location location"; 
        gap: 20px 0; 
        padding: 20px 5% !important;
    }
    .footer-col.center { grid-area: logo; text-align: left !important; }
    .footer-logo-img { height: 40px !important; margin: 0 !important; }
    .footer-col.right { grid-area: contact; text-align: right !important; align-items: flex-end !important; }
    .footer-mail { font-size: 0.75rem !important; }
    .footer-col.left { grid-area: location; text-align: center !important; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }
    .loc { font-size: 0.6rem !important; }
    .main-footer { padding: 25px 0 !important; }
}
