/* =========================================================
   ELGSIS · HOME
   ========================================================= */


/* =========================================================
   SLIDER
   ========================================================= */

.home-slider {
    position: relative;

    width: 100%;
    height: 560px;

    overflow: hidden;

    background: #122437;
}


.home-slider__track {
    position: relative;

    width: 100%;
    height: 100%;
}


/* =========================================================
   SLIDES
   ========================================================= */

.home-slide {
    position: absolute;
    inset: 0;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}


.home-slide.is-active {
    opacity: 1;
    visibility: visible;

    z-index: 2;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.home-slide__overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7, 27, 45, 0.78) 0%,
        rgba(7, 27, 45, 0.50) 44%,
        rgba(7, 27, 45, 0.12) 75%,
        rgba(7, 27, 45, 0.05) 100%
    );
}


/* =========================================================
   CONTENIDO DEL SLIDE
   ========================================================= */

.home-slide__inner {
    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;
    align-items: center;
}


.home-slide__content {
    max-width: 700px;

    color: #ffffff;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.home-slide__title {
    margin: 0 0 26px;

    color: #ffffff;

    font-size: clamp(2.6rem, 4vw, 4.15rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}


/* =========================================================
   TEXTO SECUNDARIO
   ========================================================= */

.home-slide__text {
    max-width: 650px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.94);

    font-size: 1.08rem;
    line-height: 1.65;
}


.home-slide__text p {
    margin: 0;
}


/* =========================================================
   BOTÓN DEL SLIDER
   ========================================================= */

.home-slide__button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 52px;
    padding: 13px 25px 13px 30px;

    background: linear-gradient(
        135deg,
        #f7c600 0%,
        #f2b900 55%,
        #dfa700 100%
    );

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);

    color: #102b43;

    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}


/* Flecha */

.home-slide__button::after {
    content: "→";

    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    margin-left: 2px;

    background: rgba(16, 43, 67, 0.12);

    border-radius: 50%;

    font-size: 17px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


/* Hover */

.home-slide__button:hover {
    transform: translateY(-3px);

    filter: brightness(1.04);

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.40);

    color: #102b43;
}


.home-slide__button:hover::after {
    transform: translateX(4px);

    background: rgba(16, 43, 67, 0.18);
}


/* Click */

.home-slide__button:active {
    transform: translateY(-1px);
}


/* Teclado */

.home-slide__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 4px;
}


/* =========================================================
   FLECHAS
   ========================================================= */

.home-slider__arrow {
    position: absolute;

    z-index: 5;

    top: 50%;

    width: 44px;
    height: 54px;

    transform: translateY(-50%);

    border: 0;

    background: rgba(0, 0, 0, 0.25);

    color: #ffffff;

    font-size: 38px;
    line-height: 1;

    cursor: pointer;

    transition: background 0.2s ease;
}


.home-slider__arrow:hover {
    background: rgba(0, 0, 0, 0.48);
}


.home-slider__arrow--prev {
    left: 18px;
}


.home-slider__arrow--next {
    right: 18px;
}


/* =========================================================
   INDICADORES
   ========================================================= */

.home-slider__dots {
    position: absolute;

    z-index: 5;

    left: 50%;
    bottom: 22px;

    display: flex;
    align-items: center;

    gap: 9px;

    transform: translateX(-50%);
}


.home-slider__dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border: 1px solid #ffffff;
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}


.home-slider__dot.is-active {
    background: #ffffff;
}


/* =========================================================
   SLIDER VACÍO
   ========================================================= */

.home-slider--empty {
    height: auto;
    min-height: 360px;

    background:
        linear-gradient(
            110deg,
            #eef3f7 0%,
            #ffffff 70%
        );

    color: inherit;
}


.home-slider__empty {
    min-height: 360px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


.home-slider__empty h1 {
    margin-bottom: 12px;
}

/* =========================================================
   ELGSIS · SERVICIOS
   ========================================================= */

.services-section {
    padding: 64px 0 76px;
    background: #f4f6f8;
}

.services-section__container {
    width: 100%;
    max-width: 1880px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   CABECERA
   ========================================================= */

.services-section__header {
    margin-bottom: 34px;
}

.services-section__header .eyebrow {
    margin: 0 0 10px;

    color: #d99b00;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.services-section__header h2 {
    margin: 0;

    color: var(--el-blue-dark, #0b2c48);

    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}


/* =========================================================
   GRID
   ========================================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;
}


/* =========================================================
   CARD
   ========================================================= */

.service-card {
    position: relative;

    min-height: 330px;

    overflow: hidden;
    isolation: isolate;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    border-radius: 5px;

    box-shadow:
        0 2px 6px rgba(5, 29, 48, 0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/*
 * Segunda capa:
 * da profundidad a la fotografía sin modificar
 * el color individual de cada servicio.
 */

.service-card::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 22, 36, 0.24) 0%,
            rgba(4, 22, 36, 0.12) 55%,
            rgba(4, 22, 36, 0.18) 100%
        );

    transition: background 0.35s ease;
}


/* =========================================================
   OVERLAYS
   ========================================================= */

.service-card__overlay {
    position: absolute;
    inset: 0;

    z-index: 0;

    transition:
        background 0.35s ease,
        opacity 0.35s ease;
}


/* Azul */

.service-card--blue .service-card__overlay {
    background:
        linear-gradient(
            120deg,
            rgba(0, 91, 148, 0.88) 0%,
            rgba(14, 130, 180, 0.80) 100%
        );
}


/* Verde */

.service-card--green .service-card__overlay {
    background:
        linear-gradient(
            120deg,
            rgba(0, 94, 60, 0.90) 0%,
            rgba(0, 139, 87, 0.80) 100%
        );
}


/* Turquesa */

.service-card--teal .service-card__overlay {
    background:
        linear-gradient(
            120deg,
            rgba(0, 92, 101, 0.91) 0%,
            rgba(0, 139, 133, 0.81) 100%
        );
}


/* Arena */

.service-card--sand .service-card__overlay {
    background:
        linear-gradient(
            120deg,
            rgba(91, 77, 62, 0.86) 0%,
            rgba(143, 126, 103, 0.78) 100%
        );
}


/* Dorado */

.service-card--gold .service-card__overlay {
    background:
        linear-gradient(
            120deg,
            rgba(173, 105, 0, 0.91) 0%,
            rgba(221, 151, 16, 0.82) 100%
        );
}


/* Café */

.service-card--brown .service-card__overlay {
    background:
        linear-gradient(
            120deg,
            rgba(86, 54, 32, 0.91) 0%,
            rgba(127, 88, 55, 0.82) 100%
        );
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.service-card__content {
    position: relative;

    z-index: 2;

    min-height: 330px;

    display: flex;
    flex-direction: column;

    padding: 28px 30px 24px;

    color: #ffffff;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.service-card__title {
    position: relative;

    margin: 0 0 29px;
    padding-bottom: 11px;

    color: #ffffff;

    font-size: clamp(1.25rem, 1.45vw, 1.52rem);
    font-weight: 700;
    line-height: 1.18;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.20);
}


.service-card__title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 68px;
    height: 2px;

    border-radius: 2px;

    background: rgba(255, 255, 255, 0.92);

    transition: width 0.35s ease;
}


/* =========================================================
   CUERPO
   ========================================================= */

.service-card__body {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);

    align-items: center;

    gap: 20px;
}


/* =========================================================
   ICONO
   ========================================================= */

.service-card__icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #ffffff;

    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.04);

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


.service-card__icon svg {
    width: 45px;
    height: 45px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.service-card__description {
    max-width: 520px;

    margin: 0;

    color: rgba(255, 255, 255, 0.98);

    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.55;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   LEER MÁS
   ========================================================= */

.service-card__link {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    align-self: flex-start;

    gap: 10px;

    margin-top: auto;
    margin-left: -11px;

    padding: 8px 11px;

    border-radius: 999px;

    color: #ffffff;

    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.20);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.service-card__arrow {
    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    font-size: 1rem;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


.service-card__link:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.13);

    transform: translateX(3px);
}


.service-card__link:hover .service-card__arrow {
    transform: translateX(3px);

    background: rgba(255, 255, 255, 0.20);

    border-color: #ffffff;
}


/* =========================================================
   HOVER GENERAL
   ========================================================= */

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 34px rgba(5, 29, 48, 0.20);
}


/*
 * Al hacer hover aclaramos ligeramente el color.
 * La fotografía aparece un poco más sin sacrificar
 * legibilidad.
 */

.service-card:hover .service-card__overlay {
    opacity: 0.90;
}


.service-card:hover::before {
    background:
        linear-gradient(
            90deg,
            rgba(4, 22, 36, 0.16) 0%,
            rgba(4, 22, 36, 0.05) 55%,
            rgba(4, 22, 36, 0.10) 100%
        );
}


.service-card:hover .service-card__title::after {
    width: 94px;
}


.service-card:hover .service-card__icon {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.12);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .service-card,
    .service-card__content {
        min-height: 320px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .services-section {
        padding: 50px 0 58px;
    }


    .services-section__container {
        padding-left: 14px;
        padding-right: 14px;
    }


    .services-section__header {
        margin-bottom: 26px;
    }


    .service-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .service-card,
    .service-card__content {
        min-height: 310px;
    }


    .service-card__content {
        padding: 25px 23px 21px;
    }


    .service-card__title {
        margin-bottom: 25px;

        font-size: 1.3rem;
    }


    .service-card__body {
        grid-template-columns: 62px minmax(0, 1fr);

        gap: 17px;
    }


    .service-card__icon {
        width: 58px;
        height: 58px;
    }


    .service-card__icon svg {
        width: 37px;
        height: 37px;
    }


    .service-card__description {
        font-size: 0.94rem;
        line-height: 1.5;
    }

}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .service-card,
    .service-card::before,
    .service-card__overlay,
    .service-card__icon,
    .service-card__title::after,
    .service-card__link,
    .service-card__arrow {
        transition: none;
    }

}


/* =========================================================
   CTA EXISTENTE
   ========================================================= */

.contact-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .home-slider {
        height: 500px;
    }


    .home-slide__overlay {
        background: rgba(7, 27, 45, 0.60);
    }


    .home-slide__content {
        max-width: 80%;
    }


    .home-slide__title {
        margin-bottom: 22px;
    }


    .home-slider__arrow {
        width: 38px;
        height: 48px;
    }


    .home-slider__arrow--prev {
        left: 8px;
    }


    .home-slider__arrow--next {
        right: 8px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .home-slider {
        height: 460px;
    }


    .home-slide__content {
        max-width: 88%;

        padding: 30px 22px;
    }


    .home-slide__title {
        margin-bottom: 20px;

        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.08;
    }


    .home-slide__text {
        margin-bottom: 23px;

        font-size: 1rem;
        line-height: 1.55;
    }


    .home-slide__button {
        min-height: 44px;

        padding: 11px 23px;

        border-radius: 24px;
    }


    .home-slider__arrow {
        display: none;
    }


    .service-grid {
        grid-template-columns: 1fr;
    }


    .contact-cta__inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;
    }

}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .home-slide {
        transition: none;
    }

}


/* =========================================================
   ELGSIS · SOLUCIONES ESPECIALIZADAS
   ========================================================= */

.featured-solutions {
    position: relative;

    padding: 64px 0 82px;

    background: #ffffff;
}


.featured-solutions__container {
    width: 100%;
    max-width: 1880px;

    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   CABECERA
   ========================================================= */

.featured-solutions__header {
    margin-bottom: 34px;
}


.featured-solutions__header .eyebrow {
    margin: 0 0 10px;

    color: #d99b00;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


.featured-solutions__header h2 {
    margin: 0;

    color: var(--el-blue-dark, #0b2c48);

    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}


/* =========================================================
   GRID
   ========================================================= */

.featured-solutions__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   CARD
   ========================================================= */

.featured-solution {
    position: relative;

    min-height: 320px;

    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
    align-items: center;

    overflow: hidden;

    border: 1px solid #e3e8ed;
    border-radius: 10px;

    background: #f7f9fa;

    box-shadow:
        0 3px 10px rgba(5, 29, 48, 0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* línea superior */

.featured-solution::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    opacity: 0.95;
}


.featured-solution--solar::before {
    background: linear-gradient(
        90deg,
        #d99b00,
        #f1bd34
    );
}


.featured-solution--oxygen::before {
    background: linear-gradient(
        90deg,
        #0b5d86,
        #1692b5
    );
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.featured-solution__content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 44px 24px 42px 42px;
}


/* =========================================================
   NÚMERO
   ========================================================= */

.featured-solution__number {
    display: inline-flex;

    margin-bottom: 20px;

    color: #9aa8b3;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}


.featured-solution--solar .featured-solution__number {
    color: #c68d00;
}


.featured-solution--oxygen .featured-solution__number {
    color: #167ba2;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.featured-solution__title {
    max-width: 480px;

    margin: 0 0 30px;

    color: #0b2c48;

    font-size: clamp(1.45rem, 1.7vw, 1.9rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.018em;
}


/* =========================================================
   ENLACE
   ========================================================= */

.featured-solution__link {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    padding: 9px 12px 9px 0;

    color: #0b2c48;

    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.featured-solution__arrow {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #bcc7cf;
    border-radius: 50%;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}


.featured-solution--solar .featured-solution__link:hover {
    color: #b77f00;
}


.featured-solution--oxygen .featured-solution__link:hover {
    color: #087aa5;
}


.featured-solution__link:hover {
    transform: translateX(3px);
}


.featured-solution__link:hover .featured-solution__arrow {
    transform: translateX(4px);

    color: #ffffff;
    border-color: #0b2c48;

    background: #0b2c48;
}


/* =========================================================
   ILUSTRACIÓN
   ========================================================= */

.featured-solution__visual {
    position: relative;
    z-index: 1;

    height: 100%;
    min-height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    transition: transform 0.4s ease;
}


/*
 * ESTE ES EL QUE DOMA A GODZILLA 😂
 */

.featured-solution__visual svg {
    display: block;

    width: 100%;
    max-width: 220px;
    height: auto;

    overflow: visible;
}


/* =========================================================
   SVG · SOLAR
   ========================================================= */

.featured-solution--solar .featured-solution__visual {
    color: #c99538;

    background:
        radial-gradient(
            circle at center,
            rgba(226, 174, 70, 0.10) 0%,
            rgba(226, 174, 70, 0.03) 45%,
            transparent 72%
        );
}


.featured-solution--solar .solution-svg__main {
    fill: none;

    stroke: currentColor;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.featured-solution--solar .solution-svg__detail {
    fill: none;

    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: 0.75;
}


.featured-solution--solar .solution-svg__sun {
    fill: rgba(217, 155, 0, 0.10);

    stroke: currentColor;
    stroke-width: 5;
}


.featured-solution--solar .solution-svg__sun-rays {
    fill: none;

    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
}


/* =========================================================
   SVG · OXÍGENO
   ========================================================= */

.featured-solution--oxygen .featured-solution__visual {
    color: #167fa7;

    background:
        radial-gradient(
            circle at center,
            rgba(22, 127, 167, 0.10) 0%,
            rgba(22, 127, 167, 0.03) 45%,
            transparent 72%
        );
}


.featured-solution--oxygen .solution-svg__main {
    fill: none;

    stroke: currentColor;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.featured-solution--oxygen .solution-svg__detail {
    fill: none;

    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: 0.72;
}


/* =========================================================
   DECORACIÓN DE FONDO
   ========================================================= */

.featured-solution::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -80px;
    bottom: -110px;

    border-radius: 50%;

    pointer-events: none;
}


.featured-solution--solar::after {
    background: rgba(217, 155, 0, 0.055);
}


.featured-solution--oxygen::after {
    background: rgba(17, 124, 166, 0.055);
}


/* =========================================================
   HOVER
   ========================================================= */

.featured-solution:hover {
    transform: translateY(-5px);

    border-color: #d7dfe5;

    box-shadow:
        0 17px 38px rgba(5, 29, 48, 0.11);
}


.featured-solution:hover .featured-solution__visual {
    transform: translateY(-4px) scale(1.035);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .featured-solutions__grid {
        grid-template-columns: 1fr;
    }


    .featured-solution {
        min-height: 280px;

        grid-template-columns: minmax(0, 1fr) 250px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .featured-solutions {
        padding: 54px 0 60px;
    }


    .featured-solutions__container {
        padding-left: 14px;
        padding-right: 14px;
    }


    .featured-solutions__header {
        margin-bottom: 26px;
    }


    .featured-solution {
        min-height: 0;

        grid-template-columns: 1fr;
    }


    .featured-solution__content {
        padding: 32px 26px 10px;
    }


    .featured-solution__number {
        margin-bottom: 15px;
    }


    .featured-solution__title {
        max-width: 100%;

        margin-bottom: 22px;

        font-size: 1.45rem;
    }


    .featured-solution__visual {
        min-height: 190px;

        padding: 15px 30px 28px;
    }


    .featured-solution__visual svg {
        max-width: 345px;
    }

}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .featured-solution,
    .featured-solution__visual,
    .featured-solution__link,
    .featured-solution__arrow {
        transition: none;
    }

}

/* =========================================================
   ELGSIS · HOME · NOVEDADES
   ========================================================= */

.home-news {
    padding: 80px 28px 90px;
    background: #fff;
}

.home-news__container {
    width: 100%;
    margin: 0 auto;
}

/* CABECERA
   --------------------------------------------------------- */

.home-news__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.home-news__heading .eyebrow {
    margin: 0 0 10px;
    color: #d99300;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.home-news__heading h2 {
    margin: 0;
    color: #082b49;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.025em;
}

.home-news__all {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #082b49;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.home-news__all-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 1px solid #b9c8d3;
    border-radius: 50%;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.home-news__all:hover {
    color: #d99300;
}

.home-news__all:hover .home-news__all-arrow {
    transform: translateX(3px);
    border-color: #d99300;
}


/* GRID
   --------------------------------------------------------- */

.home-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* CARD
   --------------------------------------------------------- */

.home-news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;

    overflow: hidden;

    background: #f7f9fa;
    border: 1px solid #dce4e9;
    border-radius: 10px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.home-news-card:hover {
    transform: translateY(-4px);
    border-color: #c8d5dd;
    box-shadow: 0 14px 34px rgba(8, 43, 73, .09);
}


/* IMAGEN
   --------------------------------------------------------- */

.home-news-card__image {
    position: relative;
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
    background: #eaf0f3;
}

.home-news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .45s ease;
}

.home-news-card:hover .home-news-card__image img {
    transform: scale(1.035);
}


/* FALLBACK SIN IMAGEN */

.home-news-card__image--empty {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #082b49 0%,
            #0b456a 100%
        );
}

.home-news-card__image--empty::before {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    right: -50px;
    bottom: -80px;

    border-radius: 50%;
    background: rgba(242, 185, 0, .13);
}

.home-news-card__image--empty span {
    position: relative;
    z-index: 2;

    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .16em;
}


/* CONTENIDO
   --------------------------------------------------------- */

.home-news-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 26px 26px 28px;
}

.home-news-card__date {
    display: block;
    margin-bottom: 10px;

    color: #d99300;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-news-card__title {
    margin: 0 0 14px;

    color: #082b49;
    font-size: 1.3rem;
    line-height: 1.25;
}

.home-news-card__title a {
    color: inherit;
    text-decoration: none;
}

.home-news-card__excerpt {
    margin-bottom: 24px;

    color: #506371;
    font-size: .95rem;
    line-height: 1.65;
}


/* LEER MÁS
   --------------------------------------------------------- */

.home-news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;
    margin-top: auto;

    color: #082b49;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.home-news-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border: 1px solid #b9c8d3;
    border-radius: 50%;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.home-news-card__link:hover .home-news-card__arrow {
    transform: translateX(3px);
    background: #f2b900;
    border-color: #f2b900;
}


/* RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .home-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .home-news {
        padding: 60px 20px 70px;
    }

    .home-news__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .home-news__grid {
        grid-template-columns: 1fr;
    }

    .home-news-card__content {
        padding: 22px;
    }

}

/* =========================================================
   NOVEDADES · MICROAJUSTES FINALES
   ========================================================= */

/* Imagen un poco más panorámica */
.home-news-card__image {
    aspect-ratio: 16 / 8.4;
}

/* Títulos: máximo 2 líneas */
.home-news-card__title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Extractos: máximo 3 líneas */
.home-news-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* Un poquito más de aire entre título de sección y cards */
.home-news__header {
    margin-bottom: 38px;
}

/* =========================================================
   HOME · CONTACTO
   ========================================================= */

.home-contact {
	padding: 72px 0 82px;
	background: #f4f7f9;
}

.home-contact__grid {
	display: grid;
	grid-template-columns: .78fr 1.22fr;
	gap: 75px;
	align-items: center;
}


/* Información
   ========================================================= */

.home-contact__info {
	max-width: 520px;
}

.home-contact__title {
	margin: 8px 0 20px;

	color: #082d4a;
	font-size: clamp(2.4rem, 4vw, 4rem);
	line-height: 1.05;
	letter-spacing: -.035em;
}

.home-contact__intro {
	max-width: 470px;
	margin: 0 0 38px;

	color: #526474;
	font-size: 1.05rem;
	line-height: 1.7;
}

.home-contact__details {
	display: grid;
	gap: 20px;

	margin-bottom: 34px;
}

.home-contact__detail {
	padding-left: 18px;
	border-left: 2px solid #f2b900;
}

.home-contact__detail-label {
	display: block;

	margin-bottom: 4px;

	color: #82909b;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.home-contact__detail a,
.home-contact__detail p {
	margin: 0;

	color: #082d4a;
	font-size: .98rem;
	line-height: 1.6;
	text-decoration: none;
}

.home-contact__detail a:hover {
	color: #d79e00;
}


/* Enlace especializado
   ========================================================= */

.home-contact__specialized {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	
		margin-top: 10px;

	color: #082d4a;
	font-weight: 700;
	text-decoration: none;

	transition:
		color .2s ease,
		gap .2s ease;
}

.home-contact__specialized span {
	color: #d79e00;
}

.home-contact__specialized:hover {
	gap: 15px;
	color: #d79e00;
}


/* Formulario
   ========================================================= */

.home-contact__form-wrap {
	position: relative;
		width: 100%;
	max-width: 720px;
}

.home-contact__form {
	padding: 42px;

	background: #fff;

	border: 1px solid #dfe6eb;
	border-radius: 8px;

	box-shadow:
		0 16px 45px rgba(8, 45, 74, .08);
}

.home-contact__form-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.home-contact__field {
	margin-bottom: 20px;
}

.home-contact__field label {
	display: block;

	margin-bottom: 8px;

	color: #082d4a;
	font-size: .82rem;
	font-weight: 700;
}

.home-contact__field input,
.home-contact__field textarea {
	display: block;
	width: 100%;

	padding: 14px 16px;

	background: #f8fafb;

	border: 1px solid #d9e1e7;
	border-radius: 5px;

	color: #082d4a;
	font: inherit;

	outline: none;

	transition:
		border-color .2s ease,
		box-shadow .2s ease,
		background .2s ease;
}

.home-contact__field textarea {
	min-height: 150px;
	resize: vertical;
}

.home-contact__field input:focus,
.home-contact__field textarea:focus {
	background: #fff;
	border-color: #1593aa;

	box-shadow:
		0 0 0 3px rgba(21, 147, 170, .10);
}


/* Botón
   ========================================================= */

.home-contact__submit {
	display: inline-flex;
	align-items: center;
	gap: 16px;

	padding: 9px 10px 9px 24px;

	border: 0;
	border-radius: 999px;

	background: #f2b900;
	color: #082d4a;

	font: inherit;
	font-weight: 700;

	cursor: pointer;

	transition:
		transform .2s ease,
		box-shadow .2s ease,
		background .2s ease;
}

.home-contact__submit-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 38px;
	height: 38px;

	border-radius: 50%;

	background: rgba(8, 45, 74, .12);

	transition: transform .2s ease;
}

.home-contact__submit:hover {
	transform: translateY(-2px);

	background: #ffc400;

	box-shadow:
		0 10px 24px rgba(8, 45, 74, .16);
}

.home-contact__submit:hover .home-contact__submit-arrow {
	transform: translateX(3px);
}


.home-contact__specialized::before {
	content: "";
	width: 22px;
	height: 2px;
	background: #f2b900;
	flex-shrink: 0;
}



/* Responsive
   ========================================================= */

@media (max-width: 900px) {

	.home-contact__grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.home-contact__info {
		max-width: 650px;
	}

}


@media (max-width: 600px) {

	.home-contact {
		padding: 60px 0;
	}

	.home-contact__title {
		font-size: 2.4rem;
	}

	.home-contact__form {
		padding: 28px 22px;
	}

	.home-contact__form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

}


/* ============================================
   ELGSIS - HOME SERVICIOS
   3 tarjetas arriba + 2 abajo
============================================ */

@media (min-width: 1025px) {

    .services-section .service-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    /* Primera fila: tres tarjetas iguales */
    .services-section .service-card:nth-child(-n+3) {
        grid-column: span 2;
    }

    /* Segunda fila: dos tarjetas al 50% */
    .services-section .service-card:nth-child(4),
    .services-section .service-card:nth-child(5) {
        grid-column: span 3;
    }
}
