@import 'variables.css';

/* ============================================================
   ÍNDICE DE ESTILOS
   ------------------------------------------------------------
    1. RESET & BASE
    2. LAYOUT
    3. TYPOGRAPHY
    4. COMPONENTS — BUTTON
    5. HEADER
    6. FLOATING CTA
    7. HERO
    8. SECTION INTRO
    9. STAT CARD
   10. SECTION HEADER
   11. TESTIMONIALS
   12. TESTIMONIAL CARD
   13. MOMENTUM BRIDGE
   14. SECTION PROBLEMS
   15. PHOTO CARD
   16. SECTION PROCESS
   17. SECTION INSIGHTS
   18. INSIGHT CARD
   19. SECTION PENSADO
   20. AUDIENCE CARD
   21. SECTION TEAM
   22. SECTION CTA
   23. FOOTER
   24. RESPONSIVE
============================================================ */

/* ============================================================
   RESET & BASE
============================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: var(--color-dark);
    background-color: var(--color-white);
}

img, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ============================================================
   LAYOUT
============================================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* ============================================================
   TYPOGRAPHY
============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-snug);
}

/* ============================================================
   COMPONENTS — BUTTON
============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-5);
    border-radius: var(--radius-full);
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-base);
    cursor: pointer;
    border: none;
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

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

.btn--outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

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

.btn--primary:focus-visible,
.btn--outline:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.btn--lg {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    border-radius: var(--radius-br-xs);
}

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

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 9200;
    padding: var(--space-7) 0;
}

.site-header--onscroll {
    position: fixed;
    top: -200px;
    background-color: var(--color-primary);
}

.site-header__logo svg {
    color: var(--color-white);
    width: 160px;
    height: 40px;
    transition: color var(--transition-base);
}

.site-header--pinned {
    position: fixed;
    top: 0;
    background-color: var(--color-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: top var(--transition-slow);
}

.site-header--pinned .site-header__logo svg {
    color: var(--color-primary);
}

.site-header--pinned .site-header__menu a {
    color: var(--color-text-secondary);
}

.site-header--pinned .site-header__menu .active > a,
.site-header--pinned .site-header__menu > li > a:hover {
    color: var(--color-white);
    background: var(--color-primary);
}

.site-header--pinned .site-header__contact-link {
    color: var(--color-text-secondary);
}

.site-header--pinned .site-header__demo-btn {
    border-color: var(--color-error);
}

/* Legal pages — solid primary bg only when not pinned */
.site-header--legal:not(.site-header--pinned) {
    background-color: var(--color-primary);
}

.site-header__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    width: 100%;

}

.site-header__menu{
    display: flex;
    flex-direction: row;
    gap: var(--space-2);
    align-items: center;
    z-index: 100;
    margin-bottom: 0;
}
.site-header__menu .active > a,
.site-header__menu > li > a:hover {
    border-radius: var(--radius-br-xs);
    background: var(--brand-primary-900, #020167);
}
.site-header__menu a{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-none);
    letter-spacing: var(--letter-spacing-base);
    padding: var(--space-3);
    transition: var(--transition-base);
}

.site-header__dropdown {
    position: static;
}

.site-header__dropdown > .dropdown-toggle {
    cursor: pointer;
}

.site-header__dropdown > .dropdown-toggle::after {
    display: none;
}

/* Mega-menu */
.site-header__megamenu {
    position: absolute !important;
    top: calc(100% + 20px) !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 2 * var(--bs-gutter-x, 12px)) !important;
    max-width: 1320px !important;
    transform: translateX(-50%) !important;
    border: none;
    border-radius: var(--radius-br-md) ;
    padding-block: var(--space-8);
    margin-top: 0 !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    background-color: var(--color-white);
    z-index: 9100 !important;
}

.site-header__megamenu-inner {
    display: flex;
    gap: var(--space-8);
    align-items: flex-start;
}

.site-header__megamenu-left {
    flex: 7;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.site-header__megamenu-label {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    margin: 0;
    padding-left: var(--space-4);
}

.site-header__megamenu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.site-header__megamenu-right {
    flex: 5;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.site-header__megamenu-img {
    width: 100%;
    aspect-ratio: 5 / 2;
    overflow: hidden;
    background-color: var(--color-bg-blue-light);
}

.site-header__megamenu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Submenu item */
.submenu-item {
    display: flex;
    flex-direction: column!important;
    gap: var(--space-4);
    padding: var(--space-5)!important;
    border-radius: 0 0 24px 0;
    text-decoration: none;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.submenu-item:hover,
.site-header__megamenu .submenu-item:hover {
    background-color: var(--color-bg-blue-light);
    text-decoration: none;
}

.submenu-item--active,
.site-header__megamenu .submenu-item--active {
    background-color: var(--color-primary);
}

.submenu-item--active:hover,
.site-header__megamenu .submenu-item--active:hover {
    background-color: var(--color-primary);
}

.submenu-item__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    line-height: 1.3;
    width: 100%;
}

.submenu-item--active .submenu-item__title {
    color: var(--color-white);
}

.submenu-item__desc {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.submenu-item--active .submenu-item__desc {
    color: var(--color-white);
}

.submenu-item--feature {
    margin-top: var(--space-8);
}

.site-header__actions {
    display: flex;
    flex-direction: row;
    gap: var(--space-4);
    align-items: center;
    z-index: 100;
}

.site-header__contact-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-none);
    letter-spacing: var(--letter-spacing-base);
    padding: var(--space-2) var(--space-3);
    transition: var(--transition-base); 
}

.site-header__demo-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-br-xs);
    border: 2px solid var(--color-white);
    background: var(--color-error);
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    transition: var(--transition-base);
}

.site-header__demo-btn:hover {
    background: var(--color-error-dark);
}

/* Lang switcher */
.site-header__lang {
    position: relative;
}

.site-header__lang-toggle {
    background: transparent;
    border: none;
    border-radius: var(--radius-br-xs);
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    padding: var(--space-3) var(--space-4);
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 0.05em;
}

.site-header__lang-toggle::after {
    display: none;
}

.site-header__lang-toggle:hover,
.site-header__lang-toggle.show {
    background: rgba(2, 1, 103, 0.8);
}

.site-header--pinned .site-header__lang-toggle {
    color: var(--color-text-secondary);
}

.site-header--pinned .site-header__lang-toggle:hover,
.site-header--pinned .site-header__lang-toggle.show {
    background: rgba(2, 1, 103, 0.8);
    color: var(--color-white);
}

.site-header__lang-menu {
    position: absolute !important;
    top: calc(100% + var(--space-2)) !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    min-width: 140px;
    background-color: var(--color-white);
    border: none;
    border-radius: var(--radius-br-xs);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: var(--space-2);
    z-index: 9100 !important;
}

.site-header__lang-item {
    display: block;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-body);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-br-xs);
    text-decoration: none;
    transition: var(--transition-base);
}

.site-header__lang-item:hover {
    background-color: var(--color-bg-blue-light);
    color: var(--color-primary);
}

.site-header__lang-item.active {
    color: var(--color-primary);
    font-weight: var(--font-weight-regular);
    background-color: var(--color-accent);
}

.site-header__lang-item:focus-visible {
    background-color: var(--color-bg-blue-light);
    color: var(--color-primary);
    outline: 2px solid var(--color-white);
    outline-offset: -2px;
}

/* ============================================================
   RESPONSIVE NAV — HAMBURGER + OFFCANVAS
============================================================ */

/* Hamburger — hidden on desktop */
.site-header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.75rem;
    cursor: pointer;
    padding: var(--space-2);
    line-height: 1;
    transition: var(--transition-base);
}

.site-header--pinned .site-header__burger {
    color: var(--color-primary);
}

/* Offcanvas */
.site-header__offcanvas {
    width: 100vw !important;
    background-color: var(--color-primary);
    border: none;
    z-index: 9500 !important;
    overflow: hidden;
}

.site-header__offcanvas-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.site-header__offcanvas-header,
.site-header__offcanvas-body {
    position: relative;
    z-index: 1;
}

.offcanvas-backdrop {
    z-index: 9400 !important;
}

.site-header__offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-7) var(--space-7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__offcanvas-logo svg {
    color: var(--color-white);
    width: 180px;
    height: 46px;
}

.site-header__offcanvas-close {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.75rem;
    cursor: pointer;
    padding: var(--space-2);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.site-header__offcanvas-close:hover {
    opacity: 1;
}

.site-header__offcanvas-close:focus-visible {
    opacity: 1;
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

.site-header__offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: var(--space-7);
    gap: var(--space-9);
    overflow-y: auto;
}

/* Mobile nav list */
.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__link,
.mobile-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-6) 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    color: var(--color-white);
    background: transparent;
    border: none;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    transition: opacity 0.2s ease;
}

.mobile-nav__link:hover,
.mobile-nav__toggle:hover {
    opacity: 0.7;
    color: var(--color-white);
    text-decoration: none;
}

.mobile-nav__link--active,
.mobile-nav__subitem--active {
    background-color: var(--color-accent);
    color: var(--color-primary) !important;
    border-radius: var(--radius-br-xs);
    padding-inline: var(--space-4);
    /* margin-inline: calc(-1 * var(--space-4)); */
}

.mobile-nav__chevron {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.mobile-nav__toggle:not(.collapsed) .mobile-nav__chevron {
    transform: rotate(180deg);
}

/* Submenu inside collapse */
.mobile-nav__submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 var(--space-5) var(--space-5);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav__subitem {
    display: flex;
    width: fit-content;
    padding: var(--space-4) var(--space-2);
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav__subitem:last-child {
    border-bottom: none;
}

.mobile-nav__subitem:hover,
.mobile-nav__subitem--active {
    color: var(--color-white);
}

/* Actions */
.mobile-nav__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mobile-nav__demo {
    display: block;
    text-align: center;
    padding: var(--space-5);
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-br-xs);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.mobile-nav__demo:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    text-decoration: none;
}

/* Lang switcher in offcanvas */
.mobile-nav__lang {
    display: flex;
    gap: var(--space-3);
    padding-bottom: var(--space-6);
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.mobile-nav__lang-item {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav__lang-item:hover {
    color: var(--color-white);
}

.mobile-nav__lang-item.active {
    color: var(--color-accent);
    font-weight: var(--font-weight-medium);
}

/* Breakpoint: hide desktop nav, show burger */
@media (max-width: 1319.98px) {
    .site-header__nav {
        display: none;
    }

    .site-header__contact-link {
        display: none;
    }

    .site-header__demo-btn {
        display: none;
    }

    .site-header__actions {
        margin-left: auto;
        margin-right:0;
    }

    .site-header__burger {
        display: flex;
    }

    .site-header__logo svg {
        width: 200px;
        height: 50px;
    }
}

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

.floating-cta {
    position: fixed;
    right: 64px;
    bottom: 64px;
    z-index: 9000;
    width: 289px;
    padding: 16px;
    background-color: var(--color-white);
    border-radius: var(--radius-br-md);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 13px;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.floating-cta.is-hidden {
    transform: translateY(calc(100% + 30px));
    opacity: 0;
    pointer-events: none;
}

.modal-open .floating-cta {
    display: none !important;
}

.modal-backdrop {
    z-index: 9550 !important;
}

.modal {
    z-index: 9600 !important;
}

/* Close button */
.floating-cta__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-medium);
    padding: 0;
    transition: color var(--transition-base);
}

.floating-cta__close:hover {
    color: var(--color-primary);
}

/* Inner row */
.floating-cta__inner {
    display: flex;
    flex-direction: row;
    gap: 13px;
}

/* Avatar with gradient ring */
.floating-cta__avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.floating-cta__avatar-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(to top right, #FF8100, #D90083);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cta__avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--color-white);
}

/* Content column */
.floating-cta__content {
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex: 1;
    padding-right: 20px; /* space for close button */
}

.floating-cta__text {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-black);
}

/* CTA button inside card */
.floating-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background-color: var(--color-error);
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    border-radius: var(--radius-br-xs);
    white-space: nowrap;
    width: fit-content;
    transition: background-color var(--transition-base);
}

.floating-cta__btn:hover {
    background-color: var(--color-error-dark);
}



/* ============================================================
   HEROS
============================================================ */


.hero{
    min-height: 85vh;
    width: 100%;
    padding:120px 64px;
    position: relative;
    display: flex;
}
.hero::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 27vh;
    background-color: var(--color-bg-blue-light);
    z-index: 0;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hero::before{
    background-image: url(../img/hero-deco-img.png);
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center left;
    background-size:auto 120% ;
    z-index: 1;
}
.hero .container-fluid{
    z-index: 2;
    position: relative;
    margin:auto 0;
}

.hero__blue{
    background-image: url(../img/blue-hero-img.jpg);
}

.hero__blog {
    overflow: hidden;
}

.hero__bg-blur {
    position: absolute;
    inset: -20px;
    background-image:
        linear-gradient(to bottom, var(--color-primary) 0%, rgba(0, 0, 0, 0.4) 90%),
        url(../img/insight-blog-hero.jpg);
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 0;
}

.hero__bg-blur--glosary {
    background-image:
        linear-gradient(to bottom, var(--color-primary) 0%, rgba(0, 0, 0, 0.4) 90%),
        url(../img/insight-glosary-hero.jpg);
}

.hero__bg-blur--postalks {
    background-image:
        linear-gradient(to bottom, var(--color-primary) 0%, rgba(0, 0, 0, 0.4) 90%),
        url(../img/insight-postalks-hero.jpg);
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-home {
    background-color: var(--color-primary);
}

.hero--red {
    background-image: url(../img/red-hero.jpg);
    background-size: cover;
    background-position: center;
}

.hero-home .hero__title {
    font-size: clamp(2.5rem, 5vw, 6rem);
}
.hero__caption{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}
.hero__badge{
    border-radius: var(--radius-br-sm);
    background: rgba(0, 0, 0, 0.30);
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    padding: 8px 16px;
    width: fit-content;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.hero__title-highlight {
    font-weight: var(--font-weight-regular);
    color: var(--color-accent);
}

.hero__title {
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: clamp(2.25rem, 3.854vw, 4.625rem);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-wide);
    margin-bottom: var(--space-4);
}
.hero__title strong{
    color: var(--color-accent);
    font-weight: var(--font-weight-regular);
}

.hero__subtitle {
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    letter-spacing: var(--letter-spacing-base);
    margin-bottom: var(--space-7);
}
.hero__subtitle a,
.hero__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-regular);
}
.hero__form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    background-color: var(--color-white);
    padding: 8px 8px 8px 24px;
    border-radius: var(--radius-br-xs);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
}
.hero__form-input{
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
}

.hero__form-input:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-br-xs);
}
.hero__form-submit{
    color: var(--color-white);
    background-color:var(--color-error);
    padding: 12px 16px;
    border-radius: var(--radius-br-xs);
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    border: none;
    cursor: pointer;
}

.hero__badge--coral {
    background: var(--color-error-light);
    color: var(--color-black);
}

.hero__badge--black {
    background: var(--color-primary);
    color: var(--color-white);
}

.hero__form-submit--standalone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    width: fit-content;
    text-decoration: none;
}

.hero__img img{
    border-radius: var(--radius-br-lg);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
}

.hero__img--flat img {
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 1319.98px) {
    .hero::after {
        height: 10vh;
    }
}

@media (max-width: 991px) {
    .hero__img img{
        margin-top: var(--space-8);
    }

    /* anterior: height: 0 */
    .hero::after {
        height: 10vh;
        clip-path: none;
    }
}

/* ============================================================
   SECTION INTRO
============================================================ */

.section-intro {
    padding-block: var(--space-14);
    background-color: var(--color-bg-blue-light);

}

.section-intro__header {
    margin-bottom: var(--space-9);
}

.section-intro__benefits {
    padding-inline: var(--space-11);
}

.section-intro__kicker {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    border-radius: var(--radius-br-xs);
    margin-bottom: var(--space-6);
}

.section-intro__title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-none);
    color: var(--color-black);
    margin-bottom: var(--space-4);
}

.section-intro__subtitle {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

/* ============================================================
   BENEFIT CARD
============================================================ */

.benefit-card {
    background-color: var(--color-primary);
    padding: var(--space-12) var(--space-9);
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
    height: 100%;
    border-radius: var(--radius-br-md);
}

.benefit-card__icon {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}

.benefit-card__icon img {
    width: 100%;
    height: 100%;
}

.benefit-card__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-white);
}

.benefit-card__desc {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-white);
}

/* ============================================================
   SECTION PLATFORM
============================================================ */

.section-platform {
    background-color: var(--color-bg-blue-light);
    padding-block: var(--space-14);
}

.section-platform--inverted {
    background-color: var(--color-white);
}

.section-platform--inverted .section-platform__showcase {
    background-color: var(--color-bg-blue-light);
}

.section-platform--inverted .section-platform__feature {
    background-color: var(--color-bg-blue-light);
    border-color: transparent;
}

.section-platform__header {
    margin-bottom: var(--space-12);
    align-items: flex-start;
}

.section-platform__product {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-4);
}

.section-platform__tagline {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-primary);
}

.section-platform__desc {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

.section-platform__showcase {
    background-color: var(--color-white);
    border-radius: var(--radius-br-md);
    overflow: hidden;
    padding: var(--space-14);
    margin-bottom: var(--space-12);
}

.section-platform__showcase .row {
    align-items: center;
}

.section-platform__showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
}

.section-platform__highlight-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-accent);
    margin-bottom: var(--space-5);
}

.section-platform__highlight-text {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

.section-platform__features {
    row-gap: var(--space-9);
}

/* ============================================================
   SECTION PLATFORM — FEATURE
============================================================ */

.section-platform__feature {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
    align-items: flex-start;
    padding: var(--space-11);
    border-radius: var(--radius-br-md);
    border: 1px solid var(--color-border-light);
    height: 100%;
}

.section-platform__feature-icon {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}

.section-platform__feature-icon img {
    width: 100%;
    height: 100%;
    
    
}

.section-platform__feature-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.section-platform__feature-desc {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

/* ============================================================
   SECTION SOLUCION
============================================================ */

.section-solucion {
    background-color: var(--color-white);
    padding-block: var(--space-24) var(--space-14);
}

.section-solucion .row {
    justify-content: center;
}

.section-solucion__title {
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-7);
}

.section-solucion__title strong {
    color: var(--color-accent);
    font-weight: var(--font-weight-light);
}

.section-solucion__desc {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

/* ============================================================
   SECTION CONNECTION
============================================================ */

.section-connection {
    position: relative;
    overflow: hidden;
    background-color: var(--color-black);
    background-image: url('img/connection-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center;
    padding-block: var(--space-18);
    text-align: center;
}

.section-connection .row {
    justify-content: center;
}

.section-connection__title {
    font-size: var(--font-size-hero);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-none);
    color: var(--color-white);
    margin-bottom: var(--space-7);
}

.section-connection__subtitle {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-snug);
    color: var(--color-white);
    margin-bottom: var(--space-9);
}

.section-connection__form {
    max-width: 520px;
    margin-inline: auto;
}

/* ============================================================
   STAT CARD
============================================================ */

.stat-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.stat-card__action {
    margin-top: var(--space-4);
}

.stat-card__value {
    font-family: var(--font-family-base);
    font-size: var(--font-size-8xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-none);
    color: var(--color-accent);
}

.stat-card__label {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-snug);
    color: var(--color-text-secondary);
}

/* ============================================================
   SECTION HEADER
============================================================ */

.section-header {
    margin-top: var(--space-10);
    padding-top: var(--space-14);
    border-top: 1px solid var(--color-divider);
}

.section-header__kicker {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.section-header__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
}
.section-header__title strong{
    color: var(--color-accent);
    font-weight: var(--font-weight-regular);
}

.section-header__desc {
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}
.section-header__desc strong{
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

/* ============================================================
   TESTIMONIALS
============================================================ */

.testimonials {
    background-color: var(--color-bg-blue-light);
    padding:0 0  var(--space-14) 0 ;
    overflow: hidden;
}

.testimonials-swiper {
    overflow: visible;
    padding:0 var(--space-6);
}

.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}
@media(max-width: 991px){
    .testimonials-swiper{
        padding:0 0 var(--space-4) 0;
    }
}

/* ============================================================
   TESTIMONIAL CARD
============================================================ */

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding:0 var(--space-10) var(--space-5) var(--space-10);
    border-radius: var(--radius-br-md);
    border: 1px solid var(--color-border-light);
}

.testimonial-card__logo {
    height: 120px;
    display: flex;
    align-items: center;
    margin-bottom: var(--space-1);
}

.testimonial-card__logo img {
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.testimonial-card__quote {
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-light);
    font-style: italic;
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
}

.testimonial-card__person {
    margin-top: auto;
    padding-top: var(--space-4);
}

.testimonial-card__name {
    font-family: var(--font-family-base);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
    margin-bottom: 0;
}

.testimonial-card__role {
    font-family: var(--font-family-base);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-text-secondary);
}

/* ============================================================
   MOMENTUM BRIDGE
============================================================ */

.momentum-bridge {
    position: relative;
    overflow: hidden;
    padding-block: var(--space-24);
    background-color: var(--color-primary);
}

.momentum-bridge__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.momentum-bridge::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--color-primary);
    opacity: 0.6;
    z-index: 1;
}

.momentum-bridge > .container {
    position: relative;
    z-index: 2;
}

.momentum-bridge__kicker {
    display: block;
    text-align: center;
    padding: var(--space-2) var(--space-4);
    background-color: rgba(234, 19, 19, 0.4);
    color: var(--color-white);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    border-radius: var(--radius-br-xs);
    margin-bottom: var(--space-7);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.momentum-bridge__title {
    font-size: clamp(2rem, 4vw, var(--font-size-8xl));
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-snug);
    color: var(--color-white);
    text-align: center;
    margin-bottom: var(--space-7);
}

.momentum-bridge__desc {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--color-text-nav-active);
    text-align: center;
}
.momentum-bridge__deco{
    position: absolute;
    left: 50%;
    top: 102%;
    transform: translate(-50%, -50%);
    width: 300px;
    z-index: 2;
    opacity: 1;
    pointer-events: none;
}

/* ============================================================
   SECTION PROBLEMS
============================================================ */

.section-problems {
    background-color: var(--color-bg-blue-light);
    padding: var(--space-10) 0 var(--space-10) 0;
}

.section-problems__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
    margin-bottom: var(--space-6);
}

.section-problems__subtitle {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.section-problems__body {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

.section-problems__split {
    padding-top: var(--space-14);
    padding-bottom: var(--space-6);
    align-items: flex-start;
}

.section-problems__split-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
}

.section-problems__split-desc {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

.section-problems__features {
    overflow: hidden;
    padding-bottom: var(--space-9);
}

.features-swiper {
    overflow: visible;
}

/* Pagination */
.features-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: var(--space-7);
    padding-bottom: var(--space-7);
}

.features-pagination {
    display: inline-flex;
    width: fit-content!important;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.20);
    border-radius: 100px;
    position: static;
}

.features-pagination .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background: rgba(245, 247, 250, 1);
    border-radius: 100px;
    opacity: 1;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    transition: width var(--transition-base), background-color var(--transition-base);
}

.features-pagination .swiper-pagination-bullet-active {
    width: 55px;
    background: var(--color-error);
}

/* ============================================================
   FEATURE CARD
============================================================ */

.feature-card {
    background-color: var(--color-white);
    border-radius: var(--radius-br-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card__content {
    padding: var(--space-9) var(--space-9) var(--space-7);
}

.feature-card__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-snug);
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}
.feature-card__title strong{
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
}

.feature-card__desc {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

.feature-card__img {
    aspect-ratio: 881 / 473;
    overflow: hidden;
}

.feature-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   PHOTO CARD
============================================================ */

.photo-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 700 / 550;
    display: flex;
    align-items: flex-end;
    border-radius:var(--radius-br-md);
    margin-bottom: var(--bs-gutter-x);
    /* Fuerza stacking context propio — sin esto Safari ignora overflow:hidden en hijos absolute */
    transform: translateZ(0);
}

.photo-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform var(--transition-slow);
}

.photo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    z-index: 1;
}

.photo-card:hover .photo-card__bg {
    transform: scale(1.04);
}

.photo-card__content {
    position: relative;
    z-index: 2;
    padding: var(--space-7) var(--space-9);
}
@media(max-width: 991px){
    .photo-card__content {
        padding: 0 20px 24px 20px;
    }
}
.photo-card__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.photo-card__desc {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-white);
}

/* ============================================================
   SECTION PROCESS
============================================================ */

.section-process {
    background-color: var(--color-bg-blue-light);
    padding-top: var(--space-8);
}

.section-process__kicker {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.section-process__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
}
.section-process__title strong{
    color: var(--color-accent);
    font-weight: var(--font-weight-regular);
}

.section-process__desc {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

.section-process__img {
    padding:var(--space-6) 0 var(--space-14) 0;
}

.section-process__img img {
    mix-blend-mode:darken
}

/* ============================================================
   SECTION INSIGHTS
============================================================ */

.section-insights {
    background-color: var(--color-accent);
    padding-block: var(--space-14);
}

.section-insights__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
}

.section-insights__lead {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-white);
    margin-bottom: var(--space-12);
}

.section-insights__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.section-insights__col {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* ============================================================
   INSIGHT CARD
============================================================ */

.insight-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-br-md);
    transform: translateZ(0);
}

.insight-card--short {
    aspect-ratio: 595 / 426;
}

.insight-card--tall {
    aspect-ratio: 595 / 892;
}

.insight-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    z-index: 0;
    transition: transform var(--transition-slow);
}

.insight-card:hover .insight-card__bg {
    transform: scale(1.04);
}

.insight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 1, 103, 0.70) 72%);
    z-index: 1;
}

.insight-card__badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background-color: var(--color-error-light);
    color: var(--color-black);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-light);
    border-radius: var(--radius-br-xs);
    margin-bottom: var(--space-4);
}

.insight-card__content {
    position: relative;
    z-index: 2;
    padding: var(--space-7) var(--space-7) var(--space-8);
}

.insight-card__title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-white);
}

.insight-card--tall .insight-card__title {
    font-size: var(--font-size-5xl);
}

.insight-card__author {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-white);
    margin-top: var(--space-4);
}

/* ============================================================
   SECTION INSIGHTS — PAGE MODIFIER
============================================================ */

.section-insights--page {
    background-color: var(--color-bg-blue-light);
}

.section-insights__load-more {
    display: flex;
    justify-content: center;
    padding-top: var(--space-22);
}

/* ============================================================
   SECTION INSIGHTS FILTERS
============================================================ */

.insights-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    background-color: var(--color-white);
    border-radius: var(--radius-br-md);
    padding: var(--space-5) var(--space-7);
    margin-bottom: var(--space-9);
}

.insights-filters__group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    flex: 1;
}

.insights-filters__label {
    font-family: var(--font-family-base);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    line-height: normal;
    letter-spacing: var(--letter-spacing-base);
    color: var(--color-black);
    white-space: nowrap;
}

.insights-filters__tabs {
    display: flex;
    gap: var(--space-2);
}

.insights-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-br-sm);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    font-family: var(--font-family-base);
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--color-text-secondary);
    transition: background-color var(--transition-base), color var(--transition-base);
}

.insights-filter-tab--active {
    color: var(--color-primary);
}

.insights-filter-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding-inline: var(--space-2);
    height: 20px;
    border-radius: 999px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-regular);
    background-color: var(--color-border-light);
    color: var(--color-text-secondary);
}

.insights-filter-tab--active .insights-filter-tab__count {
    background-color: var(--color-accent);
    color: var(--color-black);
}

.insights-filters__select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.insights-filters__select {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-br-sm);
    padding: var(--space-2) var(--space-9) var(--space-2) var(--space-4);
    background-color: var(--color-white);
    cursor: pointer;
    outline: none;
    appearance: none;
    width: 100%;
}

.insights-filters__select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.insights-filters__select-icon {
    position: absolute;
    right: var(--space-3);
    pointer-events: none;
    color: var(--color-text-secondary);
}


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

.hero__author {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-top: var(--space-4);
}

.hero__author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--color-border-light);
    /* background-color: var(--color-border-base); */
}

.hero__author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__author-name {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    line-height: var(--line-height-snug);
    margin-bottom: 0;
}

.hero__author-role {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    color: var(--color-white);
    margin-bottom: 0;
    opacity: 0.7;
}

/* ============================================================
   SECTION ARTICLE
============================================================ */

.section-blog {
    background-color: var(--color-bg-blue-light);
    padding-block: var(--space-18);
}


.blog__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-br-sm);
    margin-bottom: var(--space-11);
}

.blog__lead {
    font-size: var(--font-size-8xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-snug);
    color: var(--color-black);
}

.blog__h2 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
    margin-bottom: var(--space-7);
}

.blog__h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
    margin-bottom: var(--space-5);
}

.blog__text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.blog__callout {
    background-color: var(--color-accent);
    padding: var(--space-8);
    margin-block: var(--space-11);
}

.section-blog--podcast .blog__callout {
    margin-top: 0;
}
.blog__text a{
    text-decoration: underline;
}

.blog__callout-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-4);
}
.blog__callout-subtitle {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-2);
}
.blog__callout-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-black);
}

.blog__callout-text a{
    text-decoration: underline;
}

.blog__list {
    list-style: disc;
    padding-left: var(--space-7);
    margin-bottom: var(--space-6);
}

.blog__list-item {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3);
}

.section-blog--glosary .blog__text a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.podcast__episode-num {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.podcast__guest-name {
    font-size: var(--font-size-8xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-1);
}

.podcast__guest-role {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-light);
    color: var(--color-black);
    margin-bottom: var(--space-7);
}

.podcast__desc {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-9);
}

.podcast__index-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding:0;
}

.podcast__index-list li {
    color: var(--color-black);
    font-family: var(--font-family-base);
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    line-height: 24px;
    letter-spacing: 0.54px;
    text-transform: uppercase;
}

.podcast__platforms {
    display: flex;
    gap: var(--space-9);
    margin-bottom: var(--space-9);
}

.podcast__platform {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-7);
}

.podcast__platform-label {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    color: var(--color-text-dark);
    margin-bottom: var(--space-2);
}

.podcast__platform-btns {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-bottom: var(--space-6);
}

.podcast__platform-img {
    height: 72px;
    width: auto;
}

.podcast__platform-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: var(--radius-br-xs);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    width: fit-content;
    transition: opacity var(--transition-base);
}

.podcast__platform-btn:hover {
    opacity: 0.8;
}

.blog__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding-top: var(--space-9);
    border-top: 1px solid var(--color-border-lighter);
}

.blog__tag {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background-color: var(--color-bg-gray);
    border-radius: var(--radius-br-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    color: var(--color-black);
}

/* ============================================================
   SECTION INSIGHTS — MORE ARTICLES
============================================================ */


.section-insights--more .section-insights__more-title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-light);
    color: var(--color-white);
    margin-bottom: var(--space-8);
    text-align: center;
}

/* ============================================================
   SECTION PENSADO
============================================================ */

.section-pensado__banner {
    display: flex;
    position: relative;
    overflow: hidden;
    background-color: var(--color-primary);
    text-align: center;
    min-height: 80vh;
}

.section-pensado__banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* .section-pensado__banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--color-primary);
    opacity: 0.55;
    z-index: 1;
} */

.section-pensado__banner > .container {
    position: relative;
    z-index: 2;
    margin:auto 0;
}

.section-pensado__banner-kicker {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background-color: rgba(2, 1, 103, 0.80);
    color: var(--color-white);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    border-radius: var(--radius-br-xs);
    margin-bottom: var(--space-7);
}

.section-pensado__banner-title {
    font-size: clamp(2rem, 4vw, var(--font-size-8xl));
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-snug);
    color: var(--color-white);
}

.section-pensado__body {
    background-color: var(--color-bg-blue-light);
    padding-block: var(--space-14);
}

.section-pensado__lead {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-body);
    margin-bottom: var(--space-2);
}
.section-pensado__lead:last-of-type{
    margin-bottom: var(--space-14);
}

/* ============================================================
   AUDIENCE CARD
============================================================ */

.audience-card {
    background-color: var(--color-white);
    border-radius: var(--radius-br-md);
    overflow: hidden;
    height: 100%;
}

.audience-card__img {
    aspect-ratio: 452 / 275;
    overflow: hidden;
}

.audience-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.audience-card:hover .audience-card__img img {
    transform: scale(1.04);
}

.audience-card__content {
    padding: var(--space-7) var(--space-7) var(--space-9);
}

.audience-card__title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
    margin-bottom: var(--space-4);
}

.audience-card__desc {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

/* ============================================================
   SECTION TEAM
============================================================ */

.section-team {
    background-color: var(--color-bg-blue-light);
    padding-block: var(--space-14);
}

.section-team__kicker {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    margin-bottom: 0;
}

.section-team__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-text-dark);
    margin-bottom: var(--space-7);
}
.section-team__title strong{
    color: var(--color-accent);
    font-weight: var(--font-weight-regular);
}
.section-team__desc {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

.section-team__img {
    border-radius: var(--radius-br-md);
    background-color: var(--color-accent);
    position: relative;
}

.section-team__img img {
    position: relative;
    top: -32px;
    left: -32px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-br-md);

}
@media (max-width: 991px) {
    .section-team__img img {
        top: 0px;
        left: 0px;
    }
}

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

.section-nosotros {
    background-color: var(--color-bg-blue-light);
    padding: var(--space-12) 0;
}
.section-nosotros__badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-br-xs);
    text-transform: uppercase;
    margin-bottom: var(--space-6);
}
.section-nosotros__cards {
    padding: var(--space-10) var(--space-6);
}

.section-nosotros__title {
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-6);
}
.section-nosotros__title-2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-2);
}

.section-nosotros__subtitle {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
}

.nosotros-card {
    background-color: var(--color-primary);
    border-radius: var(--radius-br-md);
    padding:var(--space-11);
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.nosotros-card:last-child {
    border-right: none;
}

.nosotros-card__icon {
    width: 96px;
    height: 96px;
    margin-bottom: var(--space-8);
}

.nosotros-card__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.nosotros-card__text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-white);
    opacity: 0.8;
}

.section-nosotros__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-br-md);
    margin-top: var(--space-9);
}

/* ============================================================
   SECTION VALORES
============================================================ */

.section-valores {
    background-color: var(--color-primary);
    padding: var(--space-14) var(--space-11) 0;

}

.section-valores__title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-white);
    margin-bottom: var(--space-7);
}

.section-valores__title-accent {
    color: var(--color-accent);
}

.section-valores__subtitle {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-white);
    margin-bottom: var(--space-14);
}

.section-valores__cards .container-fluid {
    padding-inline: 0;
}

.valor-card {
    padding:var(--space-11);
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.valor-card:last-child {
    border-right: none;
}

.valor-card__icon {}

.valor-card__icon img {
    margin-bottom: var(--space-8);
    width: 96px;
    height: auto;
}

.valor-card__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.valor-card__text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-white);
    opacity: 0.8;
}

/* ============================================================
   SECTION PROMESA
============================================================ */

.section-promesa {
    background-color: var(--color-primary);
    background-image: linear-gradient(rgba(2, 1, 103, 0.75), rgba(2, 1, 103, 0.75)), url('../img/bg-value-section.jpg');
    padding: var(--space-18) var(--space-11) 0 var(--space-11);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
}

.section-promesa .container-fluid {
    padding: var(--space-16) 0 0 0;
}

/* ============================================================
   SECTION EQUIPO
============================================================ */

.section-equipo {
    background-color: var(--color-white);
    padding: var(--space-18   ) 0;
}

.section-equipo__badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-br-xs);
    text-transform: uppercase;
    margin-bottom: var(--space-6);
}

.section-equipo__title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-6);
}

.section-equipo__title-accent {
    font-weight: var(--font-weight-regular);
    color: var(--color-accent);
}

.section-equipo__subtitle {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-5);
}

.section-equipo__subtitle:last-child {
    margin-bottom: var(--space-14);
}

.equipo-gallery {
    display: flex;
    gap: var(--space-6);
}

.equipo-gallery__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.equipo-gallery__img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.equipo-gallery__img--tall {
    aspect-ratio: 3/4;
}

.equipo-gallery__img--short {
    aspect-ratio: 3/2;
}

/* ============================================================
   SECTION EMPLEOS
============================================================ */

.section-empleos {
    background-color: var(--color-accent);
}

.section-empleos .container-fluid {
    padding-inline: 0;
}

.section-empleos .row {
    --bs-gutter-x: 0;
    align-items: stretch;
}

.section-empleos .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.section-empleos__img {
    flex: 1;
    min-height: 500px;
}

.section-empleos__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-empleos__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-14) var(--space-11);
}

.section-empleos__badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-br-xs);
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    align-self: flex-start;
}

.section-empleos__title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-5);
}

.section-empleos__subtitle {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-dark);
    margin-bottom: var(--space-8);
}

.section-empleos__divider {
    border: none;
    border-top: 1px solid var(--color-primary-hover);
    opacity: 1;
    margin-bottom: var(--space-8);
}

.section-empleos__jobs-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin-bottom: var(--space-7);
}

.empleo-card {
    background-color: var(--color-accent-400);
    border: 1px solid var(--color-primary-hover);
    border-radius: var(--radius-br-sm);
    padding: var(--space-8) var(--space-9);
}

.empleo-card__title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.empleo-card__text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-dark);
    margin-bottom: var(--space-7);
}

.empleo-card__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background-color: var(--color-error);
    color: var(--color-white);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-br-xs);
    transition: background-color var(--transition-base);
}

.empleo-card__btn:hover {
    background-color: var(--color-error-dark);
    color: var(--color-white);
}

/* ============================================================
   EMPLEO MODAL
============================================================ */

/* Reduce vertical margin so the modal fills most of the viewport */
#empleoModal .modal-dialog {
    margin-block: 16px;
    height: calc(100vh - var(--space-11));
    max-width: calc(100vw - var(--space-11));
    width:calc(100vw - var(--space-11));
}

#empleoModal .modal-content {
    height: 100%;
    overflow: hidden;
}

.empleo-modal {
    border-radius: var(--radius-br-md);
    border: none;
    padding: var(--space-10);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.empleo-modal .row {
    /* --bs-gutter-x: 0;
    column-gap: 0; */
    row-gap: var(--space-11);
    align-items: stretch;
    flex-wrap: nowrap;
    flex: 1;
    min-height: 0;
}

.empleo-modal__close {
    position: absolute;
    top: var(--space-9);
    right: var(--space-10);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    color: var(--color-black);
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-base);
}

.empleo-modal__close:hover {
    color: var(--color-primary);
}

.empleo-modal__info {
    padding: 0;
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.empleo-modal__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.empleo-modal__meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.empleo-modal__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.empleo-modal__section {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.empleo-modal__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    margin-bottom: 0;
}

.empleo-modal__question {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-medium);
    text-transform: uppercase;
    line-height: var(--line-height-snug);
    margin-bottom: 0;
}

.empleo-modal__lead {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-medium);
    line-height: var(--line-height-normal);
    margin-bottom: 0;
}

.empleo-modal__section-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-black);
    margin-bottom: 0;
}

.empleo-modal__list {
    list-style: disc;
    padding-left: var(--space-7);
    margin-bottom: 0;
}

.empleo-modal__list li {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    color: var(--color-black);
    line-height: var(--line-height-normal);
    margin-bottom: 0;
}

.empleo-modal__form-wrap {
    background-color: #b8c2d4;
    padding: var(--space-6);
    margin-top: var(--space-10);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.empleo-modal__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.empleo-modal__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.empleo-modal__label {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-body);
}

.empleo-modal__input {
    width: 100%;
    height: 60px;
    padding: 0 var(--space-5);
    background-color: var(--color-white);
    border: 1px solid #b8c2d4;
    border-radius: var(--radius-br-xs);
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    color: var(--color-text-body);
    outline: none;
    transition: border-color var(--transition-base);
}

.empleo-modal__input::placeholder {
    color: var(--color-text-secondary);
}

.empleo-modal__input:focus {
    border-color: var(--color-primary);
}

.empleo-modal__file-label {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    height: 60px;
    padding: 0 var(--space-5);
    background-color: var(--color-white);
    border: 1px solid #b8c2d4;
    border-radius: var(--radius-br-xs);
    cursor: pointer;
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.empleo-modal__file-label i {
    font-size: 20px;
}

.empleo-modal__file-input {
    display: none;
}

.empleo-modal__hint {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.empleo-modal__checkbox-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-body);
    margin-bottom: 0;
}

.empleo-modal__checkbox {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1.5px solid var(--color-text-muted);
    border-radius: var(--radius-br-xs);
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--color-white);
    cursor: pointer;
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.empleo-modal__checkbox:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.3 4.3L6.7 10.9 3.7 7.9 2.3 9.3l4.4 4.4 8-8-1.4-1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

.empleo-modal__submit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    align-self: flex-start;
    background-color: var(--color-error);
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--radius-br-xs);
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.empleo-modal__submit:hover {
    background-color: var(--color-error-dark);
}

/* Success state */
.empleo-modal__success {
    display: flex;
    flex-direction: column;
    gap: var(--space-20); /* 144px — Figma Frame 171 gap */
    align-items: center;
}

.empleo-modal__success-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6); /* 24px — Figma Frame 177 gap */
    text-align: center;
}

.empleo-modal__success-icon {
    width: 96px;
    height: 96px;
}

.empleo-modal__success-title {
    font-size: var(--font-size-5xl);   /* 48px */
    font-weight: var(--font-weight-regular);
    color: var(--color-accent);        /* #039FFF */
    text-align: center;
    line-height: normal;
    margin-bottom: 0;
}

.empleo-modal__success-text {
    font-size: var(--font-size-xl);    /* 24px */
    font-weight: var(--font-weight-regular);
    color: var(--color-text-medium);
    line-height: var(--line-height-normal);
    text-align: center;
    margin-bottom: 0;
}

.empleo-modal__success-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);               /* 8px — Figma Frame 7 gap */
    background-color: var(--color-error);
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);    /* 20px */
    font-weight: var(--font-weight-regular);
    padding: 12px var(--space-4);      /* 12px 16px */
    border: none;
    border-radius: var(--radius-br-xs);
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.empleo-modal__success-btn:hover {
    background-color: var(--color-error-dark);
}

/* ============================================================
   CLIENTES PAGE
============================================================ */

/* Hero badge variant — dark background */
.hero__badge--dark {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Section intro */
.section-clientes {
    background-color: var(--color-bg-blue-light);
    padding-block: var(--space-18);
    display: flex;
    flex-direction: column;
}

.section-clientes__badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-br-xs);
    margin-bottom: var(--space-5);
}

.section-clientes__title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-black);
    margin-bottom: var(--space-5);
}

.section-clientes__subtitle {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.section-clientes__trust-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-black);
    margin-top: var(--space-10);
    margin-bottom: 0;
}

.section-clientes .testimonials {
    margin-top:var(--space-8);
}

/* Logos grid */
.section-clientes__logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
}

.section-clientes__logos-item {
    width: 100%;
    height: fit-content;
    object-fit: contain;
    mix-blend-mode: multiply;
}

@media (max-width: 991px) {
    .section-clientes__logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .section-clientes__logos-item {
        border: 1px solid var(--color-border-light);
        border-radius: var(--radius-br-xs);
        padding: var(--space-4);
    }
}

@media (max-width: 575px) {
    .section-clientes__logos {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .section-clientes__logos-item {
        aspect-ratio: 1 / 1;
    }
}

/* Testimonial cards */

/* ============================================================
   MODAL LINEAL
============================================================ */

.modal-lineal-dialog.modal-dialog {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
}

.modal-lineal-dialog .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal-lineal {
    background-color: var(--color-primary);
    border: none;
    border-radius: 0;
    padding-block: var(--space-11); /* 64px */
    position: relative;
}

.modal-lineal__close {
    position: absolute;
    top: var(--space-9);
    right: var(--space-10);
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    opacity: 1;
    transition: opacity 0.2s;
}

.modal-lineal__close:hover { opacity: 0.7; }

.modal-lineal__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-12); /* 192px gap header → cards */
}

.modal-lineal__col-body {
    padding-top: var(--space-9); /* 48px — matches Figma padding-top */
}

.modal-lineal__kicker {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.modal-lineal__title {
    font-size: var(--font-size-7xl); /* 64px */
    font-weight: var(--font-weight-light);
    color: var(--color-white);
    line-height: 1.1;
    margin: 0;
}

.modal-lineal__title-accent {
    color: var(--color-accent);
    font-weight: var(--font-weight-light);
}

.modal-lineal__body {
    font-size: var(--font-size-xl); /* 24px */
    font-weight: var(--font-weight-light);
    color: var(--color-text-nav-active);
    line-height: 1.5;
    margin: 0;
}

.modal-lineal__cards {
    display: flex;
    gap: var(--space-8); /* 40px */
}

.modal-lineal__card {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-br-md); /* 0 0 24px 0 — bottom-right */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-lineal__card--right {
    border-radius: 0 0 0 24px; /* bottom-left */
}

.modal-lineal__card-text {
    font-size: var(--font-size-lg); /* 20px */
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    padding: var(--space-8) var(--space-11); /* 40px 64px */
    margin: 0;
    line-height: 1.5;
}

.modal-lineal__img-wrap {
    position: relative;
    margin-top: auto;
    margin-right: var(--space-11);  /* 64px — col izquierda */
    margin-bottom: var(--space-11); /* 64px */
}

.modal-lineal__card--right .modal-lineal__img-wrap {
    margin-right: 0;
    margin-left: var(--space-11); /* 64px — col derecha */
}

.modal-lineal__img {
    width: 100%;
    display: block;
    aspect-ratio: 637 / 331;
    object-fit: cover;
    border-radius: 0 24px 0 0; /* top-right — col izquierda */
}

.modal-lineal__card--right .modal-lineal__img {
    border-radius: 24px 0 0 0; /* top-left — col derecha */
}

.modal-lineal__badge {
    position: absolute;
    top: var(--space-7);  /* 32px */
    left: var(--space-7); /* 32px */
    background-color: rgba(0, 0, 0, 0.80);
    border-radius: var(--radius-br-md); /* 0 0 24px 0 — bottom-right */
    padding: var(--space-4); /* 16px */
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 196px;
}

.modal-lineal__card--right .modal-lineal__badge {
    left: auto;
    right: var(--space-7); /* 32px — col derecha: alineado a la derecha */
    border-radius: 0 0 0 24px; /* bottom-left */
    text-align: right;
}

.modal-lineal__badge-value {
    display: block;
    font-size: var(--font-size-7xl); /* 64px */
    font-weight: var(--font-weight-regular);
    color: var(--color-accent);
    line-height: 1;
}

.modal-lineal__badge-label {
    display: block;
    font-size: var(--font-size-lg); /* 20px */
    font-weight: var(--font-weight-regular);
    color: var(--color-accent);
    line-height: 1.3;
    max-width: 196px;
}

@media (max-width: 991.98px) {
    .modal-lineal {
        padding-block: var(--space-9);
    }

    .modal-lineal__close {
        top: var(--space-6);
        right: var(--space-6);
    }

    .modal-lineal__inner {
        gap: var(--space-11);
    }

    .modal-lineal__col-body {
        padding-top: 0;
    }

    .modal-lineal__title {
        font-size: var(--font-size-5xl);
    }

    .modal-lineal__body {
        font-size: var(--font-size-lg);
    }

    .modal-lineal__cards {
        flex-direction: column;
    }

    .modal-lineal__card--right {
        border-radius: var(--radius-br-md);
    }

    .modal-lineal__card--right .modal-lineal__img {
        border-radius: 0 24px 0 0;
        margin-left: 0;
        margin-right: var(--space-9);
    }

    .modal-lineal__card--right .modal-lineal__img-wrap {
        margin-left: 0;
        margin-right: var(--space-9);
    }

    .modal-lineal__card--right .modal-lineal__badge {
        right: auto;
        left: var(--space-7);
        border-radius: var(--radius-br-md);
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .modal-lineal__title {
        font-size: var(--font-size-4xl);
    }

    .modal-lineal__card-text {
        padding: var(--space-6) var(--space-7);
    }

    .modal-lineal__img-wrap {
        margin-right: var(--space-6);
        margin-bottom: var(--space-6);
    }

    .modal-lineal__card--right .modal-lineal__img-wrap {
        margin-right: var(--space-6);
    }

    .modal-lineal__badge-value {
        font-size: var(--font-size-5xl);
    }
}

/* ============================================================
   FABRICANTES — SURTIDO EFICIENTE
============================================================ */

.hero__badge--red {
    background-color: var(--color-error-dark);
    color: var(--color-white);
}

.hero--red::after {
    background-color: var(--color-error-bg); /* #ecdbdb */
}

.section-surtido-intro {
    background-color: var(--color-error-bg); /* #ecdbdb */
    padding-block: var(--space-14); /* 96px */
}

.section-surtido-intro__title {
    font-size: var(--font-size-6xl); /* 56px */
    font-weight: var(--font-weight-regular);
    color: var(--color-black);
    line-height: 1.15;
    margin-bottom: var(--space-8);
}

.section-surtido-intro__body {
    font-size: var(--font-size-2xl); /* 28px */
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}
.section-surtido-intro__body + .section-surtido-intro__body {
    margin-top: var(--space-5);
}

/* SECTION SOLUCION — logo strip + accordion */

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

.solucion-logos-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-solucion__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

.section-solucion__faq {
    padding-block: var(--space-14); /* 96px */
}

.section-solucion__faq-item {
    border-top: 1px solid var(--color-border-nav);
    padding-block: var(--space-9);
    padding-inline: var(--space-7);
    transition: background-color 0.2s ease;
}

.section-solucion__faq-item:last-child {
    border-bottom: 1px solid var(--color-border-nav);
}

.section-solucion__faq-item:hover {
    background-color: var(--color-bg-blue-light);
}

.section-solucion__faq-item:has(.collapse.show) {
    background-color: var(--color-error-bg);
}

.section-solucion__faq-btn {
    display: flex;
    align-items: flex-start;
    gap: var(--space-7);
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.section-solucion__faq-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-size: 4rem;
}

.section-solucion__faq-icon .ti-plus  { display: block; color: #8c98ad; }
.section-solucion__faq-icon .ti-minus { display: none;  color: var(--color-error); }

.section-solucion__faq-btn:not(.collapsed) .section-solucion__faq-icon .ti-plus  { display: none; }
.section-solucion__faq-btn:not(.collapsed) .section-solucion__faq-icon .ti-minus { display: block; }

.section-solucion__faq-title {
    font-size: var(--font-size-6xl); /* 56px */
    font-weight: var(--font-weight-light);
    color: var(--color-black);
    line-height: 1.15;
}

.section-solucion__faq-content {
    padding-top: var(--space-7);
    padding-left: calc(48px + var(--space-7));
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.section-solucion__faq-body {
    font-size: var(--font-size-3xl); /* 32px */
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    line-height: 1.5;
    margin: 0;
}

.section-solucion__faq-intro {
    font-size: var(--font-size-xl); /* 24px */
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.section-solucion__faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.section-solucion__faq-list li {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-xl); /* 24px */
    font-weight: var(--font-weight-regular);
    color: var(--color-text-medium);
    line-height: 1.4;
}

.section-solucion__faq-list li .ti {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--color-error);
}

/* ============================================================
   FABRICANTES — DOBLE COLUMNA TEXTO (374:5021)
============================================================ */

.section-doble-texto {
    background-color: var(--color-error-bg);
    padding-block: var(--space-14);
}

.section-doble-texto__card {
    background-color: var(--color-white);
    padding: var(--space-11);
    border-radius: var(--radius-br-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.section-doble-texto__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-light);
    color: var(--color-error);
    line-height: 1.4;
    margin-bottom:0;
}

.section-doble-texto__body {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}
.section-doble-texto__body + .section-doble-texto__body {
    margin-top: var(--space-4);
}

/* ============================================================
   SECTION RESULTADO — armonización de datos
============================================================ */

.section-resultado {
    padding-block: var(--space-14);
    background-color: var(--color-error-bg);
}

.section-resultado__label {
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-black);
    margin-bottom: var(--space-5);

}
.section-resultado__label strong{
    font-weight: var(--font-weight-regular);
    color: var(--color-error);
}
.section-resultado__body {
    font-size: var(--font-size-3xl);
    color: var(--color-primary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-7);
    font-weight: var(--font-weight-regular);
}

.section-resultado__quote {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    color:var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    padding:var(--space-6) 0 0 0;
    margin: 0;
    font-style: italic;

}

@media (max-width: 991px) {
    .section-resultado__label {font-size: var(--font-size-4xl);margin-bottom: var(--space-3);}
    .section-resultado { padding-block: var(--space-9); }
    .section-resultado__body { font-size: var(--font-size-lg); }
    .section-resultado__quote { font-size: var(--font-size-xl);  padding: 0; }
}

/* ============================================================
   CONTACTA PAGE
============================================================ */

/* Contact info section */
.section-contact-info {
    background-color: var(--color-bg-blue-light);
    padding-block: var(--space-14);
}

.section-contact-info__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-black);
    margin-bottom: var(--space-8);
}

/* Message summary (contacta-ok) */
.message-summary {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.message-summary__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.message-summary__item--full {
    width: 100%;
}

.message-summary__label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-muted);
}

.message-summary__value {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    line-height: var(--line-height-snug);
}

.section-contact-info__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-info-item__icon {
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
    flex-shrink: 0;
    line-height: var(--line-height-snug);
}

.contact-info-item__text {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    line-height: var(--line-height-snug);
}

/* Contact form section */
.section-contact-form {
    overflow: hidden;
}

.contact-form-panel {
    background-color: var(--color-white);
    padding: var(--space-14) var(--space-16);
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
    height: 100%;
}

.contact-form__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-form__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    margin-bottom: 0;
}

.contact-form__subtitle {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact-form__label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-body);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-form__optional {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.contact-form__input {
    width: 100%;
    height: 60px;
    padding: 0 var(--space-5);
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-br-xs);
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    color: var(--color-text-body);
    outline: none;
    transition: border-color var(--transition-base);
    appearance: none;
    -webkit-appearance: none;
}

.contact-form__input::placeholder {
    color: var(--color-text-placeholder);
}

.contact-form__input:focus {
    border-color: var(--color-primary);
}

.contact-form__input:focus-visible,
.empleo-modal__input:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.contact-form__select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b778c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-9);
}

.contact-form__textarea {
    height: 140px;
    padding-top: var(--space-4);
    resize: vertical;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background-color: var(--color-error);
    color: var(--color-white);
    padding: 12px var(--space-5);
    border: none;
    border-radius: var(--radius-br-xs);
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.contact-form__submit:hover {
    background-color: var(--color-error-dark);
}

.empleo-card__btn:focus-visible,
.contact-form__submit:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Map panel */
.contact-map-panel {
    height: 100%;
    min-height: 560px;
    overflow: hidden;
}

.contact-map-panel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   SOLICITA DEMO PAGE
============================================================ */

/* Split layout */
.demo-split {
    background-color: var(--color-bg-soft);
}

/* Info panel (left, dark blue) */
.demo-info-panel {
    background-color: var(--color-primary);
    height: 100%;
    min-height: 100vh;
    padding: var(--space-14) var(--space-14);
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.demo-info-panel__logo {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--color-white);
    text-decoration: none;
    flex-shrink: 0;
}

.demo-info-panel__logo svg {
    color: var(--color-white);
    width: 140px;
    height: auto;
}

.demo-info-panel__logo-arrow {
    font-size: var(--font-size-xl);
    flex-shrink: 0;
    color: var(--color-accent);
}

.demo-info-panel__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.demo-info-panel__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-light);
    color: var(--color-white);
    line-height: var(--line-height-snug);
    margin-bottom: 0;
}

.demo-info-panel__title-accent {
    color: var(--color-accent);
    font-weight: var(--font-weight-light);
}

.demo-info-panel__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: 0;
    padding-left: 0;
}

.demo-info-panel__list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-light);
    color: var(--color-text-nav-active);
    line-height: var(--line-height-normal);
}

.demo-info-panel__check {
    color: var(--color-accent);
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    margin-top: 2px;
}

.demo-info-panel__check svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.demo-info-panel__trust {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-inline: calc(-1 * var(--space-14));
}

.demo-info-panel__trust-label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-border-nav);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    margin-bottom: 0;
    padding-inline: var(--space-14);
}

.demo-trust-swiper {
    width: 100%;
    overflow: hidden;
}

.demo-trust-swiper__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px !important;
    height: 200px;
    border-radius: var(--radius-br-xs);
    flex-shrink: 0;
    padding: var(--space-6);
}

.demo-info-panel__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.65;
}

/* Form panel (right) */
.demo-form-panel {
    background-color: var(--color-bg-soft);
    height: 100%;
    min-height: 100vh;
    padding: var(--space-14) var(--space-16);
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
    justify-content: flex-start;
}

/* Progress bar */
.demo-progress {
    display: flex;
    gap: var(--space-3);
}

.demo-progress__step {
    height: 4px;
    flex: 1;
    background-color: var(--color-border-base);
    border-radius: 2px;
}

.demo-progress__step--active {
    background-color: var(--color-accent);
}

.demo-form__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.demo-form__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    margin-bottom: 0;
}

.demo-form__subtitle {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
}

/* Multi-step */
.demo-step {
    display: none;
    flex-direction: column;
    gap: var(--space-10);
}

.demo-step--active {
    display: flex;
}

/* Help text below field */
.contact-form__help {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    margin-top: var(--space-1);
}

/* Step 2 button row */
.demo-form__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.demo-form__back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-border-nav);
    color: var(--color-black);
    border: none;
    border-radius: var(--radius-br-xs);
    font-size: var(--font-size-md);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color var(--transition-base);
}

.demo-form__back-btn:hover {
    background-color: var(--color-border-base);
}

/* Step 3 — Thank you */
.demo-thankyou__cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.demo-thankyou__cta-text {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-body);
    line-height: var(--line-height-normal);
    margin-bottom: 0;
}

.demo-thankyou__video-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-br-xs);
}

.demo-thankyou__back-link {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--color-error);
    text-decoration: none;
}

.demo-thankyou__back-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Offices section */
.demo-offices {
    background-color: var(--color-white);
    padding-top: var(--space-24);
}

.demo-offices__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
    padding-bottom: var(--space-14);
}

.demo-offices__kicker {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-primary);
    margin-bottom: 0;
}

.demo-offices__title {
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-light);
    color: var(--color-black);
    line-height: var(--line-height-snug);
    margin-bottom: 0;
}

.demo-offices__title-accent {
    color: var(--color-accent);
}

.demo-offices__desc {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    color: var(--color-text-secondary);
    line-height: var(--line-height-normal);
    margin-bottom: 0;
}

.demo-offices__hero {
    width: 100%;
    overflow: hidden;
}

.demo-offices__hero-img {
    width: 100%;
    height: auto;
    display: block;
}

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

.demo-offices__photo {
    width: 100%;
    aspect-ratio: 640 / 546;
    object-fit: cover;
    display: block;
}

/* ============================================================
   LEGAL PAGES
============================================================ */

.section-legal {
    background-color: var(--color-bg-blue-light);
    padding-top: var(--space-22);
    padding-bottom: var(--space-14);
}

.legal-content__title {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-medium);
    margin-bottom: var(--space-10);
    line-height: var(--line-height-snug);
}

.legal-content__body {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-medium);
    line-height: 32px;
    letter-spacing: 0.72px;
}

.legal-content__body p {
    margin-bottom: var(--space-6);
}

.legal-content__body h2 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text-medium);
    line-height: 32px;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    margin-top: var(--space-10);
    margin-bottom: var(--space-5);
}

.legal-content__body ul {
    list-style: disc;
    padding-left: var(--space-7);
    margin-bottom: var(--space-6);
}

.legal-content__body ol {
    list-style: decimal;
    padding-left: var(--space-7);
    margin-bottom: var(--space-6);
}

.legal-content__body li {
    margin-bottom: var(--space-3);
}

.legal-content__body a {
    color: var(--color-text-medium);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 10%;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

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

.section-cta {
    position: relative;
    overflow: hidden;
    padding-block: var(--space-20);
    background-color: var(--color-primary);
    text-align: center;
}

.section-cta__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
}

.section-cta > .container {
    position: relative;
    z-index: 1;
}

.section-cta__deco {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-9);
}

.section-cta__deco img{
    height: 132px;
}

.section-cta__kicker {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background-color: rgba(2, 1, 103, 0.80);
    color: var(--color-white);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    border-radius: var(--radius-br-xs);
    margin-bottom: var(--space-7);
}

.section-cta__title {
    font-size: clamp(2rem, 3.5vw, var(--font-size-6xl));
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-snug);
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.section-cta__desc {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-light);
    line-height: var(--line-height-normal);
    color: var(--color-text-nav-active);
    margin-bottom: var(--space-10);
}

.section-cta__question {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-accent);
    margin-bottom: var(--space-6);
}

.section-cta__form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
    background-color: var(--color-bg-blue-light);
    padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6);
    border-radius: var(--radius-br-xs);
    margin-bottom: var(--space-4);
}

.section-cta__form-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    color: var(--color-text-secondary);
    min-width: 0;
}

.section-cta__form-input:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-br-xs);
}

.section-cta__form-input::placeholder {
    color: var(--color-text-secondary);
}

.section-cta__form-submit {
    flex-shrink: 0;
    background-color: var(--color-error);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-br-xs);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-family-base);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-regular);
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.section-cta__form-submit:hover {
    background-color: var(--color-error-dark);
}

.section-cta__phone {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-light);
    color: var(--color-text-nav-active);
}

.section-cta__phone a {
    color: var(--color-text-nav-active);
    text-decoration: underline;
}

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

.site-footer {
    position: relative;
    background-color: var(--color-black);
    background-image: url('../img/footer-bg-deco.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    padding-block: var(--space-14);
    overflow: hidden;
}

/* Marca decorativa de fondo */
.site-footer__bg-mark {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    opacity: 0.04;
    pointer-events: none;
}

.site-footer__bg-mark img {
    width: 100%;
    height: auto;
}

/* Bloque de marca — centrado */
.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-4);
    padding-block: var(--space-8) var(--space-10);
}

.site-footer__logo-img {
    width: 220px;
    height: auto;
    filter: brightness(0) invert(1);
}

.site-footer__tagline {
    font-size: 28px;
    font-weight: 300;
    line-height: 48px;
    color: #C2C7E8;
    margin: 0;
}

.site-footer__description {
    font-size: var(--font-size-md);
    font-weight: 400;
    color: var(--color-text-nav-active);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* Divisores */
.site-footer__divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    margin-bottom: var(--space-8);
}

/* Pill acento pequeño: entre brand y nav */
.site-footer__divider--accent {
    width: 77px;
    height: 6px;
    border-radius: 100px;
    background-color: var(--color-accent);
    margin: 0 auto var(--space-10);
}

/* Pill full-width: entre nav y barra legal */
.site-footer__divider--full {
    width: 100%;
    height: 1px;
    margin-top: var(--space-10);
    border-radius: 100px;
    background-color: var(--color-accent);
    margin-bottom: var(--space-8);
}

/* Columnas nav */
.site-footer__nav-row {
    padding-top: var(--space-2);
    margin-bottom: 0;
}

.site-footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.site-footer__nav-title {
    font-family: var(--font-family-base);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-white);
}

.site-footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 0;
    list-style: none;
}

.site-footer__nav-link {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: 400;
    line-height: var(--line-height-none);
    color: var(--color-text-nav-active);
    transition: color var(--transition-base);
}

.site-footer__nav-link:hover {
    color: var(--color-accent);
}

/* Contacto */
.site-footer__address {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    font-style: normal;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: 400;
    line-height: var(--line-height-relaxed);
    color: var(--color-text-nav-active);
}

.site-footer__address a {
    color: var(--color-text-nav-active);
    transition: color var(--transition-base);
}

.site-footer__address a:hover {
    color: var(--color-accent);
}

/* Redes sociales */
.site-footer__social {
    display: flex;
    flex-direction: row;
    gap: var(--space-4);
}

.site-footer__social-link {
    color: var(--color-white);
    font-size: 1.5rem;
    line-height: 1;
    padding: 10px;
    transition: color var(--transition-base);
}

.site-footer__social-link:hover {
    color: var(--color-accent);
}

.site-footer__social-link:focus-visible {
    color: var(--color-accent);
    outline: 2px solid var(--color-white);
    outline-offset: 3px;
}

/* Barra inferior */
.site-footer__bottom {
    padding-block: var(--space-3);
}

.site-footer__copyright {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: 400;
    color: var(--color-text-nav-active);
    margin: 0;
}

.site-footer__legal-list {
    display: flex;
    flex-direction: row;
    gap: var(--space-6);
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}

.site-footer__legal-link {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    font-weight: 400;
    color: var(--color-text-nav-active);
    transition: color var(--transition-base);
}

.site-footer__legal-link:hover {
    color: var(--color-accent);
}

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

/* ---- BELOW XXL < 1400px ---- */
@media (max-width: 1399.98px) {

    /* Nosotros cards */
    .nosotros-card { padding: var(--space-8); }
    .nosotros-card__title { font-size: var(--font-size-4xl); }
    .nosotros-card__text { font-size: var(--font-size-lg); }

    /* Valor cards */
    .valor-card { padding: var(--space-8); }
    .valor-card__title { font-size: var(--font-size-4xl); }
    .valor-card__text { font-size: var(--font-size-lg); }

    /* Empleo modal */
    .empleo-modal__title         { font-size: var(--font-size-3xl); }
    .empleo-modal__question      { font-size: var(--font-size-lg); }
    .empleo-modal__lead          { font-size: var(--font-size-lg); }
    .empleo-modal__section-title { font-size: var(--font-size-lg); }
    .empleo-modal__list li       { font-size: var(--font-size-lg); }
}

/* ---- BELOW LG (tablet portrait + mobile) < 992px ---- */
@media (max-width: 991.98px) {

    .container {
        padding-inline: var(--space-6);
    }

    /* Nosotros cards */
    .section-nosotros__cards .row { row-gap: var(--space-6); }
    .nosotros-card { height: auto; }

    /* Hero */
    .hero {
        padding: 100px var(--space-6) var(--space-9);
        height: auto;
        min-height: 100svh;
    }
    .hero::before { display: none; }
    .hero-home .hero__title { font-size: clamp(3.5rem, 6vw, 6rem); }

    /* Momentum Bridge */
    .momentum-bridge { padding-block: var(--space-14); }
    .momentum-bridge__title { font-size: var(--font-size-5xl); }

    /* Section Problems */
    .section-problems__split { padding-top: var(--space-9); }
    .section-problems__split-title { font-size: var(--font-size-4xl); }

    /* Section Process */
    .section-process__title { font-size: var(--font-size-4xl); }

    /* Section Insights */
    .section-insights__grid { grid-template-columns: 1fr; }

    /* Section Pensado */
    .section-pensado__banner { padding-block: var(--space-14); min-height: 60vh; }
    .section-pensado__banner-title { font-size: var(--font-size-5xl); }

    /* Section Team */
    .section-team__img { margin-top: var(--space-7); }

    /* Section CTA */
    .section-cta { padding-block: var(--space-14); }
    .section-cta__title { font-size: var(--font-size-5xl); }

    /* Floating CTA */
    .floating-cta { right: 16px; bottom: 16px; }

    /* Equipo gallery */
    .equipo-gallery { display: none; }

    /* Empleo modal — columna formulario */
    .empleo-modal__form-wrap { padding: var(--space-5); margin-top: 0; }
    .empleo-modal__form      { gap: var(--space-4); }

    /* Empleo modal — stacking + scroll global */
    #empleoModal .modal-dialog   { width: 95vw; max-width: 95vw; height: auto; max-height: calc(100dvh - 32px); }
    #empleoModal .modal-content  { height: auto; max-height: calc(100dvh - 32px); overflow-y: auto; overflow-x: hidden; }
    .empleo-modal                { height: auto; overflow: visible; }
    .empleo-modal .row           { flex-wrap: wrap; align-items: flex-start; flex: unset; min-height: unset; }
    .empleo-modal__info          { height: auto; overflow: visible; }
    .empleo-modal__form-wrap     { width: 100%; }
}

/* ---- BELOW MD (mobile) < 768px ---- */
@media (max-width: 767.98px) {

    .container {
        padding-inline: var(--space-4);
    }

    /* Hero */
    .hero {
        padding: 96px 0 var(--space-9) 0;
    }
    .hero__title { font-size: var(--font-size-4xl); }
    .hero-home .hero__title { font-size: clamp(3rem, 8vw, 6rem); }
    .hero__subtitle { font-size: var(--font-size-md); }
    .hero__form {
        flex-direction: column;
        padding: var(--space-3);
        gap: var(--space-3);
        align-items: stretch;
    }
    .hero__form-input { padding: var(--space-2) 0; }
    button.hero__form-submit { width: 100%; text-align: center; }
    a.hero__form-submit    { width: fit-content; }

    /* Section Intro */
    .section-intro{
        padding-bottom:12px
    }
    .section-intro__title { font-size: var(--font-size-4xl); }
    .section-intro__subtitle { font-size: var(--font-size-md); }

    /* Stat card */
    .stat-card__value { font-size: var(--font-size-6xl); }
    .stat-card__label { font-size: var(--font-size-2xl); }

    /* Section header */
    .section-header__title { font-size: var(--font-size-4xl); }
    .section-header__kicker { font-size: var(--font-size-md); }
    .section-header__desc { font-size: var(--font-size-md); }

    /* Testimonial card */
    .testimonial-card { padding: 0 var(--space-5) var(--space-5); }

    /* Momentum Bridge */
    .momentum-bridge { padding-block: var(--space-12); }
    .momentum-bridge__title { font-size: var(--font-size-3xl); }
    .momentum-bridge__desc { font-size: var(--font-size-md); }

    /* Section Problems */
    .section-problems__title { font-size: var(--font-size-4xl); }
    .section-problems__subtitle { font-size: var(--font-size-md); }
    .section-problems__body { font-size: var(--font-size-md); }
    .section-problems__split-desc { font-size: var(--font-size-md); }
    .section-problems__split-title { font-size: var(--font-size-3xl); }

    /* Photo card */
    .photo-card { aspect-ratio: 3 / 4; }
    .photo-card__title { font-size: var(--font-size-3xl); }
    .photo-card__desc { font-size: var(--font-size-md); margin-bottom: 0; }

    /* Feature card */
    .feature-card__title { font-size: var(--font-size-3xl); }
    .feature-card__desc { font-size: var(--font-size-md); }
    .feature-card__content { padding: var(--space-6) var(--space-6) var(--space-5); }

    /* Section Process */
    .section-process__title { font-size: var(--font-size-3xl); }
    .section-process__kicker { font-size: var(--font-size-md); }
    .section-process__desc { font-size: var(--font-size-md); margin-top: var(--space-6); }

    /* Section Insights */
    .section-insights { padding-block: var(--space-9); }
    .section-insights__title { font-size: var(--font-size-4xl); }
    .section-insights__lead {
        font-size: var(--font-size-md);
        margin-bottom: var(--space-7);
    }
    .insight-card--short,
    .insight-card--tall { aspect-ratio: 1 / 1; }
    .insight-card__title { font-size: var(--font-size-md); }
    .insight-card--tall .insight-card__title { font-size: var(--font-size-lg); }
    .insight-card__content { padding: var(--space-5) var(--space-5) var(--space-6); }

    /* Section Pensado */
    .section-pensado__banner { padding-block: var(--space-12); min-height: 50vh; }
    .section-pensado__banner-title { font-size: var(--font-size-4xl); }
    .section-pensado__body { padding-block: var(--space-9); }
    .section-pensado__lead { font-size: var(--font-size-md); margin-bottom: var(--space-9); }

    /* Audience card */
    .audience-card__title { font-size: var(--font-size-2xl); }
    .audience-card__desc { font-size: var(--font-size-md); }
    .audience-card__content { padding: var(--space-5) var(--space-5) var(--space-7); }

    /* Section Team */
    .section-team { padding-block: var(--space-9); }
    .section-team__title { font-size: var(--font-size-4xl); }

    /* Section CTA */
    .section-cta { padding-block: var(--space-12); }
    .section-cta__title { font-size: var(--font-size-4xl); text-align: left; }
    .section-cta__desc { font-size: var(--font-size-md);text-align: left; margin-bottom: var(--space-7); }
    .section-cta__question { font-size: var(--font-size-2xl);text-align: left; }
    .section-cta__form {
        flex-direction: column;
        padding: var(--space-3);
        gap: var(--space-3);
        align-items: stretch;
    }
    .section-cta__kicker{
        margin-left:0 ;
    }
    .section-cta__form-input { padding: var(--space-2) 0; }
    .section-cta__form-submit { width: 100%; text-align: left; }

    /* Clientes — Section Clientes */
    .section-clientes { padding-block: var(--space-12); }
    .section-clientes__title       { font-size: var(--font-size-4xl); }
    .section-clientes__trust-title { font-size: var(--font-size-3xl); }
    .section-clientes__subtitle    { font-size: var(--font-size-md); }

    /* Clientes — Testimonials */
    .testimonials { padding-bottom: var(--space-9); }

    /* Retailers — Section Intro benefits */
    .section-intro__benefits {
        padding-inline: var(--bs-gutter-x, 12px);
    }
    .section-intro__benefits .row {
        row-gap: var(--space-5);
    }

    /* Retailers — Benefit card */
    .benefit-card__title { font-size: var(--font-size-3xl); }
    .benefit-card__desc  { font-size: var(--font-size-md); }

    /* Retailers — Section Connection */
    .section-connection { padding-block: var(--space-12); }
    .section-connection__title    { font-size: var(--font-size-4xl); }
    .section-connection__subtitle { font-size: var(--font-size-lg); }

    /* Retailers — Section Solucion */
    .section-solucion { padding-block: var(--space-12); }
    .section-solucion__title { font-size: var(--font-size-4xl); }
    .section-solucion__desc  { font-size: var(--font-size-md); }

    /* Retailers — Section Platform */
    .section-platform { padding-block: var(--space-12); }
    .section-platform__product        { font-size: var(--font-size-3xl); }
    .section-platform__tagline        { font-size: var(--font-size-lg); }
    .section-platform__desc           { font-size: var(--font-size-md); }
    .section-platform__highlight-title { font-size: var(--font-size-2xl); }
    .section-platform__highlight-text  { font-size: var(--font-size-md); }
    .section-platform__feature-title   { font-size: var(--font-size-xl); }
    .section-platform__feature-desc    { font-size: var(--font-size-md); }
    .section-platform__feature         { padding: var(--space-7); gap: var(--space-5); }
    .section-platform__showcase {
        padding: var(--space-7);
        margin-bottom: var(--space-8);
    }

    /* ---- fabricantes-surtidoEficiente ---- */
    .section-surtido-intro { padding-block: var(--space-9); }
    .section-surtido-intro__title { font-size: var(--font-size-4xl); }
    .section-surtido-intro__body  { font-size: var(--font-size-md); }

    .section-solucion__faq { padding-block: var(--space-9); }
    .section-solucion__faq-item { padding-block: var(--space-6); }
    .section-solucion__faq-title { font-size: var(--font-size-3xl); }
    .section-solucion__faq-body  { font-size: var(--font-size-lg); }
    .section-solucion__faq-intro { font-size: var(--font-size-md); }
    .section-solucion__faq-list li { font-size: var(--font-size-md); }
    .section-solucion__faq-content { padding-left: var(--space-7); }
    .section-solucion__faq-icon { font-size: var(--font-size-3xl); width: 32px; height: 32px; }

    .section-doble-texto { padding-block: var(--space-9); }
    .section-doble-texto__card  { padding: var(--space-7); }
    .section-doble-texto__title { font-size: var(--font-size-2xl); }
    .section-doble-texto__body  { font-size: var(--font-size-md); }

    /* ---- nosotros ---- */
    .section-nosotros__title    { font-size: var(--font-size-4xl); }
    .section-nosotros__title-2  { font-size: var(--font-size-3xl); }
    .section-nosotros__subtitle { font-size: var(--font-size-md); }
    .section-nosotros__cards    { padding: var(--space-7) 0; }
    .nosotros-card              { padding: var(--space-8); }
    .nosotros-card__title       { font-size: var(--font-size-3xl); }
    .nosotros-card__text        { font-size: var(--font-size-md); }

    .section-valores { padding: var(--space-10) var(--space-4) 0; }
    .section-valores__title    { font-size: var(--font-size-4xl); }
    .section-valores__subtitle { font-size: var(--font-size-md); }
    .valor-card                { padding: var(--space-8) var(--space-4); }
    .valor-card__title         { font-size: var(--font-size-3xl); }
    .valor-card__text          { font-size: var(--font-size-md); }

    .section-promesa { padding: var(--space-10) var(--space-4) 0; }

    .section-equipo { padding: var(--space-10) 0; }
    .section-equipo__title    { font-size: var(--font-size-4xl); }
    .section-equipo__subtitle { font-size: var(--font-size-md); }
    .equipo-gallery           { flex-direction: column; }

    .section-empleos__content   { padding: var(--space-9) var(--space-6); }
    .section-empleos__title     { font-size: var(--font-size-4xl); }
    .section-empleos__subtitle  { font-size: var(--font-size-md); }
    .section-empleos__jobs-title { font-size: var(--font-size-3xl); }
    .section-empleos__img       { min-height: 320px; }

    /* ---- contacta ---- */
    .section-contact-info { padding-block: var(--space-9); }
    .section-contact-info__title { font-size: var(--font-size-3xl); }
    .contact-info-item__text     { font-size: var(--font-size-md); }
    .contact-form-panel { padding: var(--space-9) var(--space-7); }
    .contact-form__title { font-size: var(--font-size-3xl); }

    /* ---- solicita-demo ---- */
    .demo-info-panel { padding: var(--space-9) var(--space-7); min-height: auto; gap: var(--space-8); }
    .demo-info-panel__title { font-size: var(--font-size-3xl); }
    .demo-form-panel { padding: var(--space-9) var(--space-7); min-height: auto; }
    .demo-form__title { font-size: var(--font-size-3xl); }
    .demo-offices { padding-top: var(--space-10); }
    .demo-offices__title { font-size: var(--font-size-4xl); }
    .demo-offices__desc  { font-size: var(--font-size-md); }
    .demo-offices__kicker { font-size: var(--font-size-md); }
    .demo-offices__photos { grid-template-columns: 1fr; }
    .demo-offices__photo  { aspect-ratio: 16/9; }

    /* ---- insights / blog ---- */
    .section-blog { padding-block: var(--space-10); }
    .blog__lead            { font-size: var(--font-size-4xl); }
    .blog__h2              { font-size: var(--font-size-3xl); }
    .blog__h3              { font-size: var(--font-size-2xl); }
    .blog__text            { font-size: var(--font-size-md); }
    .blog__callout-title   { font-size: var(--font-size-3xl); }
    .blog__callout-subtitle { font-size: var(--font-size-2xl); }
    .blog__callout-text    { font-size: var(--font-size-md); }
    .insights-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5);
        padding: var(--space-5);
    }
    .insights-filters__group:last-child {
        grid-column: 1 / -1;
    }
    .insights-filters__label { font-size: var(--font-size-md); }

    /* ---- legal ---- */
    .section-legal { padding-top: var(--space-10); padding-bottom: var(--space-9); }

    /* Footer — < 991px */
    .site-footer { padding-block: var(--space-10); }
    .site-footer__brand { padding-block: var(--space-6) var(--space-8); }
    .site-footer__logo-img { width: 130px; }
    .site-footer__tagline { font-size: var(--font-size-md); }
    .site-footer__nav-row .col-lg-2,
    .site-footer__nav-row .col-lg-3,
    .site-footer__nav-row .col-lg-4 { margin-bottom: var(--space-7); }
    .site-footer__legal-list { gap: var(--space-4); }
}

/* Footer nav cols: centrado en 2-col grid (768–991px) */
@media (max-width: 991.98px) {
    .site-footer .site-footer__nav-col {
        text-align: center;
        align-items: center;
    }
    .site-footer .site-footer__nav-title {
        text-align: center;
    }
    .site-footer .site-footer__nav-list {
        align-items: center;
        text-align: center;
    }
    .site-footer .site-footer__nav-link {
        display: inline-block;
        text-align: center;
    }
    .site-footer .site-footer__address {
        align-items: center;
        text-align: center;
    }
    .site-footer .site-footer__social {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .demo-info-panel__trust { display: none; }
}

@media (max-width: 767.98px) {
    /* Footer — < 768px: legal bar apilada */
    .site-footer__bottom { gap: var(--space-4); }
    .site-footer__copyright { text-align: center; }
    .site-footer__legal-list {
        justify-content: center;
        gap: var(--space-3);
    }
}

@media (max-width: 767.98px) {
    .stat-card {
        padding:  var(--space-10);
        border-radius: var(--radius-br-md);
        border: 1px solid var(--color-border-light);
    }

    .section-intro .row.gy-5 {
        --bs-gutter-y: var(--space-3);
    }

    .hero__form-submit:not(.hero__form-submit--standalone),
    .section-cta__form-submit {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hero__form-submit:not(.hero__form-submit--standalone)::after,
    .section-cta__form-submit::after {
        content: '→';
        font-size: var(--font-size-lg);
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Tabulación — skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: var(--radius-br-xs, 4px);
    font-weight: 600;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* Tabulación — compensar header fijo / floating CTA al desplazar el foco */
html {
    scroll-padding-top: 100px;
}

/* Tabulación — controles de navegación del carrusel de testimonios */
.testimonials-swiper__prev,
.testimonials-swiper__next {
    top: 50%;
}

.testimonials-swiper__prev:focus-visible,
.testimonials-swiper__next:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Usabilidad — patrón de error de formulario, reutilizable */
.field-error {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--color-error, #c1272d);
}
.field-error:empty { display: none; }
[aria-invalid="true"] {
    border-color: var(--color-error, #c1272d) !important;
}

/* Usabilidad — respeta preferencia de movimiento reducido del sistema */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Usabilidad — botón de pausa/reproducción de vídeos de fondo */
.video-pause-toggle {
    position: absolute;
    z-index: 5;
    right: var(--space-4, 16px);
    bottom: var(--space-4, 16px);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: var(--color-white);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition-base, 0.2s);
}

.video-pause-toggle:hover {
    background: rgba(0, 0, 0, 0.65);
}

.video-pause-toggle:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}
