/* =========================================================
   HI PEOPLE — Diseño principal
   Azul marino + blanco + verde
========================================================= */

:root {
    --navy: #0b1f3a;
    --navy-2: #153b66;
    --green: #22a06b;
    --green-dark: #178457;
    --green-soft: #eaf7f1;
    --white: #ffffff;
    --bg: #f6f8fb;
    --bg-blue: #eef4fa;
    --text: #172033;
    --muted: #667085;
    --border: #e3e8ef;
    --shadow: 0 18px 45px rgba(11, 31, 58, .09);
    --radius: 22px;
    --max: 1180px;
    --transition: .25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
section { padding: 88px max(24px, calc((100% - var(--max)) / 2)); }

.section-label {
    color: var(--green-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

h1, h2, h3 { color: var(--navy); line-height: 1.12; }
h1 { font-size: clamp(2.7rem, 5vw, 5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); letter-spacing: -.035em; }
h2 span, h1 span { color: var(--green); }

.section-header {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-header > p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-top: 18px;
}

/* NAV */
.navbar {
    min-height: 82px;
    padding: 0 max(24px, calc((100% - var(--max)) / 2));
    display: flex;
    align-items: center;
    gap: 28px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo, .footer-logo {
    color: var(--navy);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -.055em;
    white-space: nowrap;
}
.logo span, .footer-logo span { color: var(--green); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}
.main-nav a {
    color: #344054;
    font-size: .92rem;
    font-weight: 650;
    transition: var(--transition);
}
.main-nav a:hover { color: var(--green-dark); }

.language-selector {
    display: flex;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
}
.language-button {
    min-width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
}
.language-button.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 2px 9px rgba(11,31,58,.09);
}

.nav-button {
    padding: 11px 17px;
    border-radius: 11px;
    background: var(--green);
    color: var(--white);
    font-size: .86rem;
    font-weight: 750;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-button:hover { background: var(--green-dark); transform: translateY(-1px); }

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

/* BUTTONS */
.button {
    min-height: 48px;
    padding: 13px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 750;
    transition: var(--transition);
}
.button.primary { background: var(--green); color: var(--white); }
.button.primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34,160,107,.2);
}
.button.secondary {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
}
.button.secondary:hover { border-color: var(--navy); }
.button.large { padding: 16px 25px; }

/* HERO */
.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: center;
    gap: 70px;
    background:
        radial-gradient(circle at 80% 20%, rgba(34,160,107,.09), transparent 28%),
        linear-gradient(180deg, #fff, #f7f9fc);
}
.hero-content { max-width: 720px; }
.hero-badge {
    display: inline-flex;
    padding: 8px 13px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: .84rem;
    font-weight: 750;
}
.hero-content > p {
    max-width: 650px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 1.13rem;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { color: var(--navy); font-size: .9rem; }
.hero-trust span { color: var(--muted); font-size: .78rem; }

.hero-card {
    position: relative;
    padding: 38px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--navy), var(--navy-2));
    color: var(--white);
    box-shadow: 0 30px 70px rgba(11,31,58,.18);
}
.hero-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -55px;
    top: -55px;
    border-radius: 50%;
    background: rgba(34,160,107,.15);
}
.card-icon {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    margin-bottom: 25px;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    font-size: 1.45rem;
}
.hero-card h3 { color: var(--white); font-size: 1.65rem; margin-bottom: 14px; }
.hero-card p { color: rgba(255,255,255,.72); margin-bottom: 12px; }
.hero-card a {
    display: inline-block;
    margin-top: 12px;
    color: #74e4b8;
    font-weight: 750;
}

/* ABOUT */
.intro {
    text-align: center;
    background: var(--white);
}
.intro > * { max-width: 850px; margin-left: auto; margin-right: auto; }
.intro h2 { margin-bottom: 24px; }
.intro p { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }

/* OPPORTUNITY / ADVISOR */
.services { background: var(--bg); }
.advisor-opportunity {
    max-width: 850px;
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}
.advisor-opportunity .service-icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    margin-bottom: 20px;
    border-radius: 15px;
    background: var(--green-soft);
    font-size: 1.5rem;
}
.advisor-opportunity h3 { font-size: 1.6rem; }
.advisor-opportunity p {
    max-width: 690px;
    margin: 13px 0 24px;
    color: var(--muted);
}

/* WORKERS */
.workers {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
    background: var(--navy);
}
.workers h2, .workers h3 { color: var(--white); }
.workers .section-label { color: #74e4b8; }
.workers-text p {
    color: rgba(255,255,255,.7);
    margin: 18px 0;
}
.workers-text .button { margin-top: 8px; }
.workers-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.workers-list div {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.88);
    font-weight: 650;
}

/* HUMAN */
.human-section { background: var(--bg-blue); }
.human-section > div { max-width: 850px; }
.human-section p { color: var(--muted); margin-top: 18px; }
.human-section blockquote {
    margin-top: 27px;
    padding: 20px 24px;
    border-left: 4px solid var(--green);
    border-radius: 0 12px 12px 0;
    background: var(--white);
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 700;
}

/* PROCESS */
.process-section { background: var(--white); }
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.service-card {
    min-height: 205px;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #cad4df;
}
.service-card strong {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--green);
    font-size: .88rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .94rem; }

/* COMPANIES */
.companies {
    background: linear-gradient(145deg, #0b1f3a, #123b66);
    color: var(--white);
}
.companies h2 { color: var(--white); }
.companies > p {
    max-width: 730px;
    margin-top: 18px;
    color: rgba(255,255,255,.7);
}
.companies .section-label { color: #74e4b8; }
.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 35px 0 30px;
}
.company-grid > div {
    padding: 27px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 17px;
    background: rgba(255,255,255,.06);
}
.company-grid strong { color: #74e4b8; }
.company-grid h3 { color: var(--white); margin: 14px 0 9px; }
.company-grid p { color: rgba(255,255,255,.66); }

/* FAQ */
.faq-section { background: var(--bg); }
.faq-list { max-width: 900px; }
.faq-list details {
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
}
.faq-list summary {
    padding: 19px 22px;
    color: var(--navy);
    font-weight: 750;
    cursor: pointer;
}
.faq-list details p {
    padding: 0 22px 20px;
    color: var(--muted);
}

/* CONTACT */
.contact {
    text-align: center;
    background:
        radial-gradient(circle at 50% 0, rgba(34,160,107,.1), transparent 35%),
        var(--white);
}
.contact-content { max-width: 760px; margin: auto; }
.contact-content p { color: var(--muted); margin: 17px auto; }
.contact-content .button { margin-top: 12px; }
.email { margin-top: 16px; color: var(--muted); font-size: .92rem; }

/* FOOTER */
footer {
    padding: 50px max(24px, calc((100% - var(--max)) / 2));
    background: #071629;
    color: rgba(255,255,255,.65);
    text-align: center;
}
.footer-logo { color: var(--white); margin-bottom: 7px; }
.footer-info { margin-top: 24px; font-size: .86rem; line-height: 1.8; }
.privacy-notice {
    max-width: 920px;
    margin: 30px auto 0;
    padding: 22px 24px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    text-align: left;
}
.privacy-notice h3 {
    margin: 0 0 10px;
    color: rgba(255,255,255,.92);
    font-size: .98rem;
}
.privacy-notice p {
    margin: 0;
    font-size: .78rem;
    line-height: 1.7;
    color: rgba(255,255,255,.62);
}
.copyright {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.09);
    font-size: .78rem;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .main-nav { gap: 16px; }
    .main-nav a { font-size: .84rem; }
    .nav-button { display: none; }
    .hero { gap: 40px; }
}

@media (max-width: 850px) {
    section { padding: 70px 22px; }

    .navbar {
        min-height: 72px;
        padding: 0 20px;
        flex-wrap: wrap;
    }

    .language-selector { margin-left: auto; }
    .mobile-menu-button { display: block; }

    .main-nav {
        display: none;
        order: 10;
        width: 100%;
        margin: 0;
        padding: 10px 0 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 3px; font-size: .95rem; }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 70px;
    }
    .workers { grid-template-columns: 1fr; gap: 40px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .company-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    section { padding: 58px 18px; }
    .logo { font-size: 1.25rem; }
    .language-selector { gap: 1px; padding: 3px; }
    .language-button { min-width: 29px; height: 31px; font-size: .7rem; }

    h1 { font-size: 2.65rem; }
    h2 { font-size: 2rem; }

    .hero-buttons, .hero-buttons .button { width: 100%; }
    .hero-trust { gap: 18px; }
    .hero-card, .advisor-opportunity { padding: 27px; }
    .workers-list { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
}


/* =========================================================
   COMPACT DESKTOP LAYOUT + INTERACTIVE JOURNEY
========================================================= */

.opportunities-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
    gap: 60px;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
}

.opportunity-copy {
    max-width: 650px;
}

.opportunity-copy > p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.05rem;
}

.opportunity-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.opportunity-points span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: .82rem;
    font-weight: 700;
}

.opportunities-compact .advisor-opportunity {
    max-width: none;
    padding: 32px;
}

.human-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.compact-header {
    max-width: 800px;
    margin-bottom: 30px;
}

.compact-header > p {
    margin-top: 15px;
    color: var(--muted);
}

.journey-layout {
    display: grid;
    grid-template-columns: minmax(230px, .42fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1050px;
}

.journey-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.journey-tab {
    min-height: 58px;
    padding: 12px 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255,255,255,.65);
    color: var(--navy);
    font-weight: 750;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.journey-tab span {
    color: var(--green);
    font-size: .76rem;
}

.journey-tab:hover {
    background: var(--white);
    border-color: #cbd5df;
}

.journey-tab.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.journey-tab.active span {
    color: #74e4b8;
}

.journey-content {
    min-height: 300px;
    padding: 32px 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.journey-panel {
    animation: journeyFade .25s ease;
}

.journey-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 13px;
    background: var(--green-soft);
    font-size: 1.35rem;
}

.journey-panel h3 {
    margin-bottom: 12px;
    font-size: 1.45rem;
}

.journey-panel p {
    max-width: 700px;
    color: var(--muted);
}

.journey-cta {
    margin-top: 22px;
}

@keyframes journeyFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1100px) {
    section {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .intro {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .process-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

@media (max-width: 850px) {
    .opportunities-compact,
    .journey-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .journey-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .journey-content {
        min-height: 0;
    }
}

@media (max-width: 520px) {
    .journey-tabs {
        grid-template-columns: 1fr;
    }

    .journey-content {
        padding: 26px;
    }
}
/* =========================================================
   HI PEOPLE — APROVECHAR MEJOR PANTALLAS GRANDES
========================================================= */

@media (min-width: 1100px) {

    :root {
        --max: 1320px;
    }


    /* NOSOTROS
       Texto principal + información complementaria
    */

    .intro {
        text-align: left;
        display: grid;
        grid-template-columns: 0.9fr 1.1fr;
        column-gap: 80px;
        align-items: center;
    }

    .intro .section-label,
    .intro h2 {
        grid-column: 1;
        max-width: 560px;
        margin-left: 0;
        margin-right: 0;
    }

    .intro p {
        grid-column: 2;
        max-width: 650px;
        margin-left: 0;
        margin-right: 0;
    }


    /* OPORTUNIDADES
       Utilizar prácticamente todo el ancho disponible
    */

    .opportunities-compact {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(430px, 0.8fr);

        gap: 80px;
    }

    .opportunity-copy {
        max-width: 700px;
    }

    .opportunities-compact .advisor-opportunity {
        width: 100%;
        max-width: 560px;
        justify-self: end;
    }


    /* TRABAJADORES */

    .workers {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(450px, 0.85fr);

        gap: 90px;
    }

    .workers-text {
        max-width: 700px;
    }

    .workers-list {
        width: 100%;
    }


    /* APRENDER / ADAPTARSE / ETC */

    .human-section .section-header {
        max-width: 900px;
    }

    .journey-layout {
        max-width: none;

        grid-template-columns:
            minmax(260px, 0.35fr)
            minmax(0, 1fr);

        gap: 35px;
    }

    .journey-content {
        width: 100%;
        min-height: 280px;
    }

    .journey-panel p {
        max-width: 850px;
    }


    /* CÓMO FUNCIONA
       Aprovechamos cuatro columnas
    */

    .process-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 18px;
    }

    .service-card {
        min-height: 190px;
    }


    /* EMPRESAS */

    .companies > p {
        max-width: 900px;
    }

    .company-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 22px;
    }


    /* FAQ
       Ya no queda como una columna estrecha
    */

    .faq-list {
        max-width: none;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px 18px;

        align-items: start;
    }

    .faq-list details {
        margin-bottom: 0;
    }


    /* CONTACTO */

    .contact-content {
        max-width: 900px;
    }

}

/* =========================================================
   FINAL BRAND + COMPACT LAYOUT UPDATE
========================================================= */
.logo { display:flex; align-items:center; flex:0 0 auto; }
.logo img { display:block; width:145px; height:auto; max-height:48px; }
.footer-logo img { display:block; width:170px; height:auto; margin:0 auto 10px; filter:brightness(0) invert(1); }

@media (min-width: 1100px) {
    .navbar { gap:22px; }
    .main-nav { gap:22px; }
    .intro { grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); column-gap:58px; padding-top:62px; padding-bottom:62px; }
    .about-heading { max-width:600px; }
    .about-copy { max-width:720px; display:grid; gap:18px; }
    .intro .about-heading .section-label, .intro .about-heading h2, .intro .about-copy p { max-width:none; margin-left:0; margin-right:0; }
    .intro .about-copy p { grid-column:auto; margin-top:0; }
    .human-section { padding-top:62px; padding-bottom:62px; }
    .human-section .compact-header { max-width:1080px; margin-bottom:26px; }
    .journey-layout { grid-template-columns:minmax(245px,.28fr) minmax(0,1fr); gap:28px; }
    .journey-content { min-height:260px; padding:34px 42px; }
    .journey-panel p { max-width:none; }
}

@media (max-width: 1220px) and (min-width: 851px) {
    .navbar { gap:14px; }
    .main-nav { gap:14px; }
    .main-nav a { font-size:.8rem; }
    .language-button { min-width:30px; }
}

@media (max-width: 850px) {
    .logo img { width:125px; }
    .language-selector { order:2; }
    .mobile-menu-button { order:3; }
    .main-nav { order:10; }
}

@media (max-width: 560px) {
    .navbar { gap:8px; }
    .logo img { width:108px; }
    .language-selector { width:100%; order:9; justify-content:center; margin:0 0 7px; }
    .language-button { flex:1 1 0; max-width:48px; }
    .mobile-menu-button { margin-left:auto; }
}

/* =========================================================
   HI PEOPLE — VISUAL BRAND REFRESH
========================================================= */
.logo img { width: 178px; max-height: 56px; }
.nav-dropdown { position: relative; display:flex; align-items:center; }
.nav-dropdown-trigger::after { content:"⌄"; margin-left:6px; font-size:.75em; }
.nav-dropdown-menu { position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%) translateY(8px); min-width:210px; padding:8px; border:1px solid var(--border); border-radius:14px; background:#fff; box-shadow:var(--shadow); opacity:0; visibility:hidden; transition:var(--transition); }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.nav-dropdown-menu a { display:block; padding:11px 13px; border-radius:9px; white-space:nowrap; }
.nav-dropdown-menu a:hover { background:var(--green-soft); }

.journey-button { color:var(--green-dark); padding-left:4px; padding-right:4px; }
.journey-button:hover { color:var(--navy); transform:translateX(3px); }

.hero { grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr); gap:54px; min-height:620px; }
.hero-visual { position:relative; max-width:590px; justify-self:end; }
.hero-visual > img { display:block; width:100%; border-radius:30px; box-shadow:0 32px 70px rgba(11,31,58,.18); }
.hero-brand-card { position:absolute; left:-28px; bottom:30px; display:flex; align-items:center; gap:13px; padding:14px 18px; border:1px solid rgba(255,255,255,.8); border-radius:16px; background:rgba(255,255,255,.94); box-shadow:var(--shadow); backdrop-filter:blur(12px); }
.hero-brand-card img { width:42px; height:42px; }
.hero-brand-card div { display:flex; flex-direction:column; }
.hero-brand-card strong { color:var(--navy); letter-spacing:.04em; }
.hero-brand-card span { color:var(--muted); font-size:.76rem; }

.human-section > div { max-width:none; }
.journey-layout { grid-template-columns:minmax(220px,.27fr) minmax(360px,.73fr) minmax(280px,.58fr); max-width:none; align-items:stretch; }
.journey-content { min-height:100%; }
.journey-visual { position:relative; min-height:310px; overflow:hidden; border-radius:var(--radius); box-shadow:var(--shadow); background:var(--navy); }
.journey-visual > img { width:100%; height:100%; object-fit:cover; display:block; }
.journey-brand { position:absolute; left:20px; right:20px; bottom:18px; padding:12px 16px; border-radius:14px; background:rgba(255,255,255,.94); }
.journey-brand img { display:block; width:150px; height:auto; }

footer { position:relative; overflow:hidden; }
footer::before { content:""; position:absolute; width:300px; height:300px; right:-110px; top:-150px; border-radius:50%; background:rgba(34,160,107,.09); }
.footer-logo img { width:205px; }

@media (max-width: 1180px) {
  .journey-layout { grid-template-columns:230px minmax(0,1fr); }
  .journey-visual { grid-column:1 / -1; min-height:280px; max-height:360px; }
}
@media (max-width: 850px) {
  .logo img { width:145px; }
  .nav-dropdown { display:block; }
  .nav-dropdown-trigger::after { display:none; }
  .nav-dropdown-menu { position:static; transform:none; opacity:1; visibility:visible; box-shadow:none; border:0; padding:0 0 0 14px; background:transparent; }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { transform:none; }
  .nav-dropdown-menu a { padding:9px 3px; color:var(--muted); }
  .hero { grid-template-columns:1fr; }
  .hero-visual { max-width:650px; justify-self:stretch; }
  .hero-brand-card { left:18px; }
  .journey-layout { grid-template-columns:1fr; }
  .journey-visual { grid-column:auto; }
}
@media (max-width:560px) {
  .logo img { width:126px; }
  .hero-brand-card { position:static; margin-top:12px; }
  .journey-visual { min-height:240px; }
}

/* =========================================================
   HI PEOPLE — WARSAW HUMAN VISUAL SYSTEM
   Reference-approved composition
========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
    gap: 28px;
    min-height: 600px;
    background:
        linear-gradient(90deg, rgba(238,247,253,.98) 0%, rgba(238,247,253,.93) 43%, rgba(238,247,253,.15) 66%, rgba(238,247,253,0) 100%),
        #eef7fd;
}
.hero::after {
    content:"";
    position:absolute;
    right:-90px;
    bottom:-120px;
    width:520px;
    height:230px;
    border-radius:50%;
    background:rgba(34,160,107,.14);
    transform:rotate(-8deg);
    pointer-events:none;
}
.hero-content { position:relative; z-index:3; }
.hero-visual {
    position: relative;
    align-self: stretch;
    width: 100%;
    max-width: none;
    min-height: 500px;
    border-radius: 34px 0 0 34px;
    overflow: hidden;
    box-shadow: none;
    isolation:isolate;
}
.hero-visual > img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    border-radius:0;
    box-shadow:none;
}
.hero-visual::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(238,247,253,.5), transparent 24%);
    pointer-events:none;
}
.hero-brand-card { z-index:3; left:26px; bottom:26px; }
.hero h1 { max-width: 760px; }
.hero-buttons { flex-wrap:wrap; }
.journey-button {
    padding: 15px 22px;
    border:1px solid #cbd7e5;
    border-radius:12px;
    background:#fff;
    color:var(--navy);
    font-weight:800;
    box-shadow:0 8px 20px rgba(11,31,58,.05);
}

.human-section {
    position:relative;
    overflow:hidden;
    background:linear-gradient(120deg,#f5fbff 0%,#eef7fd 65%,#e8f7f2 100%);
}
.human-section::after {
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border:2px solid rgba(34,160,107,.18);
    border-radius:50%;
    right:-110px;
    top:120px;
    pointer-events:none;
}
.journey-layout {
    position:relative;
    z-index:2;
    grid-template-columns:minmax(230px,.28fr) minmax(420px,.62fr) minmax(330px,.5fr);
    gap:28px;
}
.journey-visual {
    min-height: 350px;
    background:#dcecf6;
    border-radius:28px;
    overflow:visible;
    box-shadow:none;
    display:flex;
    align-items:center;
    gap:18px;
}
.journey-visual > img {
    width:270px;
    height:270px;
    flex:0 0 270px;
    border-radius:50%;
    object-fit:cover;
    object-position:center;
    box-shadow:0 20px 45px rgba(11,31,58,.14);
    border:10px solid rgba(255,255,255,.7);
}
.journey-brand {
    position:static;
    flex:1;
    padding:0;
    background:transparent;
}
.journey-brand img { width:175px; margin-bottom:18px; }
.journey-brand::after {
    content:"Orientación clara\A Procesos responsables\A Acompañamiento cercano";
    white-space:pre-line;
    display:block;
    color:var(--navy);
    font-weight:800;
    line-height:2.35;
    font-size:.86rem;
}

@media (max-width:1180px) {
    .hero { grid-template-columns:1fr 1fr; }
    .journey-layout { grid-template-columns:230px minmax(0,1fr); }
    .journey-visual { grid-column:1/-1; min-height:300px; padding:24px; justify-content:center; }
}
@media (max-width:850px) {
    .hero { grid-template-columns:1fr; padding-bottom:0; }
    .hero-visual { min-height:390px; border-radius:28px 28px 0 0; }
    .hero-visual::after { background:linear-gradient(180deg, rgba(238,247,253,.35), transparent 28%); }
    .journey-layout { grid-template-columns:1fr; }
    .journey-visual { grid-column:auto; }
}
@media (max-width:560px) {
    .hero-visual { min-height:310px; }
    .journey-visual { flex-direction:column; text-align:center; }
    .journey-visual > img { width:220px; height:220px; flex-basis:220px; }
    .journey-brand img { margin-inline:auto; }
}


/* =========================================================
   HI PEOPLE — VISUAL BALANCE PATCH
   Smaller Warsaw hero + soft fade + translatable visual copy
========================================================= */
@media (min-width: 851px) {
    .hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(430px, .82fr);
        gap: 34px;
        min-height: 540px;
    }

    .hero-visual {
        align-self: center;
        min-height: 430px;
        max-height: 500px;
        max-width: 680px;
        justify-self: end;
        border-radius: 30px;
        overflow: hidden;
    }

    .hero-visual > img {
        min-height: 430px;
        object-position: 52% center;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 9%, #000 27%, #000 100%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 9%, #000 27%, #000 100%);
    }

    .hero-visual::after {
        background: linear-gradient(90deg, rgba(238,247,253,.72) 0%, rgba(238,247,253,.22) 16%, transparent 34%);
    }

    .hero-brand-card {
        left: 42px;
        bottom: 22px;
    }
}

.journey-brand::after { content: none !important; display:none !important; }
.journey-brand-points { display:grid; gap:13px; }
.journey-brand-points span {
    position:relative;
    display:block;
    padding-left:20px;
    color:var(--navy);
    font-size:.88rem;
    line-height:1.35;
    font-weight:800;
}
.journey-brand-points span::before {
    content:"";
    position:absolute;
    left:0;
    top:.48em;
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--green);
}

@media (min-width: 1181px) {
    .journey-layout {
        grid-template-columns: minmax(220px,.25fr) minmax(410px,.60fr) minmax(300px,.42fr);
        gap:24px;
    }
    .journey-visual { min-height:330px; padding:22px; }
    .journey-visual > img { width:235px; height:235px; flex-basis:235px; }
    .journey-brand img { width:160px; margin-bottom:16px; }
}

@media (max-width: 850px) {
    .hero-visual > img { -webkit-mask-image:none; mask-image:none; }
}


/* =========================================================
   HERO FINAL — imagen proporcional, limpia y alineada a marca
========================================================= */
@media (min-width: 851px) {
    .hero {
        grid-template-columns: minmax(0, 1.06fr) minmax(460px, .94fr);
        gap: 42px;
        align-items: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 640px;
        min-height: 0;
        height: auto;
        aspect-ratio: 1.38 / 1;
        justify-self: end;
        align-self: center;
        border-radius: 30px;
        overflow: hidden;
        background: #eef7fd;
        box-shadow: 0 24px 58px rgba(21, 59, 102, .14);
    }

    .hero-visual > img {
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        object-position: 56% center;
        border-radius: inherit;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.48) 10%, #000 28%, #000 100%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.48) 10%, #000 28%, #000 100%);
    }

    .hero-visual::after {
        background: linear-gradient(90deg,
            rgba(238,247,253,.92) 0%,
            rgba(238,247,253,.45) 11%,
            rgba(238,247,253,.08) 25%,
            transparent 38%);
    }

    .hero-brand-card { display: none !important; }
}

@media (max-width: 850px) {
    .hero-visual {
        min-height: 0;
        aspect-ratio: 4 / 3;
        border-radius: 24px;
        overflow: hidden;
    }
    .hero-visual > img {
        width:100%;
        height:100%;
        min-height:0;
        object-fit:cover;
        object-position:58% center;
        -webkit-mask-image:none;
        mask-image:none;
    }
    .hero-brand-card { display:none !important; }
}

/* =========================================================
   HERO FINAL — composición fiel a la referencia aprobada
========================================================= */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(500px, 0.9fr) minmax(620px, 1.1fr);
    align-items: stretch;
    gap: 0;
    min-height: 690px;
    padding-top: 56px;
    padding-bottom: 42px;
    overflow: hidden;
    background: #eef7fd;
}
.hero::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -190px;
    width: 620px;
    height: 300px;
    border-radius: 50%;
    background: rgba(34,160,107,.12);
    transform: rotate(-8deg);
    z-index: 0;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 4;
    align-self: center;
    padding: 10px 34px 0 0;
}
.hero-content h1 {
    max-width: 690px;
    margin: 26px 0 22px;
    font-size: clamp(3.5rem, 5.25vw, 5.65rem);
    line-height: .98;
    letter-spacing: -.062em;
}
.hero-content > p {
    max-width: 690px;
    font-size: 1.16rem;
    line-height: 1.72;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 650px;
    margin-top: 28px;
}
.hero-buttons .journey-button {
    flex-basis: 100%;
    width: max-content;
    max-width: 360px;
    justify-content: flex-start;
    border: 1px solid #cbd8e6;
    background: rgba(255,255,255,.92);
    color: var(--navy);
}
.hero-trust {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0;
    max-width: 730px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(11,31,58,.1);
}
.hero-trust div {
    position: relative;
    padding: 0 22px 0 58px;
    min-height: 48px;
}
.hero-trust div::before {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.82);
    color: var(--green);
    font-size: 1.25rem;
    box-shadow: 0 8px 22px rgba(11,31,58,.06);
}
.hero-trust div:nth-child(1)::before { content:"💼"; }
.hero-trust div:nth-child(2)::before { content:"🎓"; }
.hero-trust div:nth-child(3)::before { content:"👥"; }
.hero-trust strong { font-size:.93rem; }
.hero-trust span { margin-top:4px; line-height:1.35; }
.hero-visual {
    position: absolute !important;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 56%;
    max-width: none !important;
    min-height: 0 !important;
    overflow: hidden;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #eef7fd;
}
.hero-visual > img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 54% 48% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 7%, #000 24%, #000 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 7%, #000 24%, #000 100%) !important;
}
.hero-visual::before {
    content:"";
    position:absolute;
    z-index:2;
    inset:0 auto 0 0;
    width:30%;
    background:linear-gradient(90deg,#eef7fd 0%,rgba(238,247,253,.9) 22%,rgba(238,247,253,.42) 60%,transparent 100%);
    pointer-events:none;
}
.hero-visual::after { display:none !important; }
.hero-brand-card { display:none !important; }

@media (max-width: 1180px) {
    .hero { grid-template-columns: minmax(440px,.95fr) minmax(500px,1.05fr); min-height:640px; }
    .hero-content h1 { font-size:clamp(3.2rem,5.2vw,4.8rem); }
    .hero-visual { width:54%; }
}
@media (max-width: 900px) {
    .hero {
        display:flex;
        flex-direction:column;
        min-height:0;
        padding-bottom:0;
    }
    .hero-content { padding:0 0 38px; }
    .hero-content h1 { font-size:clamp(3rem,10vw,4.4rem); }
    .hero-visual {
        position:relative !important;
        width:calc(100% + 48px);
        height:460px;
        margin-left:-24px;
        order:2;
    }
    .hero-visual > img {
        -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 15%,#000 100%) !important;
        mask-image:linear-gradient(180deg,transparent 0%,#000 15%,#000 100%) !important;
        object-position:52% 48% !important;
    }
    .hero-visual::before {
        width:100%; height:24%; inset:0 0 auto;
        background:linear-gradient(180deg,#eef7fd 0%,rgba(238,247,253,.65) 42%,transparent 100%);
    }
    .hero-trust { margin-top:28px; }
}
@media (max-width: 620px) {
    .hero { padding-top:34px; }
    .hero-content h1 { font-size:clamp(2.65rem,13vw,3.55rem); }
    .hero-buttons { display:grid; grid-template-columns:1fr; }
    .hero-buttons .button, .hero-buttons .journey-button { width:100%; max-width:none; }
    .hero-trust { grid-template-columns:1fr; gap:18px; }
    .hero-visual { height:360px; }
}

/* =========================================================
   HI PEOPLE — AJUSTE FINAL TARJETA TU CAMINO EN POLONIA
   Espacio adicional para traducciones largas (PL/UA/ID/PH)
========================================================= */
@media (min-width:1181px) {
  .journey-layout {
    grid-template-columns: minmax(220px,.27fr) minmax(410px,.61fr) minmax(390px,.58fr);
    gap:26px;
  }
  .journey-visual {
    min-width:0;
    padding:28px 30px;
    gap:24px;
  }
  .journey-visual > img {
    width:220px;
    height:220px;
    flex:0 0 220px;
    border-width:9px;
  }
  .journey-brand {
    min-width:0;
  }
  .journey-brand img {
    width:155px;
    max-width:100%;
    margin-bottom:18px;
  }
  .journey-brand-points {
    min-width:0;
    gap:14px;
  }
  .journey-brand-points span {
    min-width:0;
    padding-left:20px;
    font-size:.84rem;
    line-height:1.38;
    overflow-wrap:anywhere;
    hyphens:auto;
  }
}

@media (max-width:1180px) and (min-width:851px) {
  .journey-visual {
    padding:26px 30px;
  }
  .journey-visual > img {
    width:220px;
    height:220px;
    flex-basis:220px;
  }
  .journey-brand {
    max-width:360px;
    min-width:0;
  }
  .journey-brand img {
    width:155px;
    max-width:100%;
  }
  .journey-brand-points span {
    overflow-wrap:anywhere;
    hyphens:auto;
  }
}


/* =========================================================
   AJUSTE SOLICITADO — HERO
   Base: HI-PEOPLE-MASTER-LIMPIA
   Solo mueve Trabajo / Formación / Acompañamiento.
   NO modifica la paleta ni estrecha el texto principal.
========================================================= */

@media (min-width: 901px) {

    /* Conservamos las proporciones originales del hero */
    .hero {
        min-height: 690px !important;
        padding-top: 56px !important;
        padding-bottom: 42px !important;
    }

    .hero-content {
        position: relative !important;
        z-index: 4 !important;
        max-width: none !important;
        padding: 10px 34px 0 0 !important;
    }

    .hero-content h1 {
        max-width: 690px !important;
        font-size: clamp(3.5rem, 5.25vw, 5.65rem) !important;
        line-height: .98 !important;
    }

    .hero-content > p {
        max-width: 690px !important;
    }

    /* Los 3 elementos suben al espacio superior derecho,
       pero siguen dentro del mismo HTML para no romper el grid. */
    .hero-content .hero-trust {
        position: absolute !important;
        z-index: 8 !important;
        top: -24px !important;
        left: calc(100% + 54px) !important;

        width: min(650px, 48vw) !important;
        max-width: 650px !important;
        min-height: 88px !important;

        margin: 0 !important;
        padding: 12px 16px !important;

        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;

        border: 1px solid rgba(11,31,58,.08) !important;
        border-radius: 18px !important;
        background: rgba(255,255,255,.88) !important;
        box-shadow: 0 12px 30px rgba(11,31,58,.06) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .hero-content .hero-trust div {
        min-width: 0 !important;
        min-height: 58px !important;
        padding: 4px 7px 4px 48px !important;
    }

    .hero-content .hero-trust div::before {
        width: 38px !important;
        height: 38px !important;
        top: 8px !important;
        font-size: 1rem !important;
        box-shadow: none !important;
    }

    .hero-content .hero-trust strong {
        font-size: .86rem !important;
        line-height: 1.15 !important;
    }

    .hero-content .hero-trust span {
        margin-top: 3px !important;
        font-size: .71rem !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
    }

    /* La foto conserva su integración original, pero empieza debajo
       de la nueva franja superior para que no la tape. */
    .hero-visual {
        top: 138px !important;
        bottom: 0 !important;
        width: 56% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .hero-visual > img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 54% 48% !important;
    }
}

/* En pantallas donde ya no cabe cómodamente la franja arriba,
   vuelve al diseño normal y seguro. */
@media (min-width: 901px) and (max-width: 1180px) {
    .hero-content .hero-trust {
        left: calc(100% + 24px) !important;
        width: min(560px, 47vw) !important;
    }

    .hero-content .hero-trust strong {
        font-size: .8rem !important;
    }

    .hero-content .hero-trust span {
        font-size: .66rem !important;
    }
}

@media (max-width: 900px) {
    .hero-content .hero-trust {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 730px !important;
        min-height: 0 !important;
        margin-top: 34px !important;
    }

    .hero-visual {
        top: auto !important;
    }
}
