/* ROOT */

:root {
    --blue-900: #0f2b5e;  
    --blue-950: #0a1e49;  
    --cyan-500: #00a8e8;
    --cyan-600: #007ecc;  
    --gray-600: #586274;
    --header-bg: #f3f5f7;  
    --nav-shadow: 0 8px 20px rgba(16,24,40,.05);
    --radius: 18px;
    --text: #0f172a;
    --muted: #f3f4f6;     
    --line: #e5e7eb;
    --accent: #0873c6;
    --shadow: 0 6px 24px rgba(15,23,42,.08);
    --color-primary: #1e3a8a;
    --color-accent: #d97706;
    --color-muted: #6b7280;
    --color-bg: #ffffff;
    --transition: all 0.3s ease;
}

/* RESET & BASE */

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Aeonik Pro VF", sans-serif;
}

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

span {
    color: #007ecc;
    font-weight: 600;
}

/* BACK TO TOP */

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cyan-500);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* NAVBAR */

.navbar {
    position: fixed;   
    top: 0; 
    left: 0; 
    z-index: 1200;
    width: 100%;
    background: rgba(255,255,255,0.85);  
    backdrop-filter: blur(12px);          
    -webkit-backdrop-filter: blur(12px); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

#hero {
    padding-top: 96px;
}

.nav-container {
    max-width: 1280px;
    margin-inline: auto;
    height: 75px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.iso-navbar {
    max-width: 40px;
    margin-right: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.600rem;     
    text-decoration: none;
    flex-shrink: 0;
}

.logo-bold {
    color: var(--blue-900);
    font-weight: 800;
}

.logo-light {
    color: var(--cyan-500);
    margin-left: 4px;
    font-weight: 400;
}

.nav-links {
    flex: 1;                       
    display: flex;
    justify-content: center;      
    gap: 48px;                   
}

.nav-links a {
    font-size: 1.1rem;         
    font-weight: 400;
    color: var(--gray-600);
    text-decoration: none;
    transition: color .25s;
}

.nav-links a:hover {
    color: var(--cyan-500);
}

.lang-desktop {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.lang-text {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-600);
    transition: color .25s;
}

.lang-btn {
    position: relative;
    width: 60px;
    height: 28px;
    border: 2px solid #0074B1;
    border-radius: 30px;
    background: #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background .3s;
    margin: 0 0.5rem;
}

.lang-btn i {
    position: absolute;
    left: 8px;
    color: #0074B1;
    font-size: 14px;
    pointer-events: none;
    transition: color .3s;
}

.lang-btn .slider {
    position: absolute;
    left: 4px;
    width: 20px;
    height: 20px;
    background: #0074B1;
    border-radius: 50%;
    transition: transform .3s, background .3s;
}

.lang-btn.active-lang {
    background: #0074B1;
}

.lang-btn.active-lang .slider {
    transform: translateX(28px);
    background: #fff;
}

.lang-btn.active-lang i {
    color: #fff;
}


/* HAMBURGUER */

.hamburger {
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--blue-900);
    cursor: pointer;
    display: none; /* se muestra en mobile */
    z-index: 1101;
}


/* OVERLAY */

.overlay {
    position: fixed;
    top: 72px; /* empieza debajo del header */
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* OFF-CANVAS */

.offcanvas {
    position: fixed;
    top: 72px; /* debajo del header */
    right: -300px;
    width: 280px;
    height: calc(100vh - 72px); 
    background: #fff;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
    transition: right 0.5s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.85);  
    backdrop-filter: blur(12px);          
    -webkit-backdrop-filter: blur(12px); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.offcanvas.active {
    right: 0;
}

.offcanvas-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 1rem;
}

.offcanvas-links a {
    color: var(--blue-900);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.offcanvas-lang {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .nav-links,
    .lang-desktop {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-container {
        justify-content: space-between;
    }
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;         
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute; 
    inset: 0;
    background: url("img/Base.png") center/cover no-repeat;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute; 
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;                
    max-width: 620px;
    padding: 0 16px;
    margin-left: calc(8vw + 24px);      
}

.hero h1 {
    font-weight: 700;
    font-size: 3rem;           
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero p {
    font-weight: 400;
    font-size: 1.125rem;        
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 400;
    text-decoration: none;
    transition: all .25s;
}

.btn-primary {
    background: var(--cyan-500);
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255,255,255,.25);
    border: 1px solid rgba(255,255,255,.45);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,.35);
    transform: translateY(-2px);
}

.hero-bullets {
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

.hero-bullets li {
    position: relative;
    padding-left: 36px;
}

.check {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #0074B1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .25s;
}

.check svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-bullets li:hover .check {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.hero-bullets li:hover .check svg {
    stroke: var(--cyan-500);
}

@media(max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-bullets {
        gap: 32px;
    }
}

/* SOLUCIONES */

#soluciones {
    background: #fff;
    padding: 8rem 2rem;
}

.solutions-flex {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: space-between;
    gap: 4rem;
    padding-inline: 4vw;
}

.solutions-title {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--blue-900);
    margin: 0;
    text-align: left;
    max-width: 11ch;
    word-break: break-word;
}

.solutions-items {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    flex: 2;
    flex-wrap: nowrap;
    width: 100%;
}

.sol-item {
    flex: 1 1 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-sizing: border-box;
    min-width: 0;
}

.sol-icon {
    width: clamp(40px, 4vw, 60px);
    height: clamp(40px, 4vw, 60px);
    border: 2px solid var(--cyan-600);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sol-icon i {
    font-size: clamp(18px, 2vw, 28px);
    color: var(--cyan-600);
}

.sol-text h3 {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 700;
    color: var(--blue-900);
    margin: 0 0 .5rem;
    white-space: normal;
    word-break: break-word;
}

.sol-text p {
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    line-height: 1.5;
    color: var(--gray-600);
    margin: 0;
}

.solutions-divider {
    width: 55%;
    height: 2px;
    margin: 8rem auto 0;
    background: var(--cyan-600);
    border: 0;
}

@media(max-width: 992px) {
    .solutions-title {
        text-align: center;
        max-width: 20ch;
    }

    .solutions-flex {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .solutions-items {
        justify-content: center;
        gap: 2rem;
    }
}

@media(max-width: 768px) {
        #soluciones {
        padding: 8rem 0;
    }


    .solutions-items {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 10rem;
    }

    .sol-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media(max-width: 576px) {

    .solutions-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .solutions-items {
        padding: 0 3rem;
    }

    .solutions-divider {
        width: 90%;
    }
}

/* SERVICIOS */

.services-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #007ecc;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-align: center;
}

.services {
    padding: 9rem 4vw 0;
    margin-top: -120px;
    background: linear-gradient(180deg,#ffffff 0%,#edecec 70%), url("./img/BG.png") center/cover no-repeat;
    min-height: 350px;
}

.services-title {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--blue-900);
    margin: 0;
    text-align: center;
    padding-bottom: 13rem;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 85vw;
    margin: 0 auto;
}

@media(max-width: 1150px) {
    .services-list {
        grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
        gap: 2.5rem;
    }
}

.service {
    position: relative;
    flex: 1 1 250px;
    max-width: 300px;
    padding: 2.4rem 2.4rem 7.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    height: auto;
}

.service:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1.5rem;
    top: 18%;
    height: 64%;
    width: 1px;
    background: rgba(0,0,0,.08);
}

@media(max-width: 1150px) {
    .service::after {
        display: none;
    }
}

.service i {
    font-size: 42px;
    color: #007ecc;
}

.service h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #032246;
    margin: 0;
}

.service p {
    font-size: .9rem;
    line-height: 1.5;
    color: #586274;
    margin: 0;
}

.service::before {
    content: "";
    position: absolute;
    inset: 0;                            
    background: transparent;
    transition: .3s ease;
    z-index: -1;
}

.service:hover {
    transform: translateY(-6px);
    background: linear-gradient(180deg,#eaeaea 0%,#e3e3e3 70%);
    border-top: 4px solid #007ecc;
    box-shadow: 0 12px 16px rgba(0,0,0,.06);
}

.service:hover::before {
    background: linear-gradient(180deg,#eaf3fa 0%,#ebeff3 100%);
    border-top: 4px solid #007ecc;
}

.svc-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-bottom: 2rem;
}

.btn {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    background: #007ecc;
    padding: .45rem 1.15rem;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(4px);
    transition: .3s ease;
    text-decoration: none;
}

.service:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

.btn:hover {
    background: #0092f0;
}

@media (max-width: 576px) {
    .services-title {
        font-size: 1.6rem;
        line-height: 1.2;
        padding: 0 2rem 7rem 2rem;
    }
}

/* PARTNERS (CARRUSEL) */

.partners {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px 96px;
    overflow: hidden;  
}

.partners__header {
    display: flex;
    justify-content: flex-end; 
    margin-bottom: 28px;
}

.partners__title {
    margin: 0;
    text-align: right;
    font-weight: 700;
    letter-spacing: .2px;
    font-size: clamp(28px,3.5vw,48px);
    line-height: 1.1;
}

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

.partners__stage {
    position: relative;
    display: grid;
    grid-template-columns: min-content 1fr; 
    align-items: center;
    gap: 40px;
}

.partners__media {
    width: min(520px,42vw);
    aspect-ratio: 16/11;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.partners__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel {
    position: relative;
}

.carousel__viewport {
    overflow: hidden;       
    width: 100%;
}

.carousel__track {
    display: flex;
    gap: 28px;
    will-change: transform;
    transition: transform .45s cubic-bezier(.22,.7,.26,1);
    padding: 4px; 
    height: clamp(64px, 8vw, 96px);  
    padding: 8px 0;                      
}

.card {
    flex: 0 0 var(--card-size,280px);
    width: var(--card-size,280px);
    height: var(--card-size,280px);      
    background: var(--muted);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 22px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card__logo {
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    height: clamp(64px, 9vw, 92px);
}

.card__logo img {
    max-height: 58px;
    max-width: 160px;
    object-fit: contain;
    filter: saturate(0) contrast(1.05);
    max-width: 00px;
}

.card__logo .placeholder {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: .5px;
}

.card__dash {
    width: 56px;
    height: 6px;
    border-radius: 6px;
    background: #e9ecef;
    margin: 8px 0 10px;
}

.card__text {
    font-size: 14px;
    line-height: 1.45;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 4;  
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel__nav {
    margin-top: 18px; 
    display: flex; 
    gap: 14px; 
    justify-content: flex-end;
}

.nav-btn {
    width: 54px; 
    height: 54px; 
    border-radius: 999px;
    border: 1.5px solid #cfd8e3; 
    background: #fff;
    display: grid; 
    place-items: center; 
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.nav-btn:hover {
    transform: translateY(-1px); 
    box-shadow: 0 10px 28px rgba(15,23,42,.10); 
    border-color: #b6c2d2; 
}

.nav-btn:disabled {
    opacity: .5; 
    cursor: not-allowed; 
    transform: none; 
}

@media (max-width: 1100px) {
    .partners__stage { gap: 28px; }
    .card { --card-size: 260px; }
}

@media (max-width: 900px) {
    .partners__stage {
        grid-template-columns: 1fr;   
    }
    .partners__media { width: min(640px,90vw); margin: 0 auto; }
    .carousel { margin-top: 16px; }
    .carousel__nav { justify-content: center; }
    .card { --card-size: 260px; }
}

@media (max-width: 560px) {
    .card { --card-size: 220px; }
}

.clientes-section {
    padding: 9rem 4vw;
    background: linear-gradient(to bottom, #F7F7F7 50%, #fff 100%);
    text-align: center;
}

.clientes-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #007ecc;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
}

.clientes-title {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--blue-900);
    margin: 0;
    text-align: center;
    padding-bottom: 3rem;
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 3rem;
}

.carousel-track img {
    max-width: 175px;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.track-left {
    animation: scroll-left 40s linear infinite;
}

.track-right {
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* CTA BANNER */

.cta-banner {
    background: url("../img/bannercontacto.png") center/cover no-repeat;
    padding: 4rem 12vw;        
    color: #fff;
}

.cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-text h2 {
    font-size: 2.3rem;
    font-weight: 500;
    margin: 0 0 1rem;
}

.cta-text p {
    font-size: 1.2rem;
    line-height: 1.55;
    max-width: 700px;
    font-weight: 300;
}

.btn-cta {
    display: inline-block;
    padding: .75rem 2.2rem;
    border: 0.5px solid #fff;
    border-radius: 6px;
    background: #183B56;
    color: #fff;
    font-weight: 400;
    transition: .25s;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

.btn-cta:hover {
    background: #007ecc;
    border-color: #007ecc;
}

@media(max-width: 768px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .btn-cta {
        margin-top: 2rem;
    }
}

/* NOSOTROS */

.about {
    padding: 9rem 6vw;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-header {
    text-align: center;
    margin: 0 auto 1rem;
    padding-inline: 1rem;
    max-width: 800px;
}

.about-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #007ecc;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-align: center;
}

.about-title {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--blue-900);
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.about-sub {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    color: #586274;
    margin: 0 auto;
    max-width: 650px;
}

.about-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    width: 100%;
}

.about-img {
    flex: 1;
    max-width: 50%;
}

.about-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.about-content {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 0 2rem;
    padding: 0;
    width: 100%;
}

.about-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.about-list .txt {
    flex: 1;
}

.about-list .txt h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #032246;
    margin: 0 0 .5rem;
}

.about-list .txt p {
    font-size: 1rem;
    line-height: 1.55;
    color: #586274;
    margin: 0;
}

.num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0074B1;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 3px rgba(0,126,204,.15), 0 8px 18px rgba(0,0,0,.08);
    flex-shrink: 0;
    margin-top: .2rem;
}

.btn-about {
    background: #0074B1;
    color: #fff;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    text-decoration: none;
    transition: .25s;
    align-self: flex-start;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

.btn-about:hover {
    background: #007ecc;
}

@media(max-width: 1199px) {
    .about-img {
        max-width: 40%;
    }
    .about-content {
        max-width: 60%;
    }
}

@media(max-width: 992px) {
    .about-wrap {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .about-img,
    .about-content {
        max-width: 100%;
    }
    .about-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .btn-about {
        margin: 2rem auto 0;
        align-self: center;
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 1.6rem;
        line-height: 1.2;
        padding: 0 1rem;
    }
}

/* CONTACTO */

#contacto {
    padding: 9rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #edecec 70%);
    color: var(--text);
}

.contact-form,
.contact-info {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #007ecc;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-align: center;
}

.contact-header h2 {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--blue-900);
    margin-bottom: 0.5rem;
}

.contact-header span {
    color: var(--cyan-500);
}

.contact-sub {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    color: #586274;
    margin: 0 auto;
    max-width: 650px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--blue-900);
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-600);
}

input,
textarea,
select {
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

button {
    padding: 0.9rem 1.4rem;
    background: var(--cyan-500);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background: var(--accent);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h4 {
    color: var(--blue-900);
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--gray-600);
    margin-bottom: 0.2rem;
}

.info-item small {
    color: var(--accent);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ERRORES */

.error-msg {
    color: #e84855;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

input.invalid, textarea.invalid, select.invalid {
    border: 2px solid #e84855;
}

/* TOAST */

.toast {
    visibility: hidden;
    min-width: 250px;
    max-width: 90%; /* para que no se pase del ancho en móviles */
    background: var(--cyan-500);
    color: var(--muted);
    text-align: center;
    border-radius: var(--radius);
    padding: 12px 18px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px; /* default en desktop */
    transform: translateX(-50%);
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s, top 0.5s;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

@media (max-width: 560px) {
    .toast {
        bottom: auto;
        top: 72px;
    }

    .toast.show {
        bottom: auto;
        top: 90px;
    }
}

/* PROPUESTA DE VALOR */

.value-prop {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #f7f7f7 50%, #fff);
}

.vp-header {
    text-align: center;
    margin-bottom: 3rem;
}

.vp-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #007ecc;
    margin-bottom: 0.5rem;
}

.vp-title {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--blue-900);
    margin: 0 0 1.2rem 0;
    text-align: center;
}

.vp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.vp-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.vp-item:hover {
    background: var(--blue-900);
    color: #fff;
    transform: translateY(-4px);
}

.vp-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: inherit;
}

.vp-item p {
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

.vp-item:hover p {
    color: #e5e7eb;
}

.vp-icon {
    flex-shrink: 0;
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(30, 56, 106, 0.1);
    color: #1e386a;
    transition: all 0.3s ease;
}

.vp-item:hover .vp-icon {
    background: #fff;
    color: #1e386a;
}

.vp-icon i {
    font-size: 1.25rem;
}

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MAPA */

.mapa-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.mapa-section {
    padding: 6rem 2rem;
    background:
    radial-gradient(1200px 200px at 50% 0%, rgba(137,167,180,0.18), transparent 60%),
    linear-gradient(180deg, rgba(211,192,137,0.0), rgba(211,192,137,0.0));
}

.mapa-panel {
    max-width: 1200px;
    margin: 0 auto;
    background: #e9eaec;          
    border-radius: 5px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.12), 0 8px 12px rgba(0,0,0,0.06);
    padding: 4rem 8rem;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mapa-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.mapa-title {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    color: #243b63; 
}

.mapa-text {
    font-size: 1.05rem;
    color: #5c6a7a; 
    max-width: 520px;
    line-height: 1.6;
}

.btn-mapa {
    background: #0074B1;
    color: #fff;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    text-decoration: none;
    transition: .25s;
    align-self: flex-start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
    margin: 0.5rem 0;
}

.btn-mapa:hover {
    background: #007ecc;
}

.mapa-imagen {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
}

.mapa-base {
    width: 100%;
    max-width: 560px; 
    height: auto;
    filter: grayscale(100%);
    user-select: none;
    pointer-events: none;
}

.map-card {
    position: absolute;
    min-width: 260px;
    max-width: 320px;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    border-end-start-radius: 1px;
    color: #E5E5E5;
    background: linear-gradient(135deg, #89A7B4 0%, #59c1eb 60%, #b5e6ff 100%);
    box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.20),
    inset 0 0 0 1px rgba(255,255,255,0.35);
    border: 1px solid rgba(0,0,0,0.05);
    display: grid;
    gap: .35rem;
    backdrop-filter: saturate(110%);
}

.map-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border-end-start-radius: 1px;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.45) inset;
    pointer-events: none;
}
.map-card h4 {
    margin: 0;
    font-size: .95rem;
    letter-spacing: .6px;
    font-weight: 800;
    text-transform: uppercase;
}

.map-card p {
    margin: 0;
    font-size: .85rem;
    opacity: .95;
}

.mapa-imagen .map-card.card-ba h4,
.mapa-imagen .map-card.card-ba p {
    transform: scaleX(-1);
}

.card-miami { 
    top: 28%;
    left: 72%;
    transform: translate(-50%, -50%);
}

.card-ba {        
    top: 68%;
    left: auto;      
    transform: translate(-50%, -50%);
    transform-origin: right center; 
    transform: translate(-50%, -50%) scaleX(-1);
    transform-origin: center;
}

@media (max-width: 1024px) {
    .mapa-panel {
        grid-template-columns: 1fr;
        padding: 2.25rem 1.5rem;
    }

    .mapa-imagen { min-height: 420px; }
    .map-card { min-width: 240px; }
}

@media (max-width: 560px) {
    .mapa-imagen { min-height: 360px; }
    .map-card { min-width: 220px; padding: .9rem 1rem; }
    .map-card h4 { font-size: .9rem; }
    .map-card p  { font-size: .8rem; }
}
.eai-logo-link{
    display:inline-flex;
    align-items:center;
    margin:.75rem 0;
  }
  .eai-logo{
    height:52px;           
    width:auto;
    transition:filter .25s ease, transform .25s ease;
  }
  .eai-logo-link:hover .eai-logo{
    filter:none;
    transform:translateY(-1px);
  }
  @media(max-width:560px){
    .eai-logo{height:44px;}
  }
  

/* PIN */

.pin {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.pin::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.4;
}

/* TOOLTIP */

.tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e3a8a;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pin:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

@media (max-width: 992px) {
    .mapa-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .mapa-content {
        align-items: center;
        text-align: center;
    }
    .mapa-title {
        text-align: start;
    }
    .mapa-text {
        max-width: 100%;
        text-align: start;
    }
}

/* EQUIPO */

.equipo-section {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.equipo-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #007ecc;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-align: center;
}

.equipo-title {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--blue-900);
    margin: 0 0 1.2rem 0;
    text-align: center;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

.card {
    background: var(--color-bg);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    max-width: 350px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.card-content {
    flex: 1;
    padding: 1.5rem;
    text-align: center;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem auto;
    display: block;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin: 0.5rem 0;
    font-weight: 600;
}

.card .position {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.badge {
    display: inline-block;
    border: 1px solid var(--color-muted);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    color: var(--color-muted);
}

.card section {
    text-align: left;
    margin-top: 1rem;
}

.card section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.card section p {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0 0 0.75rem 0;
}

.card-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(30, 58, 138, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    color: var(--color-primary);
    text-decoration: none;
}

.icon-btn:hover {
    background: rgba(217, 119, 6, 0.1);
    transform: scale(1.1);
    color: var(--accent);
}

.icon-btn i {
    font-size: 1rem;
}

@media (max-width: 900px) {
    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .equipo-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */

.footer {
    background: var(--muted);
    padding: 40px 20px 20px;
    font-family: "Aeonik Pro VF", sans-serif;
    color: var(--text);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-logo img {
    max-width: 180px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-col ul li a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-col ul li a:hover {
    color: var(--cyan-600);
}

.social-links li i {
    margin-right: 8px;
    color: var(--text);
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 15px 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text);
}

.footer-bottom-logo img {
    width: 22px;
    height: auto;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}

/* GOOGLE TRANSLATE WIDGET */

.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
    display: none !important;
}

body {
    position: static !important;
    top: 0px !important;
}

.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
    display: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}