.header {
    padding: 24px 32px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-dark);
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: black;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--color-text-blue);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav__logo {
    width: auto;
    height: 30px;
    margin-right: auto;
}

.nav__links {
    display: flex;
    gap: 32px;
}

.nav__links a {
    color: var(--color-text-gray);
    font-size: 15px;
    transition: color 0.2s ease;
    font-weight: bold;
}

.nav__links a:hover,
.nav__links a.active {
    color: var(--color-text-blue);
}


/* =========================================
   MODALES
   HISTORIA + EFICIENCIA
========================================= */

.history-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
}

.history-modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* OVERLAY */

.history-modal__overlay {
    position: absolute;
    inset: 0;

    background: rgba(10, 18, 30, 0.72);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}


/* CONTENT */

.history-modal__content {
    position: relative;

    width: 100%;
    max-width: 900px;

    height: 620px;
    max-height: calc(100vh - 60px);

    padding: 48px;

    overflow-y: auto;
    overflow-x: hidden;

    background-color: #ffffff;
    border-radius: 24px;

    box-shadow:
            0 30px 80px rgba(0, 0, 0, 0.28);

    transform: translateY(20px) scale(0.98);

    transition: transform 0.3s ease;
}

.history-modal.is-active .history-modal__content {
    transform: translateY(0) scale(1);
}


/* CLOSE */

.history-modal__close {
    position: absolute;
    top: 22px;
    right: 22px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 50%;

    background-color: #f3f4f6;
    color: #4b5563;

    cursor: pointer;

    transition:
            background-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
}

.history-modal__close:hover {
    background-color: #e5e7eb;
    color: #111827;
    transform: rotate(5deg);
}

.history-modal__close svg {
    width: 19px;
    height: 19px;
}


/* HEADER */

.history-modal__header {
    max-width: 650px;

    padding-right: 40px;
    margin-bottom: 30px;
}

.history-modal__eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.history-modal__header h2 {
    margin: 0 0 14px;

    color: #111827;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
    font-weight: 700;
}

.history-modal__intro {
    margin: 0;

    color: #4b5563;
    font-size: 18px;
    line-height: 1.55;
}


/* STORY */

.history-modal__story {
    padding-bottom: 30px;
    margin-bottom: 30px;

    border-bottom: 1px solid #e5e7eb;
}

.history-modal__story p {
    margin: 0 0 14px;

    color: #5f6673;
    font-size: 15px;
    line-height: 1.75;
}

.history-modal__story p:last-child {
    margin-bottom: 0;
}

.history-modal__story strong {
    color: #252a33;
}


/* FEATURES HISTORIA */

.history-modal__features {
    display: grid;
    gap: 14px;
}

.history-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 20px;

    border: 1px solid #e8ebef;
    border-radius: 16px;

    background-color: #fafbfc;

    transition:
            border-color 0.2s ease,
            transform 0.2s ease,
            box-shadow 0.2s ease;
}

.history-feature:hover {
    border-color: rgba(0, 0, 0, 0.12);

    transform: translateY(-2px);

    box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.06);
}

.history-feature__icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
}

.history-feature__icon svg {
    width: 21px;
    height: 21px;
}

.history-feature h3 {
    margin: 1px 0 6px;

    color: #20242b;
    font-size: 16px;
    font-weight: 650;
}

.history-feature p {
    margin: 0;

    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   MODAL EFICIENCIA
========================================= */


#efficiencyModal .history-modal__intro strong {
    color: var(--color-primary);
    font-weight: 700;
}

#efficiencyModal .history-modal__story {
    margin-bottom: 26px;
}


/* COMPARACIÓN */

.efficiency-comparison {
    width: 100%;

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

    gap: 18px;
}


/* COLUMNAS */

.efficiency-column {
    min-width: 0;

    padding: 24px;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    background-color: #fafbfc;

    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            border-color 0.2s ease;
}

.efficiency-column:hover {
    transform: translateY(-2px);

    box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.05);
}


/* HEADER DE COLUMNA */

.efficiency-column__header {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 22px;
}

.efficiency-column__header h3 {
    margin: 0;

    color: #20242b;

    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;

    text-align: left;
}


/* ICONO */

.efficiency-column__icon {
    width: 42px;
    height: 42px;

    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;
}

.efficiency-column__icon svg {
    width: 21px;
    height: 21px;
}


/* POSITIVO */

.efficiency-column--positive {
    border-color: rgba(21, 128, 61, 0.15);

    background:
            linear-gradient(
                    145deg,
                    rgba(21, 128, 61, 0.025),
                    #ffffff
            );
}

.efficiency-column--positive .efficiency-column__icon {
    color: #15803d;
    background-color: rgba(21, 128, 61, 0.08);
}

.efficiency-column--positive:hover {
    border-color: rgba(21, 128, 61, 0.28);
}


/* NEGATIVO */

.efficiency-column--negative {
    border-color: rgba(220, 38, 38, 0.15);

    background:
            linear-gradient(
                    145deg,
                    rgba(220, 38, 38, 0.02),
                    #ffffff
            );
}

.efficiency-column--negative .efficiency-column__icon {
    color: #dc2626;
    background-color: rgba(220, 38, 38, 0.08);
}

.efficiency-column--negative:hover {
    border-color: rgba(220, 38, 38, 0.25);
}


/* LISTAS */

.efficiency-list {
    display: flex;
    flex-direction: column;

    gap: 14px;

    padding: 0;
    margin: 0;

    list-style: none;
}

.efficiency-list li {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: #5f6673;

    font-size: 14px;
    line-height: 1.5;

    text-align: left;
}

.efficiency-list li span {
    flex: 1;
}

.efficiency-list li svg {
    width: 17px;
    height: 17px;

    min-width: 17px;

    flex-shrink: 0;

    margin-top: 2px;
}

.efficiency-column--positive .efficiency-list li svg {
    color: #15803d;
    stroke: #15803d;
}

.efficiency-column--negative .efficiency-list li svg {
    color: #dc2626;
    stroke: #dc2626;
}


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

@media (max-width: 700px) {

    .history-modal {
        padding: 16px;
    }

    .history-modal__content {
        max-height: calc(100vh - 32px);

        padding: 36px 22px 26px;

        border-radius: 20px;
    }

    .history-modal__close {
        top: 16px;
        right: 16px;
    }

    .history-modal__header {
        padding-right: 30px;
    }

    .history-modal__header h2 {
        font-size: 30px;
    }

    .history-modal__intro {
        font-size: 16px;
    }

    .history-feature {
        padding: 17px;
        gap: 14px;
    }

    .history-feature__icon {
        width: 40px;
        height: 40px;
    }

    .efficiency-modal__content {
        max-width: 100%;
    }

    .efficiency-comparison {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .efficiency-column {
        padding: 20px;
    }

    .efficiency-column__header {
        margin-bottom: 18px;
    }

    .efficiency-list {
        gap: 12px;
    }
}


/* ===== BOTONES ===== */

.btn {
    padding: 14px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn svg {
    stroke: var(--color-text-white);
    width: 20px;
    height: 20px;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-text-white);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
}

.btn--secondary {
    background-color: var(--color-navy-card);
    color: var(--color-text-white);
    border: 1px solid var(--color-navy-border);
}

.btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn--full {
    width: 100%;
    justify-content: center;
}
/* =========================================================
   MODAL ECOSISTEMA
========================================================= */


.ecosystem-modal__header {
    max-width: 720px;
    margin-bottom: 30px;
}
.efficiency-modal__content,
.ecosystem-modal__content {
    max-width: 900px;
    height: 620px;
}


/* =========================================================
   DIAGRAMA
========================================================= */

.ecosystem-diagram {
    position: relative;

    width: min(720px, 100%);
    aspect-ratio: 1 / 0.82;

    margin: 10px auto 30px;
}


/* =========================================================
   CENTRO
========================================================= */

.ecosystem-center {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 210px;
    height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    border-radius: 50%;

    background:
            linear-gradient(
                    145deg,
                    var(--color-text-blue),
                    #245da8
            );

    box-shadow:
            0 18px 45px rgba(36, 93, 168, 0.24),
            0 0 0 14px rgba(59, 122, 224, 0.08);

    z-index: 4;
}

.ecosystem-center span {
    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    font-size: 19px;
    font-weight: 500;
    line-height: 1.15;

    text-align: center;

    text-transform: uppercase;
}

.ecosystem-center strong {
    display: block;

    font-size: 24px;
    font-weight: 800;
}


/* =========================================================
   ITEMS
========================================================= */

.ecosystem-item {
    position: absolute;

    width: 205px;
    min-height: 112px;

    padding: 18px 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e3e8f1;
    border-radius: 18px;

    box-shadow:
            0 10px 30px rgba(15, 23, 42, 0.07);

    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease;
}

.ecosystem-item:hover {
    transform: translateY(-4px);

    border-color: rgba(59, 122, 224, 0.35);

    box-shadow:
            0 16px 36px rgba(15, 23, 42, 0.10);
}


/* =========================================================
   POSICIONES
========================================================= */

.ecosystem-item--1 {
    top: 0;
    left: 50%;

    transform: translateX(-50%);
}

.ecosystem-item--1:hover {
    transform: translateX(-50%) translateY(-4px);
}


.ecosystem-item--2 {
    top: 15%;
    right: 0;
}


.ecosystem-item--3 {
    bottom: 10%;
    right: 0;
}


.ecosystem-item--4 {
    bottom: 0;
    left: 50%;

    transform: translateX(-50%);
}

.ecosystem-item--4:hover {
    transform: translateX(-50%) translateY(-4px);
}


.ecosystem-item--5 {
    bottom: 10%;
    left: 0;
}


.ecosystem-item--6 {
    top: 15%;
    left: 0;
}


/* =========================================================
   ICONOS
========================================================= */

.ecosystem-item__icon {
    width: 42px;
    height: 42px;

    margin-bottom: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background-color: rgba(59, 122, 224, 0.08);
    color: var(--color-text-blue);

    transition:
            background-color 0.25s ease,
            color 0.25s ease;
}

.ecosystem-item__icon svg {
    width: 21px;
    height: 21px;
}

.ecosystem-item:hover .ecosystem-item__icon {
    background-color: var(--color-text-blue);
    color: #ffffff;
}


/* =========================================================
   TEXTO
========================================================= */

.ecosystem-item h3 {
    margin: 0;

    color: #20242b;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
}


/* =========================================================
   CONECTORES DECORATIVOS
========================================================= */

.ecosystem-diagram::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 390px;
    height: 390px;

    transform: translate(-50%, -50%);

    border: 1px dashed rgba(59, 122, 224, 0.22);
    border-radius: 50%;

    z-index: 1;
}


/* =========================================================
   FOOTER
========================================================= */

.ecosystem-modal__footer {
    max-width: 720px;

    margin: 0 auto;

    padding-top: 24px;

    border-top: 1px solid #e5e7eb;

    text-align: center;
}

.ecosystem-modal__footer p {
    margin: 0;

    color: #5f6673;

    font-size: 15px;
    line-height: 1.7;
}

.ecosystem-modal__footer strong {
    color: #252a33;

    font-weight: 700;
}


/* =========================================================
   CARD ATENCIÓN CLICKEABLE
========================================================= */

.card--ecosystem {
    font-family: inherit;
    color: inherit;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    margin: 0;

    background: #ffffff;
}

.card--ecosystem:hover {
    transform: translateY(-5px);
}

.card--ecosystem:focus-visible {
    outline: 3px solid rgba(59, 122, 224, 0.30);
    outline-offset: 4px;
}


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

@media (max-width: 800px) {

    .ecosystem-diagram {
        display: grid;

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

        gap: 14px;

        aspect-ratio: auto;
    }

    .ecosystem-diagram::before {
        display: none;
    }

    .ecosystem-center {
        position: static;

        transform: none;

        width: auto;
        height: auto;

        min-height: 140px;

        border-radius: 18px;

        grid-column: 1 / -1;
    }

    .ecosystem-item {
        position: static;

        transform: none !important;

        width: auto;
        min-height: 130px;
    }

}


@media (max-width: 520px) {

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

    .ecosystem-center {
        grid-column: auto;
    }

}


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

.hero {
    position: relative;
    min-height: 720px;
    height: 100vh;
    padding: 96px 32px;

    background-image: url("../images/portada.png?v=27");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero-titles {
    margin-top: 32px;
    margin-bottom: 32px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
            to right,
            #0d0d2d 0%,
            rgba(13, 13, 45, 0.9) 40%,
            rgba(13, 13, 45, 0.5) 100%
    );

    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    height: 6rem;

    background: linear-gradient(to top, #e6ecf4 0%, transparent 100%);

    z-index: 1;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    pointer-events: auto;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    gap: 32px;
    animation: slideInLeft 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero__title {
    font-family: "DM Sans", sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero__title--highlight {
    color: var(--color-primary-light);
}

.hero__text {
    color: var(--color-text-gray);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    position: relative;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;
    max-width: 100%;
    margin-top: 25px;
    margin-bottom: 16px;
    padding: 8px 19px;

    border: 1px solid rgba(59, 122, 224, 0.3);
    border-radius: var(--border-radius-full);

    background-color: rgba(59, 122, 224, 0.2);
    color: var(--euro-light);

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;

    appearance: none;
    -webkit-appearance: none;

    cursor: default;
    pointer-events: auto;

    transition:
            background-color 0.25s ease,
            border-color 0.25s ease,
            transform 0.25s ease;
}

.badge__dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;

    border-radius: 50%;
    background-color: var(--euro-light);

    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


/* ===== WHATSAPP FLOTANTE ===== */

.whatsapp-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;

    padding: 16px 24px;

    border: none;
    border-radius: 999px;

    background: #25d366;
    color: white;
    font-weight: 600;
    font-size: medium;
    cursor: pointer;

    overflow: visible;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -6px;

    border-radius: inherit;
    background: rgba(37, 211, 102, 0.35);
    z-index: -1;

    animation: pulse 0.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

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


/* =========================================
   ¿POR QUÉ ELEGIRNOS?
========================================= */

.porque-elegirnos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 96px 32px;

    background-color: white;
}

.porque-elegirnos h4 {
    color: var(--color-text-blue);
    font-size: 20px;
    font-weight: lighter;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.porque-elegirnos h1 {
    color: black;
    font-weight: bold;
    letter-spacing: 1px;
}

.card-div {
    display: flex;
    justify-content: center;

    gap: 32px;

    max-width: 1400px;

    margin: 48px auto 0;

    flex-wrap: wrap;
}


/* =========================================
   CARD BASE
========================================= */

.card {
    width: 300px;
    min-height: 290px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    padding: 40px 32px;

    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 12px;

    background: #fff;

    transition:
            transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================
   CARDS CLICKEABLES
========================================= */

.card--history,
.card--efficiency {
    font-family: inherit;
    color: inherit;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    margin: 0;

    background: #ffffff;
}


/* Accesibilidad */

.card--history:focus-visible,
.card--efficiency:focus-visible {
    outline: 3px solid rgba(59, 122, 224, 0.30);
    outline-offset: 4px;
}


/* ICONOS */

.card__icon {
    width: 64px;
    height: 64px;

    background-color: #eef2ff;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    transition:
            background-color 0.3s ease,
            transform 0.3s ease;
}

.card__icon svg {
    width: 36px;
    height: 36px;

    stroke: var(--color-text-blue);

    transition: stroke 0.3s ease;
}


/* CONTENT */

.card__contents {
    width: 100%;
    margin-top: 10px;
}


/* HOVER */

.card:hover {
    border-color: rgba(84, 124, 255, 0.35);

    box-shadow:
            0 18px 45px rgba(15, 23, 42, 0.08),
            0 0 35px rgba(84, 124, 255, 0.10);
}

.card--history:hover,
.card--efficiency:hover {
    transform: translateY(-5px);
}

.card:hover .card__icon {
    background-color: var(--color-text-blue);
}

.card:hover .card__icon svg {
    stroke: white;
}


/* TITLE */

.card__title {
    font-family: "DM Sans", sans-serif;

    font-size: 3rem;
    font-weight: 700;

    color: #999;

    margin-bottom: 10px;

    line-height: 1.2;
}


/* SUBTITLE */

.card__subtitle {
    font-family: "DM Sans", sans-serif;

    font-weight: 500;
    font-size: 16px;

    color: var(--euro-mid);

    margin-bottom: 12px;

    line-height: 24px;
}

.card__text {
    color: var(--color-text-gray);
    font-size: 15px;
    line-height: 1.5;
}


/* ===== SOLUCIONES ===== */

#soluciones {
    text-align: center;
    padding: 96px 32px;
    background-color: #f4f6fb;
}

#soluciones h4 {
    color: var(--color-text-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 12px;
}

#soluciones h2 {
    font-size: 40px;
    color: var(--color-bg-dark);
    margin-bottom: 16px;
}

#soluciones > span {
    display: block;
    color: var(--color-text-gray);
    font-size: 18px;
    max-width: 550px;
    margin: 0 auto 64px;
}

.soluciones {
    display: flex;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.solucion-card {
    flex: 1;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.solucion-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.solucion-card__img-wrapper {
    position: relative;
}

.solucion-card__img-wrapper img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.badge-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-text-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
}

.solucion-card__content {
    padding: 24px;
}

.solucion-card__content h3 {
    font-size: 22px;
    color: var(--color-bg-dark);
    margin-bottom: 12px;
}

.solucion-card__content p {
    color: var(--color-text-gray);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.link-consultar {
    color: var(--color-text-blue);
    font-weight: 600;
    font-size: 15px;
}

.link-consultar:hover {
    text-decoration: underline;
}


/* ===== CARRUSEL ===== */

.carrusel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.carrusel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carrusel-track::-webkit-scrollbar {
    display: none;
}

.carrusel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--color-navy-border);
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

.carrusel-btn:hover {
    background-color: var(--color-text-blue);
    color: #ffffff;
}


/* ===== PRODUCTOS ===== */

#productos {
    background-color: #f4f6fb;
    text-align: center;
    padding: 96px 32px;
}

#productos h4 {
    color: var(--color-text-blue);
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

#productos h2 {
    font-size: 40px;
    color: var(--color-bg-dark);
    margin-bottom: 16px;
}

#productos > span {
    display: block;
    color: var(--color-text-gray);
    font-size: 18px;
    max-width: 550px;
    margin: 0 auto 64px;
}

.producto-card {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.producto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.producto-card h3,
.producto-card p {
    padding: 0 20px;
}

.producto-card h3 {
    margin-top: 16px;
    font-size: 18px;
}

.producto-card p {
    color: var(--color-text-gray);
    font-size: 14px;
    margin: 8px 0 20px;
}


/* ===== NOSOTROS ===== */

#nosotros {
    background-color: var(--color-bg-dark);
    padding: 96px 32px;
    text-align: center;
}

#nosotros h4 {
    color: var(--color-primary-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 12px;
}

#nosotros h2 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 64px;
}

.nosotros__content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 64px;
    align-items: center;
}

.left__content {
    flex: 1.2;
}

.left__content h4 {
    color: var(--color-primary-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 12px;
}

.left__content h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 24px;
}

.left__content p {
    color: var(--color-text-gray-light);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.checklist li span {
    color: #ffffff;
    font-size: 15px;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--color-primary-light);
}

.right__content {
    flex: 1;
}

.metrics {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 40px;
}

.metric {
    padding: 24px 0;
}

.metric:first-child {
    padding-top: 0;
}

.metric:last-child {
    padding-bottom: 0;
}

.metric:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-primary-light);
    margin-bottom: 8px;
}

.metric p {
    color: var(--color-text-gray-light);
    font-size: 15px;
}

.cards__nosotros {
    display: flex;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.card__nosotros {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    text-align: left;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.card__nosotros:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary-light);
}

.card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.card__icon_nosotros {
    width: 64px;
    height: 64px;
    background-color: rgba(59, 122, 224, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.card__nosotros:hover .card__icon_nosotros {
    background-color: #3b7ae0;
}

.card__icon_nosotros svg {
    width: 26px;
    height: 26px;
    stroke: #92beff;
    transition: stroke 0.3s ease;
}

.card__nosotros:hover .card__icon_nosotros svg {
    stroke: #ffffff;
}

.card__number {
    font-size: 32px;
    font-weight: 800;
    color: rgb(255, 255, 255);
    line-height: 1;
}

.card__nosotros h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 12px;
}

.card__nosotros p {
    color: #c6c6c6;
    font-size: 15px;
    line-height: 1.5;
}


/* ===== EURO CONCIENCIA ===== */

#euro-conciencia {
    padding: 96px 32px;
    background-color: #ffffff;
}

.conciencia {
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.conciencia__text {
    flex: 1;
    text-align: left;
}

.conciencia__image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#euro-conciencia h4 {
    color: var(--color-text-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 16px;
}

#euro-conciencia h2 {
    color: var(--color-bg-dark);
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 28px;
    max-width: 620px;
}

#euro-conciencia p {
    color: var(--color-text-gray);
    font-size: 17px;
    line-height: 1.8;
    max-width: 620px;
    margin-bottom: 32px;
}

.conciencia__image-wrapper {
    width: 100%;
    max-width: 460px;
}

.conciencia__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

#euro-conciencia .checklist {
    display: none;
}


/* ===== DIFERENCIALES ===== */

#diferenciales {
    padding: 96px 32px;
    text-align: center;
    background-color: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#diferenciales h4 {
    color: var(--color-primary-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 12px;
}

#diferenciales h2 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 64px;
}

.diferenciales__grid {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}

.diferencial {
    flex: 1;
    padding: 0 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s ease;
}

.diferencial:hover {
    border-left-color: #ffffff;
}

.diferencial__icon {
    width: 32px;
    height: 32px;
    stroke: var(--color-primary-light);
    margin-bottom: 20px;
}

.diferencial h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 12px;
}

.diferencial p {
    color: var(--color-text-gray-light);
    font-size: 15px;
    line-height: 1.5;
}


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

#cta {
    position: relative;
    background-color: rgb(36 49 112);
    padding: 96px 32px;
    text-align: center;
    overflow: hidden;
}

.cta__blur {
    position: absolute;
    top: 50%;
    left: 15%;
    width: 400px;
    height: 400px;
    background-color: #3b7ae033;
    border-radius: 50%;
    filter: blur(64px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta__blur--left {
    left: 15%;
    transform: translate(-50%, -50%);
}

.cta__blur--right {
    right: 90%;
    transform: translate(190%, -50%);
}

#cta h2,
#cta p,
#cta .cta__actions {
    position: relative;
    z-index: 1;
}

#cta h2 {
    color: #ffffff;
    font-size: 40px;
    max-width: 800px;
    margin: 0 auto 24px;
}

#cta p {
    color: var(--color-primary-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

#cta .btn--secondary {
    background-color: #ffffff;
    color: var(--color-bg-dark);
    border: none;
}


/* ===== CONTACTO ===== */

#contacto {
    padding: 96px 32px;
    text-align: center;
    background-color: #ffffffc9;
}

#contacto h4 {
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 12px;
}

#contacto h2 {
    color: var(--color-bg-dark);
    font-size: 36px;
    margin-bottom: 16px;
}

#contacto > p {
    color: var(--color-text-gray);
    font-size: 18px;
    max-width: 550px;
    margin: 0 auto 64px;
}

.contacto__content {
    display: flex;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}

.left_contacto_content {
    flex: 1.2;
}

.right_contact_content {
    flex: 1;
}

.form-contacto {
    display: flex;
    flex-direction: column;
}

.form-contacto label {
    font-weight: 600;
    color: var(--color-bg-dark);
    font-size: 15px;
    margin-bottom: 8px;
}

.form-contacto input,
.form-contacto textarea {
    border: 1px solid #d8dce8;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    margin-bottom: 24px;
    resize: vertical;
}

.form-contacto input:focus,
.form-contacto textarea:focus {
    outline: none;
    border-color: var(--euro-blue);
}

.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    background-color: var(--color-bg-dark);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    width: 90%;
}

.contact__icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px;
}

.contact__icon svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
}

.contact h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 12px;
}

.contact > p {
    color: var(--color-text-gray-light);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.btn--whatsapp {
    width: 100%;
    justify-content: center;
    background-color: var(--color-whatsapp);
    color: #ffffff;
}

.contact__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 24px 0;
}

.contact__label {
    color: var(--color-text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.contact__phone {
    display: block;
    color: var(--color-primary-light);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}


/* ======================================
   FOOTER
====================================== */

.footer {
    background: white;
    padding: 50px;
}

.footer-contacto {
    background: white;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: auto;
    align-items: stretch;
}

.footer-info h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #0c1e44;
    font-weight: 800;
}

.footer-card {
    background: white;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.footer-item i {
    color: #d62828;
    font-size: 22px;
    margin-top: 3px;
    width: 24px;
}

.footer-item span,
.footer-item a {
    color: #1c1c1c;
    font-size: 20px;
    text-decoration: none;
    font-weight: 600;
}

.footer-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: none;
}

.footer-social {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #003a70;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-decoration: none;
}

.footer-copy {
    margin-top: 40px;
    text-align: center;
    color: #666;
    font-size: 14px;
}


/* =========================================
   NAVEGACIÓN
========================================= */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 8px 40px;

    transition: all 0.35s ease;
}

.nav__logo {
    height: 60px;
    width: auto;

    transition: all 0.35s ease;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 28px;

    position: relative;
}

.nav__links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;

    transition: color 0.25s ease;
}

.nav__links a:hover {
    color: #b8dfff;
}


/* HEADER SCROLL */

.header--scrolled {
    background-color: var(--color-bg-dark);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

.header--scrolled .nav {
    padding: 5px 40px;
}

.header--scrolled .nav__logo {
    height: 60px;
}

.header--scrolled .nav__links a:hover {
    color: #d9ecff;
}

.nav__links > a,
.nav-dropdown {
    position: relative;
    z-index: 2;
}

.nav__links > a,
.nav-dropdown > a {
    display: block;
    padding: 10px 16px;
}

.nav__indicator {
    background-color: rgba(255, 255, 255, 0.12);

    position: absolute;
    top: 0;
    left: 0;

    height: 100%;

    border: 1px solid var(--color-primary-light);
    border-radius: 8px;

    z-index: 1;

    pointer-events: none;

    transition:
            transform 0.35s ease,
            width 0.35s ease,
            height 0.35s ease;
}


/* =====================================
   PÁGINAS INTERNAS
===================================== */

.page-header {
    padding: 95px 7% 30px;

    background: white;

    border-bottom: 1px solid #ececec;
}

.page-header h1 {
    color: var(--color-bg-dark);

    font-size: clamp(3rem, 5vw, 4.3rem);
    line-height: 1;

    margin: 0 0 18px;
}

.page-header p {
    margin: 0;

    font-size: 1rem;
}

.breadcrumbs {
    margin-bottom: 12px;
}

.breadcrumbs a {
    color: #8794b5;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--color-text-blue);
}

.breadcrumbs span {
    color: #aeb6c9;
}

.breadcrumbs strong {
    color: var(--color-bg-dark);
}

.page-header__content > p:last-child {
    color: #8794b5;

    font-size: 1.1rem;
    line-height: 1.6;

    max-width: 650px;
}


/* CATÁLOGO */

.catalogo {
    padding: 65px 32px 90px;

    background: #ffffff;
}

.catalogo .hero-titles {
    margin: 0 auto 45px;

    text-align: center;
}

.catalogo .hero-titles h2 {
    color: var(--color-bg-dark);

    font-size: 2.3rem;

    margin: 0 0 12px;
}

.catalogo .hero-titles p {
    color: var(--color-text-gray);

    font-size: 1rem;

    margin: 0 auto;
}


/* =========================================
   SERVICIOS
========================================= */

.servicios {
    padding: 100px 6%;

    background: #f6f8fc;
}

.servicios .container {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;
}

.servicios .section-header {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.servicios .section-badge {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--color-text-blue);

    font-size: 0.9rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}

.servicios .section-title {
    margin-bottom: 16px;

    color: var(--color-bg-dark-lighter);

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.1;
}

.servicios .section-subtitle {
    margin: 0 auto;

    color: #64748b;

    font-size: 1.05rem;

    line-height: 1.7;
}

.servicios__grid {
    display: grid;

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

    gap: 24px;
}

.servicio-card {
    min-height: 280px;

    padding: 28px;

    background: #ffffff;

    border: 1px solid #e5eaf2;
    border-radius: 18px;

    box-shadow:
            0 8px 24px rgba(15, 23, 42, 0.05);

    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease,
            border-color 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-5px);

    border-color:
            rgba(22, 124, 231, 0.45);

    box-shadow:
            0 16px 35px rgba(15, 23, 42, 0.1);
}

.servicio-card__icon {
    width: 52px;
    height: 52px;

    margin-bottom: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--color-text-blue);

    background:
            rgba(22, 124, 231, 0.08);

    border-radius: 14px;
}

.servicio-card__icon svg {
    width: 25px;
    height: 25px;

    stroke-width: 2;
}

.servicio-card h3 {
    margin: 0 0 13px;

    color: var(--color-bg-dark-lighter);

    font-size: 1.2rem;
    font-weight: 700;

    line-height: 1.3;
}

.servicio-card p {
    margin: 0;

    color: #64748b;

    font-size: 0.96rem;

    line-height: 1.65;
}

.servicio-card:last-child {
    grid-column: 2;
}


/* =========================================
   RRHH
========================================= */

.rrhh {
    padding: 80px 24px;

    background: #f8fafc;
}

.rrhh__container {
    width: 100%;
    max-width: 970px;

    margin: 0 auto;
}

.rrhh__header {
    max-width: 720px;

    margin: 0 auto 38px;

    text-align: center;
}

.rrhh__eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--euro-blue);

    font-size: 0.82rem;
    font-weight: 700;

    letter-spacing: 4px;
}

.rrhh__header h2 {
    margin: 0 0 16px;

    color: var(--color-bg-dark-lighter);

    font-size: clamp(2rem, 4vw, 2.8rem);

    font-weight: 750;

    line-height: 1.15;
}

.rrhh__header p {
    margin: 0;

    color: #647084;

    font-size: 1rem;

    line-height: 1.7;
}

.rrhh__line {
    display: block;

    width: 65px;
    height: 4px;

    margin: 18px auto 0;

    border-radius: 999px;

    background: var(--euro-blue);
}

.rrhh__form {
    padding: 36px 40px;

    background: #ffffff;

    border:
            1px solid rgba(13, 13, 45, 0.05);

    border-radius: 20px;

    box-shadow:
            0 14px 40px rgba(13, 13, 45, 0.08);
}

.rrhh__grid {
    display: grid;

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

    gap: 22px 28px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.rrhh__form label {
    color: var(--euro-blue);

    font-size: 0.92rem;

    font-weight: 650;
}

.rrhh__form input,
.rrhh__form select,
.rrhh__form textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 15px;

    color: #1f2937;

    background: #ffffff;

    border: 1px solid #d5ddea;

    border-radius: 10px;

    font-family: inherit;

    font-size: 0.95rem;

    outline: none;

    transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
}

.rrhh__form input,
.rrhh__form select {
    min-height: 48px;
}

.rrhh__form textarea {
    min-height: 105px;

    resize: vertical;
}

.rrhh__form input::placeholder,
.rrhh__form textarea::placeholder {
    color: #8b95a5;
}

.rrhh__form input:focus,
.rrhh__form select:focus,
.rrhh__form textarea:focus {
    border-color: var(--euro-blue);

    box-shadow:
            0 0 0 3px rgba(22, 124, 231, 0.12);
}

.rrhh__form small {
    color: #738094;

    font-size: 0.8rem;
}

.rrhh__form input[type="file"] {
    padding: 7px;

    cursor: pointer;
}

.rrhh__form input[type="file"]::file-selector-button {
    margin-right: 14px;

    padding: 10px 16px;

    color: var(--euro-blue);

    background: #eef5ff;

    border: 1px solid #d6e6ff;

    border-radius: 8px;

    font-family: inherit;

    font-weight: 650;

    cursor: pointer;

    transition:
            background 0.2s ease,
            color 0.2s ease;
}

.rrhh__form input[type="file"]::file-selector-button:hover {
    color: #ffffff;

    background: var(--euro-blue);
}

.rrhh__submit {
    width: min(410px, 100%);

    margin: 28px auto 0;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;
}

.rrhh__submit svg {
    width: 18px;
    height: 18px;
}

.rrhh__status {
    min-height: 20px;

    margin: 14px 0 0;

    text-align: center;

    font-size: 0.9rem;

    font-weight: 600;
}

.rrhh__status--success {
    color: #15803d;
}

.rrhh__status--error {
    color: #dc2626;
}

.rrhh__privacy {
    max-width: 560px;

    margin: 24px auto 0;

    display: flex;

    align-items: flex-start;
    justify-content: center;

    gap: 5px;

    color: #68758a;

    text-align: center;
}

.rrhh__privacy svg {
    width: 19px;
    min-width: 19px;
    height: 19px;

    margin-top: 2px;

    color: var(--euro-blue);
}

.rrhh__privacy p {
    margin: 0;

    font-size: 0.86rem;

    line-height: 1.5;
}


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

@media (max-width: 950px) {

    .servicios {
        padding: 80px 5%;
    }

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

    .servicio-card:last-child {
        grid-column: auto;
    }
}


@media (max-width: 900px) {

    .nav__links {
        display: none;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero__actions {
        justify-content: center;
    }

    .nosotros__content {
        flex-direction: column;
    }

    .left__content h2 {
        font-size: 28px;
    }

    .conciencia {
        flex-direction: column;

        gap: 48px;
    }

    .conciencia__text {
        text-align: center;
    }

    #euro-conciencia h2,
    #euro-conciencia p {
        max-width: 100%;
    }

    #euro-conciencia h2 {
        font-size: 34px;
    }

    .footer-contacto {
        grid-template-columns: 1fr;
    }

    .footer-map iframe {
        min-height: 300px;
    }

    .footer-info h2 {
        font-size: 26px;
    }
}


@media (max-width: 768px) {

    .footer-main {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }
}


@media (max-width: 700px) {

    .rrhh {
        padding: 65px 18px;
    }

    .rrhh__header {
        margin-bottom: 30px;
    }

    .rrhh__header p br {
        display: none;
    }

    .rrhh__grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .form-group--full {
        grid-column: auto;
    }

    .rrhh__form {
        padding: 26px 20px;

        border-radius: 16px;
    }

    .rrhh__eyebrow {
        letter-spacing: 2.5px;
    }

    .rrhh__privacy {
        align-items: flex-start;

        text-align: left;
    }
}


@media (max-width: 650px) {

    .card--history,
    .card--efficiency {
        width: 300px;
        min-height: 290px;

        padding: 40px 32px;
    }
}


@media (max-width: 620px) {

    .servicios {
        padding: 65px 20px;
    }

    .servicios .section-header {
        margin-bottom: 38px;

        text-align: left;
    }

    .servicios__grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .servicio-card {
        min-height: auto;

        padding: 24px;
    }
}
.history-modal__content {
    scrollbar-width: thin;
    scrollbar-color: #c5ccd8 transparent;
}

.history-modal__content::-webkit-scrollbar {
    width: 7px;
}

.history-modal__content::-webkit-scrollbar-track {
    background: transparent;
}

.history-modal__content::-webkit-scrollbar-thumb {
    background-color: #c5ccd8;
    border-radius: 999px;
}

.history-modal__content::-webkit-scrollbar-thumb:hover {
    background-color: #9da7b5;
}