:root {
    --bg: #030407;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --gold: #f59e0b;
    --text: #ffffff;
    --text-dim: #94a3b8;
    --glass: rgba(15, 23, 42, 0.6);
    --border: rgba(255, 255, 255, 0.1);
    font-size: 115%;
    /* Aumenta el texto un 15% globalmente */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mobile-nav-toggle {
    display: none;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    overflow-x: hidden;
    line-height: 1.5;
}

/* WOW EFFECT: Animated Nebula Background */
.nebula-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(147, 51, 234, 0.15) 0%, transparent 40%);
    z-index: -1;
    filter: blur(100px);
    animation: nebulaDrift 25s infinite alternate ease-in-out;
}

@keyframes nebulaDrift {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.3) translate(3%, 3%);
    }
}

.hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 100px 2rem 20px 2rem;
    position: relative;
}

.home-page .hero {
    min-height: 85vh;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.2;
    z-index: -1;
}

h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 1.4;
    /* Ampliado para evitar el corte de las g, p, y */
    letter-spacing: -3px;
    background: linear-gradient(to bottom, #fff 50%, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
    /* Ajustado para compensar el mayor line-height */
    padding-bottom: 20px;
    /* Margen de seguridad para descenders */
    animation: textEntrance 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes textEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

h3,
h4 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 2rem auto;
    /* Centrado horizontal y margen inferior reducido */
    font-weight: 300;
    text-align: center;
    /* Aseguramos que el texto esté centrado */
}

/* DIAMOND BUTTONS */
.cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    position: relative;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-primary {
    background: #fff;
    color: #000;
    box-shadow: 0 0 40px var(--accent-glow);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 60px var(--accent-glow);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* PROTOCOLO NEXUS BUTTON (NAV) */
.nav-protocolo-btn {
    position: relative;
    line-height: 1.1;
    text-align: center;
    padding: 12px 20px !important;
    border: 2px solid var(--gold) !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0) 100%) !important;
    color: var(--gold) !important;
    font-weight: 900 !important;
    font-size: 0.75rem !important;
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-protocolo-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--gold) !important;
    color: #000 !important;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

/* DIAMOND CARDS */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 10% 60px 10%;
    /* Reducido padding superior de 5% a 20px */
}

.pillar-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05));
    z-index: -1;
}

.pillar-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.15);
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 600;
}

.category-tag {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    /* Reducido de 15px */
    display: block;
    opacity: 0.8;
}

.pillar-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
}

.pillar-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}

.pillar-list li span {
    color: var(--gold);
    font-weight: 800;
    font-size: 0.8rem;
    min-width: 20px;
    opacity: 0.9;
}

.agents-section {
    padding: 100px 10%;
    text-align: center;
}

/* ELITE AGENTS CARDS */
.elite-agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.elite-agent-card {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.8) 0%, rgba(3, 4, 7, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 40px;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.elite-agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.elite-agent-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.2);
}

.elite-agent-card:hover::before {
    opacity: 1;
}

.elite-agent-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.5px;
}


.agent-library {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 80px;
}

.library-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 16px;
    text-align: left;
    transition: 0.3s;
}

.library-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
}

.custom-agent-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.02) 100%) !important;
    border: 1px dashed var(--accent) !important;
}

.custom-agent-card:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%) !important;
    border-style: solid !important;
}

.link-accent {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 20px;
    font-size: 0.9rem;
}

.inline-link-accent {
    display: inline !important;
    margin-top: 0 !important;
}

.section-subtitle {
    margin: 0 auto 50px auto;
    max-width: 700px;
}

.library-subtitle {
    margin: 0 auto 30px auto;
    max-width: 600px;
}

.mt-100 {
    margin-top: 100px;
    font-size: 2rem;
}


/* ESTILOS INLINE EXTRAIDOS AUTOMATICAMENTE */
.ch-inline-1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(10px);
}

.ch-inline-2 {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.ch-inline-3 {
    height: 40px;
}

.ch-inline-4 {
    color: #fff;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.ch-inline-5 {
    display: flex;
    gap: 30px;
    align-items: center;
}

.ch-inline-6 {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.ch-inline-7 {
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    text-decoration: none;
    color: #fff;
}

.ch-inline-8 {
    text-align: center;
    padding: 100px 5% 50px 5%;
    overflow: hidden;
}

.ch-inline-9 {
    padding: 100px 10% 50px 10%;
    background: #010101;
    border-top: 1px solid var(--border);
}

.ch-inline-10 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
}

.ch-inline-11 {
    height: 50px;
    margin-bottom: 20px;
}

.ch-inline-12 {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.ch-inline-13 {
    margin-bottom: 20px;
}

.ch-inline-14 {
    list-style: none;
    padding: 0;
}

.ch-inline-15 {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
}

.ch-inline-16 {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.ch-inline-17 {
    margin-top: 3rem;
}

.ch-inline-18 {
    width: 100%;
}

.ch-inline-19 {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.ch-inline-20 {
    color: #6366f1;
}

.ch-inline-21 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ch-inline-22 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.ch-inline-23 {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.ch-inline-24 {
    display: block;
    color: #64748b;
}

.ch-inline-25 {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.ch-inline-26 {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 500;
}

.ch-inline-27 {
    margin-top: 1rem;
}

.ch-inline-28 {
    text-align: center;
    /* Cambiado de left a center */
    max-width: 800px;
    margin: 20px auto;
    padding: 40px;
}

.ch-inline-29 {
    color: var(--accent);
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.ch-inline-30 {
    margin-top: 80px;
}

.ch-inline-31 {
    grid-column: span 1;
    text-align: left;
}

.ch-inline-32 {
    color: var(--gold);
    font-size: 1.15em;
}

.ch-inline-33 {
    list-style: none;
    padding: 0;
    color: var(--text-dim);
}

.ch-inline-34 {
    margin-bottom: 10px;
}

.ch-inline-35 {
    color: var(--accent);
}

.ch-inline-36 {
    color: var(--accent);
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.4;
}

.ch-inline-37 {
    padding-top: 100px;
    padding-bottom: 20px;
}

.ch-inline-38 {
    text-align: center;
    /* Cambiado de left a center */
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.ch-inline-39 {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
}

.ch-inline-40 {
    color: var(--text-dim);
}

.ch-inline-41 {
    color: var(--gold);
    margin-top: 40px;
    font-size: 1.15em;
}

.ch-inline-42 {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.ch-inline-43 {
    color: var(--text);
    margin-bottom: 10px;
}

.ch-inline-44 {
    color: var(--text);
}

.ch-inline-45 {
    color: var(--accent);
    margin-top: 40px;
}

.ch-inline-46 {
    color: var(--text-dim);
    margin-left: 20px;
    margin-bottom: 20px;
}

.ch-inline-47 {
    padding-top: 0;
}

.ch-inline-48 {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ch-inline-49 {
    margin-bottom: 25px;
}

.ch-inline-50 {
    display: block;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ch-inline-51 {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #fff;
    border-radius: 8px;
}

.ch-inline-52 {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #fff;
    border-radius: 8px;
    height: 120px;
}

.ch-inline-53 {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.ch-inline-54 {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.diamond-info-panel {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    padding: 0;
    background: transparent;
    border: none;
    text-align: left;
    transition: opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

.diamond-info-panel h4 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

#infoDesc {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 4px;
}

.word-fade {
    opacity: 0;
    transform: translateY(10px);
    display: inline-block;
    animation: wordEntrance 0.3s forwards ease-out;
}

@keyframes wordEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.diamond-info-panel.active {
    opacity: 1;
}

/* Solo las caras de abajo activarán esto por JS */
.d-bottom {
    cursor: help;
}

/* EXTRACTED ONLINE STYLES */
.ch-sys-style-6eb4b6 {
    color: var(--accent);
}

.ch-sys-style-7f21a3 {
    margin: 0 auto;
    max-width: 700px;
}

.ch-sys-style-ebbe83 {
    color: #22c55e;
    border-color: #22c55e;
}

.ch-sys-style-9187cf {
    color: #f97316;
    border-color: #f97316;
}

.ch-sys-style-50d2ea {
    color: #ef4444;
    border-color: #ef4444;
}

.ch-sys-style-408788 {
    margin-top: 60px;
}

.ch-sys-style-3ef8b6 {
    font-size: 1.1rem;
    padding: 18px 40px;
}

.ch-sys-style-a1e3cb {
    color: var(--text);
    font-weight: 700;
}

.ch-sys-style-cd6317 {
    padding-bottom: 40px;
}

.ch-sys-style-c42e0e {
    margin-bottom: 0;
}

.ch-sys-style-a299fd {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.ch-sys-style-b23eaa {
    max-width: 700px;
    margin: 0 auto 30px;
}

.ch-sys-style-138f8f {
    margin-bottom: 70px;
}

.ch-sys-style-2d7ba6 {
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--ventas);
}

.ch-sys-style-539b04 {
    text-align: center;
}

.ch-sys-style-3ebf35 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.ch-sys-style-4dfa3c {
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--docuai);
}

.ch-sys-style-e0f22c {
    --agent-color: #10b981;
    --agent-color-rgb: 16, 185, 129;
}

.ch-sys-style-f7485c {
    --agent-color: #f59e0b;
    --agent-color-rgb: 245, 158, 11;
}

.ch-sys-style-a4aff2 {
    --agent-color: #8b5cf6;
    --agent-color-rgb: 139, 92, 246;
}

.ch-sys-style-3db9f3 {
    --agent-color: #06b6d4;
    --agent-color-rgb: 6, 182, 212;
}

.ch-sys-style-df3721 {
    --agent-color: #6366f1;
    --agent-color-rgb: 99, 102, 241;
}

.ch-sys-style-fcde98 {
    --agent-color: #3b82f6;
    --agent-color-rgb: 59, 130, 246;
}

.ch-sys-style-72a65e {
    --agent-color: #f97316;
    --agent-color-rgb: 249, 115, 22;
}

.ch-sys-style-5cdef7 {
    --agent-color: #22c55e;
    --agent-color-rgb: 34, 197, 94;
}

.ch-sys-style-3b9493 {
    --agent-color: #ef4444;
    --agent-color-rgb: 239, 68, 68;
}

.ch-sys-style-756a49 {
    --agent-color: #eab308;
    --agent-color-rgb: 234, 179, 8;
}

.ch-sys-style-48dd33 {
    background: rgba(0, 0, 0, 0.2);
}

.ch-sys-style-b0ef7c {
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.ch-sys-style-3589fa {
    --severity-color: #ef4444;
}

.ch-sys-style-a22cac {
    --severity-color: #f97316;
}

.ch-sys-style-3874f1 {
    --severity-color: #eab308;
}

.ch-sys-style-84601c {
    --severity-color: #3b82f6;
}

.ch-sys-style-6d8d26 {
    border-color: rgba(239, 68, 68, 0.4);
}

.ch-sys-style-25cb8a {
    color: #ef4444;
}

.ch-sys-style-57d186 {
    border-color: rgba(249, 115, 22, 0.4);
}

.ch-sys-style-aae1e5 {
    color: #f97316;
}

.ch-sys-style-31ef59 {
    border-color: rgba(234, 179, 8, 0.4);
}

.ch-sys-style-4005eb {
    color: #eab308;
}

.ch-sys-style-5e6e41 {
    border-color: rgba(34, 197, 94, 0.4);
}

.ch-sys-style-aefb34 {
    color: #22c55e;
}

.ch-sys-style-f4db89 {
    color: var(--text-dim);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.ch-sys-style-642258 {
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* RESPONSIVE DESIGN SYSTEM */
@media (max-width: 1024px) {
    header {
        padding: 0 5%;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 5%;
    }

    body {
        font-size: 15px;
    }

    header {
        height: 70px;
    }

    /* Mobile Menu Toggle (Checkbox Hack) */
    .mobile-nav-toggle {
        display: block !important;
        cursor: pointer;
        z-index: 1001;
    }

    .ch-inline-5 {
        display: none;
        /* Hide by default on mobile */
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full width for better experience on mobile */
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        margin: 0;
    }

    #menu-toggle:checked~.ch-inline-5 {
        display: flex;
        right: 0;
    }

    /* Hamburger Icon Style */
    .mobile-nav-toggle .hamburger,
    .mobile-nav-toggle .hamburger::before,
    .mobile-nav-toggle .hamburger::after {
        width: 25px;
        height: 2px;
        background: var(--dark);
        display: block;
        transition: 0.3s;
        position: relative;
    }

    /* Override color for pages with dark headers / home */
    .home-page .mobile-nav-toggle .hamburger,
    .home-page .mobile-nav-toggle .hamburger::before,
    .home-page .mobile-nav-toggle .hamburger::after,
    .nebula-bg+.ch-inline-1 .mobile-nav-toggle .hamburger,
    .nebula-bg+.ch-inline-1 .mobile-nav-toggle .hamburger::before,
    .nebula-bg+.ch-inline-1 .mobile-nav-toggle .hamburger::after {
        background: #fff;
    }

    .mobile-nav-toggle .hamburger::before,
    .mobile-nav-toggle .hamburger::after {
        content: '';
        position: absolute;
    }

    .mobile-nav-toggle .hamburger::before {
        top: -8px;
    }

    .mobile-nav-toggle .hamburger::after {
        bottom: -8px;
    }

    #menu-toggle:checked~.mobile-nav-toggle .hamburger {
        background: transparent;
    }

    #menu-toggle:checked~.mobile-nav-toggle .hamburger::before {
        transform: rotate(45deg);
        top: 0;
        background: #fff;
    }

    #menu-toggle:checked~.mobile-nav-toggle .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
        background: #fff;
    }


    .ch-inline-6 {
        font-size: 1.2rem;
    }

    .nav-protocolo-btn {
        width: 80%;
        text-align: center;
        padding: 15px !important;
    }

    /* Hero Responsive */
    .hero {
        padding: 120px 5% 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Grids Responsive */
    .grid-3,
    .grid-2,
    .agents-grid,
    .features-grid,
    .usecases-grid,
    .sectors-grid,
    .metrics-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Sections */
    section {
        padding: var(--section-padding) !important;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Footer */
    footer .ch-inline-13 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    footer .ch-inline-14 {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}
/* DIAMOND QUICK NAV PANEL */
.diamond-quick-nav {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 20;
}
.diamond-scene:hover .diamond-quick-nav {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}
.diamond-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 18px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.4);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.diamond-nav-btn:hover {
    background: rgba(0, 168, 255, 0.25);
    border-color: rgba(0, 168, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 168, 255, 0.3);
}
.diamond-nav-btn strong {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00a8ff;
}
.diamond-nav-btn small {
    font-size: 0.6rem;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 1px;
}
