.empresa-page { font-family: var(--font-mono); }
.empresa-page {
    --theme-scrollbar-thumb: var(--gold-medium);
    scrollbar-color: var(--gold-medium) var(--theme-bg-0);
    scrollbar-width: thin;
}

html:has(body.theme-gold) {
    --scrollbar-track: #050505;
    --scrollbar-thumb: #d4af37;
    --scrollbar-thumb-hover: #f4d03f;
}

html:has(body.theme-green) {
    --scrollbar-track: #060807;
    --scrollbar-thumb: #36f5b2;
    --scrollbar-thumb-hover: #d6c08d;
}

html:has(body.theme-cyan) {
    --scrollbar-track: #061014;
    --scrollbar-thumb: #34d9ff;
    --scrollbar-thumb-hover: #5eead4;
}

html:has(body.theme-violet) {
    --scrollbar-track: #050509;
    --scrollbar-thumb: #a78bfa;
    --scrollbar-thumb-hover: #7c3aed;
}

html:has(body.theme-light-tech) {
    --scrollbar-track: #ffffff;
    --scrollbar-thumb: #00b7d8;
    --scrollbar-thumb-hover: #ff7a1a;
}

html:has(body.theme-light-neon) {
    --scrollbar-track: #ffffff;
    --scrollbar-thumb: #0066ff;
    --scrollbar-thumb-hover: #8b5cf6;
}

html:has(body.empresa-page) {
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

html { scrollbar-width: thin; }

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border: 2px solid var(--scrollbar-track);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

.empresa-page::-webkit-scrollbar {
    width: 10px;
}

.empresa-page::-webkit-scrollbar-track {
    background: var(--theme-bg-0);
}

.empresa-page::-webkit-scrollbar-thumb {
    background: var(--theme-scrollbar-thumb);
    border: 2px solid var(--theme-bg-0);
    border-radius: 8px;
}

.empresa-page::-webkit-scrollbar-thumb:hover {
    background: var(--theme-primary-bg);
}

.empresa-page .site-header { background: rgba(var(--theme-header-rgb, 5, 5, 5), 0.96); border-bottom-color: var(--gold-medium); box-shadow: var(--theme-header-shadow); }
        .empresa-page h1, .empresa-page h2, .empresa-page h3 { font-family: "Cinzel", serif; font-weight: 700; letter-spacing: 0.02em; }
        .empresa-page .header-content { max-width: 1320px; padding: 0.62rem 1.5rem; }
        .empresa-page .header-nav { gap: clamp(0.55rem, 1vw, 0.95rem); justify-content: flex-end; align-items: center; }
        .empresa-page .nav-link { font-size: 0.7rem; letter-spacing: 0.07em; }
        .empresa-page .nav-link-muted { opacity: 0.78; }
        .empresa-page .header-logo { line-height: 1; }
        .empresa-page .brand-logo-mark { font-size: clamp(1.7rem, 2.4vw, 2.35rem); line-height: 0.92; }
        .empresa-page .brand-logo-word { font-size: clamp(0.68rem, 1vw, 0.92rem); letter-spacing: 0.24em; }

/* Dropdown Menu Styles */
.nav-dropdown { position: relative; display: flex; align-items: center; }

.dropdown-toggle { 
    font-size: 0.7rem !important;
    letter-spacing: 0.07em !important;
    font-family: var(--font-mono) !important;
    font-weight: 400 !important;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.6em;
    margin-left: 0.4em;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--theme-modal-bg, #0a0a0a);
    border: 1px solid var(--gold-medium);
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 190px;
    padding: 0.35rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.theme-light-tech .dropdown-menu,
.theme-light-neon .dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--theme-primary-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

@media (hover: hover) and (min-width: 769px) {
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: left;
    color: var(--color-gray-light);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(184, 148, 31, 0.1);
    color: var(--gold-medium);
}

@media (max-width: 768px) {
    .empresa-page .site-header {
        left: 0;
        right: 0;
        width: auto;
    }

    .empresa-page .header-content {
        padding: 0.55rem 1rem;
    }

    .empresa-page .brand-logo-mark {
        font-size: 1.65rem;
    }

    .empresa-page .brand-logo-word {
        font-size: 0.62rem;
        letter-spacing: 0.18em;
    }

    .empresa-page .menu-toggle {
        min-height: 42px;
        min-width: 42px;
    }

    .empresa-page .header-nav {
        align-items: stretch;
        gap: 0;
        justify-content: flex-start;
        max-height: calc(100dvh - 62px);
        max-width: 100vw;
        overflow-x: hidden;
        overflow-y: auto;
        text-align: left;
        width: calc(100% + 2.5rem);
    }

    .empresa-page .header-nav > .nav-link,
    .empresa-page .header-nav > .nav-dropdown,
    .empresa-page .header-nav > .lang-switch {
        align-self: stretch;
        margin-left: 0;
        text-align: left;
        width: 100%;
    }

    .empresa-page .header-nav .nav-link,
    .empresa-page .dropdown-toggle,
    .empresa-page .dropdown-item {
        align-items: center;
        display: flex;
        justify-content: flex-start;
        min-height: 42px;
        padding: 0.62rem 0;
        text-align: left;
    }

    .empresa-page .header-nav > .nav-link,
    .empresa-page .dropdown-toggle,
    .empresa-page .lang-switch {
        border-top: 1px solid var(--theme-border-soft);
    }

    .nav-dropdown {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        right: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-top: 1px solid rgba(184, 148, 31, 0.2);
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 1rem;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease, padding 0.25s ease;
    }

    .nav-dropdown:not(.active) .dropdown-menu {
        max-height: 0 !important;
        padding-bottom: 0;
        padding-top: 0;
    }
    
    .nav-dropdown.active .dropdown-menu {
        padding-bottom: 0.35rem;
        padding-top: 0.35rem;
        max-height: 300px;
    }
    
    .dropdown-item {
        color: var(--color-gray-medium);
        min-height: 38px;
        padding: 0.52rem 0;
    }

    .lang-switch {
        display: inline-flex;
        justify-content: flex-start;
        min-height: 48px;
        padding: 0.85rem 0;
    }
    
    .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}
.empresa-page .nav-link { font-size: 0.78rem; letter-spacing: 0.08em; }

.empresa-page button.nav-link {
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.theme-dock {
    align-items: flex-start;
    display: flex;
    gap: 0.65rem;
    left: 0;
    position: fixed;
    top: 42%;
    transform: translateY(-50%);
    z-index: 4200;
}

.theme-dock-toggle {
    align-items: center;
    background: var(--theme-modal-bg);
    border: 1px solid var(--theme-modal-border);
    border-left: 0;
    box-shadow: 0 12px 30px var(--theme-modal-shadow);
    color: var(--theme-modal-text);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font: inherit;
    gap: 0.35rem;
    letter-spacing: 0.12em;
    min-height: 78px;
    padding: 0.7rem 0.42rem;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.theme-dock-icon {
    background: var(--theme-primary-bg);
    border-radius: 999px;
    box-shadow: 0 0 18px var(--theme-glow-strong);
    display: block;
    height: 13px;
    width: 13px;
}

.theme-dock-label {
    font-size: 0.62rem;
    font-weight: 700;
}

.theme-dock-panel {
    background: var(--theme-modal-bg);
    border: 1px solid var(--theme-modal-border);
    box-shadow: 0 18px 55px var(--theme-modal-shadow), 0 0 30px var(--theme-glow);
    color: var(--theme-modal-text);
    min-width: 178px;
    padding: 0.85rem;
}

.theme-dock-title {
    color: var(--gold-medium);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.theme-choice {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    color: var(--theme-modal-muted);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 0.78rem;
    gap: 0.55rem;
    padding: 0.48rem;
    text-align: left;
    width: 100%;
}

.theme-choice:hover,
.theme-choice.active {
    border-color: var(--theme-border-soft);
    color: var(--theme-modal-text);
}

.theme-swatch {
    border: 1px solid var(--theme-border-soft);
    border-radius: 999px;
    display: block;
    flex: 0 0 auto;
    height: 18px;
    width: 18px;
}

.swatch-light-tech { background: linear-gradient(135deg, #ffffff 0 35%, #ff7a1a 36% 68%, #00b7d8 69%); }
.swatch-light-neon { background: linear-gradient(135deg, #ffffff 0 35%, #0066ff 36% 68%, #8b5cf6 69%); }
.swatch-watermelon { background: linear-gradient(135deg, #ffffff 0 35%, #ff6b81 36% 68%, #2ecc71 69%); }
.swatch-cyber-silver { background: linear-gradient(135deg, #f8fafc 0 35%, #94a3b8 36% 68%, #0284c7 69%); }
.swatch-gold { background: linear-gradient(135deg, #050505 0 35%, #d4af37 36% 68%, #f4d03f 69%); }
.swatch-green { background: linear-gradient(135deg, #060807 0 35%, #36f5b2 36% 68%, #d6c08d 69%); }
.swatch-cyan { background: linear-gradient(135deg, #061014 0 35%, #34d9ff 36% 68%, #5eead4 69%); }
.swatch-violet { background: linear-gradient(135deg, #050509 0 35%, #7c3aed 36% 68%, #a78bfa 69%); }

.empresa-page .header-logo {
    align-items: flex-start;
    display: flex;
    overflow: visible;
}

.brand-logo {
    align-items: baseline;
    color: var(--theme-text);
    display: inline-flex;
    font-family: "Cinzel", serif;
    gap: 0.4rem;
    line-height: 1.15;
    overflow: visible;
    padding: 0.18rem 0;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-logo-mark {
    background: var(--theme-primary-bg);
    background-clip: text;
    color: transparent;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
    padding: 0.08em 0.03em 0.12em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px var(--theme-glow-strong));
}

.brand-logo-word {
    color: var(--theme-text);
    font-size: clamp(0.9rem, 1.6vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.18em;
}

.brand-logo-header {
    align-items: center;
}

.brand-logo-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.brand-logo-footer .brand-logo-mark {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.brand-logo-footer .brand-logo-word {
    margin-top: -0.3rem;
}

.brand-logo-signature {
    color: var(--gold-medium);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.3;
}

.hero-title-accent {
    color: var(--gold-medium);
    font-size: 0.7em;
}
        
        .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
        .fade-in.visible { opacity: 1; transform: translateY(0); }
        .fade-in-delay-1 { transition-delay: 0.1s; }
        .fade-in-delay-2 { transition-delay: 0.2s; }
        .fade-in-delay-3 { transition-delay: 0.3s; }
        .fade-in-delay-4 { transition-delay: 0.4s; }
        .fade-in-delay-5 { transition-delay: 0.5s; }
        .fade-in-delay-6 { transition-delay: 0.6s; }
        
        .parallax-bg { position: absolute; top: 0; left: 0; width: 100%; height: 120%; background: radial-gradient(circle at 20% 30%, rgba(var(--theme-accent-rgb), 0.06) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(var(--theme-accent-rgb), 0.04) 0%, transparent 50%); pointer-events: none; z-index: 0; }
        
        .empresa-hero { padding-top: calc(72px + 2.6rem); padding-bottom: 4rem; text-align: center; background: linear-gradient(180deg, var(--theme-bg-0) 0%, var(--theme-bg-1) 100%); position: relative; overflow: hidden; isolation: isolate; }
        .empresa-hero::before,
        .empresa-hero::after {
            content: '';
            inset: 0;
            pointer-events: none;
            position: absolute;
            z-index: 0;
        }
        .empresa-hero::before {
            background:
                linear-gradient(90deg, rgba(var(--theme-accent-rgb), 0.14) 1px, transparent 1px),
                linear-gradient(180deg, rgba(var(--theme-accent-rgb), 0.09) 1px, transparent 1px),
                linear-gradient(115deg, transparent 0%, transparent 42%, rgba(var(--theme-accent-rgb), 0.12) 49%, transparent 56%, transparent 100%);
            background-size: 72px 72px, 72px 72px, 180% 180%;
            mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 72%, transparent 100%);
            opacity: 0.42;
            transform: perspective(900px) rotateX(58deg) translateY(-22%);
            transform-origin: top center;
        }
        .empresa-hero::after {
            background:
                linear-gradient(120deg, transparent 8%, rgba(var(--theme-accent-rgb), 0.1) 32%, transparent 58%),
                linear-gradient(180deg, transparent 0%, rgba(var(--theme-accent-rgb), 0.08) 100%);
            mix-blend-mode: screen;
            opacity: 0.34;
            transform: none;
        }
        .empresa-hero > *:not(.parallax-bg) { position: relative; z-index: 1; }
        .empresa-hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.45rem); line-height: 1.08; max-width: 980px; margin: 0 auto 1.35rem; color: var(--theme-text); }
        .empresa-hero .hero-intro { max-width: 760px; margin: 0 auto 1.85rem; font-size: 1rem; line-height: 1.65; color: var(--color-gray-light); }
        
        .empresa-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
        .empresa-pillar { border: 1px solid var(--theme-border); background: var(--theme-panel-strong); padding: 2.5rem; text-align: left; transition: all 0.3s ease; }
        .empresa-pillar:hover { border-color: var(--gold-medium); box-shadow: 0 8px 32px var(--theme-glow); transform: translateY(-4px); }
        .empresa-pillar strong { display: block; color: var(--gold-medium); font-family: "Cinzel", serif; font-size: 1.3rem; margin-bottom: 0.75rem; }
        .empresa-pillar span { color: var(--color-gray-medium); font-family: var(--font-mono); font-size: 0.9rem; line-height: 1.6; }
        
        .section-alt { background: linear-gradient(180deg, var(--theme-bg-1) 0%, var(--theme-bg-2) 50%, var(--theme-bg-1) 100%); }
        .section-dark { background: linear-gradient(180deg, var(--theme-bg-0) 0%, var(--theme-bg-1) 100%); }
        .section-warm { background: linear-gradient(180deg, var(--theme-bg-warm) 0%, var(--theme-bg-warm-2) 50%, var(--theme-bg-warm) 100%); }
        
.empresa-section { padding: 6rem 2rem; position: relative; }
.empresa-section.section-compact { padding: 4rem 2rem; }
.empresa-section.section-spacious { padding: 6rem 2rem; }
.section-overflow-hidden { overflow: hidden; }
.empresa-section-inner { max-width: 1200px; margin: 0 auto; }
.empresa-section-header { text-align: center; margin-bottom: 4rem; }
.empresa-section-header.section-header-tight { margin-bottom: 3rem; }
        .empresa-section-header .info-page-kicker { color: var(--gold-medium); font-family: var(--font-mono); font-size: clamp(0.86rem, 1.1vw, 1rem); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
        .empresa-section-header h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; color: var(--theme-text); }
        .empresa-section-header p { max-width: 700px; margin: 0 auto; color: var(--color-gray-medium); font-size: 1rem; line-height: 1.7; }
        
        .timeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
        .timeline-card { border: 1px solid var(--theme-border-soft); background: var(--theme-panel); padding: 2rem; transition: all 0.3s ease; }
        .timeline-card:hover { border-color: var(--gold-medium); box-shadow: 0 8px 32px var(--theme-glow); transform: translateY(-4px); }
        .timeline-card .phase-label { color: var(--gold-medium); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
        .timeline-card h3 { font-family: "Cinzel", serif; font-size: 1.35rem; margin-bottom: 1rem; color: var(--theme-text); }
        .timeline-card p { color: var(--color-gray-medium); font-size: 0.9rem; line-height: 1.65; }
        
        .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
        .value-card { border-left: 3px solid var(--gold-medium); background: var(--theme-panel); padding: 2rem; transition: all 0.3s ease; }
        .value-card:hover { background: rgba(var(--theme-accent-rgb), 0.05); transform: translateX(4px); }
        .value-card h3 { font-family: "Cinzel", serif; font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--gold-medium); }
        .value-card p { color: var(--color-gray-light); font-size: 0.9rem; line-height: 1.65; }
        
        .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
        .team-card { border: 1px solid var(--theme-border-soft); background: var(--theme-panel); padding: 2rem; text-align: center; transition: all 0.3s ease; }
        .team-card:hover { border-color: var(--gold-medium); box-shadow: 0 8px 32px var(--theme-glow); transform: translateY(-4px); }
.team-card .role-label { color: var(--gold-medium); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.team-card h3 { font-family: "Cinzel", serif; font-size: 1.3rem; margin-bottom: 1rem; color: var(--theme-text); }
.team-card p { color: var(--color-gray-medium); font-size: 0.85rem; line-height: 1.6; }
.team-recruiting { text-align: center; margin-top: 3rem; }
.team-recruiting-text { color: var(--gold-medium); margin-bottom: 1.5rem; font-weight: 600; }
        
        .tech-carousel-wrapper { overflow: hidden; width: 100%; position: relative; }
        .tech-carousel-track { display: flex; gap: 2rem; animation: scroll-carousel 30s linear infinite; width: max-content; }
        .tech-carousel-track:hover { animation-play-state: paused; }
        @keyframes scroll-carousel { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .tech-item { border: 1px solid var(--theme-border-soft); background: var(--theme-panel-soft); padding: 1rem 2rem; white-space: nowrap; transition: all 0.3s ease; cursor: default; }
        .tech-item:hover { border-color: var(--gold-medium); box-shadow: 0 0 20px var(--theme-glow-strong); transform: scale(1.05); }
        .tech-item span { color: var(--color-gray-light); font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; }
        
        .founder-card { display: flex; gap: 2rem; border: 1px solid var(--theme-border-soft); background: var(--theme-panel-soft); padding: 2.5rem; transition: all 0.3s ease; }
        .founder-card:hover { border-color: var(--gold-medium); box-shadow: 0 12px 48px var(--theme-glow); }
        .founder-avatar { flex-shrink: 0; width: 140px; height: 140px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold-medium); box-shadow: 0 0 20px var(--theme-glow-strong); }
        .founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .founder-info { flex: 1; }
        .founder-role { color: var(--gold-medium); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.5rem; }
        .founder-info h3 { font-family: "Cinzel", serif; font-size: 1.8rem; margin-bottom: 1rem; color: var(--theme-text); }
        .founder-bio { color: var(--color-gray-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
        .founder-quote { border-left: 3px solid var(--gold-medium); padding-left: 1rem; margin: 1.5rem 0; font-style: italic; color: var(--color-gray-medium); font-size: 0.95rem; line-height: 1.7; }
.founder-philosophy { color: var(--color-gold-primary); font-size: 0.85rem; font-weight: 600; margin-top: 1rem; }
.founders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 3rem; margin-top: 4rem; }

.solutions-callout { text-align: center; max-width: 700px; margin: 0 auto; }
.solutions-title { margin-bottom: 1rem; }
.solutions-copy { color: var(--color-gray-medium); margin-bottom: 2rem; }
        
        .faq-section { padding: 6rem 2rem; background: linear-gradient(180deg, var(--theme-bg-warm) 0%, var(--theme-bg-0) 100%); }
        .faq-container { max-width: 800px; margin: 0 auto; }
        .faq-item { border-bottom: 1px solid var(--theme-border-soft); }
        .faq-question {
            width: 100%;
            padding: 1.5rem 0;
            background: none;
            border: none;
            color: var(--theme-text);
            font-family: "Cinzel", serif;
            font-size: 1.1rem;
            text-align: left;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: color 0.3s ease;
        }
        .faq-question:hover { color: var(--gold-medium); }
        .faq-question::after {
            content: '+';
            font-size: 1.5rem;
            color: var(--gold-medium);
            transition: transform 0.3s ease;
        }
        .faq-item.active .faq-question::after { content: '-'; }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s ease;
            color: var(--color-gray-medium);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.active .faq-answer { max-height: 300px; padding-bottom: 1.5rem; }
        
        @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 0.8; } }
        
        .btn-primary { align-items: center; display: inline-flex; justify-content: center; line-height: 1.35; min-height: 48px; padding: 0.9rem 1.8rem; background: var(--theme-primary-bg); color: var(--theme-primary-text); font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; letter-spacing: -0.5pt; text-align: center; text-decoration: none; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; }
        .btn-primary::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; background: var(--theme-primary-hover-bg); transition: height 0.3s ease; z-index: -1; }
        .btn-primary:hover { color: var(--theme-primary-text); box-shadow: 0 0 25px var(--gold-glow), 0 0 50px var(--theme-glow-strong); transform: translateY(-2px); }
        .btn-primary:hover::before { height: 100%; }
        
        .btn-secondary { align-items: center; display: inline-flex; justify-content: center; line-height: 1.35; min-height: 48px; padding: 0.9rem 1.8rem; background: transparent; color: var(--theme-secondary-text); font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; letter-spacing: -0.5pt; text-align: center; text-decoration: none; text-transform: uppercase; border: 1px solid var(--theme-secondary-text); cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; }
        .btn-secondary::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; background: var(--theme-secondary-hover-bg); transition: height 0.3s ease; z-index: -1; }
        .btn-secondary:hover { color: var(--theme-secondary-hover-text); border-color: var(--gold-bright); box-shadow: 0 0 25px var(--gold-glow), 0 0 50px var(--theme-glow-strong); transform: translateY(-2px); }
        .btn-secondary:hover::before { height: 100%; }
        .btn-primary:disabled,
        .btn-secondary:disabled { cursor: not-allowed; opacity: 0.45; transform: none; }
        .btn-primary:disabled:hover,
        .btn-secondary:disabled:hover { box-shadow: none; transform: none; }
        .btn-primary:disabled::before,
        .btn-secondary:disabled::before { height: 0; }
        
        .protocolo-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border: 2px solid var(--gold-medium);
            background: linear-gradient(135deg, rgba(var(--theme-accent-rgb), 0.15), rgba(var(--theme-accent-rgb), 0.05));
            border-radius: 4px;
            margin-bottom: 1.5rem;
        }
        
        .protocolo-badge .badge-dot {
            width: 8px;
            height: 8px;
            background: var(--theme-signal);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--theme-signal);
        }
        
        .protocolo-badge span {
            color: var(--gold-medium);
            font-family: var(--font-mono);
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }
        
        .card-icon {
            width: 40px;
            height: 40px;
            margin-bottom: 1rem;
            color: var(--gold-medium);
        }
        
        .timeline-connector {
            position: relative;
        }
        
        .timeline-connector::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -1.5rem;
            width: 2px;
            height: 1.5rem;
            background: linear-gradient(to bottom, var(--gold-medium), transparent);
            transform: translateX(-50%);
        }
        
        .timeline-card:last-child .timeline-connector::after {
            display: none;
        }
        
        @media (max-width: 768px) {
            .empresa-hero { padding-top: 5.75rem; padding-bottom: 2.75rem; }
            .empresa-section { padding: 4rem 1.5rem; }
            .empresa-pillars, .timeline-grid, .values-grid, .team-grid { grid-template-columns: 1fr; }
            .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
            .founders-grid { gap: 1.5rem; }
            .founder-card { flex-direction: column; align-items: center; padding: 1.5rem; text-align: center; }
            .founder-quote { border-left: none; border-top: 3px solid var(--gold-medium); padding-left: 0; padding-top: 1rem; }
            .timeline-connector::after { display: none; }
        }

        #inicio,
        #o-que-fazemos,
        #empresas-em-expansao,
        #historia,
        #valores,
        #equipe,
        #tecnologias,
        #plataforma,
        #technology-stack,
        #tese,
        #avaliacao,
        #portfolio,
        #area-social,
        #prova,
        #protocolo,
        #empresa,
        #fundadores,
        #solucoes,
        #faq,
        #contato {
            scroll-margin-top: 0;
        }

        @media (max-width: 768px) {
            #inicio,
            #o-que-fazemos,
            #empresas-em-expansao,
            #historia,
            #valores,
            #equipe,
            #tecnologias,
            #plataforma,
            #technology-stack,
            #tese,
            #avaliacao,
            #portfolio,
            #area-social,
            #prova,
            #protocolo,
            #empresa,
            #fundadores,
            #solucoes,
            #faq,
            #contato {
                scroll-margin-top: 0;
            }
        }

.hero-actions,
.section-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.empresa-hero .hero-actions {
    margin-bottom: clamp(2.25rem, 4.5vw, 3.6rem);
}

.feature-grid,
.tool-grid,
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

#portfolio .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.what-we-do-section {
    border-top: 1px solid var(--theme-border-soft);
}

.what-we-do-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.what-we-do-grid .feature-card {
    padding: 1.65rem;
}

.what-we-do-grid .feature-card span {
    color: var(--gold-medium);
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 0.9rem;
}

.platform-section {
    border-bottom: 1px solid var(--theme-border-soft);
    border-top: 1px solid var(--theme-border-soft);
}

.platform-flow {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2rem;
}

.platform-step {
    background: var(--theme-panel);
    border: 1px solid var(--theme-border-soft);
    color: var(--theme-text);
    padding: 1.6rem;
    text-align: left;
}

.platform-step span,
.platform-label {
    color: var(--gold-medium);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.platform-step h3 {
    color: var(--theme-text);
    font-family: "Cinzel", serif;
    font-size: 1.2rem;
    line-height: 1.35;
    margin: 0.85rem 0 0.7rem;
}

.platform-step p,
.platform-contrast p {
    color: var(--color-gray-medium);
    font-size: 0.9rem;
    line-height: 1.65;
}

.platform-contrast {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.platform-contrast > div {
    background: var(--theme-panel-strong);
    border: 1px solid var(--theme-border-soft);
    padding: 1.6rem;
    text-align: left;
}

.platform-label {
    margin-bottom: 0.65rem;
}

.technology-stack-section {
    border-bottom: 1px solid var(--theme-border-soft);
}

.target-business-section {
    border-bottom: 1px solid var(--theme-border-soft);
    border-top: 1px solid var(--theme-border-soft);
}

.target-business-grid .feature-card {
    min-height: 100%;
}

.target-business-note {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.target-business-note p {
    background: var(--theme-panel-strong);
    border: 1px solid var(--theme-border-soft);
    color: var(--color-gray-medium);
    font-size: 0.92rem;
    line-height: 1.65;
    padding: 1.25rem;
}

.target-business-note strong {
    color: var(--theme-text);
}

.technology-stack-grid .feature-card {
    min-height: 100%;
}

.technology-stack-flow {
    background: var(--theme-panel-strong);
    border: 1px solid var(--theme-border-soft);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 1.5rem;
    padding: 1rem;
}

.technology-stack-flow span {
    align-items: center;
    background: var(--theme-panel);
    border: 1px solid var(--theme-border-soft);
    color: var(--theme-text);
    display: flex;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.08em;
    line-height: 1.45;
    min-height: 64px;
    padding: 0.75rem;
    text-align: center;
    text-transform: uppercase;
}

.thesis-band {
    border-bottom: 1px solid var(--theme-border-soft);
    border-top: 1px solid var(--theme-border-soft);
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5.5rem) 2rem;
    position: relative;
}

.thesis-band::before {
    background:
        linear-gradient(90deg, transparent, rgba(var(--theme-primary-rgb, 167, 139, 250), 0.16), transparent),
        radial-gradient(circle at 50% 0, rgba(var(--theme-primary-rgb, 167, 139, 250), 0.18), transparent 45%);
    content: "";
    inset: 0;
    opacity: 0.75;
    pointer-events: none;
    position: absolute;
}

.thesis-band-inner {
    position: relative;
    text-align: center;
    z-index: 1;
}

.thesis-band h2 {
    color: var(--theme-text);
    font-size: clamp(1.85rem, 3.65vw, 3.05rem);
    line-height: 1.18;
    margin: 0 auto 1.4rem;
    max-width: 980px;
}

.thesis-band p:not(.info-page-kicker) {
    color: var(--color-gray-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 780px;
}

.thesis-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin: 1.8rem auto 0;
    max-width: 760px;
}

.thesis-points span {
    border: 1px solid var(--theme-border-soft);
    color: var(--color-gray-light);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.55rem 0.8rem;
    text-transform: uppercase;
}

.thesis-actions {
    margin-top: 1.6rem;
}

.feature-card,
.tool-card,
.proof-card {
    border: 1px solid var(--theme-border-soft);
    background: var(--theme-panel);
    color: var(--theme-text);
    padding: 2rem;
    text-align: left;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover,
.tool-card:hover,
.proof-card:hover {
    border-color: var(--gold-medium);
    box-shadow: 0 12px 40px var(--theme-glow);
    transform: translateY(-4px);
}

.feature-card h3,
.tool-card h3,
.proof-card strong {
    color: var(--theme-text);
    display: block;
    font-family: "Cinzel", serif;
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.9rem;
}

.feature-card p,
.tool-card p,
.proof-card span {
    color: var(--color-gray-medium);
    font-size: 0.9rem;
    line-height: 1.65;
}

.tool-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
}

.tool-card .btn-secondary {
    margin-top: 1.5rem;
    text-align: center;
}

.tool-label,
.proof-card span,
.concept-badge {
    color: var(--gold-medium);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.concept-badge {
    align-self: flex-start;
    border: 1px solid var(--theme-border-soft);
    display: inline-flex;
    margin: 1rem 0 1.25rem;
    padding: 0.35rem 0.6rem;
}

.social-section {
    background:
        linear-gradient(135deg, rgba(var(--theme-accent-rgb), 0.12), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, var(--theme-bg-warm), var(--theme-bg-warm-2));
    border-bottom: 1px solid var(--theme-border-soft);
    border-top: 1px solid var(--theme-border-soft);
}

.feature-grid + .section-actions,
.tool-grid + .section-actions,
.proof-grid + .section-actions,
.timeline-grid + .section-actions {
    margin-top: 2.5rem;
}

.proof-evidence-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.proof-evidence-grid article {
    background: var(--theme-panel-strong);
    border: 1px solid var(--theme-border-soft);
    padding: 1.25rem;
}

.proof-evidence-grid span {
    color: var(--gold-medium);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.proof-evidence-grid p {
    color: var(--color-gray-medium);
    font-size: 0.9rem;
    line-height: 1.65;
}

.metrics-foundation {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.metrics-foundation article {
    background: linear-gradient(180deg, var(--theme-panel), var(--theme-panel-strong));
    border: 1px solid var(--theme-border-soft);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 1.35rem;
}

.metrics-foundation span {
    color: var(--gold-medium);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.45;
    text-transform: uppercase;
}

.metrics-foundation strong {
    color: var(--theme-text);
    display: block;
    font-family: "Cinzel", serif;
    font-size: 1.55rem;
    line-height: 1.2;
    margin: 1rem 0 0.85rem;
}

.metrics-foundation p {
    color: var(--color-gray-medium);
    font-size: 0.88rem;
    line-height: 1.6;
}

.metrics-foundation small {
    border-top: 1px solid var(--theme-border-soft);
    color: var(--theme-modal-muted);
    display: block;
    font-size: 0.72rem;
    line-height: 1.5;
    margin-top: auto;
    padding-top: 0.9rem;
}

.section-note {
    margin-top: 1rem;
    text-align: center;
}

.form-intent-note {
    color: var(--theme-modal-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: -0.35rem 0 1.25rem;
}

.form-intent-note strong {
    color: var(--theme-modal-text);
}

.text-link {
    background: transparent;
    border: 0;
    color: var(--theme-secondary-text);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.28em;
    text-transform: uppercase;
}

.text-link:hover {
    color: var(--gold-medium);
}

.feature-card .btn-primary,
.feature-card .btn-secondary,
.proof-card .btn-primary,
.proof-card .btn-secondary {
    margin-top: 1.25rem;
}

.social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-card {
    background: var(--theme-panel-strong);
    border-color: var(--theme-border);
}

.contact-section {
    border-top: 1px solid var(--theme-border-soft);
}

.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
    display: flex;
    flex-direction: column;
    min-height: 310px;
}

.contact-card .btn-primary,
.contact-card .btn-secondary {
    margin-top: auto;
    text-align: center;
}

.proof-card {
    cursor: pointer;
    font: inherit;
}

.policy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.policy-links button {
    background: transparent;
    border: 0;
    color: var(--color-gray-medium);
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.policy-links button:hover {
    color: var(--gold-medium);
}

.empresa-page .site-footer {
    background: var(--theme-bg-0);
    border-top: 1px solid var(--theme-border-soft);
    color: var(--color-gray-medium);
}

.empresa-page .footer-content {
    gap: clamp(1.5rem, 3vw, 3rem);
    grid-template-columns: minmax(220px, 1.25fr) repeat(4, minmax(145px, 1fr));
    max-width: 1320px;
    padding: 5rem 2rem 3.5rem;
}

.empresa-page .footer-gold-line {
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--gold-medium) 50%,
        transparent 100%
    );
    box-shadow: 0 0 15px var(--theme-glow);
}

.empresa-page .footer-links a:hover,
.empresa-page .footer-links button:hover,
.empresa-page .footer-social-text a:hover {
    color: var(--theme-text);
}

.empresa-page .footer-heading,
.empresa-page .node-link:hover,
.empresa-page .gold {
    color: var(--gold-medium);
}

.empresa-page .brand-manifesto,
.empresa-page .footer-links a,
.empresa-page .footer-links button,
.empresa-page .node-link,
.empresa-page .footer-social-text a,
.empresa-page .copyright,
.empresa-page .tech-signature {
    color: var(--color-gray-medium);
}

.empresa-page .footer-heading {
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
}

.empresa-page .footer-links {
    display: grid;
    gap: 0.68rem;
}

.empresa-page .footer-links li {
    margin-bottom: 0;
}

.empresa-page .footer-links a,
.empresa-page .footer-links button {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    font-size: 0.74rem;
    line-height: 1.35;
    padding: 0;
    text-align: left;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.empresa-page .footer-links a:hover,
.empresa-page .footer-links button:hover {
    transform: translateX(4px);
}

.empresa-page .system-status {
    background: var(--theme-panel);
    border-color: var(--theme-border-soft);
}

.empresa-page .status-dot {
    background-color: var(--theme-signal);
    box-shadow: 0 0 8px var(--theme-signal);
}

.empresa-page .status-text {
    color: var(--theme-signal);
}

.empresa-page .node-link:hover {
    border-color: var(--gold-medium);
}

.empresa-page .separator {
    color: var(--theme-border);
}

.empresa-page .footer-bottom {
    align-items: center;
    border-top-color: var(--theme-border-soft);
    color: var(--color-gray-medium);
    gap: 1rem;
}

.empresa-page .footer-social-text {
    align-items: center;
    display: flex;
    gap: 0.45rem;
}

.empresa-page .footer-social-text a {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

body.modal-open {
    overflow: hidden;
}

.modal-root[hidden] {
    display: none;
}

.modal-root {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: clamp(1rem, 3vw, 1.75rem);
    position: fixed;
    z-index: 5000;
}

.modal-backdrop {
    background:
        linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
        rgba(var(--theme-accent-rgb), 0.72);
    inset: 0;
    position: absolute;
}

.modal-panel {
    background:
        linear-gradient(90deg, rgba(var(--theme-accent-rgb), 0.16), transparent 1.25rem, transparent calc(100% - 1.25rem), rgba(var(--theme-accent-rgb), 0.16)),
        var(--theme-modal-bg);
    border: 2px solid rgba(var(--theme-accent-rgb), 0.95);
    box-shadow:
        0 24px 80px var(--theme-modal-shadow),
        0 0 0 1px rgba(var(--theme-accent-rgb), 0.16),
        0 0 45px var(--theme-glow);
    color: var(--theme-modal-text);
    max-height: min(calc(100dvh - 3.5rem), 900px);
    max-width: min(920px, 100%);
    overflow: auto;
    overscroll-behavior: contain;
    padding: clamp(1.5rem, 4vw, 3rem);
    position: relative;
    width: 100%;
}

.modal-close {
    align-items: center;
    background: transparent;
    border: 1px solid var(--theme-border-soft);
    color: var(--gold-medium);
    cursor: pointer;
    display: flex;
    font-size: 1.5rem;
    height: 42px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 42px;
}

.modal-close:hover {
    border-color: var(--gold-medium);
    color: var(--gold-bright);
}

.modal-content {
    background: var(--theme-modal-bg);
    padding-top: 0.5rem;
}

.modal-kicker {
    color: var(--gold-medium);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.modal-content h2 {
    color: var(--theme-modal-text);
    font-family: "Cinzel", serif;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    line-height: 1.12;
    margin: 0 3rem 1.25rem 0;
}

.modal-content h3 {
    color: var(--gold-medium);
    font-family: "Cinzel", serif;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.65rem;
}

.modal-content p,
.modal-content li {
    color: var(--theme-modal-muted);
    font-size: 0.96rem;
    line-height: 1.75;
}

.modal-content ul {
    display: grid;
    gap: 0.6rem;
    margin: 1rem 0;
    padding-left: 1.1rem;
}

.modal-book-page {
    display: none;
    min-height: 250px;
}

.modal-book-page.active {
    display: block;
}

.modal-book-nav {
    align-items: center;
    border-top: 1px solid var(--theme-border-soft);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.25rem;
}

.modal-book-status {
    color: var(--gold-medium);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-form label {
    color: var(--theme-modal-muted);
    display: grid;
    font-size: 0.82rem;
    gap: 0.45rem;
    letter-spacing: 0.03em;
}

.landing-form input,
.landing-form textarea,
.landing-form select {
    background: var(--theme-input-bg);
    border: 1px solid var(--theme-border-soft);
    color: var(--theme-input-text);
    font: inherit;
    min-height: 44px;
    padding: 0.8rem 0.9rem;
    width: 100%;
}

.landing-form textarea {
    min-height: 120px;
    resize: vertical;
}

.landing-form input:focus,
.landing-form textarea:focus,
.landing-form select:focus {
    border-color: var(--gold-medium);
    box-shadow: 0 0 0 3px var(--theme-glow);
    outline: 0;
}

.form-consent {
    align-items: start;
    display: flex !important;
    gap: 0.7rem !important;
    line-height: 1.45;
}

.form-consent input {
    min-height: auto;
    margin-top: 0.2rem;
    width: auto;
}

.form-consent-note {
    color: var(--theme-modal-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    margin: -0.35rem 0 0;
}

.form-consent-note .text-link {
    font-size: inherit;
}

.form-honeypot {
    display: none !important;
}

.form-status {
    min-height: 1.5rem;
}

.form-status.is-success {
    color: var(--gold-medium);
}

.form-status.is-error {
    color: var(--theme-error);
}

@media (max-width: 860px) {
    .empresa-page .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #portfolio .tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .what-we-do-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .platform-flow,
    .platform-contrast {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .metrics-foundation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .empresa-hero {
        max-width: 100vw;
        min-height: auto;
        overflow-x: hidden;
        padding: 5.9rem 1rem 2rem;
        width: 100vw;
    }

    .empresa-hero::before {
        background:
            linear-gradient(90deg, rgba(var(--theme-accent-rgb), 0.12) 1px, transparent 1px),
            linear-gradient(180deg, rgba(var(--theme-accent-rgb), 0.08) 1px, transparent 1px);
        background-size: 38px 38px;
        mask-image: radial-gradient(circle at 50% 18%, black 0%, black 44%, transparent 84%);
        opacity: 0.58;
        transform: none;
    }

    .empresa-hero::after {
        background:
            radial-gradient(circle at 50% 18%, rgba(var(--theme-accent-rgb), 0.22), transparent 38%),
            linear-gradient(180deg, transparent 0%, rgba(var(--theme-accent-rgb), 0.08) 68%, transparent 100%);
        opacity: 0.9;
        transform: none;
    }

    .empresa-hero > *:not(.parallax-bg) {
        box-sizing: border-box;
        max-width: calc(100vw - 2rem);
    }

    .empresa-hero .fade-in {
        opacity: 1;
        transform: none;
    }

    .protocolo-badge {
        align-items: center;
        backdrop-filter: blur(10px);
        border-width: 1px;
        border-radius: 999px;
        box-shadow: 0 0 0 1px rgba(var(--theme-accent-rgb), 0.08), 0 14px 34px rgba(0, 0, 0, 0.24);
        display: inline-flex;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        min-height: 42px;
        width: fit-content;
        max-width: calc(100vw - 3rem);
        padding: 0.62rem 0.95rem;
    }

    .protocolo-badge span {
        font-size: 0.58rem;
        line-height: 1.35;
        min-width: 0;
        overflow-wrap: anywhere;
        text-align: center;
        white-space: normal;
    }

    .empresa-section-header .info-page-kicker,
    .empresa-hero .info-page-kicker {
        font-size: 0.72rem;
        line-height: 1.45;
        margin-left: auto;
        margin-right: auto;
        max-width: 22rem;
    }

    .empresa-hero h1 {
        font-size: clamp(1.52rem, 6.8vw, 1.95rem);
        letter-spacing: 0.01em;
        line-height: 1.13;
        margin-bottom: 1rem;
        max-width: none;
        overflow-wrap: anywhere;
        padding: 0;
        text-wrap: balance;
        text-shadow: 0 0 28px rgba(var(--theme-accent-rgb), 0.16);
        white-space: normal;
        width: min(22rem, calc(100vw - 2rem));
    }

    .empresa-hero .hero-intro {
        color: var(--theme-muted);
        font-size: 0.9rem;
        line-height: 1.62;
        margin-bottom: 1.15rem;
        max-width: none;
        overflow-wrap: anywhere;
        padding: 0 0.35rem;
        width: min(22rem, calc(100vw - 2rem));
    }

    .empresa-hero .hero-actions {
        align-items: center;
        gap: 0.72rem;
        justify-content: center;
        margin-bottom: 1.35rem;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1.2rem;
        max-width: min(22rem, calc(100vw - 2rem));
        width: 100%;
    }

    .empresa-hero .hero-actions .btn-primary,
    .empresa-hero .hero-actions .btn-secondary {
        border-radius: 999px;
        margin-left: auto;
        margin-right: auto;
        max-width: none;
        min-height: 50px;
        width: 100%;
    }

    .empresa-pillars {
        gap: 0.72rem;
        margin-top: 0;
        width: min(23rem, calc(100vw - 2rem));
    }

    .empresa-pillar {
        align-items: flex-start;
        border-radius: 18px;
        display: grid;
        gap: 0 0.85rem;
        grid-template-columns: auto 1fr;
        padding: 1rem;
        position: relative;
    }

    .empresa-pillar::before {
        background: linear-gradient(180deg, var(--gold-medium), transparent);
        border-radius: 999px;
        content: '';
        inset: 0.8rem auto 0.8rem 0;
        opacity: 0.88;
        position: absolute;
        width: 2px;
    }

    .empresa-pillar .card-icon {
        grid-row: span 2;
        height: 1.35rem;
        margin-top: 0.12rem;
        width: 1.35rem;
    }

    .empresa-pillar strong {
        font-size: 1rem;
        line-height: 1.25;
        margin-bottom: 0.28rem;
    }

    .empresa-pillar span {
        font-size: 0.78rem;
        line-height: 1.48;
    }

    /* Mobile visual language: rounded surfaces stay consistent across the interface. */
    .btn-primary,
    .btn-secondary {
        border-radius: 999px;
    }

    .feature-card,
    .tool-card,
    .proof-card,
    .contact-card,
    .founder-card,
    .team-card,
    .timeline-card,
    .value-card,
    .platform-step,
    .platform-contrast > div,
    .target-business-note p,
    .technology-stack-flow,
    .proof-evidence-grid article,
    .metrics-foundation article,
    .theme-dock-panel {
        border-radius: 18px;
    }

    .technology-stack-flow span,
    .thesis-points span,
    .concept-badge {
        border-radius: 999px;
    }

    .modal-panel {
        border-radius: 0;
    }

    .modal-close {
        border-radius: 999px;
    }

    .landing-form input,
    .landing-form textarea,
    .landing-form select {
        border-radius: 14px;
    }

    .theme-dock {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .theme-dock-toggle {
        min-height: 60px;
    }

    .empresa-page .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
        row-gap: 2rem;
    }

    .empresa-page .footer-content .brand-column {
        grid-column: 1 / -1;
    }

    .empresa-page .footer-content .footer-section:not(.brand-column) {
        text-align: center;
    }

    .empresa-page .footer-content .footer-section:not(.brand-column) .footer-links {
        justify-items: center;
    }

    .empresa-page .footer-content .footer-section:not(.brand-column) .footer-links li {
        text-align: center;
        width: 100%;
    }

    .empresa-page .footer-content .footer-section:not(.brand-column) .footer-links a,
    .empresa-page .footer-content .footer-section:not(.brand-column) .footer-links button {
        display: block;
        text-align: center;
        width: 100%;
    }

    .empresa-page .footer-bottom,
    .empresa-page .footer-social-text {
        align-items: flex-start;
        flex-direction: column;
    }

    #portfolio .tool-grid {
        grid-template-columns: 1fr;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
    }

    .platform-flow,
    .platform-contrast,
    .technology-stack-flow,
    .proof-evidence-grid,
    .target-business-note,
    .metrics-foundation {
        grid-template-columns: 1fr;
    }

    .metrics-foundation article {
        min-height: auto;
    }

    .technology-stack-flow span {
        min-height: 54px;
    }

    .hero-actions,
    .section-actions,
    .modal-book-nav {
        align-items: center;
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary,
    .section-actions .btn-primary,
    .section-actions .btn-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .contact-card .btn-primary,
    .contact-card .btn-secondary {
        align-self: center;
        width: min(100%, 320px);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .modal-root {
        align-items: flex-start;
        padding: max(0.8rem, env(safe-area-inset-top)) 0.8rem max(0.8rem, env(safe-area-inset-bottom));
    }

    .modal-panel {
        max-height: calc(100dvh - max(1.6rem, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
        padding: 1.25rem;
    }

    .modal-content h2 {
        margin-right: 2.5rem;
    }
}
