/* =========================================================
   MISR - STYLE.CSS COMPLETO
   Compatible con: index_MISR_solo_inicio.html
========================================================= */

:root {
    --azul-misr: #0c3958;
    --azul-oscuro: #07283f;
    --azul-medio: #2f5f80;
    --plata: #b8bec4;
    --gris-texto: #3f4b55;
    --blanco: #ffffff;
    --borde: rgba(12, 57, 88, 0.14);
}

/* =========================================================
   REINICIO GENERAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Montserrat", sans-serif;
    color: var(--azul-misr);
    background: var(--blanco);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   ENCABEZADO
========================================================= */

.site-header {
    width: 100%;
    background: var(--blanco);
}

.logo-container {
    min-height: 185px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 6%;
}

.logo-container a {
    display: inline-block;
}

.logo {
    width: 380px;
    max-width: 90vw;
    height: auto;
}

/* =========================================================
   MENÚ
========================================================= */

.menu {
    position: relative;
    width: 92%;
    min-height: 76px;
    margin: 0 auto;
    padding: 20px 24px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;

    background: var(--blanco);
}

.menu::before,
.menu::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--azul-oscuro) 0%,
        var(--azul-misr) 25%,
        var(--plata) 50%,
        var(--azul-misr) 75%,
        var(--azul-oscuro) 100%
    );
}

.menu::before {
    top: 0;
}

.menu::after {
    bottom: 0;
}

.menu a {
    position: relative;
    color: var(--azul-misr);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    white-space: nowrap;

    transition:
        color 0.22s ease,
        transform 0.22s ease;
}

.menu a:hover {
    color: var(--azul-medio);
    transform: translateY(-2px);
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;

    width: 0;
    height: 2px;

    background: var(--azul-misr);
    transform: translateX(-50%);
    transition: width 0.22s ease;
}

.menu a:hover::after {
    width: 100%;
}

/* =========================================================
   HERO PRINCIPAL
========================================================= */

.hero {
    
    position: relative;
    width: 100%;
    height: clamp(520px, 43vw, 820px);
    overflow: hidden;
    background: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 3;

    width: 46%;
    height: 100%;

    padding-left: 3%;
    padding-right: 2%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    box-sizing: border-box;
}

.hero-content h1 {
    margin: 0;

    color: #0c3958;

    font-size: clamp(38px, 3.65vw, 70px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.hero-content h1 span,
.hero-content h1 strong {
    display: block;
}

.hero-content h1 span {
    color: #233443;
}

.hero-content h1 strong {
    color: var(--azul-misr);
    font-weight: 800;
}

.hero-line {
    width: clamp(55px, 5vw, 92px);
    height: 3px;

    margin: clamp(16px, 1.4vw, 25px) 0;

    background: linear-gradient(
        90deg,
        #0c3958,
        #aeb8bf
    );
}

.hero-description {
    width: 90%;
    max-width: 720px;
    margin: 0;

    color: #3f4b55;

    font-size: clamp(13px, 1vw, 18px);
    line-height: 1.65;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    align-items: center;

    gap: clamp(14px, 1.5vw, 28px);

    margin-top: clamp(22px, 2vw, 36px);
}

/* =========================================================
   BOTONES PNG
========================================================= */

.image-button {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.image-button:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 14px rgba(12, 57, 88, 0.18));
}

.image-button img {
    display: block;

    width: clamp(145px, 12vw, 220px);
    height: auto;
}

/* =========================================================
   IMAGEN PRINCIPAL
========================================================= */

.hero-image {
     position: absolute;

    z-index: 1;

    top: 0;
    right: 0;

    width: 54%;
    height: 100%;

    overflow: hidden;
}

.hero-image::before {
    content: "";

    position: absolute;
    z-index: 2;

    top: 0;
    bottom: 0;
    left: 0;

    width: 30%;

    pointer-events: none;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.92) 20%,
        rgba(255, 255, 255, 0.55) 52%,
        rgba(255, 255, 255, 0) 100%
    );
}

.hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

/* =========================================================
   CARRUSEL HERO
========================================================= */

.hero {
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

.hero-slide.active {
    position: relative;

    width: 100%;
    height: 100%;

    opacity: 1;
    visibility: visible;
}

/* =========================================================
   FLECHAS DEL CARRUSEL
========================================================= */

.hero-arrow {
    position: absolute;
    z-index: 20;

    top: 50%;
    transform: translateY(-50%);

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(165, 170, 175, 0.90);
    color: #ffffff;
    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hero-arrow-prev {
    left: 18px;
}

.hero-arrow-next {
    right: 18px;
}

.hero-arrow:hover {
    background: #8f969c;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.hero-dots {
    position: absolute;
    z-index: 10;

    left: 50%;
    bottom: 22px;

    display: flex;
    gap: 10px;

    transform: translateX(-50%);
}

.hero-dot {
    width: 13px;
    height: 13px;

    padding: 0;

    border: 1px solid #0C3958;
    border-radius: 50%;

    background: #6d99d9;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.hero-dot:hover {
    transform: scale(1.12);
}

.hero-dot.active {
    background: #0C3958;
}
/* =========================================================
   FRANJA DE ICONOS DECORATIVOS
========================================================= */

.features{

    width:100%;

    padding:20px 2%;

    display:grid;

    grid-template-columns: repeat(6, minmax(0, 1fr));

    background:#F1F3F5;

    border-top:1px solid #d9dee3;

    border-bottom:1px solid #d9dee3;

}

.feature-item {
    min-width: 0;
    min-height: 250;
    padding: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
    border-right: 1px solid #d9dee3;
}

.feature-item:last-child {
    border-right: none;
}

.feature-item img {
    width: auto;
    height: auto;
    max-width: none;
    object-fit: contain;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Tamaño individual de cada icono */
.feature-item:nth-child(1) img {
    width: 180px;
}

.feature-item:nth-child(2) img {
    width: 180px;
}

.feature-item:nth-child(3) img {
    width: 180px;
}

.feature-item:nth-child(4) img {
    width: 180px;
}

.feature-item:nth-child(5) img {
    width: 180px;
}

.feature-item:nth-child(6) img {
    width: 230px;
}

.feature-item img:hover {
    transform: translateY(-4px);
    opacity: 0.97;
}

/* =========================================================
   PIE DE PÁGINA
========================================================= */

.site-footer {
    padding: 24px 7%;
    color: rgba(255, 255, 255, 0.78);
    background: var(--azul-oscuro);
    text-align: center;
    font-size: 13px;
}

/* =========================================================
   HEADER MÓVIL
========================================================= */

.mobile-header {
    display: none;
}

.hero-buttons-mobile {
    display: none;
}
/* =========================================================
   LAPTOPS
========================================================= */

@media (max-width: 1200px) {
    .logo {
        width: 340px;
    }

    .menu {
        width: 95%;
        justify-content: center;
        gap: 24px;
    }

    .menu a {
        font-size: 12.5px;
    }

    .hero {
        grid-template-columns: 50% 50%;
    }

    .hero-content {
        padding-left: 6%;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-item:nth-child(3) {
        border-right: none;
    }

    .feature-item:nth-child(-n + 3) {
        border-bottom: 1px solid #d9dee3;
    }
}

/* =========================================================
   TABLETAS
========================================================= */

@media (max-width: 900px) {
    .logo-container {
        min-height: 150px;
        justify-content: center;
        padding: 20px;
    }

    .logo {
        width: 310px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
        padding: 22px 16px;
    }

    .hero {
        display: block;
    }

    .hero-content {
        padding: 64px 7%;
    }

    .hero-content h1 {
        font-size: clamp(42px, 8vw, 64px);
    }

    .hero-image,
    .hero-image img {
        min-height: 430px;
    }

    .hero-image::before {
        width: 100%;
        height: 20%;
        inset: 0 0 auto 0;

        background: linear-gradient(
            180deg,
            var(--blanco) 0%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item {
        border-bottom: 1px solid #d9dee3;
    }

    .feature-item:nth-child(even) {
        border-right: none;
    }

    .feature-item:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

/* =========================================================
   CELULARES
========================================================= */

@media (max-width: 620px) {


    /* =========================================================
   CAMBIO DE HEADER EN CELULAR
========================================================= */

.site-header {
    display: none;
}

.mobile-header {
    display: block;
    width: 100%;
    background: #ffffff;
}

.mobile-header-top {
    position: relative;
    width: 100%;
    height: 125px;

    display: flex;
    align-items: center;

    padding: 0 22px;

    overflow: hidden;
    box-sizing: border-box;
}

/* LOGO */

.mobile-logo-link {
    position: relative;
    z-index: 5;

    display: block;
}

.mobile-logo {
    display: block;
    width: 210px;
    max-width: 60vw;
    height: auto;
}

/* ONDA DECORATIVA */

.mobile-header-dots {
    position: absolute;
    z-index: 1;

    top: 0;
    right: -80px;

    width: 300px;
    height: 125px;

    overflow: hidden;
    pointer-events: none;
}

.mobile-header-dots img {
    display: block;

    width: 300px;
    height: 125px;

    object-fit: cover;
    object-position: center;

    opacity: 0.75;
}

/* BOTÓN HAMBURGUESA */

.mobile-menu-toggle {
    position: absolute;
    z-index: 10;

    top: 72%;
    right: 22px;

    width: 40px;
    height: 40px;

    padding: 6px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    transform: translateY(-50%);

    border: none;
    background: rgba(255, 255, 255, 0.85);

    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 3px;

    background: #0C3958;
    border-radius: 3px;
}

 /* MENÚ MÓVIL */

.mobile-menu {
    display: none;

    width: 100%;

    padding: 6px 24px 18px;

    background: #ffffff;

    box-sizing: border-box;

    border-top: 1px solid #e1e5e8;
}

.mobile-menu.open {
    display: flex;

    flex-direction: column;
    align-items: stretch;
}

.mobile-menu a {
    display: block;

    width: 100%;

    padding: 15px 0;

    color: #0C3958;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;

    text-align: center;
    text-decoration: none;

    border-bottom: 1px solid #e1e5e8;

    box-sizing: border-box;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu-toggle span {
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.logo-container {
        min-height: 125px;
    }

    .logo {
        width: 250px;
    }

    .menu {
        width: 92%;
        gap: 13px 18px;
        padding: 20px 10px;
    }

    .menu a {
        font-size: 10.5px;
        letter-spacing: 0.25px;
    }
/* Botones originales: ocultos únicamente en celular */
.hero-content .hero-buttons {
    display: none;
}


/* Botones sobre la imagen */
.hero-buttons-mobile {
    position: absolute;
    z-index: 10;

    left: 50%;
    bottom: 48px;

    width: calc(100% - 32px);

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    transform: translateX(-50%);
}

.hero-buttons-mobile .image-button {
    flex: 1;
    max-width: 170px;
}

.hero-buttons-mobile .image-button img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}
    /* =========================================================
   HERO MÓVIL
========================================================= */

.hero {
    height: auto;
    min-height: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: auto;
}

.hero-slide.active {
    position: relative;

    width: 100%;
    height: auto;
}


/* TEXTO */

.hero-content {
    position: relative;

    width: 100%;
    height: auto;

    padding: 42px 24px 30px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    box-sizing: border-box;
}

.hero-content h1 {
    width: 100%;

    margin: 0;

    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.hero-line {
    width: 65px;
    height: 3px;

    margin: 18px 0;
}

.hero-description {
    width: 100%;
    max-width: none;

    font-size: 16px;
    line-height: 1.6;
}


/* BOTONES */



.image-button img {
    width: 145px;
    max-width: 42vw;
}


/* IMAGEN */

.hero-image {
    position: relative;

    top: auto;
    right: auto;

    width: 100%;
    height: 330px;

    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;

    min-height: 0;

    object-fit: cover;
    object-position: center;
}


/* QUITAMOS EL DEGRADADO LATERAL DE PC */

.hero-image::before {
    width: 100%;
    height: 18%;

    top: 0;
    right: 0;
    bottom: auto;
    left: 0;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* EN CELULAR SE OCULTAN LAS FLECHAS */


/* FLECHAS DEL CARRUSEL EN CELULAR */

.hero-arrow {
    width: 44px;
    height: 44px;
    font-size: 24px;

    top: 70%;
}

.hero-arrow-prev {
    left: 4px;
}

.hero-arrow-next {
    right: 4px;
}

/* PUNTOS DEL CARRUSEL */

.hero-dots {
    bottom: 14px;
}

    .features {
        grid-template-columns: 1fr;
        padding: 22px 24px;
    }

    .feature-item {
        min-height: 150px;
        border-right: none;
        border-bottom: 1px solid #d9dee3;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .feature-item:nth-child(1) img,
    .feature-item:nth-child(2) img,
    .feature-item:nth-child(3) img,
    .feature-item:nth-child(4) img,
    .feature-item:nth-child(5) img {
        width: 160px;
        height: auto;
    }

    .feature-item:nth-child(6) img {
        width: 190px;
        height: auto;
    }
}
/* =========================================================
   PÁGINA DE CONTACTO
========================================================= */

.contact-page {
    background: #ffffff;
}

.contact-section {
    position: relative;
    width: 100%;
    padding: 80px 6% 90px;
    overflow: hidden;
}

.contact-heading {
    max-width: 680px;
    margin: 0 auto 55px;
    text-align: center;
}

.contact-kicker {
    margin-bottom: 10px;
    color: var(--azul-medio);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.contact-heading h1 {
    color: var(--azul-misr);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
}

.contact-title-line {
    width: 55px;
    height: 3px;
    margin: 16px auto 20px;
    background: linear-gradient(
        90deg,
        var(--azul-misr),
        var(--plata)
    );
}

.contact-heading > p:last-child {
    color: var(--gris-texto);
    font-size: 15px;
    line-height: 1.7;
}

.contact-grid {
    position: relative;
    z-index: 1;

    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 31% 43% 26%;
    align-items: center;
    gap: 45px;
}

/* =========================================================
   INFORMACIÓN DE CONTACTO
========================================================= */

.contact-information {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(12, 57, 88, 0.18);
    border-radius: 50%;
}

.contact-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--azul-misr);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail span {
    display: block;
    margin-bottom: 5px;

    color: var(--azul-misr);
    font-size: 13px;
    font-weight: 800;
}

.contact-detail p {
    color: var(--gris-texto);
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   FORMULARIO
========================================================= */

.contact-form {
    padding: 30px;

    background: #ffffff;
    border: 1px solid rgba(12, 57, 88, 0.12);
    box-shadow: 0 15px 42px rgba(7, 40, 63, 0.07);

    margin-left: -75px;
    margin-right: auto;

    width: 103%;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 15px;

    color: var(--gris-texto);
    background: #ffffff;

    border: 1px solid #d8dfe5;
    border-radius: 3px;
    outline: none;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-field textarea {
    min-height: 145px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--azul-misr);
    box-shadow: 0 0 0 3px rgba(12, 57, 88, 0.08);
}

.contact-submit {
    min-width: 200px;
    padding: 15px 25px;

    color: #ffffff;
    background: var(--azul-misr);

    border: none;
    border-radius: 3px;
    cursor: pointer;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-submit:hover {
    background: var(--azul-oscuro);
    transform: translateY(-2px);
}

/* =========================================================
   MAPA DECORATIVO
========================================================= */

.contact-map {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: -70px;
    margin-right: auto;
}

.mexico-map{
    width:100%;
    max-width:340px;
    height:auto;

    opacity: .7;
}

/* =========================================================
   TABLETAS
========================================================= */

@media (max-width: 1050px) {

    .contact-grid {
        grid-template-columns: 40% 60%;
    }

    .contact-map {
        grid-column: 1 / -1;
    }

    .mexico-map {
        max-width: 300px;
    }
}

@media (max-width: 760px) {

    .contact-section {
        padding: 60px 7%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-information {
        order: 1;
    }

    .contact-form {
        order: 2;
        padding: 24px;
    }

    .contact-map {
        order: 3;
    }
}

/* =========================================================
   CELULARES
========================================================= */

@media (max-width: 520px) {

    .contact-heading {
        margin-bottom: 42px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-detail {
        grid-template-columns: 38px 1fr;
    }

    .contact-map {
        display: none;
    }
}
/* =========================================================
   DECORACIÓN DEL ENCABEZADO
========================================================= */

.logo-container{
    position:relative;
}

.header-dots{

    position:absolute;

    top:-35px;     /* <- prueba con este valor */
    right:0;

    width:750px;
    height:300px;

    overflow:hidden;

    pointer-events:none;
}

.header-dots img{

    display:block;

    width:750px;
    height:300px;

    object-fit:cover;

    opacity:.95;
}
/* =========================================================
   CUERPO DE LA PÁGINA SECTORES
========================================================= */

.sectores-page {
    width: 100%;
    background: #ffffff;
}


/* =========================================================
   BANNER SUPERIOR
========================================================= */

.sectores-hero {
    position: relative;
    width: 100%;
    min-height: 390px;
    overflow: hidden;
    background: var(--azul-oscuro);
}

.sectores-hero-image {
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center;
}

.sectores-hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7, 40, 63, 0.98) 0%,
        rgba(7, 40, 63, 0.84) 30%,
        rgba(7, 40, 63, 0.30) 65%,
        rgba(7, 40, 63, 0.10) 100%
    );
}

.sectores-hero-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 8%;

    max-width: 500px;

    color: #ffffff;
    transform: translateY(-56%);
}

.sectores-hero-content h1 {
    font-size: clamp(45px, 5vw, 72px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -2px;
}

.sectores-hero-line {
    width: 70px;
    height: 3px;
    margin: 22px 0 20px;

    background: linear-gradient(
        90deg,
        #ffffff,
        var(--plata)
    );
}

.sectores-hero-content p {
    max-width: 430px;

    font-size: 16px;
    line-height: 1.65;
}

.sectores-hero-wave {
    position: absolute;
    z-index: 4;
    left: -5%;
    bottom: -70px;

    width: 110%;
    height: 135px;

    background: #ffffff;

    border-radius: 50% 50% 0 0 / 55% 55% 0 0;

    transform: rotate(-1.5deg);
}


/* =========================================================
   TARJETAS
========================================================= */

.sectores-cards {
    width: 88%;
    max-width: 1300px;
    margin: -15px auto 0;
    padding: 20px 0 80px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;

    position: relative;
    z-index: 6;
}

.sector-card {
    min-height: 300px;
    padding: 36px 30px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 1px solid rgba(12, 57, 88, 0.12);

    text-align: center;

    box-shadow: 0 12px 34px rgba(7, 40, 63, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.sector-card:hover {
    transform: translateY(-7px);

    border-color: rgba(12, 57, 88, 0.28);

    box-shadow: 0 20px 45px rgba(7, 40, 63, 0.13);
}

.sector-card img {
    width: 105px;
    height: 105px;
    margin-bottom: 20px;

    object-fit: contain;
}

.sector-card h2 {
    margin-bottom: 14px;

    color: var(--azul-misr);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}

.sector-card p {
    max-width: 320px;

    color: var(--gris-texto);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   PROCESO
========================================================= */

.sectores-process {
    padding: 62px 6% 78px;

    background: #f5f7f9;
    border-top: 1px solid #e1e5e9;
}

.sectores-process-heading {
    max-width: 760px;
    margin: 0 auto 52px;

    text-align: center;
}

.sectores-process-heading h2 {
    margin-bottom: 12px;

    color: var(--azul-misr);
    font-size: clamp(29px, 3vw, 42px);
    font-weight: 800;
}

.sectores-process-heading p {
    color: var(--gris-texto);
    font-size: 15px;
    line-height: 1.75;
}

.process-line {
    position: relative;

    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.process-line::before {
    content: "";
    position: absolute;
    z-index: 0;

    top: 39px;
    left: 12.5%;

    width: 75%;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--azul-misr),
        var(--azul-medio),
        var(--azul-misr)
    );
}

.process-item {
    position: relative;
    z-index: 2;

    text-align: center;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 2px solid #d7dee5;
    border-radius: 50%;

    box-shadow: 0 8px 20px rgba(12, 57, 88, 0.08);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.process-item:hover .process-icon {
    transform: translateY(-5px);

    border-color: var(--azul-misr);

    box-shadow: 0 14px 28px rgba(12, 57, 88, 0.15);
}

.process-icon img {
    width: 40px;
    height: 40px;

    object-fit: contain;
}

.process-item span {
    display: block;
    margin-bottom: 5px;

    color: var(--azul-misr);
    font-size: 13px;
    font-weight: 800;
}

.process-item h3 {
    color: var(--azul-misr);
    font-size: 15px;
    font-weight: 800;
}


/* =========================================================
   CONTACTO FINAL
========================================================= */

.sectores-cta {
    position: relative;
    min-height: 210px;
    overflow: hidden;

    background: var(--azul-oscuro);
}

.sectores-cta-background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: left center;

    opacity: 0.85;
}

.sectores-cta::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7, 40, 63, 0.35),
        rgba(7, 40, 63, 0.82)
    );
}

.sectores-cta-content {
    position: relative;
    z-index: 2;

    min-height: 210px;
    padding: 45px 9%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.sectores-cta h2 {
    color: #ffffff;

    font-size: clamp(26px, 3vw, 41px);
    font-weight: 700;
    line-height: 1.25;
}

.sectores-cta-button {
    flex-shrink: 0;

    min-width: 210px;
    padding: 17px 28px;

    color: #ffffff;
    background: transparent;

    border: 1px solid #ffffff;
    border-radius: 3px;

    text-align: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    transition:
        color 0.22s ease,
        background 0.22s ease,
        transform 0.22s ease;
}

.sectores-cta-button:hover {
    color: var(--azul-misr);
    background: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .sectores-hero,
    .sectores-hero-image {
        min-height: 340px;
        height: 340px;
    }

    .sectores-cards {
        width: 88%;
    }

    .process-line {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 20px;
    }

    .process-line::before {
        display: none;
    }

    .sectores-cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {

    .sectores-hero,
    .sectores-hero-image {
        min-height: 350px;
        height: 350px;
    }

    .sectores-hero-content {
        left: 7%;
        right: 7%;
    }

    .sectores-hero-content h1 {
        font-size: 46px;
    }

    .sectores-cards {
        grid-template-columns: 1fr;
        padding-bottom: 60px;
    }

    .sector-card {
        min-height: 280px;
    }

    .process-line {
        grid-template-columns: 1fr;
    }

    .sectores-cta-content {
        padding: 42px 8%;
    }

    .sectores-cta-button {
        width: 100%;
    }
}
/* =========================================================
   PÁGINA QUIÉNES SOMOS
========================================================= */

.qs-page {
    width: 100%;
    background: #ffffff;
}


/* =========================================================
   BANNER
========================================================= */

.qs-banner {
    position: relative;
    width: 100%;
    height: 330px;
    overflow: hidden;
    background: #07283f;
}

.qs-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.qs-banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7, 40, 63, 0.98) 0%,
        rgba(7, 40, 63, 0.88) 24%,
        rgba(7, 40, 63, 0.58) 48%,
        rgba(7, 40, 63, 0.20) 75%,
        rgba(7, 40, 63, 0.08) 100%
    );
}

.qs-banner-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 6%;

    color: #ffffff;
    transform: translateY(-50%);
}

.qs-banner-content h1 {
    margin: 0;

    font-size: clamp(40px, 4.2vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;
}

.qs-title-line {
    width: 72px;
    height: 4px;
    margin: 20px 0 20px;

    background: linear-gradient(
        90deg,
        #2d9be8,
        #ffffff
    );
}

.qs-banner-content p {
    margin: 0;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}


/* =========================================================
   PRESENTACIÓN
========================================================= */

.qs-company {
    width: 88%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 55px 0 38px;

    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 54px;
    align-items: center;
}

.qs-company-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    border-right: 1px solid rgba(12, 57, 88, 0.25);
}

.qs-logo-rings {
    position: relative;

    width: 220px;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.qs-logo-rings::before,
.qs-logo-rings::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.qs-logo-rings::before {
    inset: 3px;

    border: 2px dotted rgba(53, 145, 214, 0.42);
}

.qs-logo-rings::after {
    inset: 15px;

    border: 2px dotted rgba(53, 145, 214, 0.28);
}

.qs-logo-rings img {
    position: relative;
    z-index: 2;

    width: 165px;
    height: 165px;

    object-fit: contain;
}

.qs-company-text {
    max-width: 900px;
}

.qs-company-text p {
    margin: 0 0 20px;

    color: #263846;
    font-size: 16px;
    line-height: 1.8;
}

.qs-company-text p:last-child {
    margin-bottom: 0;
}

.qs-company-text strong {
    color: #0c3958;
    font-weight: 800;
}


/* =========================================================
   MISIÓN Y VISIÓN
========================================================= */

.qs-mission-vision {
    width: 88%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 32px 56px;

    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 56px;
    align-items: stretch;

    background: linear-gradient(
        90deg,
        #f5f8fb,
        #eef4f8,
        #f5f8fb
    );

    border: 1px solid rgba(12, 57, 88, 0.06);
}

.qs-central-divider {
    width: 1px;
    min-height: 130px;

    background: rgba(12, 57, 88, 0.25);
}

.qs-institutional-block {
    padding: 0 8px;
}

.qs-institutional-block h2 {
    margin: 0;

    color: #0c3958;
    font-size: 23px;
    font-weight: 800;
}

.qs-heading-line {
    width: 44px;
    height: 3px;
    margin: 9px 0 13px;

    background: #2797df;
}

.qs-institutional-block p {
    margin: 0;

    color: #263846;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   VALORES
========================================================= */

.qs-values {
    width: 88%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 16px 0 64px;
}

.qs-values-heading {
    margin-bottom: 20px;
    text-align: center;
}

.qs-values-heading h2 {
    margin: 0;

    color: #0c3958;
    font-size: 25px;
    font-weight: 800;
}

.qs-values-title-line {
    width: 48px;
    height: 3px;
    margin: 8px auto 0;

    background: #2797df;
}

.qs-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.qs-value-card {
    min-height: 142px;
    padding: 20px 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid rgba(12, 57, 88, 0.13);
    border-radius: 4px;

    text-align: center;

    box-shadow: 0 5px 16px rgba(7, 40, 63, 0.035);

    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.qs-value-card:hover {
    transform: translateY(-5px);

    border-color: rgba(12, 57, 88, 0.27);

    box-shadow: 0 13px 26px rgba(7, 40, 63, 0.09);
}

.qs-value-card h3 {
    margin: 0 0 10px;

    color: #0c3958;
    font-size: 15px;
    font-weight: 800;
}

.qs-value-card p {
    margin: 0;

    color: #3f4b55;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 23px 7%;

    color: rgba(255, 255, 255, 0.85);
    background: #07283f;

    text-align: center;
    font-size: 13px;
}


/* =========================================================
   RESPONSIVE: TABLETAS
========================================================= */

@media (max-width: 900px) {

    .qs-banner {
        height: 300px;
    }

    .qs-banner-content {
        left: 7%;
    }

    .qs-company {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qs-company-logo {
        border-right: none;
        border-bottom: 1px solid rgba(12, 57, 88, 0.18);
        padding-bottom: 30px;
    }

    .qs-company-text {
        text-align: center;
    }

    .qs-mission-vision {
        padding: 35px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .qs-central-divider {
        width: 100%;
        min-height: 1px;
        height: 1px;
    }

    .qs-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE: CELULARES
========================================================= */

@media (max-width: 620px) {

    .qs-banner {
        height: 270px;
    }

    .qs-banner-content {
        right: 7%;
    }

    .qs-banner-content h1 {
        font-size: 39px;
    }

    .qs-banner-content p {
        font-size: 15px;
    }

    .qs-company {
        width: 86%;
        padding-top: 42px;
    }

    .qs-logo-rings {
        width: 190px;
        height: 190px;
    }

    .qs-logo-rings img {
        width: 140px;
        height: 140px;
    }

    .qs-company-text p {
        font-size: 14px;
    }

    .qs-mission-vision {
        width: 88%;
        padding: 30px 24px;
    }

    .qs-values {
        width: 88%;
        padding-bottom: 50px;
    }

    .qs-values-grid {
        grid-template-columns: 1fr;
    }

    .qs-value-card {
        min-height: 125px;
    }
}
/* =========================================================
   PÁGINA DE SERVICIOS
========================================================= */

.servicios-page {
    width: 100%;
    background: #ffffff;
}


/* =========================================================
   BANNER PRINCIPAL
========================================================= */

.servicios-banner {
    position: relative;
    width: 100%;
    height: 335px;
    overflow: hidden;
    background: #07283f;
}

.servicios-banner-image {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.servicios-banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7, 40, 63, 0.99) 0%,
        rgba(7, 40, 63, 0.95) 23%,
        rgba(7, 40, 63, 0.76) 44%,
        rgba(7, 40, 63, 0.28) 70%,
        rgba(7, 40, 63, 0.08) 100%
    );
}

.servicios-banner-content {
    position: absolute;
    z-index: 2;

    top: 50%;
    left: 5%;

    max-width: 650px;

    color: #ffffff;

    transform: translateY(-50%);
}

.servicios-banner-content h1 {
    margin: 0;

    font-size: clamp(43px, 4.5vw, 68px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.7px;
}

.servicios-banner-line {
    width: 75px;
    height: 4px;

    margin: 22px 0 20px;

    background: linear-gradient(
        90deg,
        #2797df,
        #ffffff
    );
}

.servicios-banner-content p {
    max-width: 590px;
    margin: 0;

    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
}


/* =========================================================
   INTRODUCCIÓN
========================================================= */

.servicios-intro {
    max-width: 900px;

    margin: 0 auto;
    padding: 44px 30px 36px;

    text-align: center;
}

.servicios-intro h2 {
    margin: 0;

    color: #0c3958;

    font-size: clamp(31px, 3vw, 44px);
    font-weight: 800;
    letter-spacing: -0.7px;
}

.servicios-intro-line {
    width: 46px;
    height: 3px;

    margin: 12px auto 14px;

    background: #2797df;
}

.servicios-intro p {
    max-width: 850px;
    margin: 0 auto;

    color: #3f4b55;

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   CUADRÍCULA
========================================================= */

.servicios-grid {
    width: 94%;
    max-width: 1780px;

    margin: 0 auto;
    padding: 8px 0 58px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   TARJETAS
========================================================= */

.servicio-card {
    position: relative;

    min-height: 330px;
    padding: 27px 22px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(12, 57, 88, 0.14);
    border-radius: 5px;

    box-shadow: 0 7px 20px rgba(7, 40, 63, 0.055);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.servicio-card:hover {
    transform: translateY(-6px);

    border-color: rgba(12, 57, 88, 0.29);

    box-shadow: 0 17px 35px rgba(7, 40, 63, 0.11);
}


/* Desactiva degradados viejos */

.servicio-card::before,
.servicio-card::after {
    content: none;
}


/* =========================================================
   CONTENIDO DE LAS TARJETAS
========================================================= */

.servicio-card-content {
    position: relative;
    z-index: 3;

    width: 61%;
}

.servicio-card h2 {
    min-height: 43px;
    margin: 0;

    color: #0c3958;

    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.servicio-card-line {
    width: 42px;
    height: 3px;

    margin: 10px 0 15px;

    background: #2797df;
}

.servicio-card ul {
    margin: 0;
    padding-left: 17px;
}

.servicio-card li {
    margin-bottom: 8px;

    color: #263846;

    font-size: 13px;
    line-height: 1.55;
}

.servicio-card li:last-child {
    margin-bottom: 0;
}

.servicio-card li::marker {
    color: #0c3958;
}


/* =========================================================
   IMÁGENES
   Grandes, abajo a la derecha y desvanecidas únicamente
   hacia arriba y hacia la izquierda.
========================================================= */

/* =========================================================
   IMÁGENES
========================================================= */

.servicio-card-image {
    position: absolute;
    z-index: 1;

    right: 0;
    bottom: 0;

    width: 58%;
    height: 82%;

    object-fit: cover;
    object-position: right bottom;

    opacity: 1;

    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.18) 14%,
            rgba(0, 0, 0, 0.55) 30%,
            rgba(0, 0, 0, 0.88) 46%,
            #000 62%,
            #000 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.18) 13%,
            rgba(0, 0, 0, 0.58) 29%,
            rgba(0, 0, 0, 0.90) 45%,
            #000 61%,
            #000 100%
        );

    -webkit-mask-composite: source-in;

    mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.18) 14%,
            rgba(0, 0, 0, 0.55) 30%,
            rgba(0, 0, 0, 0.88) 46%,
            #000 62%,
            #000 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.18) 13%,
            rgba(0, 0, 0, 0.58) 29%,
            rgba(0, 0, 0, 0.90) 45%,
            #000 61%,
            #000 100%
        );

    mask-composite: intersect;

    transition: transform 0.35s ease;
}

.servicio-card:hover .servicio-card-image {
    transform: scale(1.025);
}


/* Elimina cualquier capa blanca anterior */

.servicio-card::before,
.servicio-card::after {
    content: none;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 24px 7%;

    color: rgba(255, 255, 255, 0.86);
    background: #07283f;

    text-align: center;
    font-size: 13px;
}


/* =========================================================
   PANTALLAS MEDIANAS
========================================================= */

@media (max-width: 1350px) {

    .servicios-grid {
        width: 91%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* =========================================================
   LAPTOPS Y TABLETAS
========================================================= */

@media (max-width: 1050px) {

    .servicios-grid {
        width: 88%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .servicio-card {
        min-height: 330px;
    }

    .servicio-card-image {
        width: 58%;
    }
}


/* =========================================================
   TABLETAS PEQUEÑAS
========================================================= */

@media (max-width: 760px) {

    .servicios-banner {
        height: 305px;
    }

    .servicios-banner-content {
        right: 7%;
        left: 7%;
    }

    .servicios-banner-content h1 {
        font-size: 45px;
    }

    .servicios-banner-content p {
        max-width: 500px;
        font-size: 16px;
    }

    .servicios-grid {
        width: 88%;
        grid-template-columns: 1fr;
    }

    .servicio-card {
        min-height: 325px;
    }

    .servicio-card-image {
        width: 57%;
    }
}


/* =========================================================
   CELULARES
========================================================= */

@media (max-width: 520px) {

    .servicios-banner {
        height: 280px;
    }

    .servicios-banner-content h1 {
        font-size: 37px;
    }

    .servicios-banner-content p {
        font-size: 14px;
    }

    .servicios-intro {
        padding: 38px 22px 30px;
    }

    .servicios-grid {
        width: 90%;
        gap: 18px;
    }

    .servicio-card {
        min-height: 380px;
        padding: 25px 21px;
    }

    .servicio-card-content {
        width: 100%;
    }

    .servicio-card h2 {
        min-height: auto;
        padding-right: 10px;
    }

    .servicio-card ul {
        max-width: 72%;
    }

    .servicio-card-image {
        width: 70%;
        height: 67%;

        object-position: right bottom;

        -webkit-mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0, 0, 0, 0.20) 12%,
                rgba(0, 0, 0, 0.65) 28%,
                #000000 46%,
                #000000 100%
            ),
            linear-gradient(
                to bottom,
                transparent 0%,
                rgba(0, 0, 0, 0.20) 12%,
                rgba(0, 0, 0, 0.65) 28%,
                #000000 46%,
                #000000 100%
            );

        mask-image:
            linear-gradient(
                to right,
                transparent 0%,
                rgba(0, 0, 0, 0.20) 12%,
                rgba(0, 0, 0, 0.65) 28%,
                #000000 46%,
                #000000 100%
            ),
            linear-gradient(
                to bottom,
                transparent 0%,
                rgba(0, 0, 0, 0.20) 12%,
                rgba(0, 0, 0, 0.65) 28%,
                #000000 46%,
                #000000 100%
            );
    }
}

/* =========================================================
   REDES SOCIALES - FOOTER
========================================================= */

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.social-link {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;

    color: #ffffff;
    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.social-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
    transform: translateY(-2px);
}