@font-face {
    font-family: "Metropolis";
    src: url("../fonts/Metropolis-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Metropolis";
    src: url("../fonts/Metropolis-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Metropolis";
    src: url("../fonts/Metropolis-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Genova";
    src: url("../fonts/GenovaMedium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Genova";
    src: url("../fonts/GenovaThin.woff2") format("woff2");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Genova";
    src: url("../fonts/GenovaRegular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #db181f;
    --primary-dark: #970d12;
    --primary-light: #fba4a5;

    --primary-color-rgb: rgb(219, 24, 31);

    --secondary-color: #707070;
    --secondary-dark: #4b4b4b;
    --secondary-light: #dcdcdc;

    --text-color: #332d28;
    --neutral-color: #ede0d4;
    --white-color: #ffffff;
    --black-color: #1f1f1f;

    --gray-50: #f9f9fb;
    --gray-100: #f2f2f2;
    --gray-200: #eaeaea;
    --gray-300: #d6d6d6;
    --gray-400: #bdbdbd;
    --gray-500: #6e6e6e;
    --gray-600: #7a7a7a;
    --gray-700: #5f5f5f;
    --gray-800: #1e1e1e;
    --gray-900: #121212;

    --font-primary: "Metropolis", sans-serif;
    --font-secondary: "Genova", sans-serif;

    --font-size-xs: 0.75rem; /* 12px */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-base: 1rem; /* 16px */
    --font-size-lg: 1.25rem; /* 20px */
    --font-size-xl: 2rem; /* 32px */
    --font-size-xxl: 2.5rem; /* 40px */

    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem; /* 8px */
    --spacing-md: 1rem; /* 16px */
    --spacing-lg: 1.5rem; /* 24px */
    --spacing-xl: 2rem; /* 32px */

    --border-radius-sm: 0.25rem; /* 4px */
    --border-radius-md: 0.5rem; /* 8px */
    --border-radius-lg: 1rem; /* 16px */
    --border-radius-xl: 1.5rem; /* 24px */
    --border-radius-xxl: 2rem; /* 32px */

    --filter-primary: brightness(0) saturate(100%) invert(8%) sepia(100%)
        saturate(5863%) hue-rotate(354deg) brightness(120%) contrast(88%);

    /* Safe areas (iPhone X+, Android notch) */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);

    /* Touch targets mínimos */
    --touch-min: 44px;
    --touch-comfortable: 48px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

* {
    font-family: "Genova", sans-serif;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background-color: #ffa2a5;
}

body {
    background-color: #fff;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: var(--font-size-base);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    line-height: 1.2;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

/* === Focus indicator global (WCAG 2.4.7) === */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

img {
    max-width: 100%;
    height: auto;
}

main.sr .load-hidden {
    visibility: hidden;
}

.padding-page-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.padding-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.padding-section-first {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.padding-section-last {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 3rem;
    z-index: 1;
}
.section-head.is-centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.section-head-content {
    max-width: 620px;
}
.section-label {
    display: inline-flex;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    padding: 4px 12px;
    text-transform: uppercase;
}
.section-title {
    color: var(--primary-dark);
    font-size: var(--font-size-xl);
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: center;
}

.section-title--white {
    color: var(--white-color);
}

.section-description {
    color: var(--secondary-dark);
    font-size: clamp(1rem, 4vw, var(--font-size-lg));
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 1.5rem;
    text-align: center;
}

.section-description--white {
    color: var(--white-color);
}

.hero-widget {
    position: relative;
    display: flex;
    height: 450px;
    overflow: hidden;
    position: relative;
    background-color: var(--primary-dark);
}

.hero-widget::before {
    content: "";
    position: absolute;
    left: 0rem;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../images/isotipo.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 393px;
    height: 371px;
    opacity: 0.1;
    z-index: 14;
}

.hero-widget-illustration {
    background-image: url(../images/bg-vector-mb.svg);
    background-position: center -30px;
    background-repeat: no-repeat;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100vw;
    left: 0;
    position: absolute;
    background-size: cover;
    z-index: 8;
}

.hero-widget-content {
    display: flex;
    height: 100%;
    padding: 1rem 0;
    width: 100%;
    z-index: 10;
}

.hero-widget-media {
    display: flex;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
}

.hero-widget-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-widget-display {
    max-width: 480px;
}

.hero-widget-tag {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hero-widget-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    color: var(--text-color);
    line-height: 1.3;
    text-wrap: pretty;
}

.page-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.bg-grid {
    background: url(../images/grid.svg);
    background-position: 50% 0;
}
.mask-grid-1 {
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.bg-gradient {
    --tw-gradient-to: rgba(255, 255, 255, 0.1);
    --tw-gradient-from: #c5181e;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

/*===== INICIO HEADER  =====*/

/* Top Header */
.top-header {
    background-color: #300e0e;
    color: var(--gray-300);
    font-size: var(--font-size-sm);
}

.top-header__inner,
.top-header__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-header__inner {
    justify-content: center;
}

.top-header__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--gray-300);
    font-size: var(--font-size-xs);
    line-height: 1;
    transition: color 0.2s ease;
    text-decoration: none;
    min-height: 36px;
    min-width: 36px;
}

@media (hover: hover) and (pointer: fine) {
    .top-header__link:hover {
        color: var(--white-color);
    }
}

.top-header__item:active {
    color: var(--white-color);
}

.top-header__item svg {
    flex-shrink: 0;
}

.top-header__link span {
    display: none;
}

.site-header {
    background: var(--white-color);
    border-bottom: 1px solid var(--gray-300);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.nav-desktop {
    display: none;
    gap: var(--spacing-lg);
}

.nav-link-header {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 1.5rem 0;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-link-header svg {
    height: 16px;
    width: 16px;
}

.nav-link-header:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.nav-link-header:hover {
    color: var(--primary-color);
}

.nav-item span:hover {
    color: var(--primary-color);
}

/* Mobile */
.btn-mobile {
    background: none;
    border: none;
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    min-width: var(--touch-min);
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}

.btn-mobile:active {
    opacity: 0.7;
}

/* = inicio megamenu = */

.nav-item.has-mega {
    position: static;
}

.nav-item.has-mega > span {
    cursor: pointer;
}

.nav-item.has-mega .mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    /* max-height: 60vh; */
    height: 57vh;
    overflow-y: auto;
    background: var(--gray-100);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
    z-index: 999;
}

.nav-item.has-mega:hover .nav-link-header {
    color: var(--primary-color);
}

.nav-item.has-mega:hover .nav-link-header svg {
    transform: rotate(180deg);
}

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

.mega-menu {
    position: absolute;
    left: 0;
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    background: var(--neutral-color);
    z-index: 20;
}

.mega-inner {
    position: relative;
    display: grid;
    grid-template-columns: 400px 1fr;
    height: 100%;
}

.mega-inner::before {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background-image: url(../images/isotipo.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 204px;
    height: 192px;
    opacity: 0.2;
    z-index: 6;
}

.mega-categories {
    border-radius: var(--border-radius-md);
    background: var(--gray-50);
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 8vw;
}

.mega-categories button {
    display: block;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-weight: 400;
    font-size: 1.05rem;
    cursor: pointer;
    border-top-left-radius: var(--border-radius-sm);
    border-bottom-left-radius: var(--border-radius-sm);
    padding: 0.875rem;
}

.mega-categories button.active {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

.mega-content {
    position: relative;
    overflow: hidden;
    padding: 2rem 8vw 2rem 2rem;
}

.mega-panel {
    display: flex;
    inset: 0;
    width: 100%;
    position: relative;
    z-index: 9;
}

.mega-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: var(--spacing-md);
        overflow-y: auto;
        width: 100%;
}

.mega-service-item {
    background: var(--white-color);
    border: 1px solid var(--white-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.mega-service-item img {
    height: 22px;
    max-width: 22px;
    min-width: 22px;
    transition: all 0.3s ease;
}

.mega-service-item:hover {
    color: var(--primary-color);
    border: 1px dashed var(--primary-color);
}

.mega-service-item:hover img {
    filter: var(--filter-primary);
}

.link-primary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s;
}

.link-primary img {
    aspect-ratio: 9 / 13;
    border-radius: var(--border-radius-md);
    max-height: 250px;
    width: 100%;
    object-fit: cover;
}

.link-primary span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.link-primary svg {
    height: 16px;
    width: 16px;
}

.link-primary:hover span {
    color: var(--primary-color);
}

.mega-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    column-gap: 1rem;
    row-gap: 1rem;
    max-height: 50vh;
    transition: all 0.3s;
}

.mega-list-link {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    max-width: 250px;
    min-width: 180px;
    background-color: var(--white-color);
    border: 1px solid var(--white-color);
    border-radius: var(--border-radius-md);
    letter-spacing: 1px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.mega-list-link img {
    height: 22px;
    max-width: 22px;
    min-width: 22px;
    min-width: 22px;
}

.mega-list-link:hover {
    color: var(--primary-color);
    border: 1px dashed var(--primary-color);
}

/* = fin megamenu = */

/* = inicio mobile menu = */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--gray-50);
    padding: var(--spacing-lg);
    padding-top: max(var(--spacing-lg), var(--safe-top));
    padding-bottom: max(var(--spacing-lg), var(--safe-bottom));
    padding-left: max(var(--spacing-lg), var(--safe-left));
    padding-right: max(var(--spacing-lg), var(--safe-right));
    height: 100dvh;
    overflow: auto;
    overflow-x: hidden;
    z-index: 50;
    overscroll-behavior: contain;
    will-change: transform;
}

.mobile-menu_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid var(--gray-600);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-menu_header h3 {
    color: var(--gray-700);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.mobile-menu__close {
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: var(--touch-min);
    min-height: var(--touch-min);
    padding: 0.5rem;
    cursor: pointer;
    touch-action: manipulation;
}

.mobile-menu__close:active {
    opacity: 0.7;
}

.mobile-menu__close svg {
    height: 28px;
    width: 28px;
}

.mobile-menu a,
.mobile-menu__button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.mobile-menu__link,
.mobile-menu__button {
    font-size: 1.25rem;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    padding: 0.5rem 0.875rem;
    min-height: var(--touch-min);
    touch-action: manipulation;
}

.mobile-menu__button svg {
    height: 18px;
    width: 18px;
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    min-height: var(--touch-min);
    padding: 0.5rem 0;
    touch-action: manipulation;
}

.back-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.mobile-submenu {
    margin-top: 1rem;
}

.mobile-submenu__title {
    color: var(--gray-800);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.875rem;
}

.mobile-submenu__list {
    list-style: none;
    padding-left: 0;
}

.mobile-submenu__link {
    padding: 0.5rem 0;
    display: block;
}

.mobile-submenu__link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.mobile-accordion {
    border-bottom: 1px solid var(--gray-200);
}

.mobile-accordion__summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-color);

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

    padding: var(--spacing-md) 0;
    min-height: var(--touch-min);
    touch-action: manipulation;
    transition: color 0.3s ease;
}

.mobile-accordion__summary::-webkit-details-marker {
    display: none;
}
.mobile-accordion__summary::marker {
    display: none;
}

.mobile-accordion[open] .mobile-accordion__summary svg {
    transform: rotate(-180deg);
}

.mobile-accordion__content {
    padding-top: var(--spacing-sm);
    animation: accordionFade 0.25s ease;
}

.mobile-accordion__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.mobile-accordion__link {
    display: block;
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.25s ease;
}

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

/* = fin mobile menu = */

/*===== FIN HEADER  =====*/

/*===== INICIO INDEX  =====*/

/** = inicio hero section = **/

.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: opacity 0.45s ease-in-out;
    z-index: 1;
}

.hero-background picture {
    display: block;
    width: 100%;
    height: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(31, 31, 31, 0.85) 0%,
        rgba(109, 6, 10, 0.75) 100%
    );
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 0;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

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

.hero-headline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    color: var(--white-color);
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-wrap: balance;
}

.hero-description {
    font-size: var(--font-size-base);
    color: var(--gray-200);
    letter-spacing: 1px;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    color: var(--white-color);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-xl);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta-button:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.hero-cta-button:focus {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

.hero-form-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-form-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.hero-form-subtitle {
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hero-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.hero-form-label {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    letter-spacing: 0.5px;
}

.hero-form-required {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.hero-form-input,
.hero-form-select {
    width: 100%;
    padding: var(--spacing-md);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--white-color);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    appearance: none;
    min-height: 48px;
}

.hero-form-input:focus,
.hero-form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(251, 33, 23, 0.1);
}

.hero-form-input:hover,
.hero-form-select:hover {
    border-color: var(--gray-400);
}

.hero-form-input::placeholder {
    color: var(--gray-400);
    opacity: 1;
}

.hero-form-select-wrapper {
    position: relative;
}

.hero-form-select-wrapper::after {
    content: "";
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--secondary-color);
    pointer-events: none;
}

.hero-form-select {
    padding-right: calc(var(--spacing-xl) + var(--spacing-md));
}

.hero-form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.hero-form-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
    margin-top: 2px;
}

.hero-form-checkbox:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.hero-form-checkbox-label {
    font-size: var(--font-size-sm);
    color: var(--secondary-dark);
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.5px;
}

.hero-form-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.hero-form-link:hover {
    color: var(--primary-dark);
}

.hero-form-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.hero-form-submit {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--white-color);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: var(--touch-comfortable);
    touch-action: manipulation;
}

.hero-form-submit:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: scale(0.97);
}

.hero-form-submit:focus {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

.hero-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (hover: hover) and (pointer: fine) {
    .hero-form-submit:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        box-shadow: 0 8px 20px rgba(251, 33, 23, 0.3);
    }
}

/* Focus visible for keyboard navigation */
.hero-form-input:focus-visible,
.hero-form-select:focus-visible,
.hero-form-submit:focus-visible,
.hero-cta-button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/** = fin hero section = **/

/** = inicio partnership = **/

.partnership-section {
    position: relative;
    background: #f2f2f2;
    margin-top: 3rem;
}

.partnership-vector {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.partnership-media {
    display: flex;
    align-items: center;
    padding: 1rem;
    transition: transform 0.4s ease;
}

.partnership-img {
    aspect-ratio: 2 / 1;
    object-fit: contain;
    height: 70px;
    margin: 0 auto;
}

/** = fin partnership = **/

/** = inicio clients = **/

.clients-swiper {
    padding-top: 1rem;
    width: 100%;
}

.clients-swiper .swiper-slide {
    height: auto;
}

.swiper-3d {
    perspective: 1200px;
}

.client-card {
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--hover-green);
    border-radius: 1rem;
    padding: 0.5rem;
    transition: all 0.3s;
}

.client-media {
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.client-img {
    border-radius: 100%;
    object-fit: contain;
    width: 100%;
    transition: all 1s;
}

.client-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.client-name {
    font-size: clamp(1rem, 5vw, 1.125rem);
    font-weight: 600;
    letter-spacing: 0.2px;
    margin-bottom: 0;
    text-align: center;
}

/* Testimonial card */
.testimonial-card {
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--gray-200);
    padding: 2rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .testimonial-card:hover {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        transform: translateY(-3px);
    }
}

.testimonial-card__image-wrap {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
    margin-top: auto;
}

.testimonial-card__image {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-card__icon {
    color: var(--primary-color);
    opacity: 0.2;
    flex-shrink: 0;
    margin-top: -0.25rem;
}

.testimonial-card__quote {
    font-size: var(--font-size-base);
    line-height: 1.75;
    letter-spacing: 0.5px;
    color: var(--gray-700);
    margin: 0;
    padding-bottom: 1rem;
}

.testimonial-card__footer {
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
    width: 100%;
    margin-top: auto;
}

.testimonial-card__name {
    font-size: var(--font-size-sm);
    letter-spacing: 0.5px;
    color: var(--gray-900);
    margin: 0;
}

.testimonial-card__role {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin: 0.25rem 0 0;
}

/* Pagination bullets */
.clients-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--gray-300);
    opacity: 1;
    transition: background 0.2s, width 0.2s;
}

.clients-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/** = fin clients  = **/

/** = inicio home aboutus = **/

.home-about {
    position: relative;
    background-image: url("../images/banner-2.jpg");
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    font-family: var(--font-primary);
}

.home-about__container {
    position: relative;
    z-index: 2;
}

.home-about__overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        180deg,
        rgba(109, 6, 10, 0.75),
        rgba(109, 6, 10, 0.9)
    ); */
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.75),
        rgba(255, 255, 255, 0.9)
    );
    z-index: 1;
}

.home-about__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.home-about-swiper {
    overflow: hidden;
}

.home-about-swiper .swiper-wrapper {
    align-items: stretch;
}

.home-about-swiper .swiper-slide {
    display: flex;
    height: auto;
}

.home-about-swiper .home-about__card {
    width: 100%;
    height: 100%;
}

.home-about__card {
    /* background: rgba(255, 255, 255, 0.15); */
    /* background: rgba(109, 6, 10, 0.15); */
    background: linear-gradient(
        180deg,
        rgba(109, 6, 10, 0.75),
        rgba(109, 6, 10, 0.9)
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.home-about__card:focus-visible {
    outline: 3px solid var(--white-color);
    outline-offset: 3px;
}

.home-about__card:hover {
    /* border: 1px solid rgba(255, 255, 255, 1); */
    border: 1px solid rgba(109, 6, 10, 1);
    backdrop-filter: blur(14px);
}

.home-about__card:hover .home-about__card-more svg {
    transform: translateX(6px);
    transition: all 0.3s;
}

.home-about__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.35);
}

.home-about__icon img {
    width: 50px;
    height: 50px;
}

.home-about__card-title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.home-about__card-text {
    font-size: var(--font-size-sm);
    color: var(--gray-200);
    line-height: 1.6;
    letter-spacing: 1px;
}

.home-about__card-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: var(--white-color);
    font-size: var(--font-size-base);
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: all 0.3s;
}

.home-about__card-more svg {
    height: 1rem;
    width: 1rem;
    transition: all 0.3s;
}

/** = fin home aboutus = **/

/** = inicio servicios = **/

.service-card {
    display: block;
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--primary-color);
    overflow: hidden;
    background-color: var(--white-color);

    padding: 2rem;
}

.service-card::before {
    content: "";
    position: absolute;
    bottom: -110%;
    left: -110%;
    width: 600px;
    height: 600px;

    background-image: url("../images/flechas.svg");
    background-repeat: no-repeat;
    background-size: contain;

    opacity: 0.12;
    transform: translate(0, 0) rotate(-45deg);
    transition:
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        border 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.service-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.service-card:hover {
    border: 1px solid var(--primary-dark);
}

.service-card:hover::before {
    transform: translate(60%, -60%) rotate(-45deg);
    opacity: 0.18;
}

.service-card:hover .service-card-title {
    color: var(--primary-dark);
}

.service-card-content {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    min-height: 250px;
}

.service-card-number {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.service-card-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4;
    margin: 0;
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-desc {
    letter-spacing: 1px;
    margin: 0;
}

/** = fin servicios = **/

/** = inicio carreras = **/
.careers-section {
    overflow: hidden;
}

.careers-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.careers-block {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
}

.careers-block__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.careers-block__background picture,
.careers-block__background img {
    width: 100%;
    height: 100%;
    display: block;
}

.careers-block__background img {
    object-fit: cover;
}

.careers-block__content {
    position: relative;
    z-index: 7;
    padding: var(--spacing-xl);
    color: var(--white-color);
}

.careers-block__title {
    font-size: var(--font-size-xl);
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.careers-block__text {
    color: var(--gray-200);
    font-size: var(--font-size-base);
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    max-width: 520px;
}

.careers-block--image {
    background-image: url("../images/banner-3.webp");
    background-size: cover;
    background-position: center;
}

.careers-block__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(31, 31, 31, 0.4),
        rgba(31, 31, 31, 0.85)
    );
    z-index: 1;
}

.careers-block__overlay--gradient {
    background: linear-gradient(
        165deg,
        rgba(151, 13, 18, 0.86),
        rgba(219, 24, 31, 0.72)
    );
}

.careers-block--gradient {
    position: relative;
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary-color),
        var(--primary-light)
    );
}

.careers-block--gradient::before {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background-image: url(../images/isotipo.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 204px;
    height: 192px;
    opacity: 0.2;
    filter: brightness(0) invert(1);
    z-index: 6;
}

.careers-block__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    letter-spacing: 1px;
    min-height: 48px;
    padding: var(--spacing-sm) var(--spacing-lg);
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.careers-block__button--primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.careers-block__button--secondary {
    background-color: var(--white-color);
    color: var(--primary-dark);
}

.careers-block__button:active {
    background-color: var(--primary-dark);
    color: var(--white-color);
    transform: scale(0.97);
}

.careers-block__button:focus-visible {
    outline: 3px solid var(--white-color);
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .careers-block__button:hover {
        background-color: var(--primary-dark);
        color: var(--white-color);
        transform: translateY(-2px);
    }
}

/** = fin carreras = **/

/** = inicio novedades = **/

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white-color);
    border-radius: var(--border-radius-xl);
    font-family: var(--font-primary);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.blog-card__image-wrapper {
    border-radius: var(--border-radius-md);
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card__content {
    padding: var(--spacing-lg);
}

.blog-card__date {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.blog-card__title {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(2 * 1.3em);
}

.blog-card__desc {
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(3 * 1.6em);
}

.blog-card__button {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--primary-color);
    background-color: transparent;
    border: 0;
    letter-spacing: 1px;
    padding: 0;
    text-decoration: none;
    position: relative;
}

.blog-card__button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1.2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .blog-card:hover .blog-card__image {
        transform: scale(1.05);
    }

    .blog-card:hover .blog-card__button::after {
        transform: scaleX(1);
    }
}

/** = fin novedades = **/

/*===== FIN INDEX  =====*/

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

/* = inciio abotus = */

.aboutus-section {
    position: relative;
    background: var(--primary-dark);
    padding-top: var(--spacing-xl);
    overflow: hidden;
}

.aboutus-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 55%;
    transform: translateY(-50%);
    background-image: url(../images/isotipo.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 393px;
    height: 371px;
    opacity: 0.2;
    filter: brightness(0) invert(1);
    z-index: 6;
}

.aboutus-bg {
    display: block;
    background-color: var(--white-color);
    height: 2rem;
    width: 100%;
    margin-top: 1rem;
}

.aboutus-container {
    position: relative;
    z-index: 2;
}

.aboutus-grid {
    display: grid;
    gap: var(--spacing-xl);
    align-items: center;
}

.aboutus-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white-color);
    font-size: var(--font-size-sm);
    border-radius: var(--border-radius-xl);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    letter-spacing: 1px;
}

.aboutus-grid__wrapper {
    margin-bottom: 3rem;
}

.aboutus-title {
    color: var(--white-color);
    font-size: clamp(2rem, 4vw, var(--font-size-xxl));
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.aboutus-desc {
    color: var(--gray-200);
    line-height: 1.7;
    letter-spacing: 1px;
    font-size: var(--font-size-base);
}

.aboutus-grid__item:last-child {
    margin-bottom: -3rem;
}

.aboutus-grid img {
    aspect-ratio: 648 / 630;
    object-fit: cover;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    width: 100%;
}

.aboutus-featured {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.aboutus-card__featured {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--gray-50);
    padding-bottom: 1rem;
}

.aboutus-card__featured-number {
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.aboutus-card__featured-text {
    color: var(--gray-100);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* = fin abotus = */

/* = inicio culture = */

.culture-section {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.vector-position {
    display: none;
    position: absolute;
    top: 47%;
    left: 37px;
    transform: translateY(-50%);
}

.culture-grid {
    display: grid;
    column-gap: var(--spacing-xl);
    row-gap: var(--spacing-lg);
}

.culture-card {
    background: var(--white-color);
}

.culture-card:first-child {
    margin-bottom: var(--spacing-lg);
}

.culture-card__title {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.culture-card__desc {
    color: var(--gray-600);
    line-height: 1.6;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.culture-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-card {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    background: var(--white-color);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border: 1px dashed var(--primary-light);
}

.value-card__number {
    max-width: 48px;
    min-width: 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fb7778;
    color: var(--text-color);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
}

.value-card__title {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* = fin culture = */

/* = inicio employee = */

.employees-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
    background: var(--gray-50);
}

.employees-title {
    font-size: var(--font-size-xl);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.employees-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.employees-card {
    background: var(--white-color);
    border: 1px solid var(--white-color);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s;
}

.employees-card:hover {
    background: var(--gray-50);
    border: 1px solid var(--primary-color);
}

.employees-card__media img {
    border-radius: var(--border-radius-md);
    object-fit: cover;
    margin-bottom: var(--spacing-md);
}

.employees-card__name {
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.employees-card__position {
    color: var(--primary-dark);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* = fin employee = */

/* = inicio modal employee = */

.employee-profile-modal__content {
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl);
    border: none;
}

.employee-profile-modal__close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-min);
    min-width: var(--touch-min);
    height: 44px;
    width: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.employee-profile-modal__close svg {
    height: 24px;
    width: 24px;
}

.employee-profile-modal__grid {
    display: grid;
    gap: var(--spacing-xl);
}

.employee-profile-modal__media img {
    width: 100%;
    border-radius: var(--border-radius-md);
}

.employee-profile-modal__name {
    font-size: var(--font-size-xl);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.employee-profile-modal__position {
    color: var(--primary-color);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.employee-profile-modal__desc {
    border-bottom: 1px solid var(--gray-300);
    color: var(--gray-600);
    letter-spacing: 1px;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    text-wrap-style: balance;
}

.employee-profile-modal__contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.employee-profile-modal__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
    transition: color 0.3s;
}

.employee-profile-modal__item svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
}

.employee-profile-modal__item:hover {
    color: var(--primary-color);
}

/* = fin modal employee = */

@media screen and (min-width: 768px) {
    /*===== INICIO HEADER  =====*/
    .top-header__inner,
    .top-header__item {
        justify-content: space-between;
        gap: 1.5rem;
    }

    .top-header__link span {
        display: inline-block;
    }

    .top-header__link {
        min-width: unset;
    }

    /*===== FIN HEADER  =====*/

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

    .aboutus-bg {
        height: 5rem;
    }

    .culture-section {
        padding: var(--spacing-xl) 0;
    }

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

    .vector-position {
        display: block;
    }

    /*===== FIN NOSOTROS  =====*/
}

@media screen and (min-width: 992px) {
    /*===== INICIO NOSOTROS  =====*/

    .aboutus-grid {
        grid-template-columns: 1.1fr 1fr;
    }

    .aboutus-grid__wrapper {
        margin-bottom: 4rem;
    }

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

    .culture-card {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .value-card__title {
        font-size: 1.25rem;
    }

    .employees-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .employee-profile-modal__grid {
        grid-template-columns: 1fr 1.5fr;
    }

    /*===== FIN NOSOTROS  =====*/
}

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

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

.services-section-page {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

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

/*===== INICIO FICHA SERVICIOS  =====*/

.service-detail {
    padding: var(--spacing-xl) 0;
}

.service-detail__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.service-detail__content {
    color: var(--text-color);
}

.service-detail__intro {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

.service-detail__content h2,
.service-detail__content h3,
.service-detail__content h4,
.service-detail__content h5,
.service-detail__content h6 {
    font-weight: 500;
    letter-spacing: 1px;
}

.service-detail__content h2 {
    font-size: var(--font-size-lg);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.service-detail__content p {
    line-height: 1.6;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.service-detail__list {
    letter-spacing: 1px;
    margin-bottom: var(--spacing-lg);
    padding-left: 1.25rem;
}

.service-detail__list li {
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.service-cta {
    background-color: var(--gray-50);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--gray-200);
}

.service-cta__title {
    font-size: var(--font-size-lg);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.service-cta__desc {
    border-bottom: 1px solid var(--gray-300);
    color: var(--gray-600);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 2rem;
}

.service-cta__contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.service-cta__item {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.service-cta__item svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
}

.service-cta__item a {
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    text-decoration: none;
}

.service-cta__item a:hover {
    color: var(--primary-color);
}

.service-cta__whatsapp {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 100%;
}

.service-cta__whatsapp:hover {
    background-color: var(--primary-dark);
}

/*===== FIN FICHA SERVICIOS  =====*/

/*===== INICIO BLOGS  =====*/

.blog-grid {
    display: grid;
    row-gap: 2rem;
}

.blog-grid__item .blog-card {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1rem;
}

.blog-grid__item .blog-card__date {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.blog-grid__item .blog-card__title {
    display: block;
    -webkit-line-clamp: none;
    line-clamp: none;
    height: unset;
    font-size: 1.8rem;
}

.blog-grid__item .blog-card__desc {
    font-size: var(--font-size-base);
}

/*===== FIN BLOGS  =====*/

/*===== INICIO BLOG FICHA  =====*/

.blog-section--ficha {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.blog-grid--ficha {
    position: relative;
    display: grid;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-md);
    padding: 2rem;
}

.blog-grid--ficha::before {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background-repeat: no-repeat;
    background-size: cover;
    width: 150px;
    height: 152px;
    z-index: 1;
}

.blog-item--ficha {
    position: relative;
    z-index: 2;
}

.blog-item__date {
    display: inline-block;
    color: var(--gray-600);
    font-size: var(--font-size-base);
    margin-bottom: 0.875rem;
}

.blog-item__title {
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.3;
    text-wrap: balance;
}

.blog-item--image {
    border-radius: var(--border-radius-md);
    object-fit: cover;
    width: 100%;
}

.ficha-blog-section > * {
    letter-spacing: 1px;
}

.ficha-blog-section h2,
.ficha-blog-section h3,
.ficha-blog-section h4,
.ficha-blog-section h5,
.ficha-blog-section h6 {
    font-weight: 500;
}

/*===== FIN BLOG FICHA  =====*/

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

.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 4rem;
    row-gap: var(--spacing-xl);
}

.contact-form__title {
    color: var(--text-color);
    font-size: var(--font-size-xl);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.contact-form__subtitle {
    color: var(--primary-color);
    font-size: var(--font-size-base);
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: var(--spacing-xs);
}

.contact-form__description {
    color: var(--secondary-dark);
    letter-spacing: 1px;
    line-height: 1.6;
}

.form-helper-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
    text-decoration: none;
}

.form-helper-link:hover {
    text-decoration: underline;
}

.contact-form__form {
    margin-top: var(--spacing-xl);
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field {
    position: relative;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 1.25rem var(--spacing-md) var(--spacing-sm);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    background-color: var(--white-color);
    color: var(--text-color);
    transition: all 0.25s ease;
}

.contact-field label {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white-color);
    color: var(--gray-600);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
    pointer-events: none;
    padding: 0 0.25rem;
    transition: all 0.2s ease;
}

.contact-field-different label {
    top: 20%;
}

/* Floating effect */
.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-field input:focus + label,
.contact-field input:not(:placeholder-shown) + label,
.contact-field textarea:focus + label,
.contact-field textarea:not(:placeholder-shown) + label {
    top: 0.35rem;
    font-size: var(--font-size-xs);
    color: var(--primary-color);
}

.contact-form__submit {
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-md);
    color: var(--white-color);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md) var(--spacing-xl);
    min-height: var(--touch-min);
    transition: all 0.3s;
    touch-action: manipulation;
}

.contact-form__submit:active {
    background-color: var(--primary-dark);
    transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    .contact-form__submit:hover {
        background-color: var(--primary-dark);
    }
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: none;
    border-radius: var(--border-radius-md);
}

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

/*===== INICIO TRABAJA NOSOTROS =====*/

.career-hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 3rem 0;
    background-color: var(--white-color);
}

.career-hero__wrapper {
    display: flex;
    flex-direction: column;
    column-gap: 4rem;
    row-gap: var(--spacing-xl);
}

.career-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.career-hero__tag {
    display: inline-flex;
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.career-hero__title {
    font-size: var(--font-size-xl);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.career-hero__description {
    color: var(--secondary-dark);
    font-size: var(--font-size-base);
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xl);
}

.career-hero__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.career-input {
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    outline: none;
    padding: var(--spacing-md);
    transition: border-color 0.3s ease;
}

.career-input:focus {
    border-color: var(--primary-color);
}

.career-button {
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-md);
    color: var(--white-color);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 1px;
    padding: var(--spacing-md) var(--spacing-xl);
    min-height: var(--touch-min);
    transition: background-color 0.3s ease;
    text-align: center;
    touch-action: manipulation;
}

.career-button:active {
    background-color: var(--primary-dark);
    transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    .career-button:hover {
        background-color: var(--primary-dark);
    }
}

.career-hero__image-box {
    background-color: var(--neutral-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-hero__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--neutral-color) 0%,
        var(--gray-300) 100%
    );
}

.career-hero__image-placeholder img {
    width: 100%;
    object-fit: cover;
}

/* tipos de vacantes*/

.career-types {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.career-types__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.career-types__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.career-types__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.career-types__left {
    min-width: 0;
}

.career-types__left-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.career-types__slider {
    overflow: hidden;
}

.career-types__slider .swiper-wrapper {
    align-items: stretch;
}

.career-types__slider .swiper-slide {
    height: auto;
    display: flex;
}

.career-types__slider .career-type-card {
    width: 100%;
}

.career-types__action-card {
    min-height: 100%;
}

.career-type-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.career-type-card__img img {
    width: 100%;
    object-fit: cover;
}

.career-type-card__body {
    padding: var(--spacing-lg);
    flex-grow: 1;
}

.career-type-card__title {
    position: relative;
    z-index: 7;
    font-size: var(--font-size-lg);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.career-type-card--action {
    position: relative;
    background-color: var(--primary-color);
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary-color),
        var(--primary-light)
    );
    color: var(--white-color);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    overflow: hidden;
}

.career-type-card--action::before {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background-image: url(../images/isotipo.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 204px;
    height: 192px;
    opacity: 0.2;
    filter: brightness(0) invert(1);
    z-index: 2;
}

.career-type-card--action .career-type-card__title {
    position: relative;
    z-index: 7;
    color: var(--white-color);
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    text-wrap: balance;
}

.career-button--white {
    position: relative;
    z-index: 7;
    background-color: var(--white-color);
    color: var(--primary-dark);
}

.career-button--white:hover {
    color: var(--white-color);
    background-color: var(--primary-dark);
    border: 1px solid var(--white-color);
}

/* puestos laborales */
.career-jobs {
    background-color: var(--white-color);
}

.career-jobs__title {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 3rem;
    text-align: center;
}

.career-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.career-card {
    padding: var(--spacing-xl);
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 244px;
}

.career-card__name {
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.career-card__desc {
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
    margin-bottom: var(--spacing-lg);
}

.career-type-card--action__desc {
    position: relative;
    z-index: 7;
    color: var(--white-color);
    margin-bottom: 2rem;
    text-wrap: balance;
}

.career-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    border: 0;
    color: var(--primary-color);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 1px;
    width: fit-content;
    text-decoration: none;
}

.career-card__link svg {
    height: 22px;
    min-width: 22px;
    max-width: 22px;
    width: 22px;
}

.career-card:hover {
    border: 1px solid var(--primary-color);
    background-color: #feeded;
}

.career-card--featured {
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary-color),
        var(--primary-light)
    );
    border: none;
    color: var(--white-color);
    text-align: center;
    justify-content: center;
    align-items: center;
}

.career-card--featured .career-card__name {
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.career-card--featured .career-card__desc {
    color: var(--white-color);
    letter-spacing: 1px;
}

.career-card--featured .career-button--outline {
    background-color: var(--white-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-dark);
    margin-top: var(--spacing-md);
    transition: all 0.3s;
}

.career-card--featured .career-button--outline:hover {
    transform: translateY(-4px);
}

/*===== FIN TRABAJA NOSOTROS  =====*/

/*===== INICIO FICHA TRABAJA NOSOTROS  =====*/

.career-hero--ficha {
    position: relative;
    height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.career-hero--ficha::before {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background-image: url(../images/isotipo.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 204px;
    height: 192px;
    opacity: 0.2;
    filter: brightness(0) invert(1);
    z-index: 6;
}

.career-hero__background {
    position: absolute;
    inset: 0;
    background-image: url("../images/hero-ficha.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.career-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(31, 31, 31, 0.85) 0%,
        rgba(123, 10, 5, 0.75) 100%
    );
    z-index: 2;
}

.career-hero__container {
    position: relative;
    z-index: 3;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 960px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    text-align: center;
}

.career-hero__container-ficha {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.career-hero__tag-ficha {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: var(--border-radius-sm);
    color: var(--white-color);
    font-size: var(--font-size-xs);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1.8rem;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
}

.career-hero__title-ficha {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 500;
    color: var(--white-color);
    letter-spacing: 1px;
    line-height: 1.15;
    margin-bottom: var(--spacing-lg);
    margin-bottom: 2.2rem;
}

.career-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
    border: none;
    border-radius: var(--border-radius-md);
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 1px;
    padding: var(--spacing-md) var(--spacing-xl);
    text-decoration: none;
    transition: all 0.3s;
    width: fit-content;
}

.career-hero__cta:hover {
    background-color: var(--primary-dark);
    color: var(--white-color);
}

.career-information > * {
    letter-spacing: 1px;
}

.career-information h2,
.career-information h3,
.career-information h4,
.career-information h5,
.career-information h6 {
    font-weight: 500;
}

.career-swipe-section {
    position: absolute;
    bottom: 2rem;
}

.career-swipe-section a {
    color: var(--white-color);
    height: 32px;
    width: 32px;
}

.career-cta__section {
    /* background-image: url(../images/curves-bg.svg);
    background-repeat: no-repeat;
    background-size: cover; */
    position: relative;
    background-color: #300e0e;
    overflow: hidden;
    padding: 6rem 0;
}

.career-cta__section .thumb-left,
.career-cta__section .thumb-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: auto;
    overflow: hidden;
    opacity: 0.2;
    z-index: 1;
}

.career-cta__section .thumb-left {
    left: -8.688rem;
}

.career-cta__section .thumb-right {
    right: -8.688rem;
}

.career-cta__section .container {
    z-index: 2;
}

.career-cta__title {
    color: var(--white-color);
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 1px;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 4rem;
    text-align: center;
    text-wrap: pretty;
}

/*===== FIN FICHA TRABAJA NOSOTROS  =====*/

/*===== INICIO FORMULARIO DE APLICACION  =====*/

.job-application-form {
    background-color: var(--white-color);
    border-radius: var(--border-radius-md);
    color: var(--text-color);
    padding: var(--spacing-xl) var(--spacing-md);
}

.job-application-form__title {
    color: var(--black-color);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.job-application-box__linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-bottom: var(--spacing-xl);
}

.job-application-form__linkedin {
    border-radius: var(--border-radius-md);
    border: none;
    background-color: #0a66c2;
    color: var(--white-color);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 1px;
    margin: 0 auto;
    padding: 0.85rem 1rem;
    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
    width: fit-content;
}

.job-application-form__linkedin svg {
    height: 24px;
    min-width: 24px;
    max-width: 24px;
    width: 24px;
}

.job-application-form__linkedin:hover {
    background-color: #004182;
}

.job-application-form__linkedin:active {
    transform: scale(0.98);
}

.job-application-form__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.job-application-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.job-application-form__field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.job-application-form__field label {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--gray-700);
    letter-spacing: 1px;
}

.job-application-form__field input,
.job-application-form__field textarea {
    padding: 0.75rem 0.85rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-300);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.job-application-form__field input:focus,
.job-application-form__field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(251, 33, 23, 0.2);
}

.job-application-form__field textarea {
    resize: vertical;
}

.job-application-form__field input[type="file"] {
    padding: 0.5rem 0;
    font-size: var(--font-size-sm);
    border: none;
}

.job-application-form__field-box label {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-100);
    border: 1px dashed var(--gray-300);
    border-radius: var(--border-radius-md);
    color: var(--gray-600);
    cursor: pointer;
    font-weight: 400;
    padding: 1rem;
    width: 100%;
    transition: background-color 0.3s ease;
}

.job-application-form__file-trigger {
    text-align: center;
    overflow-wrap: anywhere;
}

.job-application-form__field-box:hover label {
    background-color: var(--white-color);
}

.job-application-form__checkbox {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.job-application-form__checkbox input {
    margin-top: 0.2rem;
}

.job-application-form__checkbox label {
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: 1px;
    color: var(--gray-700);
}

.job-application-form__submit {
    border-radius: var(--border-radius-md);
    border: none;
    background-color: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: var(--spacing-md);
    padding: 0.9rem 1rem;
    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
}

.job-application-form__submit:active {
    background-color: var(--primary-dark);
    transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    .job-application-form__submit:hover {
        background-color: var(--primary-dark);
    }
}

/* = inicio modal fullscreen form aplicacion = */

.job-application-modal .modal-dialog {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    height: 85vh;
    margin: 0;

    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.job-application-modal.show .modal-dialog {
    transform: translateY(0);
}

.job-application-modal__content {
    height: 80vh;
    border-radius: 0;
    overflow-y: auto;
    background-color: var(--gray-50);
}

.job-application-modal .modal-body {
    padding: var(--spacing-lg);
}

.job-application-modal__close {
    color: var(--black-color);
    width: fit-content;
    align-self: end;
    background: transparent;
    border: none;
    padding-top: 1rem;
    padding-right: 1rem;
}

.job-application-modal__close svg {
    width: 32px;
    height: 32px;
}

/* = fin modal fullscreen form aplicacion = */

/*===== FIN FORMULARIO DE APLICACION  =====*/

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

.site-footer {
    position: relative;
    background: #f2f2f2;
    border-top: 1px solid var(--primary-color);
    color: var(--text-color);
    overflow: hidden;
    padding-top: 3rem;
    padding-bottom: var(--spacing-xl);
}

.site-footer::before {
    content: "";
    position: absolute;
    right: -4rem;
    bottom: -2rem;
    background-image: url(../images/isotipo.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 393px;
    height: 371px;
    opacity: 0.06;
    z-index: 1;
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin: 0 auto;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    text-wrap: balance;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    letter-spacing: 1px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm);
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    border: 2px solid var(--gray-300);
    height: var(--touch-comfortable);
    font-size: 1rem; /* Previene zoom automático en iOS */
    -webkit-appearance: none;
    appearance: none;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-md);
    color: var(--white-color);
    cursor: pointer;
    letter-spacing: 1px;
    padding: var(--spacing-sm) var(--spacing-md);
    min-height: var(--touch-comfortable);
    touch-action: manipulation;
}

.newsletter-form button:active {
    background: var(--primary-dark);
    transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    .newsletter-form button:hover {
        background: var(--primary-dark);
    }
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: 2rem;
}

.social-links a {
    width: var(--touch-min);
    height: var(--touch-min);
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: all 0.3s;
    touch-action: manipulation;
}

.social-links a:active {
    transform: scale(0.92);
    opacity: 0.85;
}

.social-links svg {
    width: 28px;
    height: 28px;
}

.social-links a:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.footer-divider {
    border-top: 1px solid var(--gray-300);
    margin: var(--spacing-xl) 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    font-size: var(--font-size-xs);
    color: var(--gray-700); /* contraste 5.6:1 sobre #f2f2f2 — pasa WCAG AA */
    margin: 0 auto;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-family: var(--font-primary);
    min-height: var(--touch-min);
    touch-action: manipulation;
}

.footer-contact a:active {
    color: var(--primary-dark);
    opacity: 0.8;
}

@media (hover: hover) and (pointer: fine) {
    .footer-contact a:hover {
        color: var(--primary-dark);
    }
}

.footer-contact svg {
    height: 14px;
    width: 14px;
}

.footer-copyright {
    font-size: var(--font-size-xs);
    font-family: var(--font-primary);
    letter-spacing: 1px;
    margin-bottom: 0;
}

.footer-copyright svg {
    height: 12px;
    width: auto;
    object-fit: contain;
    margin-top: 2px;
}

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

/* === INICIO CUSTOMIZACION NAVIGATION SWIPER === */

.customization-button-prev,
.customization-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 100%;
    color: var(--white-color);
    height: 48px;
    width: 48px;
    transition:
        color 0.3s,
        background 0.3s,
        border 0.3s;
}

.customization-button-prev {
    left: 0;
}

.customization-button-next {
    right: 0;
}

.customization-button-prev:hover,
.customization-button-next:hover {
    background-color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    color: var(--white-color);
}

.customization-button-prev svg,
.customization-button-next svg {
    height: 32px;
    width: 32px;
}

.swiper-nav-clients {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 3rem;
}

.clients-button-prev,
.clients-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 100%;
    color: var(--white-color);
    height: 48px;
    width: 48px;
    transition:
        color 0.3s,
        background 0.3s,
        border 0.3s;
}

.clients-button-prev:hover,
.clients-button-next:hover {
    background-color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
    color: var(--white-color);
}

.clients-button-prev svg,
.clients-button-next svg {
    height: 32px;
    width: 32px;
}

/* === FIN CUSTOMIZACION NAVIGATION SWIPER === */

@media screen and (min-width: 768px) {
    /* inicio utilidades */
    .padding-page-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .padding-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .padding-section-first {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    .padding-section-last {
        padding-top: 3rem;
        padding-bottom: 5rem;
    }

    .partnership-section {
        margin-top: 4rem;
    }

    .section-title {
        font-size: var(--font-size-xxl);
    }

    .hero-widget-illustration {
        background-position: center -160px;
    }

    /* fin utilidades */

    /*== INICIO HEADER ==*/
    .menu-item > a {
        font-size: 1rem;
    }

    .submenu-item {
        font-size: 0.95rem;
    }
    /*== FIN HEADER ==*/

    /*== INICIO INDEX ==*/

    /* inicio hero */

    .hero-content-wrapper {
        gap: calc(var(--spacing-xl) * 1.5);
    }

    .hero-form-card {
        padding: calc(var(--spacing-xl) + var(--spacing-md));
    }

    .hero-form-title {
        font-size: var(--font-size-xl);
    }
    /* fin hero */

    /* inicio aboutus */

    .home-about__cards {
        grid-template-columns: repeat(3, 1fr);
    }
    /* fin aboutus */

    /*== FIN INDEX ==*/

    /*== INICIO SERVICIOS ==*/
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /*== FIN SERVICIOS ==*/

    /*== INICIO BLOGS ==*/
    .blog-grid__item .blog-card {
        grid-template-columns: 0.5fr 1fr;
    }

    .blog-grid--ficha {
        gap: 2rem;
        grid-template-columns: repeat(2, 1fr);
        padding: 4rem;
    }

    /*== FIN BLOGS ==*/

    /*== INICIO CONTACTO ==*/
    .contact-form__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /*== FIN CONTACTO ==*/

    /*== INICIO TRABAJA NOSOTROS ==*/
    .career-hero__wrapper {
        flex-direction: row;
        align-items: center;
    }

    .career-hero__content,
    .career-hero__image-box {
        flex: 1;
    }

    .career-hero__title {
        font-size: var(--font-size-xxl);
    }

    .career-hero__form {
        flex-direction: row;
        max-width: 500px;
    }

    .career-input {
        flex: 1;
    }

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

    .career-types__left-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /*== FIN TRABAJA NOSOTROS ==*/

    /*== INICIO FORMULARIO DE APLICACION ==*/
    .job-application-form {
        max-width: 720px;
        margin: 0 auto;
        padding: var(--spacing-xl);
    }

    .job-application-form__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-application-form__submit {
        align-self: flex-end;
        max-width: 240px;
    }
    /*== FIN FORMULARIO DE APLICACION ==*/

    /*== INICIO FOOTER ==*/
    .footer-logo {
        justify-content: start;
    }
    .social-links {
        justify-content: flex-start;
    }
    /*== FIN FOOTER ==*/
}

@media screen and (min-width: 992px) {
    /* = Inicio Utilidades = */
    .hero-widget {
        height: 400px;
    }

    .hero-widget-content {
        align-items: center;
        padding: 3.8rem 0;
    }

    .hero-widget-title {
        font-size: var(--font-size-xxl);
    }

    .hero-widget-illustration {
        background-image: url(../images/bg-vector.svg);
        background-position: 100% 0;
        top: 0;
        width: 80vw;
    }
    /* = Fin Utilidades = */

    /*== Inicio HEADER ==*/
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .navbar__mobile-buttons {
        display: none;
    }
    .navbar__right {
        max-height: none;
        opacity: 1;
        overflow: visible;
    }
    .navbar__menu {
        display: flex;
        align-items: center;
        margin-top: 0;
        margin-bottom: 0;
    }
    .navbar__button {
        margin-top: 0;
    }
    .navbar__logo img {
        height: 28px;
    }
    .container-cat-submenu {
        display: block;
        padding: 0 1.5rem;
    }
    .menu-mobile {
        display: none;
    }
    /*== FIN HEADER ==*/

    /*== INICIO INDEX ==*/
    .careers-section__grid {
        grid-template-columns: calc(60% - 1rem) calc(40% - 1rem);
        gap: var(--spacing-xl);
    }

    .careers-block {
        min-height: 420px;
    }

    .careers-block__title {
        font-size: var(--font-size-xxl);
    }
    /*== FIN INDEX ==*/

    /*== INICIO CONTACTO ==*/
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
    /*== FIN CONTACTO ==*/

    /*== INICIO SERVICIOS ==*/
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    /*== FIN SERVICIOS ==*/

    /*== INICIO FICHA SERVICIOS ==*/
    .service-detail__container {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }

    .service-detail__cta {
        position: sticky;
        top: 5rem;
    }
    /*== FIN FICHA SERVICIOS ==*/

    /*= INICIO FOOTER =*/
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 4rem;
    }
    /*= FIN FOOTER =*/
}

@media screen and (min-width: 1024px) {
    /*== INICIO HEADER ==*/
    .btn-mobile {
        display: none;
    }
    .nav-desktop {
        display: flex;
    }
    /*== FIN HEADER ==*/

    /*== INICIO INDEX ==*/

    /* inicio hero */

    .hero-content-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: calc(var(--spacing-xl) * 2);
    }

    .hero-text-content {
        flex: 1;
        max-width: 600px;
        text-align: left;
    }

    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-form-card {
        flex: 0 0 480px;
        margin: 0;
    }

    .hero-headline {
        margin-bottom: var(--spacing-lg);
    }

    .hero-description {
        font-size: var(--font-size-lg);
        margin-bottom: calc(var(--spacing-xl) + var(--spacing-md));
    }
    /* fin hero */

    /*== FIN INDEX ==*/

    /*== INICIO TRABAJA NOSOTROS ==*/
    .career-types__grid,
    .career-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .career-types__layout {
        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
        align-items: stretch;
    }

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

    .career-types__action-card {
        height: 100%;
    }
    /*== FIN TRABAJA NOSOTROS ==*/

    /*= INICIO FOOTER =*/
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-contact {
        flex-direction: row;
        gap: var(--spacing-lg);
    }

    .social-links {
        gap: 0.75rem;
    }
    .social-link {
        width: 2.25rem;
        height: 2.25rem;
    }
    /*= FIN FOOTER =*/
}

@media screen and (min-width: 1200px) {
    .hero-widget-illustration {
        width: 72vw;
    }
    .hero-widget-display {
        max-width: 500px;
    }
}

@media screen and (min-width: 1400px) {
    /*== INICIO INDEX ==*/
    .hero-text-content {
        max-width: 700px;
    }

    .hero-form-card {
        flex: 0 0 520px;
    }
    /*== FIN INDEX ==*/
}

@media screen and (min-width: 1900px) {
    .hero-widget-illustration {
        width: 98vw;
    }
}

/* career-hero__background: fixed no funciona bien en mobile (default scroll) */
.career-hero__background {
    background-attachment: scroll;
}

@media screen and (min-width: 769px) {
    .career-hero__background {
        background-attachment: fixed;
    }
}

/* Desactivar animaciones en reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
