.hero {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 124px 32px 104px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 50%;
    width: min(760px, 84vw);
    height: 340px;
    border-radius: 9999px;
    background: rgba(0, 107, 44, 0.08);
    filter: blur(58px);
    transform: translateX(-50%);
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero_nosotros,
.mision,
.equipo,
.cta_final {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.hero_nosotros {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 80px;
}

.contenedor_titulo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contenedor_texto {
    display: flex;
    flex: 1 1 56%;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
}

.contenedor_texto > h1,
.contenedor_texto > h2,
.historia h2,
.mision h2,
.colaboraciones h2,
.cta_final h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.contenedor_texto > h1,
.contenedor_texto > h2 {
    max-width: 960px;
    font-size: clamp(34px, 4.8vw, 50px);
    font-weight: 800;
    line-height: 0.98;
    transition: transform 250ms ease, color 250ms ease;
}

.contenedor_texto > h1:hover,
.contenedor_texto > h2:hover {
    transform: translateY(-2px);
    color: #236b53;
}

.contenedor_texto > h1 span,
.contenedor_texto > h2 span {
    color: var(--primary);
    font-style: italic;
    font-weight: 800;
    transition: color 250ms ease;
}

.contenedor_texto > h1:hover span,
.contenedor_texto > h2:hover span {
    color: #4caf50;
}

.contenedor_texto > h1 + h2,
.contenedor_texto > h2 + h2 {
    margin-top: 8px;
}

.texto_nosotros {
    max-width: 760px;
    margin: 35px 0 0 0;
    padding: 22px 26px;
    border-left: 4px solid var(--primary);
    border-radius: 18px;
    background: rgba(0, 107, 44, 0.06);
    color: var(--on-surface);
    font-size: clamp(18px, 1.8vw, 23px);
    font-weight: 700;
    line-height: 1.55;
    transition: transform 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.texto_nosotros:hover {
    transform: translateY(-2px);
    background: rgba(0, 107, 44, 0.1);
    box-shadow: 0 18px 40px -30px rgba(28, 27, 27, 0.22);
}

.texto_nosotros + .texto_nosotros {
    margin-top: 8px;
}

.contenedor_imagen {
    display: flex;
    flex: 0 1 40%;
    min-width: 320px;
    justify-content: flex-end;
    align-items: center;
    transition: transform 300ms ease;
}

.contenedor_imagen:hover {
    transform: translateY(-3px);
}

.contenedor_imagen img {
    width: 100%;
    max-width: 440px;
    border-radius: 28px;
    box-shadow: var(--editorial-shadow);
    object-fit: cover;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.contenedor_imagen:hover img {
    transform: translateY(-2px);
    box-shadow: 0 32px 64px -28px rgba(28, 27, 27, 0.22);
}

.historia {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 12px;
    padding: 36px 40px;
    border: 1px solid rgba(0, 107, 44, 0.12);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 56px -34px rgba(28, 27, 27, 0.24);
}

.historia h2,
.mision h2,
.colaboraciones h2,
.cta_final h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.06;
}

.bloque {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    align-items: center;
    gap: 36px;
    padding: 34px 36px;
    border: 1px solid rgba(0, 107, 44, 0.1);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(0, 107, 44, 0.06) 0%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: 0 24px 56px -34px rgba(28, 27, 27, 0.22);
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.bloque:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 107, 44, 0.18);
    background: linear-gradient(135deg, rgba(0, 107, 44, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 0 30px 60px -34px rgba(28, 27, 27, 0.28);
}

.bloque_texto_izda_layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
}

.icono_nosotros_historia {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    justify-self: center;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: var(--editorial-shadow);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.bloque:hover .icono_nosotros_historia {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 28px 56px -28px rgba(28, 27, 27, 0.22);
}

.bloque_texto_dcha,
.bloque_texto_izda {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
}

.bloque_texto_dcha {
    justify-self: stretch;
    align-items: flex-start;
    padding-right: 12px;
    text-align: left;
}

.bloque_texto_izda {
    justify-self: stretch;
    align-items: flex-start;
    padding-left: 12px;
    text-align: left;
}

.bloque_texto_dcha p,
.bloque_texto_izda p,
.colaboraciones p {
    margin: 0;
    color: rgba(28, 27, 27, 0.82);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.72;
}

.bloque_texto_ctro_layout {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.bloque_texto_ctro_layout:hover {
    transform: none;
    border-color: transparent;
    background: none;
    box-shadow: none;
}

.bloque_texto_ctro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 920px;
    margin: 8px auto 0;
    padding: 34px 40px;
    border: 1px solid rgba(0, 107, 44, 0.14);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(0, 107, 44, 0.1) 0%, rgba(255, 255, 255, 0.92) 100%);
    box-shadow: var(--editorial-shadow);
    text-align: center;
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.bloque_texto_ctro_layout:hover .bloque_texto_ctro {
    transform: translateY(-3px);
    border-color: rgba(0, 107, 44, 0.2);
    background: linear-gradient(135deg, rgba(0, 107, 44, 0.14) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 28px 56px -30px rgba(28, 27, 27, 0.24);
}

.bloque_texto_ctro p {
    margin: 0;
    color: var(--on-surface);
    font-size: clamp(21px, 2.2vw, 30px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.28;
}

.bloque_texto_ctro p:last-child {
    color: var(--primary);
    font-size: clamp(24px, 2.7vw, 36px);
    font-weight: 900;
    line-height: 1.18;
}

.mision {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 88px;
}

.cta_trabajo {
    display: flex;
    width: 100%;
    max-width: 980px;
    margin: 28px auto 96px;
    padding: 36px 42px;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(0, 107, 44, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 50px -28px rgba(28, 27, 27, 0.22);
    transform-origin: center center;
    transition: transform 300ms ease, padding 300ms ease, gap 300ms ease, box-shadow 300ms ease, background 300ms ease, border-color 300ms ease;
}

.cta_trabajo:hover {
    transform: translateY(-3px) scale(1.03);
    padding: 44px 50px;
    gap: 32px;
    border-color: rgba(0, 107, 44, 0.22);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 28px 56px -28px rgba(28, 27, 27, 0.24);
}

.cta_trabajo h2 {
    max-width: 340px;
    margin: 0;
    color: var(--on-surface);
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    transition: transform 300ms ease;
}

.cta_trabajo:hover h2 {
    transform: scale(1.04);
}

.cta_trabajo p {
    margin: 0;
    color: rgba(28, 27, 27, 0.68);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    transition: transform 300ms ease, color 300ms ease;
}

.cta_trabajo:hover p {
    transform: scale(1.03);
    color: rgba(28, 27, 27, 0.78);
}

.cta_trabajo p:first-of-type {
    flex: 1;
    max-width: 360px;
}

.cta_trabajo p:last-child {
    display: none;
}

.cta_trabajo .btn_principal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    box-shadow: var(--editorial-shadow);
    transition: transform 250ms ease, opacity 250ms ease, box-shadow 250ms ease;
}

.cta_trabajo:hover .btn_principal {
    transform: scale(1.04);
    box-shadow: 0 18px 40px -28px rgba(28, 27, 27, 0.24);
}

.cta_trabajo .btn_principal:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.mision_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.mision_card {
    display: flex;
    flex-direction: column;
    align-self: center;
    gap: 18px;
    padding: 30px 28px;
    border: 1px solid rgba(0, 107, 44, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 52px -34px rgba(28, 27, 27, 0.24);
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.mision_card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 107, 44, 0.18);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 56px -34px rgba(28, 27, 27, 0.28);
}

.mision_card_img {
    min-height: 100%;
    padding: 30px 28px;
    border: 0;
    border-radius: 28px;
    background: transparent;
    box-shadow: none;
    transition: transform 300ms ease;
}

.mision_card_img:hover {
    transform: translateY(-3px);
}

.mision_card_img img {
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.mision_card_img:hover img {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 28px 56px -28px rgba(28, 27, 27, 0.22);
}

.titulo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mision_card h3 {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0;
    border-radius: 9999px;
    background: rgba(0, 107, 44, 0.1);
    color: var(--primary);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    transition: transform 250ms ease, background 250ms ease, color 250ms ease;
}

.mision_card:hover h3 {
    transform: scale(1.05);
    background: var(--primary);
    color: var(--on-primary);
}

.mision_card p {
    margin: 0;
    color: rgba(28, 27, 27, 0.8);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.65;
}

.titulo p {
    color: var(--on-surface);
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.22;
}

.mision_card .texto {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0 8px;
}

.icono_mision {
    width: 108px;
    height: 108px;
    align-self: flex-end;
    object-fit: contain;
}

.equipo {
    margin-top: 88px;
}

.info_final {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 1120px;
    margin: 88px auto;
}

.info_final_kicker {
    margin: 0;
    color: var(--on-surface);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.06;
    text-align: center;
    transition: color 250ms ease, transform 250ms ease;
}

.info_final_kicker:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.info_final_copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 28px;
    border-left: 4px solid var(--primary);
    border-radius: 22px;
    background: rgba(0, 107, 44, 0.06);
    transition: transform 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.info_final_copy:hover {
    transform: translateY(-2px);
    background: rgba(0, 107, 44, 0.1);
    box-shadow: 0 18px 40px -30px rgba(28, 27, 27, 0.22);
}

.info_final_copy p {
    margin: 0;
    color: rgba(28, 27, 27, 0.78);
    font-size: clamp(18px, 1.65vw, 22px);
    font-weight: 600;
    line-height: 1.62;
}

.info_final_copy p:last-child {
    color: var(--on-surface);
    font-weight: 800;
}

.info_final_img {
    display: flex;
    justify-content: center;
}

.info_final_img img {
    width: 100%;
    max-width: 600px;
    object-fit: contain;
    transition: filter 250ms ease;
}

.info_final_img:hover img {
    animation: giro_horario_suave 1800ms linear infinite;
    filter: drop-shadow(0 18px 24px rgba(28, 27, 27, 0.12));
}

@keyframes giro_horario_suave {
    0% {
        transform: translate(0, -3px);
    }

    25% {
        transform: translate(3px, 0);
    }

    50% {
        transform: translate(0, 3px);
    }

    75% {
        transform: translate(-3px, 0);
    }

    100% {
        transform: translate(0, -3px);
    }
}

.colaboraciones {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 36px 40px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 56px -34px rgba(28, 27, 27, 0.22);
    transition: transform 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.colaboraciones:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 30px 60px -34px rgba(28, 27, 27, 0.28);
}

.colaboradores_iconos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 28px 32px;
    margin-top: 18px;
    align-items: center;
    justify-items: center;
}

.colaboradores_iconos a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.colaboradores_iconos img {
    width: min(100%, 160px);
    max-height: 72px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.9;
    transition: transform 250ms ease, filter 250ms ease, opacity 250ms ease;
}

.colaboraciones:hover .colaboradores_iconos img {
    filter: grayscale(0);
    opacity: 1;
}

.colaboradores_iconos img:hover {
    transform: translateY(-2px) scale(1.03);
}

.img_grnd {
    max-height: 58px;
}

.img-alava-emprende {
    width: min(100%, 104px);
    max-height: 40px;
}

.cta_final {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
    column-gap: 28px;
    row-gap: 18px;
    margin-top: 88px;
    padding: 36px 40px;
    border: 1px solid rgba(0, 107, 44, 0.14);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(0, 107, 44, 0.08) 0%, rgba(255, 255, 255, 0.88) 100%);
    box-shadow: var(--editorial-shadow);
    transform-origin: center center;
    transition: transform 300ms ease, box-shadow 300ms ease, background 300ms ease, border-color 300ms ease;
}

.cta_final:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(0, 107, 44, 0.22);
    background: linear-gradient(135deg, rgba(0, 107, 44, 0.14) 0%, rgba(255, 255, 255, 0.94) 100%);
    box-shadow: 0 30px 60px -28px rgba(28, 27, 27, 0.22);
}

.cta_final h2 {
    transition: transform 300ms ease;
}

.cta_final:hover h2 {
    transform: scale(1.04);
}

.cta_final p {
    margin: 0;
    color: rgba(28, 27, 27, 0.72);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    transition: transform 300ms ease, color 300ms ease;
}

.cta_final:hover p {
    transform: scale(1.03);
    color: rgba(28, 27, 27, 0.82);
}

.cta-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-group .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    border: 1px solid rgba(0, 107, 44, 0.16);
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 18px 44px -30px rgba(28, 27, 27, 0.24);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.cta_final:hover .cta-group .btn {
    transform: scale(1.05);
    box-shadow: 0 22px 42px -22px rgba(0, 107, 44, 0.35);
}

.cta-group .btn:first-child {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    border-color: transparent;
    color: var(--on-primary);
    box-shadow: var(--editorial-shadow);
}

@media (max-width: 1023px) {
    .hero {
        padding: 104px 28px 88px;
    }

    .historia,
    .colaboraciones,
    .cta_final {
        padding: 30px 28px;
    }

    .hero_nosotros {
        padding-top: 28px;
    }

    .contenedor_titulo {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .contenedor_texto > h1,
    .contenedor_texto > h2 {
        max-width: 820px;
        font-size: clamp(32px, 5vw, 48px);
        line-height: 1.02;
    }

    .contenedor_texto > h1 + h2,
    .contenedor_texto > h2 + h2 {
        margin-top: 6px;
    }

    .contenedor_imagen {
        min-width: 0;
        justify-content: center;
    }

    .contenedor_imagen img {
        max-width: 560px;
    }

    .bloque,
    .bloque_texto_izda_layout {
        grid-template-columns: 1fr;
    }

    .bloque {
        gap: 24px;
        padding: 28px 24px;
    }

    .icono_nosotros_historia {
        max-width: 420px;
    }

    .bloque_texto_ctro {
        max-width: none;
        padding: 28px 24px;
    }

    .bloque_texto_ctro p {
        font-size: clamp(20px, 2.6vw, 25px);
    }

    .bloque_texto_ctro p:last-child {
        font-size: clamp(22px, 3vw, 30px);
    }

    .mision_grid,
    .colaboradores_iconos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info_final {
        margin: 72px auto;
        gap: 24px;
    }

    .info_final_copy {
        gap: 14px;
    }

    .cta_trabajo {
        max-width: none;
        margin: 8px auto 64px;
        padding: 28px 24px;
        flex-wrap: wrap;
    }

    .cta_trabajo h2 {
        max-width: 420px;
    }

    .cta_trabajo p:first-of-type {
        max-width: none;
    }

    .cta_final {
        grid-template-columns: 1fr;
    }

    .cta-group {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 88px 20px 72px;
    }

    .hero_nosotros {
        gap: 22px;
        padding-top: 40px;
    }

    .contenedor_titulo {
        gap: 18px;
    }

    .contenedor_texto > h1,
    .contenedor_texto > h2 {
        max-width: none;
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.02;
    }

    .contenedor_texto > h1 + h2,
    .contenedor_texto > h2 + h2 {
        margin-top: 4px;
    }

    .texto_nosotros {
        padding: 18px 18px 18px 20px;
        font-size: 17px;
        margin-top: 10px;
    }

    .contenedor_imagen img {
        max-width: none;
        border-radius: 22px;
    }

    .historia,
    .colaboraciones,
    .cta_final {
        padding: 24px 20px;
        border-radius: 26px;
    }

    .info_final {
        margin: 64px auto 72px;
    }

    .info_final_kicker {
        font-size: clamp(26px, 6.8vw, 32px);
    }

    .info_final_copy {
        gap: 12px;
    }

    .info_final_copy p {
        font-size: 16px;
        line-height: 1.58;
    }

    .cta_trabajo {
        margin: 4px 0 52px;
        padding: 22px 18px;
        align-items: flex-start;
        gap: 18px;
    }

    .cta_trabajo h2 {
        max-width: none;
        font-size: 24px;
    }

    .cta_trabajo p {
        font-size: 15px;
    }

    .bloque {
        gap: 18px;
        padding: 20px 18px;
        border-radius: 22px;
    }

    .icono_nosotros_historia {
        max-width: none;
        width: 100%;
        height: auto;
        max-height: 320px;
    }

    .bloque_texto_dcha,
    .bloque_texto_izda {
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }

    .bloque_texto_dcha p,
    .bloque_texto_izda p,
    .colaboraciones p,
    .mision_card p,
    .cta_final p {
        font-size: 15px;
        line-height: 1.6;
    }

    .bloque_texto_ctro {
        margin-top: 2px;
        padding: 22px 18px;
        border-radius: 24px;
    }

    .bloque_texto_ctro p {
        font-size: clamp(18px, 5.2vw, 21px);
        line-height: 1.32;
    }

    .bloque_texto_ctro p:last-child {
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.22;
    }

    .mision {
        margin-top: 72px;
    }

    .mision_grid,
    .colaboradores_iconos {
        grid-template-columns: 1fr;
    }

    .colaboradores_iconos img {
        filter: grayscale(0);
        opacity: 1;
    }

    .mision_card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .mision_card_img {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .titulo {
        gap: 12px;
        margin-top: 8px;
    }

    .mision_card h3 {
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    .titulo p {
        font-size: clamp(18px, 5.4vw, 22px);
    }

    .mision_card .texto {
        gap: 14px;
        padding: 16px 0 6px;
    }

    .icono_mision {
        width: 88px;
        height: 88px;
    }

    .equipo,
    .cta_final {
        margin-top: 72px;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-group .btn {
        width: 100%;
    }
}
