*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Montserrat', sans-serif;
}

body{
    background:#ffffff;
    color:#1d304e;
}

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

header{
    position:relative;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
}

header video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-2;
}

header::after{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    z-index:-1;
}

/* ================= NAV ================= */

nav{
    position:absolute;
    top:0;
    width:100%;
    padding:25px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav .logo{
    color:white;
    font-weight:700;
    font-size:18px;
}

nav .logo img{
    height:150px;          /* más pequeño */
    opacity:0.85;         /* ligeramente más sutil */
    transition:0.3s ease;
}

nav ul{
    list-style:none;
    display:flex;
    gap:25px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    font-size:14px;
    letter-spacing:1px;
    transition:0.3s;
}

nav ul li a:hover{
    opacity:0.7;
}

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

.hero-text{
    color:white;
    max-width:900px;
    padding:20px;
}

.hero-text h1{
    font-size:52px;
    letter-spacing:3px;
    margin-bottom:20px;
}

.hero-text h2{
    font-weight:300;
    font-size:22px;
}

/* ================= SECTIONS ================= */

.section{
    padding:100px 80px;
}

.light{
    background:#f1f5f9;
}

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

h3{
    font-size:32px;
    margin-bottom:20px;
}

p{
    line-height:1.7;
    font-size:16px;
}

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

.cta{
    background:#203543;
    color:white;
    text-align:center;
    padding:80px;
}

.cta button{
    margin-top:20px;
    padding:14px 40px;
    border:none;
    background:white;
    color:#0f172a;
    font-weight:600;
    cursor:pointer;
}

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

footer{
    background:#000;
    color:white;
    text-align:center;
    padding:40px;
    font-size:14px;
}

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

@media(max-width:900px){
    nav{
        padding:18px 20px;
    }

    nav .logo img{
        height:90px;
    }

    .section{
        padding:60px 20px;
    }

    .hero-text h1{
        font-size:34px;
    }

    .cta{
        padding:60px 25px;
    }
}

@media(max-width:480px){
    nav .logo img{
        height:70px;
    }

    .section{
        padding:50px 16px;
    }

    .cta{
        padding:50px 16px;
    }

    h3{
        font-size:24px;
    }

    .cta h3{
        font-size:20px;
    }
}

/* ================= ABOUT SECTION ================= */

.about-container{
    display:flex;
    align-items:center;
    gap:60px;
    max-width:1200px;
    margin:auto;
}

.about-text{
    flex:1;
}

.about-image{
    flex:1;
    position:relative;
    overflow:hidden;
}

.about-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:8px;
    /*filter: blur(1.5px) brightness(0.9);*/
    opacity:0.9;
    transition:0.4s ease;
}

/* efecto elegante */
.about-image::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(to left, rgba(241,245,249,0) 30%, rgba(241,245,249,0.9) 100%);
}

/* Responsive */
@media(max-width:900px){
    .about-container{
        flex-direction:column;
    }

    .about-image{
        margin-top:30px;
    }
}
/* ===== SPLIT SECTIONS ===== */

.split-container{
    display:flex;
    align-items:center;
    gap:60px;
    max-width:1200px;
    margin:auto;
}

.split-container.reverse{
    flex-direction:row-reverse;
}

.split-image{
    flex:1;
}

.split-image img{
    width:100%;
    border-radius:8px;
    opacity: 0.7; /* 0.1 más transparente — 1 normal */
}

.split-text{
    flex:1;
}

@media(max-width:900px){
    .split-container,
    .split-container.reverse{
        flex-direction:column;
    }
}


/* ===== CONTACT ICONS ===== */

.contact-icons{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
    margin:60px 0;
    text-align:center;
}

.contact-item{
    flex:1;
}

.contact-item i{
    font-size:32px;
    margin-bottom:15px;
}

.contact-item h4{
    font-size:18px;
    font-weight:600;
    margin-bottom:10px;
}

.contact-item p{
    font-size:15px;
    line-height:1.6;
}

/* Responsive - mantiene los 3 items en horizontal pero compactos */
@media(max-width:900px){
    .contact-icons{
        flex-direction:row;
        flex-wrap:nowrap;
        gap:10px;
        margin:40px 0;
        align-items:flex-start;
    }

    .contact-item{
        flex:1;
        min-width:0;
    }

    .contact-item i{
        font-size:22px;
        margin-bottom:8px;
    }

    .contact-item h4{
        font-size:13px;
        margin-bottom:5px;
    }

    .contact-item p{
        font-size:12px;
        line-height:1.5;
        word-break:break-word;
    }
}
.map-container iframe{
    filter: grayscale(100%) invert(110%) brightness(80%) contrast(110%);
}

.map-container{
    position: relative;
}

.map-container::after{
    content: "";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
   background: rgba(101, 177, 235, 0.18); /* azul oscuro elegante */
    pointer-events: none;
}


/* ESTILO BOTON WHATSAPP */

.whatsapp-btn{
    position:fixed;
    bottom:30px;
    right:30px;
    background:#25D366;
    color:white;
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    z-index:1000;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
    transition:0.3s;
}

.whatsapp-btn:hover{
    transform:scale(1.1);
}


/* ===== footer ===== */

footer {
    background: #000;
    color: white;
    padding: 40px 20px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

/* Logo */
.footer-logo {
    height: 80px;
    object-fit: contain;
}

/* Texto debajo del logo */
.footer-logo-text {
    margin-top: 10px;
    font-weight: 600;
    color: #65B1EB; /* azul de la web */
    font-size: 16px;
}

/* Títulos en azul */
.footer-title {
    color: #65B1EB; /* azul de la web */
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Centro: Contacto */
.footer-center {
    text-align: center;
}

.footer-center p {
    margin: 4px 0;
}

/* Derecha: Enlaces legales */
.footer-right ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-right ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-right ul li a:hover {
    opacity: 0.7;
}

/* Responsive */
@media(max-width:900px){
    .footer-container{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-left, .footer-center, .footer-right {
        flex: unset;
        width: 100%;
    }
    .footer-right ul {
        align-items: center;
    }
    .footer-logo {
        height: 60px;
    }
}



/* pagina SERVICIOS */

/* TEXTO DESTACADO DE SERVICIOS */
.service-highlight {
    font-size: 24px;        /* Tamaño legible */
     text-align: center;      /* CENTRADO */
    line-height: 1.3;       /* Más espacio entre líneas */
    color: #87A4AF;         /* Igual que el body principal */
    font-weight: 400;       /* Normal, no demasiado pesado */
    margin-top: 20px;       /* Separación del texto anterior */

}

@media (max-width: 900px){
    .service-highlight{
        font-size: 15px;
        line-height: 1.7;
        max-width: 100%;
    }
}

/* SERVICIOS DESTACADOS */
.split-text ul {
    list-style-type: disc;       /* puedes cambiar a decimal si quieres numeración */
    padding-left: 25px;           /* sangría para las viñetas */
    margin-top: 15px;             /* espacio arriba del listado */
    margin-bottom: 15px;          /* espacio abajo del listado */
    line-height: 1.8;             /* aumenta el espacio entre líneas */
}

.split-text ul li {
    margin-bottom: 12px;          /* espacio entre cada viñeta */
    font-size: 16px;               /* tamaño de texto legible */
}


/* ================= pagina especialidades ================= */

/* GRID FLEXIBLE PARA TARJETAS CENTRANDO LAS FILAS */
.service-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center; /* centra todas las filas y tarjetas */
    margin-top: 25px;
}

.service-card {
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 280px; /* ancho fijo para que el wrap funcione */
}

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

.service-card h4 {
    font-size: 18px;
    color: #0f172a; /* azul de la web */
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #1e293b;
}

/* Responsive */
@media(max-width:600px){
    .service-card {
        width: 100%; /* ocupan todo el ancho en móvil */
    }
}

/* ================= pagina metodologia ================= */

.section.advanced .split-image img {
    width: 100%;         /* ocupa todo el ancho del contenedor */
    max-width: 300px;    /* tamaño más pequeño */
    height: auto;        /* mantiene proporción */
    border-radius: 8px;
    opacity: 0.7;        /* transparencia al 70% */
    transition: 0.4s ease;
}

/* Responsive */
@media (max-width: 900px) {
    .section.advanced .split-container,
    .section.advanced .split-container.reverse {
        flex-direction: column;
    }

    .section.advanced .split-image img {
        max-width: 80%;    /* más grande en móvil */
        opacity: 0.7;      /* mantiene transparencia */
    }
}



/* FORMULARIO DE APLICACIÓN */
.application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.application-form label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #0f172a; /* azul oscuro */
}

.application-form input,
.application-form textarea {
    padding: 12px 15px;
    border: 1px solid #f4f5f7;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.application-form textarea {
    resize: vertical;
}

.application-form .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.application-form .form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.application-form .form-checkbox label {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #1d304e;
    cursor: pointer;
}

.application-form .form-checkbox label a {
    color: #3b82f6; /* azul corporativo */
    text-decoration: underline;
}

.application-form button {
    padding: 14px 40px;
    border: none;
    background-color: #3b82f6; /* azul corporativo */
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

.application-form button:hover {
    opacity: 0.8;
}

/* Responsive */
@media(max-width:900px){
    .application-form {
        gap: 15px;
    }
}

/* CONTENEDOR GENERAL PARA CENTRAR EL FORMULARIO */
.contact-section {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente si hay altura suficiente */
    padding: 60px 20px;      /* espacio superior e inferior */
    background-color: #ffffff; /* fondo blanco para la sección */
}

/* FORMULARIO DE CONTACTO */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
}

.contact-form label {
    font-weight: 600;
    color: #1e73be; /* azul web */
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact-form .checkbox-container a {
    color: #1e73be;
    text-decoration: none;
}

.contact-form .checkbox-container a:hover {
    text-decoration: underline;
}

.contact-form button {
    background-color: #1e73be;
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background-color: #155a94;
}

/* RESPONSIVE */
@media screen and (max-width: 900px) {
    .contact-section {
        padding: 40px 15px;
    }
}

@media(max-width:600px){
    header {
        height: 70vh;
    }

    .hero-text h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .hero-text h2 {
        font-size: 15px;
    }

    .hero-text{
        padding: 10px 15px;
    }
}


/* Por defecto en escritorio, ocultamos toggle */
.menu-toggle {
    display: none;
}

/* Oculta el menú normal y muestra el toggle en móviles */
@media(max-width:900px){
    nav ul {
        display: none;
        flex-direction: column;
        background: rgba(0,0,0,0.9);
        position: absolute;
        top: 100%;
        right: 0;
        width: 220px;
        padding: 20px;
        border-radius: 8px;
        gap: 10px;
        z-index: 9999;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li a {
        font-size: 16px;
        padding: 6px 0;
        display: block;
    }

    .menu-toggle {
        display: flex;
        font-size: 28px;
        color: white;
        cursor: pointer;
        z-index: 9999;
    }
}

/* ================= BOTÓN IDIOMA ================= */
/* lang-switcher moved to bottom */


/* ================= TEXTO JUSTIFICADO ================= */
p, .split-text p, .about-text p, .service-card p,
.legal-block p, .legal-block li {
    text-align: justify;
}

/* ================= BANDERAS + IDIOMA ================= */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
}

.lang-flags {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    border-radius: 5px;
    padding: 5px 10px;
}

.lang-flags img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    opacity: 0.85;
    transition: 0.2s;
    cursor: default;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.lang-flags img:hover {
    opacity: 1;
    transform: scale(1.15);
}

.lang-buttons {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
}

.lang-buttons button {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    border: none;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.lang-buttons button.active {
    background: #65B1EB;
    color: white;
}

.lang-buttons button:hover:not(.active) {
    background: rgba(255,255,255,0.2);
    color: white;
}

@media(max-width:900px){
    .lang-switcher {
        top: 12px;
        right: 12px;
        gap: 5px;
    }
    .lang-flags span {
        font-size: 15px;
    }
    .lang-flags {
        padding: 4px 6px;
    }
    .lang-buttons button {
        font-size: 11px;
        padding: 5px 9px;
    }
}

/* ================= SEDES (footer) ================= */
.footer-offices {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.footer-office {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 140px;
}

.footer-office-header {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 13px;
    color: #65B1EB;
    letter-spacing: 0.5px;
}

.footer-office-header img {
    width: 20px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.footer-office p {
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    text-align: center;
    color: #ccc;
}

@media(max-width:900px){
    .footer-offices {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* ================= INTERNACIONAL GROUP BADGE ================= */
.intl-badge {
    display: inline-block;
    margin-top: 18px;
    padding: 7px 20px;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.08);
}

/* ================= SERVICIOS CON IMAGEN ================= */
.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.service-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-list-item img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    opacity: 0.85;
}

.service-list-item-text strong {
    display: block;
    font-size: 15px;
    color: #1d304e;
    margin-bottom: 5px;
}

.service-list-item-text p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

@media(max-width:600px){
    .service-list-item {
        flex-direction: column;
        gap: 12px;
    }
    .service-list-item img {
        width: 100%;
        height: 160px;
    }
}


/* ================= SERVICIOS - TARJETAS CON ÍCONO ================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.service-icon-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 35px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-left: 4px solid #65B1EB;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-icon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

.service-icon-card .card-icon {
    font-size: 36px;
    color: #65B1EB;
    line-height: 1;
}

.service-icon-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1d304e;
    margin: 0;
    line-height: 1.3;
}

.service-icon-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin: 0;
    text-align: justify;
}

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


/* ================= BOTÓN HERO SERVICIOS ================= */
.hero-cta-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    padding: 13px 40px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.1);
    white-space: nowrap;
    z-index: 10;
}
.hero-cta-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: white;
}
@media(max-width:600px){
    .hero-cta-btn {
        font-size: 11px;
        padding: 10px 22px;
        letter-spacing: 1px;
        bottom: 25px;
    }
}


/* ================= FOOTER EMAIL CENTRADO ================= */
.footer-center > p {
    text-align: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #ccc;
}
