.hero-section {
    position: relative;
    display: flex;
    width: auto;
    min-height: 550px;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    height: calc(100vh - 100px);
}


/* =========================
   LADO IZQUIERDO
========================= */

.hero-left {
    position: relative;
    width: 65%;
    background: linear-gradient( 90deg, #046b77 0%, #0aa39a 100%);
    display: flex;
    align-items: center;
    padding: 80px 5%;
    z-index: 2;
    /* FORMA EN PUNTA */
    clip-path: polygon(100% 0, 80% 50%, 100% 100%, 0 100%, 0 0);
}

.hero-content {
    max-width: 520px;
    color: white;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-content h1 span {
    color: #35d39c;
}

.hero-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 450px;
    margin-bottom: 40px;
}


/* =========================
   BOTONES
========================= */

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    min-width: 170px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.btn-primary {
    background: #53c7ef;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, .7);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .1);
}


/* =========================
   LADO DERECHO
========================= */

.hero-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: linear-gradient( rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url(../assets/img/servicios-personal.jpg);
    background-size: cover;
    background-position: center;
}


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

@media screen and (max-width: 960px) {
    .hero-section {
        min-height: 700px;
    }
    .hero-left {
        width: 85%;
        clip-path: polygon(100% 0, 80% 50%, 100% 100%, 0 100%, 0 0);
        padding: 120px 30px 80px;
    }
    .hero-right {
        width: 35%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}


/* Sección 3*/


/* =========================
   CONTENEDOR
========================= */

.about-section {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
}


/* =========================
   CAPAS DE FONDO
========================= */

.about-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    background: linear-gradient( 135deg, #046b77 0%, #0aa39a 100%);
    clip-path: polygon( 0 0, 100% 0, 78% 100%, 0 100%);
}

.about-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: linear-gradient( rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)), url('../assets/img/servicios-personal.jpg');
    background-size: cover;
    background-position: center;
}


/* =========================
   CONTENIDO
========================= */

.about-content {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
}

.about-content>.row>div {
    display: flex;
}

.about-right-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


/* =========================
   TEXTO IZQUIERDO
========================= */


/* =========================
   DIVIDER
========================= */

.about-divider {
    width: 120px;
    height: 4px;
    background-color: #9e9e9e;
    margin-bottom: 20px;
}


/* =========================
   LADO DERECHO
========================= */

.about-right-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


/* =========================
   IMAGEN
========================= */

.about-image-col {
    position: relative;
}

.about-floating-image {
    bottom: 0;
    left: 0;
    width: 150%;
    z-index: 5;
    margin-left: -50%;
    height: auto;
}


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

.about-card {
    border-radius: 40px!important;
    opacity: 0.9;
}


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

@media screen and (max-width: 960px) {
    .about-section {
        min-height: auto;
    }
    .about-left {
        width: 92%;
        clip-path: polygon( 0 0, 96% 0, 82% 100%, 0 100%);
    }
    .about-right-content {
        min-height: auto;
        padding-bottom: 40px;
    }
    .about-left-content {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    .about-image-col {
        justify-content: center;
        margin-bottom: 30px;
    }
    .about-floating-image {
        max-width: 240px;
    }
}


/* =================================================================
   SECCIÓN 4 — COBERTURA OPERATIVA (mapa + cards + fondo puerto)
================================================================= */

.coverage-section {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    min-height: 620px;
    isolation: isolate;
    background: #ffffff;
}

/* Imagen de fondo del puerto */
.coverage-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.coverage-bg picture,
.coverage-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay blanco → transparente de izquierda a derecha */
.coverage-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 30%,
        rgba(255, 255, 255, 0.92) 45%,
        rgba(255, 255, 255, 0.65) 60%,
        rgba(255, 255, 255, 0.25) 80%,
        rgba(255, 255, 255, 0) 100%
    );
}

.coverage-inner {
    position: relative;
    z-index: 2;
    padding: 70px 5%;
    width: 100%;
    height: 100%;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: center;
}

/* ---- Lado izquierdo ---- */
.coverage-left .eyebrow {
    color: #1ec6b6;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.coverage-title {
    font-family: "Poppins", "Inter", sans-serif;
    font-weight: 200;
    font-size: clamp(1.9rem, 3.2vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #1a2330;
    margin: 0 0 35px;
}

.coverage-title .text-accent {
    color: #149185;
    font-weight: 700;
}

/* Mapa de México */
.mexico-map {
    width: 100%;
    max-width: 580px;
    margin-left: -10px;
}

.mexico-map svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

/* ===== Animaciones del mapa ===== */

/* Halo pulsante de los nodos de puertos */
.port-node__halo {
    transform-origin: center;
    transform-box: fill-box;
    animation: portHaloPulse 2.6s ease-in-out infinite;
    animation-delay: var(--port-delay, 0s);
}

.port-node__core {
    transform-origin: center;
    transform-box: fill-box;
    filter: drop-shadow(0 0 6px rgba(30, 198, 182, 0.65));
    animation: portCorePulse 2.6s ease-in-out infinite;
    animation-delay: var(--port-delay, 0s);
}

@keyframes portHaloPulse {
    0%, 100% { transform: scale(0.55); opacity: 0.35; }
    50%      { transform: scale(1.25); opacity: 1; }
}

@keyframes portCorePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.18); }
}

/* Deriva sutil de un subconjunto de nodos de la red */
.mexico-svg .mesh-dots .drift {
    transform-origin: center;
    transform-box: fill-box;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.mexico-svg .mesh-dots .drift-0 { animation-name: drift-0; animation-duration: 9s; }
.mexico-svg .mesh-dots .drift-1 { animation-name: drift-1; animation-duration: 11s; animation-delay: -2.5s; }
.mexico-svg .mesh-dots .drift-2 { animation-name: drift-2; animation-duration: 7.5s; animation-delay: -4s; }
.mexico-svg .mesh-dots .drift-3 { animation-name: drift-3; animation-duration: 10s; animation-delay: -1s; }
.mexico-svg .mesh-dots .drift-4 { animation-name: drift-4; animation-duration: 13s; animation-delay: -6s; }

@keyframes drift-0 {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(2px, -1.5px); }
    50%      { transform: translate(-1px, 2px); }
    75%      { transform: translate(-2px, -1px); }
}
@keyframes drift-1 {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(-1.8px, 1.5px); }
    66%      { transform: translate(1.5px, 1.6px); }
}
@keyframes drift-2 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(2.2px, 1px); }
}
@keyframes drift-3 {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(1px, -2px); }
    75%      { transform: translate(-1.6px, 0.8px); }
}
@keyframes drift-4 {
    0%, 100% { transform: translate(0, 0); }
    40%      { transform: translate(-2px, -1.5px); }
    70%      { transform: translate(1.4px, -2px); }
}

/* "Pings" — ondas expansivas desde nodos aleatorios */
.mexico-svg .mesh-pings .ping {
    transform-origin: center;
    transform-box: fill-box;
    opacity: 0;
    animation: meshPing 6s ease-out infinite;
}

@keyframes meshPing {
    0%   { transform: scale(0.3); opacity: 0; stroke-width: 0.8; }
    8%   { opacity: 0.9; }
    100% { transform: scale(9); opacity: 0; stroke-width: 0.2; }
}

/* Animación sutil de "respiración" en las líneas */
.mexico-svg .mesh-lines {
    animation: meshBreath 7s ease-in-out infinite;
}

@keyframes meshBreath {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.78; }
}

/* Accesibilidad: respetar prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .mexico-svg .mesh-dots .drift,
    .mexico-svg .mesh-pings .ping,
    .mexico-svg .mesh-lines,
    .port-node__halo,
    .port-node__core {
        animation: none;
    }
}

/* ---- Lado derecho: cards ---- */
.coverage-right {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-width: 420px;
    margin-left: auto;
    width: 100%;
}

.port-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(10, 74, 85, 0.10);
    color: #1a2330;
    font-weight: 700;
    font-size: 1.02rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.port-card:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 28px rgba(10, 74, 85, 0.16);
    color: #1a2330;
}

.port-card__name {
    line-height: 1;
}

/* Círculo verde con efecto de pulsación */
.port-card__dot {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1ec6b6;
    flex-shrink: 0;
}

.port-card__dot::before,
.port-card__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(30, 198, 182, 0.55);
    animation: dotPulse 2s ease-out infinite;
}

.port-card__dot::after {
    animation-delay: 1s;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    80% {
        transform: scale(2.8);
        opacity: 0;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

/* Botón "Contactar" */
.coverage-contact-btn {
    align-self: flex-end;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    color: #1a2330;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(10, 74, 85, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.coverage-contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(10, 74, 85, 0.16);
    color: #1a2330;
}

.coverage-contact-btn__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1ec6b6;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.25s ease;
}

.coverage-contact-btn:hover .coverage-contact-btn__arrow {
    background: #16a596;
}

/* ---- Responsive cobertura ---- */
@media screen and (max-width: 960px) {
    .coverage-section {
        min-height: auto;
    }
    .coverage-inner {
        padding: 60px 6%;
    }
    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .coverage-overlay {
        background: linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 50%,
            rgba(255, 255, 255, 0.7) 75%,
            rgba(255, 255, 255, 0.1) 100%
        );
    }
    .mexico-map {
        max-width: 100%;
        margin: 0 auto;
    }
    .coverage-right {
        max-width: 100%;
        margin-left: 0;
    }
}


/* =================================================================
   SOPORTE INMEDIATO — Banner con bordes redondeados y degradado
================================================================= */

.support {
    position: relative;
    border-radius: 40px;
    margin: 30px 2% 30px;
    overflow: hidden;
    isolation: isolate;
    padding: 80px 6%;
    min-height: 360px;
    display: flex;
    align-items: center;
}

.support__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

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

/* Overlay turquesa → transparente */
.support::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(4, 107, 119, 0.92) 0%,
        rgba(10, 163, 154, 0.78) 35%,
        rgba(30, 198, 182, 0.45) 60%,
        rgba(30, 198, 182, 0.18) 80%,
        rgba(30, 198, 182, 0) 100%
    );
}

.support__inner {
    max-width: 620px;
    position: relative;
    z-index: 1;
}

.support__inner h2 {
    font-family: "Poppins", "Inter", sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw + 0.8rem, 2.8rem);
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.1;
}

.support__inner p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 26px;
    font-size: 1rem;
    max-width: 440px;
}

.support .btn-h--primary {
    background: #ffffff;
    color: #0a4a55;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.support .btn-h--primary:hover {
    background: #f0fbfa;
    color: #0a4a55;
    transform: translateY(-1px);
}

@media screen and (max-width: 960px) {
    .support {
        padding: 60px 8%;
        margin: 20px 2%;
    }
    .support::before {
        background: linear-gradient(
            180deg,
            rgba(4, 107, 119, 0.92) 0%,
            rgba(10, 163, 154, 0.72) 60%,
            rgba(30, 198, 182, 0.35) 100%
        );
    }
}

/* =========================
   HERO INFO BANNER
========================= */
.hero-infobanner {
    position: relative;
    z-index: 10;
    margin-top: -90px;
    background: rgba(4, 35, 45, 0.93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: stretch;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
    min-height: 90px;
}

.hero-infobanner__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    flex: 1;
}

.hero-infobanner__item--main {
    flex: 1.5;
    background: rgba(30, 198, 182, 0.10);
    border-right: 1px solid rgba(30, 198, 182, 0.18);
}

.hero-infobanner__item--last {
    gap: 10px;
}

.hero-infobanner__divider {
    width: 1px;
    background: rgba(255,255,255,0.12);
    align-self: stretch;
    margin: 14px 0;
}

.hero-infobanner__icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30,198,182,0.15);
    border: 1px solid rgba(30,198,182,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-infobanner__icon-wrap--circle {}

.hero-infobanner__badge {
    font-size: 0.65rem;
    font-weight: 800;
    color: #1ec6b6;
    letter-spacing: 0.5px;
    line-height: 1;
}

.hero-infobanner__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hero-infobanner__eyebrow {
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

.hero-infobanner__highlight {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1ec6b6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-infobanner__sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.2;
    margin-top: 2px;
}

.hero-infobanner__value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.hero-infobanner__label {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.2;
}

.hero-infobanner__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1ec6b6;
    color: #042329;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-left: auto;
}

.hero-infobanner__btn:hover {
    background: #25dece;
    transform: translateX(2px);
    color: #042329;
}

@media screen and (max-width: 960px) {
    .hero-infobanner {
        flex-wrap: wrap;
        border-radius: 0 0 20px 20px;
    }
    .hero-infobanner__item {
        flex: 0 0 48%;
        padding: 12px 14px;
    }
    .hero-infobanner__divider {
        display: none;
    }
    .hero-infobanner__btn {
        display: none;
    }
}
