/* =========================================================
   RESET
========================================================= */

html,
body {
    margin: 0;
    padding: 0;
}

.segman-header .segman-nav,
.segman-header .segman-nav *,
.segman-header .segman-nav-list,
.segman-header .segman-nav-list *,
.segman-header .segman-nav-item,
.segman-header .segman-nav-item > a {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* =========================================================
   General
========================================================= */

.humanoides-page {
    --hum-blue-dark: #041F3A;
    --hum-blue: #063557;
    --hum-blue-light: #0874B9;
    --hum-cyan: #0A91D1;
    --hum-cyan-light: #35B8F2;

    --hum-text: #17212B;
    --hum-text-light: #64717C;

    --hum-white: #ffffff;
    --hum-gray: #F5F7F9;
    --hum-soft: #F3F7FA;
    --hum-border: #E2E7EB;

    width: 100%;
    overflow: hidden;
    color: var(--hum-text);
    background: var(--hum-white);
    font-family: Arial, Helvetica, sans-serif;
}

.humanoides-page *,
.humanoides-page *::before,
.humanoides-page *::after {
    box-sizing: border-box;
}

.humanoides-page h1,
.humanoides-page h2,
.humanoides-page h3,
.humanoides-page p {
    margin-top: 0;
}

.humanoides-page img {
    max-width: 100%;
}


/* =========================================================
   CONTAINER
========================================================= */

.humanoides-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   EYEBROW
========================================================= */

.humanoides-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 2.2px;
}

.humanoides-eyebrow-blue {
    color: var(--hum-blue-light);
}


/* =========================================================
   HERO
========================================================= */

.humanoides-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--hum-blue-dark);
}

.humanoides-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.humanoides-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.humanoides-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(4,31,58,.96) 0%,
            rgba(4,31,58,.80) 38%,
            rgba(4,31,58,.25) 72%,
            rgba(4,31,58,.08) 100%
        );
}

.humanoides-hero-content {
    position: relative;
    z-index: 3;
    padding-top: 70px;
    padding-bottom: 70px;
}

.humanoides-hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .98;
    font-weight: 700;
    letter-spacing: -2px;
    -webkit-text-stroke: .6px rgba(0,0,0,.45);
    text-shadow:
        0 3px 3px rgba(0,0,0,.85),
        0 6px 15px rgba(0,0,0,.55);
}

.humanoides-hero p {
    max-width: 600px;
    margin-bottom: 0;
    color: #F1F5F8;
    font-size: 19px;
    line-height: 1.65;
    text-shadow:
        0 2px 3px rgba(0,0,0,.85),
        0 4px 10px rgba(0,0,0,.55);
}


/* =========================================================
   INTRO
========================================================= */

.humanoides-intro {
    padding: 110px 0 100px;
    background: #fff;
}

.humanoides-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.humanoides-section-heading h2,
.humanoides-centered-heading h2 {
    margin-bottom: 0;
    color: var(--hum-blue-dark);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.humanoides-section-heading h2 strong,
.humanoides-centered-heading h2 strong {
    color: var(--hum-blue-light);
    font-weight: 700;
}

.humanoides-intro-text {
    padding-top: 32px;
}

.humanoides-intro-text p {
    margin-bottom: 20px;
    color: var(--hum-text-light);
    font-size: 17px;
    line-height: 1.75;
}

.humanoides-intro-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CAPACIDADES
========================================================= */

.humanoides-capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 90px;
    border-top: 1px solid var(--hum-border);
}

.humanoides-capability {
    padding: 34px 30px 10px;
    border-right: 1px solid var(--hum-border);
}

.humanoides-capability:first-child {
    padding-left: 0;
}

.humanoides-capability:last-child {
    border-right: none;
}

.humanoides-capability-image {
    width: 100%;
    height: 320px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 12px;
}

.humanoides-capability-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.humanoides-capability h3 {
    margin-bottom: 12px;
    color: var(--hum-blue-dark);
    font-size: 20px;
    line-height: 1.2;
}

.humanoides-capability p {
    margin-bottom: 0;
    color: var(--hum-text-light);
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   ENCABEZADOS CENTRADOS
========================================================= */

.humanoides-centered-heading {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.humanoides-centered-heading p {
    max-width: 680px;
    margin: 24px auto 0;
    color: var(--hum-text-light);
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   INTELIGENCIA
========================================================= */

.humanoides-intelligence {
    padding: 110px 0;
    background:
        radial-gradient(
            ellipse at 80% 10%,
            rgba(10,145,209,.12),
            transparent 42%
        ),
        linear-gradient(
            115deg,
            #041F3A,
            #063557
        );
}

.humanoides-intelligence .humanoides-centered-heading h2 {
    color: #fff;
}

.humanoides-intelligence .humanoides-centered-heading p {
    color: #C4D4DF;
}

.humanoides-intelligence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,.15);
}

.humanoides-intelligence-card {
    min-height: 240px;
    padding: 30px;
    border-right: 1px solid rgba(255,255,255,.15);
}

.humanoides-intelligence-card:last-child {
    border-right: none;
}

.humanoides-intelligence-card > span {
    display: block;
    margin-bottom: 38px;
    color: var(--hum-cyan-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.humanoides-intelligence-card h3 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
}

.humanoides-intelligence-card p {
    margin-bottom: 0;
    color: #C4D4DF;
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   APLICACIONES
========================================================= */

.humanoides-applications {
    padding: 110px 0;
    background: var(--hum-gray);
}

.humanoides-application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hum-border);
    border: 1px solid var(--hum-border);
}

.humanoides-application-card {
    overflow: hidden;
    background: #fff;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.humanoides-application-card:hover {
    position: relative;
    z-index: 2;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(4,31,58,.10);
}

.humanoides-application-image {
    width: 100%;
    height: 320px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 12px;
}

.humanoides-application-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.humanoides-application-card:hover .humanoides-application-image img {
    transform: scale(1.03);
}

.humanoides-application-content {
    padding: 28px 32px 34px;
}

.humanoides-application-content > span {
    display: block;
    margin-bottom: 9px;
    color: var(--hum-blue-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.humanoides-application-content h3 {
    margin-bottom: 12px;
    color: var(--hum-blue-dark);
    font-size: 22px;
    line-height: 1.2;
}

.humanoides-application-content p {
    margin-bottom: 0;
    color: var(--hum-text-light);
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   ECOSISTEMA
========================================================= */

.humanoides-ecosystem {
    padding: 120px 0;
    background: #fff;
}

.humanoides-ecosystem-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 90px;
    align-items: center;
}

.humanoides-ecosystem-media {
    width: 100%;
    min-height: 560px;
    overflow: hidden;
    border-radius: 6px;
    background: #EAF0F4;
}

.humanoides-ecosystem-media img {
    width: 100%;
    height: 560px;
    display: block;
    object-fit: cover;
}

.humanoides-ecosystem-content h2 {
    max-width: 620px;
    margin: 0 0 25px;
    color: var(--hum-blue-dark);
    font-size: 44px;
    line-height: 1.1;
    font-weight: 700;
}

.humanoides-ecosystem-content > p {
    max-width: 620px;
    margin-bottom: 20px;
    color: var(--hum-text-light);
    font-size: 16px;
    line-height: 1.75;
}

.humanoides-ecosystem-list {
    margin-top: 35px;
    border-top: 1px solid var(--hum-border);
}

.humanoides-ecosystem-list div {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--hum-border);
}

.humanoides-ecosystem-list strong {
    color: var(--hum-blue-dark);
    font-size: 15px;
}

.humanoides-ecosystem-list span {
    color: var(--hum-text-light);
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   MODELOS
========================================================= */

.humanoides-models {
    padding: 120px 0;
    background: var(--hum-gray);
}

.humanoides-model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 65px;
}

.humanoides-model-card {
    overflow: hidden;
    border: 1px solid var(--hum-border);
    background: #fff;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.humanoides-model-card:hover {
    transform: translateY(-7px);
    border-color: rgba(8,116,185,.35);
    box-shadow: 0 18px 40px rgba(4,31,58,.11);
}

.humanoides-model-image {
    height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background:
        linear-gradient(
            180deg,
            #F7FAFC 0%,
            #EDF3F7 100%
        );
}

.humanoides-model-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform .35s ease;
}

.humanoides-model-card:hover .humanoides-model-image img {
    transform: scale(1.03);
}

.humanoides-model-content {
    padding: 30px;
}

.humanoides-model-label {
    display: block;
    margin-bottom: 7px;
    color: var(--hum-blue-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.humanoides-model-content h3 {
    margin-bottom: 14px;
    color: var(--hum-blue-dark);
    font-size: 38px;
    line-height: 1;
}

.humanoides-model-content p {
    min-height: 70px;
    margin-bottom: 24px;
    color: var(--hum-text-light);
    font-size: 14px;
    line-height: 1.6;
}

.humanoides-model-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--hum-blue-light);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.humanoides-model-link span {
    font-size: 16px;
    transition: transform .2s ease;
}

.humanoides-model-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   TABLA COMPARATIVA HUMANOIDES
   ========================================================= */

.humanoides-comparison {
    padding: 120px 0;
    background: #fff;
}

.humanoides-table-wrapper {
    margin-top: 65px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid #DCE5EB;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(4, 31, 58, .04);
}

.humanoides-table {
    width: 100%;
    min-width: 1150px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.humanoides-table thead th {
    height: 275px;
    padding: 25px 20px 28px;
    vertical-align: bottom;
    text-align: center;
    background: #F3F7FA;
    border-bottom: 1px solid #DCE5EB;
    color: #16466A;
}

.humanoides-table thead th:first-child {
    width: 270px;
    padding: 30px 28px;
    vertical-align: top;
    text-align: left;
    font-size: 17px;
    letter-spacing: .5px;
    border-top-left-radius: 20px;
}

.humanoides-table thead th:last-child {
    border-top-right-radius: 20px;
}

.humanoides-model-header img {
    display: block;
    width: auto;
    height: 150px;
    max-width: 190px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.humanoides-model-header strong {
    display: block;
    margin-bottom: 8px;
    color: #16466A;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
}

.humanoides-model-header span {
    display: block;
    color: #0A91D1;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.humanoides-table tbody td {
    height: 70px;
    padding: 18px 25px;
    border-bottom: 1px solid #E6EBEF;
    text-align: center;
    color: #5D7181;
    font-size: 16px;
    line-height: 1.4;
    background: #fff;
}

.humanoides-table tbody td:first-child {
    width: 270px;
    text-align: left;
    color: #16466A;
    font-weight: 700;
    background: #F8FAFC;
}

.humanoides-table tbody tr:hover td {
    background: #F9FBFD;
}

.humanoides-table tbody tr:hover td:first-child {
    background: #F3F7FA;
}

.humanoides-table tbody tr:last-child td {
    border-bottom: none;
}

.humanoides-table-action a {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid #0A91D1;
    border-radius: 6px;
    color: #0A91D1;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.humanoides-table-action a:hover {
    background: #0A91D1;
    color: #fff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 750px) {

    .humanoides-comparison {
        padding: 80px 0;
    }

    .humanoides-table-wrapper {
        margin-top: 45px;
        border-radius: 16px;
    }

    .humanoides-table {
        min-width: 1050px;
    }

    .humanoides-table thead th {
        height: 245px;
    }

    .humanoides-model-header img {
        height: 125px;
    }

    .humanoides-capability-image {
        height: 240px;
    }
}


/* =========================================================
   CTA
========================================================= */

.humanoides-cta {
    padding: 90px 0;
    background:
        radial-gradient(
            ellipse at 85% 20%,
            rgba(10,145,209,.22),
            transparent 45%
        ),
        linear-gradient(
            115deg,
            #041F3A,
            #063557
        );
}

.humanoides-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.humanoides-cta-content {
    max-width: 560px;
}

.humanoides-cta-content h2 {
    margin: 15px 0 25px;
    color: #fff;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
}

.humanoides-cta-content p {
    margin: 0 0 28px;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.7;
}

.humanoides-cta-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.humanoides-cta-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.humanoides-cta-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hum-cyan-light);
    font-weight: 700;
}

.humanoides-cta-form {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(4,31,58,.10);
}

.humanoides-cta-form h3 {
    margin: 0 0 8px;
    color: #082A49;
    font-size: 28px;
}

.humanoides-cta-form > p {
    margin: 0 0 28px;
    color: #6B7B88;
    font-size: 15px;
    line-height: 1.6;
}

.humanoides-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.humanoides-form-group {
    margin-bottom: 18px;
}

.humanoides-form-group label {
    display: block;
    margin-bottom: 7px;
    color: #16466A;
    font-size: 14px;
    font-weight: 600;
}

.humanoides-form-group input,
.humanoides-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #D5E0E7;
    border-radius: 8px;
    background: #fff;
    color: #263B4A;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.humanoides-form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.humanoides-form-group input:focus,
.humanoides-form-group textarea:focus {
    border-color: #0A91D1;
    box-shadow: 0 0 0 3px rgba(10,145,209,.10);
}

.humanoides-cta-form button {
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 8px;
    background: #0874B9;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.humanoides-cta-form button:hover {
    background: #063557;
    transform: translateY(-1px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .humanoides-intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .humanoides-intro-text {
        padding-top: 0;
    }

    .humanoides-intelligence-grid {
        grid-template-columns: 1fr 1fr;
    }

    .humanoides-intelligence-card:nth-child(2) {
        border-right: none;
    }

    .humanoides-intelligence-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .humanoides-ecosystem-grid {
        gap: 50px;
    }

    .humanoides-model-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .humanoides-cta-grid {
        gap: 50px;
    }
}


@media (max-width: 750px) {

    .humanoides-container {
        width: min(100% - 30px, 1200px);
    }

    .humanoides-hero {
        min-height: 600px;
        align-items: flex-end;
    }

    .humanoides-hero-image img {
        object-position: center;
    }

    .humanoides-hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(4,31,58,.98) 0%,
                rgba(4,31,58,.80) 45%,
                rgba(4,31,58,.20) 100%
            );
    }

    .humanoides-hero-content {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .humanoides-hero h1 {
        font-size: 46px;
        letter-spacing: -1px;
    }

    .humanoides-hero p {
        font-size: 16px;
    }

    .humanoides-intro,
    .humanoides-intelligence,
    .humanoides-applications,
    .humanoides-ecosystem,
    .humanoides-models,
    .humanoides-collaboration {
        padding: 80px 0;
    }

    .humanoides-capabilities {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }

    .humanoides-capability,
    .humanoides-capability:first-child {
        padding: 28px 0;
        border-right: none;
        border-bottom: 1px solid var(--hum-border);
    }

    .humanoides-capability:last-child {
        border-bottom: none;
    }

    .humanoides-intelligence-grid {
        grid-template-columns: 1fr;
    }

    .humanoides-intelligence-card {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .humanoides-intelligence-card:last-child {
        border-bottom: none;
    }

    .humanoides-application-grid {
        grid-template-columns: 1fr 1fr;
    }

    .humanoides-ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .humanoides-ecosystem-media,
    .humanoides-ecosystem-media img {
        min-height: 450px;
        height: 450px;
    }

    ..humanoides-model-grid {
        grid-template-columns: 1fr;
    }

    .humanoides-model-image {
        height: 400px;
    }

    .humanoides-collaboration-media,
    .humanoides-collaboration-media img {
        min-height: 450px;
        height: 450px;
    }

    .humanoides-cta-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .humanoides-cta-content {
        max-width: none;
    }

    .humanoides-cta-content h2 {
        font-size: 34px;
    }

    .humanoides-cta-form {
        padding: 28px 22px;
    }
}


@media (max-width: 520px) {

    .humanoides-application-grid {
        grid-template-columns: 1fr;
    }

    .humanoides-model-image {
        height: 430px;
    }

    .humanoides-ecosystem-list div {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .humanoides-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
