/* NORBUCO BUSINESS CONSULTING - ESTILO PREMIUM COMPLETO Y RESTAURADO */

:root {
    --bg: #020814;
    --bg2: #071426;
    --navy: #071426;
    --navy-soft: #0b1d33;
    --gold: #c8a96b;
    --gold-bright: #f1c878;
    --ivory: #f5f1e8;
    --text: #e8edf4;
    --muted: #b8c2cf;
    --line: rgba(200, 169, 107, 0.45);
    --glass: rgba(3, 12, 25, 0.72);
    --shadow: 0 22px 70px rgba(0,0,0,0.45);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: var(--sans);
    background:
        radial-gradient(circle at 80% 10%, rgba(28, 67, 108, 0.40), transparent 34%),
        radial-gradient(circle at 15% 20%, rgba(200, 169, 107, 0.15), transparent 28%),
        linear-gradient(180deg, #061222 0%, #020814 48%, #01040a 100%);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* NAV - EFECTO CRISTAL */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 88px;
    padding: 16px 48px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(180deg, rgba(2,8,20,0.95), rgba(2,8,20,0.70));
    border-bottom: 1px solid rgba(200,169,107,0.15);
    backdrop-filter: blur(12px);
}

.nav-logo-wrap { width: 220px; flex: 0 0 auto; }
.nav-logo { width: 210px; height: auto; }

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
    flex: 1;
}

.nav-menu a {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--ivory);
    opacity: 0.94;
    position: relative;
    padding: 9px 0;
    white-space: nowrap;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transition: width .25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 18px;
}

.lang-btn {
    border: 1px solid rgba(200, 169, 107, 0.55);
    background: rgba(3, 12, 25, 0.72);
    color: var(--ivory);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: linear-gradient(135deg, #f3cf82, #c8a96b);
    color: #071426;
    border-color: var(--gold-bright);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(2,8,20,0.45);
    color: var(--gold-bright);
    font-size: 22px;
    cursor: pointer;
}

/* SECCIONES GENERALES */
.section {
    position: relative;
    scroll-margin-top: 88px; 
    padding: 85px 0 100px;    
    border-bottom: 1px solid rgba(200,169,107,0.20);
    background:
        radial-gradient(circle at 20% 20%, rgba(200,169,107,0.06), transparent 30%),
        linear-gradient(180deg, rgba(5,15,30,0.65), rgba(2,8,20,0.92));
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 54px;
}

.section-header h2,
.section-text h2,
.contacto-container h2,
.final-cta-container h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.08;
    color: var(--ivory);
    text-shadow: 0 14px 35px rgba(0,0,0,0.38);
}

.section-header p,
.section-text p,
.section-card p,
.solucion-card p,
.pilar-card p,
.step p,
.info-card p,
.contact-info p,
.contacto-container p {
    color: var(--muted);
    font-size: 16px;
}

.section-card h3,
.solucion-card h3,
.pilar-card h3,
.info-card h3,
.step h3 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--gold-bright);
}

/* --- HERO (PORTADA CON EL LOGO) --- */
.hero-page {
    position: relative;
}

.hero {
    position: relative;
    scroll-margin-top: 88px;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 160px 0 80px; 
    background: linear-gradient(90deg, rgba(2,8,20,0.92) 0%, rgba(2,8,20,0.80) 42%, rgba(2,8,20,0.38) 100%);
    border-bottom: 1px solid rgba(200,169,107,0.40);
}

.hero-bg-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-image { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; filter: saturate(1.05) contrast(1.05); }

.hero-bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 40%, transparent 0%, rgba(2,8,20,0.08) 28%, rgba(2,8,20,0.65) 62%, rgba(2,8,20,0.96) 100%),
        linear-gradient(90deg, rgba(2,8,20,0.96) 0%, rgba(2,8,20,0.78) 36%, rgba(2,8,20,0.25) 100%),
        linear-gradient(180deg, rgba(2,8,20,0.55) 0%, transparent 42%, rgba(2,8,20,0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* CUADRÍCULA PARA TEXTO (IZQ) Y LOGO (DER) */
.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 5.5vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ivory);
    text-shadow: 0 20px 60px rgba(0,0,0,0.55);
    margin-bottom: 24px;
}

.hero-text h1 span { display: block; color: var(--gold-bright); }
.hero-text p { color: rgba(245,241,232,0.93); font-size: 16px; text-shadow: 0 8px 26px rgba(0,0,0,0.35); }

/* ESTILOS DEL LOGO DERECHO */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-large {
    width: 100%;
    max-width: 480px; 
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(200, 169, 107, 0.15)); 
}

.decor-line {
    width: 230px; height: 1px; margin: 22px 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright), transparent);
    position: relative;
}
.decor-line::after {
    content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    color: var(--gold-bright); font-size: 14px; background: rgba(4,12,25,0.85); padding: 0 12px;
}
.decor-line.small { width: 185px; margin-top: 28px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* BOTONES ELEGANTES */
.primary-btn, .secondary-btn, .cta-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 54px; padding: 0 24px; border-radius: 8px;
    border: 1px solid var(--gold); font-size: 14px; font-weight: 700;
    cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.primary-btn, .cta-btn {
    color: #120d05;
    background: linear-gradient(135deg, #f3cf82 0%, #c8a96b 50%, #9f7636 100%);
    box-shadow: 0 18px 45px rgba(200,169,107,0.25);
}

.secondary-btn { color: var(--gold-bright); background: rgba(4,12,25,0.42); }

.primary-btn:hover, .secondary-btn:hover, .cta-btn:hover {
    transform: translateY(-3px); box-shadow: 0 24px 55px rgba(200,169,107,0.28);
}

/* --- TARJETAS PREMIUM Y SECCIONES --- */
.two-column {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}

.section-card, .info-card, .solucion-card {
    background: linear-gradient(145deg, rgba(11,29,51,0.78), rgba(3,10,22,0.86));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.section-card h3 { font-size: 28px; margin-bottom: 14px; }

/* PILARES */
.pilares { text-align: center; }
.pilares-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.pilar-card {
    min-height: 390px; padding: 38px 28px;
    border: 1px solid var(--line); border-radius: 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(200,169,107,0.10), transparent 32%),
        linear-gradient(180deg, rgba(9,27,48,0.74), rgba(2,8,20,0.88));
    box-shadow: var(--shadow); transition: .25s ease;
}

.pilar-card:hover { transform: translateY(-8px); border-color: rgba(241,200,120,0.85); }

.pilar-icon {
    width: 118px; height: 118px; margin: 0 auto 26px; border-radius: 50%;
    border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
    color: var(--gold-bright); font-size: 46px; box-shadow: inset 0 0 30px rgba(200,169,107,0.10);
}

/* NUEVO CONTENEDOR REDONDO PARA LAS IMÁGENES PROFESIONALES DE LAS ÁREAS CLAVE */
.pilar-icon-img {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

.pilar-card h3 { font-size: 27px; line-height: 1.15; color: var(--ivory); margin-bottom: 18px; }

.center-cta { text-align: center; margin-top: 38px; }

/* PROTECCION PREVIEW */
.proteccion-preview {
    background:
        linear-gradient(90deg, rgba(2,8,20,0.96), rgba(6,18,34,0.86)),
        radial-gradient(circle at 12% 50%, rgba(200,169,107,0.10), transparent 32%);
}
.proteccion-preview .two-column { grid-template-columns: .9fr 1.1fr; }

.section-image {
    min-height: 380px; border-radius: 26px; overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow); background: rgba(5,15,30,0.6);
}
.section-image img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* PROCESO */
.proceso { text-align: center; }
.proceso-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }

.proceso-steps::before {
    content: ""; position: absolute; left: 9%; right: 9%; top: 38px;
    height: 1px; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); opacity: 0.7;
}

.step { position: relative; z-index: 1; padding: 0 12px; }
.step-number {
    width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%;
    border: 1px solid var(--gold); background: var(--navy); color: var(--gold-bright);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 34px; box-shadow: 0 0 25px rgba(200,169,107,0.14);
}
.step h3 { font-size: 22px; line-height: 1.15; margin-bottom: 12px; }

/* ESENCIA */
.esencia .cards-stack { display: grid; gap: 18px; }
.info-card h3 { font-size: 24px; margin-bottom: 10px; }

/* SOLUCIONES */
.soluciones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.solucion-card h3 { font-size: 27px; margin-bottom: 18px; }
.solucion-card ul, .legal-note ul { padding-left: 20px; color: var(--muted); }
.solucion-card li, .legal-note li { margin-bottom: 8px; }

.legal-note {
    margin-top: 34px; padding: 28px;
    border: 1px solid rgba(200,169,107,0.35); border-radius: 22px;
    background: rgba(3,10,22,0.58); color: var(--muted);
}
.legal-note h3 {
    color: var(--gold-bright); font-family: var(--serif);
    font-size: 26px; font-weight: 400; margin-bottom: 12px;
}

/* TABLA */
.table-wrap {
    overflow-x: auto; margin-top: 26px; border-radius: 16px; border: 1px solid rgba(200,169,107,0.28);
}
table { width: 100%; border-collapse: collapse; min-width: 680px; background: rgba(3,10,22,0.58); }
th, td { padding: 16px; border-bottom: 1px solid rgba(200,169,107,0.18); text-align: left; color: var(--muted); }
th { color: var(--gold-bright); background: rgba(200,169,107,0.08); }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-list details {
    border: 1px solid var(--line); border-radius: 18px;
    background: rgba(3,10,22,0.62); overflow: hidden;
}
.faq-list summary { cursor: pointer; color: var(--ivory); font-weight: 700; padding: 20px 24px; }
.faq-list p { padding: 0 24px 22px; color: var(--muted); }

/* CONTACTO Y FORMULARIO */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 14px 15px; border-radius: 12px;
    border: 1px solid rgba(200, 169, 107, 0.35); outline: none;
    background: rgba(0,0,0,0.24); color: var(--ivory); font-family: inherit;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.legal-check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; }
.legal-check input { width: auto; margin-top: 4px; }

/* FINAL CTA */
.final-cta {
    min-height: auto; padding: 70px 0;
    background: linear-gradient(90deg, rgba(200,169,107,0.16), rgba(3,10,22,0.78), rgba(200,169,107,0.16));
}
.final-cta-container { display: flex; align-items: center; justify-content: space-between; gap: 26px; }

/* FOOTER */
.footer { background: #01050d; padding: 58px 0 28px; }
.footer-grid {
    display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 26px;
    border-bottom: 1px solid rgba(200,169,107,0.18); padding-bottom: 32px;
}
.footer-logo { width: 210px; margin-bottom: 18px; }
.footer h3 { color: var(--gold-bright); font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 14px; }
.footer a, .footer p { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }

.legal-disclaimer {
    margin-top: 30px; max-height: 230px; overflow: auto;
    color: #aeb8c4; font-size: 13px; line-height: 1.55; padding-right: 12px;
}
.copyright { margin-top: 22px; color: #aeb8c4; font-size: 13px; }

/* CHAT - RESTAURADO CON EL LOGO DE NB */
#chat-float { position: fixed; bottom: 22px; right: 22px; display: flex; align-items: center; gap: 10px; z-index: 9999; }
.chat-tooltip {
    background: rgba(3,10,22,0.86); border: 1px solid rgba(200,169,107,0.25);
    color: var(--ivory); border-radius: 999px; padding: 8px 12px;
    font-size: 13px; box-shadow: 0 14px 35px rgba(0,0,0,0.32);
}
#chat-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid var(--gold-bright);
    background: #071426;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(241, 200, 120, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    padding: 8px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#chat-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(241, 200, 120, 0.55);
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .nav { padding: 14px 24px; }
    .nav-logo-wrap { width: 175px; }
    .nav-logo { width: 170px; }
    .nav-menu { gap: 18px; }
    .nav-menu a { font-size: 14px; }
    .hero-content { width: min(100% - 48px, 1180px); }
}

@media (max-width: 860px) {
    .lang-switch { display: flex; align-items: center; gap: 8px; margin-left: 18px; }
    .lang-btn {
        border: 1px solid rgba(200, 169, 107, 0.55); background: rgba(3, 12, 25, 0.72);
        color: var(--ivory); border-radius: 999px; padding: 7px 10px; font-size: 12px;
        font-weight: 700; cursor: pointer; line-height: 1;
    }
    .lang-btn.active, .lang-btn:hover { background: linear-gradient(135deg, #f3cf82, #c8a96b); color: #071426; border-color: var(--gold-bright); }
    .mobile-menu-btn { display: block; }

    .nav-menu {
        position: fixed; top: 82px; left: 16px; right: 16px; display: none;
        flex-direction: column; align-items: flex-start; background: rgba(2,8,20,0.96);
        border: 1px solid var(--line); border-radius: 18px; padding: 22px; backdrop-filter: blur(14px);
    }
    .nav-menu.open { display: flex; }

    .hero { padding-top: 140px; align-items: flex-start; }
    .hero-split { grid-template-columns: 1fr; gap: 50px; }
    .hero-visual { margin-top: 20px; }
    .hero-bg-image { opacity: 0.55; }

    .two-column, .proteccion-preview .two-column, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .pilares-grid, .soluciones-grid, .proceso-steps { grid-template-columns: 1fr; }
    .proceso-steps::before { display: none; }
    .final-cta-container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 30px, 1180px); }
    .nav { min-height: 78px; }
    .nav-logo, .nav-logo-wrap { width: 150px; }
    .hero-text h1 { font-size: 40px; }
    .hero-actions { flex-direction: column; }
    .primary-btn, .secondary-btn, .cta-btn { width: 100%; }
    .section { padding: 60px 0 80px; }
    .section-header h2, .section-text h2, .contacto-container h2, .final-cta-container h2 { font-size: 34px; }
}

.contact-info a { color: var(--gold-bright); font-weight: 700; }

.section.full-screen-section { min-height: auto; }

.section-disclaimer {
    margin: 38px auto 0; max-width: 940px; padding: 15px 18px;
    border-top: 1px solid rgba(200,169,107,0.25); color: #aeb8c4;
    font-size: 12.5px; line-height: 1.55; text-align: center;
}