/* ═══════════════════════════════════════════════════════
   EUREKA LANDING — Extracted inline styles
   ═══════════════════════════════════════════════════════ */

/* ── Layout base del navbar ── */
#navbarResponsive {
    display: block !important;
    background-color: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 9000;
    padding: 0 1.25rem;
}

#navbarResponsive .row {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    min-height: 56px;
}

/* Logo */
#navbarResponsive .titlebar {
    flex-shrink: 0;
}

#navbarResponsive .list-inline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

#navbarResponsive .list-inline-item {
    display: inline-flex;
    align-items: center;
}

#navbarResponsive .navbar-brand img,
#navbarResponsive .brandlogo {
    height: 38px;
    width: auto;
    display: flex;
    align-items: center;
}

#navbarResponsive .brandlogo img {
    height: 38px;
    width: auto;
}

/* Right section */
#navbarResponsive .mobile-togglebar {
    margin-left: auto;
}

#navbarResponsive .mb-0 {
    margin-bottom: 0;
}

#navbarResponsive .pl-2 {
    padding-left: 0.5rem;
}

#navbarResponsive .mr-2 {
    margin-right: 0.5rem;
}

#navbarResponsive .ml-2 {
    margin-left: 0.5rem;
}

#navbarResponsive .ml-1 {
    margin-left: 0.25rem;
}

/* Solicitar demo button */
#navbarResponsive .btn-success {
    display: inline-flex;
    align-items: center;
    background-color: #28a745;
    color: #fff !important;
    border: 1px solid #fff;
    padding: 0.35rem 1.1rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

#navbarResponsive .btn-success:hover {
    background-color: #16a34a;
}

/* Nav link (Iniciar) */
#navbarResponsive .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
    transition: color 0.2s;
}

#navbarResponsive .nav-link:hover {
    color: #F97316;
}

/* Fullscreen link */
#navbarResponsive #window-fullscreen {
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
}

#navbarResponsive #window-fullscreen:hover {
    opacity: 1;
}

/* Language dropdown */
#navbarResponsive .languagebar {
    position: relative;
}

#navbarResponsive .dropdown {
    position: relative;
}

#navbarResponsive .nobutton {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
}

#navbarResponsive .nobutton::after {
    content: '';
    display: inline-block;
    margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.7);
}

#navbarResponsive .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    min-width: 165px;
    padding: 0.3rem 0;
    z-index: 9999;
}

#navbarResponsive .dropdown.open .dropdown-menu {
    display: block;
}

#navbarResponsive .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    text-decoration: none;
    color: #1C1C1C;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    transition: background 0.15s;
}

#navbarResponsive .dropdown-item:hover {
    background: #f5f5f5;
}

#navbarResponsive .dropdown-item.active {
    font-weight: 600;
    background: #fef3ec;
}

/* ── Responsive ── */
#navbarResponsive .d-none {
    display: none;
}

@media (min-width: 768px) {
    #navbarResponsive .d-md-inline {
        display: inline !important;
    }
}

/* Mobile: navbar fixed, compacto */
@media (max-width: 767px) {
    #navbarResponsive {
        position: fixed;
        width: 100%;
        padding: 0 0.75rem;
    }

    body {
        padding-top: 56px;
    }

    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    #navbarResponsive #window-fullscreen {
        display: none;
    }

    #navbarResponsive .btn-success {
        padding: 0.3rem 0.65rem;
        font-size: 0.75rem;
    }

    #navbarResponsive .nav-link span {
        display: none;
    }

    #navbarResponsive .dropdown-menu {
        right: 0;
        left: auto;
        min-width: 150px;
    }

    #navbarResponsive .list-inline-item {
        gap: 0;
    }

    #navbarResponsive .mr-2 {
        margin-right: 0.25rem;
    }

    #navbarResponsive .ml-2 {
        margin-left: 0.25rem;
    }
}

/* Tablet intermedio */
@media (min-width: 768px) and (max-width: 991px) {
    #navbarResponsive {
        padding: 0 1rem;
    }

    #navbarResponsive .btn-success {
        padding: 0.35rem 0.85rem;
    }
}

/* ═══ FOOTER CSS ═══ */
footer .col-xs-10 {
    width: 18% !important;
}

footer .mt-1 {
    margin-top: 0 !important;
}

footer {
    width: 100%;
}

footer .bg-black {
    background-color: #000 !important;
}

footer .bg-dark-gris {
    background-color: #1e1e1e !important;
}

footer .w-100 {
    width: 100%;
}

footer .py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

footer .mt-1 {
    margin-top: 0.25rem;
}

footer .mt-3 {
    margin-top: 1rem;
}

footer .mb-1 {
    margin-bottom: 0.25rem;
}

footer .mb-4 {
    margin-bottom: 1.5rem;
}

footer .mb-5 {
    margin-bottom: 3rem;
}

footer .p-4 {
    padding: 1.5rem;
}

footer .text-white,
footer .text-white a {
    color: #fff !important;
}

footer a.text-white {
    color: #fff !important;
    text-decoration: none;
}

footer a.text-white:hover {
    color: #F97316 !important;
}

footer .text-warning {
    color: #ffc107 !important;
}

footer .text-center {
    text-align: center;
}

footer .text-right {
    text-align: right;
}

footer .img-fluid {
    max-width: 100%;
    height: auto;
}

footer .logo-footer img {
    max-width: 200px;
}

footer .container-fluid {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

footer .row>* {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    box-sizing: border-box;
}

footer .justify-content-center {
    justify-content: center;
}

footer .d-flex {
    display: flex;
}

@media (min-width: 992px) {
    footer .col-lg-1 {
        width: 8.333%;
    }

    footer .col-lg-2 {
        width: 16.667%;
    }

    footer .col-lg-3 {
        width: 25%;
    }
}

@media (min-width: 768px) {
    footer .col-md-3 {
        width: 25%;
    }
}

footer .col-12 {
    width: 100%;
}

footer .col-xs-10 {
    width: 83.333%;
}

@media (max-width: 767px) {

    footer .col-xs-10,
    footer .col-lg-1,
    footer .col-lg-2,
    footer .col-lg-3 {
        width: 100%;
    }

    footer .footer-logo {
        text-align: center !important;
    }

    footer .logo-footer img {
        max-width: 160px;
    }

    footer .columns-links {
        text-align: center;
    }

    footer .p-4 {
        padding: 1rem;
    }
}

footer .footer-container a {
    color: #aaa;
    text-decoration: none;
}

footer .footer-container a:hover {
    color: #F97316;
}

footer .footer-container .text-white,
footer .footer-container .text-white a {
    color: #aaa !important;
}

/* ═══ PAGE STYLES ═══ */
body {
    font-family: 'Poppins', sans-serif;
}

.bg-white-10 {
    background-color: rgb(255 255 255 / 0.1);
}

.central_area,
img {
    max-width: 100%;
    padding: 0 !important;
}

#navbarResponsive {
    z-index: 15 !important;
}

@keyframes reveal {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-reveal {
    animation: reveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 35s linear infinite;
    width: fit-content;
    transform: translateZ(0);
}

.animate-scroll:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {

    .animate-reveal,
    .animate-fadeInUp,
    .animate-scroll {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── D3 World Map ── */
#mapSvg .sphere {
    fill: #101010;
}

#mapSvg .graticule {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 0.5;
}

#mapSvg .land {
    fill: #1E1C17;
    stroke: rgba(255, 255, 255, 0.07);
    stroke-width: 0.4;
    transition: fill .3s;
}

#mapSvg .land-active {
    fill: #2A2620;
    stroke: rgba(249, 115, 22, 0.22);
    stroke-width: 0.7;
}

#mapSvg .pin {
    cursor: pointer;
}

#mapSvg .pin-ring {
    transition: all .2s ease;
}

#mapSvg .pin-dot {
    transition: all .2s ease;
}

#mapSvg .pin:hover .pin-ring {
    opacity: .45 !important;
}

#mapSvg .pin:hover .pin-dot {
    filter: brightness(1.25);
}

.map-d3-wrap {
    background: #101010;
    border: 1px solid rgba(255, 255, 255, .06);
    transition: border-color .2s;
}

.map-d3-wrap:hover {
    border-color: rgba(255, 255, 255, .11);
}

.map-d3-tooltip {
    position: absolute;
    pointer-events: none;
    background: #1C1C1C;
    border: 1px solid rgba(249, 115, 22, .38);
    padding: 12px 16px;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 20;
    min-width: 195px;
    max-width: 280px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .55);
}

.map-d3-tooltip.visible {
    opacity: 1;
}

.d3-tip-badge {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 7px;
    font-weight: 600;
    letter-spacing: .04em;
}

.d3-tip-badge.school {
    background: rgba(249, 115, 22, .12);
    color: #F97316;
}

.d3-tip-badge.university {
    background: rgba(29, 158, 117, .12);
    color: #1D9E75;
}

.d3-tip-name {
    font-weight: 600;
    font-size: 13px;
    color: #F9F4EA;
    margin-bottom: 2px;
    line-height: 1.35;
}

.d3-tip-loc {
    font-size: 11px;
    color: #8B8D98;
    margin-bottom: 8px;
}

.d3-tip-sims {
    font-size: 11px;
    color: #F97316;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding-top: 7px;
}

.d3-tip-sims .d3-sims-label {
    color: #5C5E6A;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
    display: block;
    margin-bottom: 2px;
}

.inst-d3-card {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, .07);
    padding: 14px 18px;
    transition: border-color .2s, transform .2s;
}

.inst-d3-card:hover {
    border-color: rgba(255, 255, 255, .14);
    transform: translateY(-1px);
}

.inst-d3-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.inst-d3-card-name {
    font-weight: 600;
    font-size: 13px;
    color: #F9F4EA;
    line-height: 1.3;
}

.inst-d3-card-flag {
    font-size: 17px;
    flex-shrink: 0;
}

.inst-d3-card-loc {
    font-size: 11px;
    color: #8B8D98;
    margin-bottom: 6px;
}

.inst-d3-card-sims {
    font-size: 11px;
    color: #F97316;
    opacity: .85;
}

.inst-d3-card-type {
    font-size: 10px;
    display: inline-block;
    padding: 1px 7px;
    margin-bottom: 6px;
}

.inst-d3-card-type.school {
    background: rgba(249, 115, 22, .1);
    color: #F97316;
}

.inst-d3-card-type.university {
    background: rgba(29, 158, 117, .1);
    color: #1D9E75;
}

@keyframes impact-pulse-kf {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(.7)
    }
}

.impact-pulse-dot {
    animation: impact-pulse-kf 2s ease infinite;
    display: inline-block;
}

/* ── Testimonials ── */
.testimonials-wrap {
    position: relative;
    background: linear-gradient(160deg, #f7f1e7 0%, #f3ece1 52%, #f8f2e9 100%);
    border-top: 1px solid rgba(28, 28, 28, 0.08);
    border-bottom: 1px solid rgba(28, 28, 28, 0.08);
    overflow: hidden;
}

.testimonials-wrap::before,
.testimonials-wrap::after {
    content: '';
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
}

.testimonials-wrap::before {
    width: 420px;
    height: 420px;
    top: -230px;
    left: -120px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, rgba(249, 115, 22, 0) 70%);
}

.testimonials-wrap::after {
    width: 380px;
    height: 380px;
    bottom: -220px;
    right: -90px;
    background: radial-gradient(circle, rgba(28, 28, 28, 0.11) 0%, rgba(28, 28, 28, 0) 72%);
}

.testimonial-grid {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(28, 28, 28, 0.1);
    padding: 2rem;
    min-height: 100%;
    box-shadow: 0 14px 34px rgba(18, 15, 10, 0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(18, 15, 10, 0.14);
    border-color: rgba(249, 115, 22, 0.35);
}

.testimonial-card.featured {
    background: #1c1c1c;
    border-color: rgba(249, 115, 22, 0.45);
    color: #f9f4ea;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
}

.testimonial-mark {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 4rem;
    line-height: 1;
    font-weight: 700;
    opacity: 0.12;
    color: #f97316;
    pointer-events: none;
}

.testimonial-card.featured .testimonial-mark {
    opacity: 0.2;
    color: #f9f4ea;
}

.testimonial-role {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #7a7268;
}

.testimonial-card.featured .testimonial-role {
    color: rgba(249, 244, 234, 0.74);
}

.testimonial-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonial-card.featured .testimonial-chip {
    background: rgba(249, 115, 22, 0.18);
    border-color: rgba(249, 115, 22, 0.45);
    color: #f9f4ea;
}

/* ── Accessibility ── */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background-color: #F97316;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ── Mobile menu ── */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    display: flex !important;
    padding: 0 1.5rem;
}

#mobile-menu.menu-open {
    max-height: 500px;
    opacity: 1;
    padding: 1.5rem;
}

/* ── Sticky CTA ── */
#sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#sticky-cta-bar.visible {
    transform: translateY(0);
}

/* ═══ PORTFOLIO — SPLIT LAYOUT ═══ */
.cat-btn {
    width: 100%;
    text-align: left;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.2s ease, border-left-color 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.cat-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.cat-btn.active {
    background-color: rgba(249, 115, 22, 0.1);
    border-left-color: #F97316;
}

.cat-btn.active .cat-num {
    color: #F97316;
}

.cat-btn.active .cat-label {
    color: #fff;
}

.cat-panel {
    display: none;
}

.cat-panel.active {
    display: block;
    animation: fadeInUp 0.25s ease-out forwards;
    opacity: 1;
}

.sim-thumb {
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.sim-thumb:hover {
    transform: translateY(-3px);
    background-color: rgba(249, 115, 22, 0.08);
}

.sim-thumb.active {
    border-color: #F97316 !important;
    background-color: rgba(249, 115, 22, 0.12);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25);
}

.iese-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #c41230;
    color: white;
    padding: 1px 5px;
    border-radius: 2px;
    font-size: 0.58em;
    font-weight: 700;
    line-height: 1.4;
    pointer-events: none;
    letter-spacing: 0.05em;
}

.sim-detail-panel {
    display: none;
}

.sim-detail-panel.active {
    display: block;
}

.sim-slide {
    display: none;
}

.sim-slide.active {
    display: block;
    animation: fadeInUp 0.3s ease-out forwards;
    opacity: 1;
}

@media (max-width: 767px) {
    #cat-sidebar {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0;
        width: 100% !important;
    }

    #cat-sidebar::-webkit-scrollbar {
        display: none;
    }

    .cat-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
        border-bottom: 3px solid transparent;
        border-left: none !important;
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.25rem;
        min-width: 120px;
    }

    .cat-btn.active {
        border-bottom-color: #F97316;
        background-color: rgba(249, 115, 22, 0.1);
        border-left-color: transparent !important;
    }

    .cat-num {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #top {
        min-height: auto !important;
    }

    #top .grid {
        display: flex;
        flex-direction: column-reverse;
        min-height: auto !important;
    }

    #top .grid>div:last-child {
        min-height: 230px;
        max-height: 230px;
        padding-top: 3.75rem;
    }

    #top .grid>div:first-child {
        padding: 1.25rem 1.25rem 0.75rem;
    }

    #top .grid>div:first-child .max-w-lg {
        max-width: 100%;
    }

    #top .grid>div:first-child h1 {
        font-size: 1.5rem;
    }

    #top .grid>div:first-child p {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }

    #top .grid>div:last-child>div:nth-child(3) {
        display: none;
    }

    #top .grid>div:last-child::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 15px;
        background: linear-gradient(to top, #F9F4EA 0%, transparent 100%);
        z-index: 5;
        pointer-events: none;
    }

    #solutions article {
        min-height: auto !important;
        padding: 1.5rem !important;
    }

    #solutions article img {
        height: 3rem;
        margin-bottom: 0.75rem;
    }

    #simulations {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #simulations .text-4xl {
        font-size: 1.5rem;
    }

    #contact {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    #contact h2 {
        font-size: 1.5rem;
    }

    .thumb-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .thumb-row::-webkit-scrollbar {
        display: none;
    }

    .sim-thumb {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

/* ── Section nav ── */
#section-nav {
    scrollbar-width: none;
}

#section-nav::-webkit-scrollbar {
    display: none;
}

.snav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #505050;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    text-decoration: none;
}

.snav-link:hover {
    color: #1C1C1C;
    text-decoration: none;
}

.snav-link.snav-active {
    color: #F97316;
    border-bottom-color: #F97316;
    background: rgba(249, 115, 22, 0.06);
}

.snav-active-dot {
    display: none;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #F97316;
    flex-shrink: 0;
}

.snav-link.snav-active .snav-active-dot {
    display: inline-block;
}