/* =================================================================
   STYLES OVERRIDES — Carga al FINAL, gana a styles.css y styles_new.css.
   Aquí viven las correcciones que necesitan precedencia absoluta.
================================================================= */

/* =================================================================
   0. GLOBAL — sin scroll horizontal + scroll suave
================================================================= */
html, body {
    overflow-x: hidden !important;
    max-width: 100%;
}

/* =================================================================
   0A. QUITAR ASPECTO DE CARD EN TODAS LAS SECCIONES
   .margin-default en styles.css tiene border-radius:40px + box-shadow
   que hace que hero, nosotros y cobertura parezcan tarjetas flotantes.
   Lo neutralizamos aquí.
================================================================= */
.margin-default {
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}
/* Header: restaurar pill redondeado (sobreescribimos el 0 anterior) */
.site-header {
    border-radius: 999px !important;
}
/* Services y why: padding lateral igual al resto, sin card */
.services {
    padding-left: 4% !important;
    padding-right: 4% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.why {
    padding-left: 4% !important;
    padding-right: 4% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
/* El .container de Bootstrap dentro de services y why
   debe ocupar el 100% del espacio ya acotado, no limitar más */
.services > .container,
.why > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Quitar border-radius de about-section que también lo tenía */
.about-section,
.about-left,
.about-right {
    border-radius: 0 !important;
}
/* Quitar border-radius del hero */
.hero-section,
.hero-left,
.hero-right {
    border-radius: 0 !important;
}
/* Hacer que section services quepa en viewport reduciendo padding vertical */
.services {
    padding-top: clamp(1.5rem, 3vh, 2.5rem) !important;
    padding-bottom: clamp(1.5rem, 3vh, 2.5rem) !important;
}
.services__bottom {
    margin-top: 1rem !important;
}
/* Reducir encabezado de servicios para que quede más compacto */
.services__head {
    margin-bottom: 1rem !important;
}
.services__head .section-title {
    font-size: clamp(1.4rem, 2vw + 0.6rem, 2rem) !important;
    margin-bottom: 0.4rem !important;
}
.services__lead {
    font-size: 0.9rem !important;
    margin-bottom: 0.4rem !important;
}

/* =================================================================
   0C. SUPPORT BANNER — texto alineado a la izquierda
================================================================= */
.support--parallax .container.support__inner {
    margin-left: 0 !important;
    margin-right: auto !important;
    width: auto !important;
    max-width: 620px !important;
    padding-left: 5% !important;
}
.support--parallax .support__inner h2,
.support--parallax .support__inner p {
    text-align: left !important;
}

/* =================================================================
   0D. ANIMACIONES PREMIUM DE SCROLL — visibles y dramáticas
================================================================= */

/* AOS: override de offset y timing para que arranque más tarde y se vea */
[data-aos] {
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    transition-duration: 900ms !important;
}

/* Duraciones diferenciales por elemento */
.service-card[data-aos]        { transition-duration: 800ms !important; }
.why-card[data-aos]            { transition-duration: 850ms !important; }
.about-left-content[data-aos]  { transition-duration: 1000ms !important; }
.about-right-content[data-aos] { transition-duration: 1000ms !important; }
.coverage-left[data-aos]       { transition-duration: 1000ms !important; }
.coverage-right[data-aos]      { transition-duration: 1000ms !important; }

/* ── Animaciones personalizadas extra (encima de AOS) ── */

/* Sección SERVICIOS: título se desvanece desde arriba */
.services__head {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.services__head.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Sección NOSOTROS: línea crece y texto llega con bounce */
.about-divider {
    width: 0 !important;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s !important;
}
.about-left-content.aos-animate .about-divider {
    width: 64px !important;
}

/* Sección SOPORTE: título con efecto clip reveal */
.support__inner h2 {
    overflow: hidden;
}

/* Hover elevación en port-cards */
.port-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease,
                background 0.3s ease !important;
}
.port-card:hover {
    transform: translateX(10px) scale(1.03) !important;
    box-shadow: 0 12px 32px rgba(7,56,66,0.22) !important;
}

/* Certificaciones: rotan al entrar */
[data-aos="zoom-in"] {
    transition-duration: 700ms !important;
}

/* Badge 24/7 — pill redondeado, sin flash */
.badge-247 {
    border-radius: 999px !important;
    background: rgba(30,198,182,0.10) !important;
    padding: 4px 12px !important;
    animation: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(30,198,182,0.25) !important;
}
.badge-247__dot {
    animation: dotPulse 2.4s ease-in-out infinite !important;
    box-shadow: none !important;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

/* Shine en botones primarios */
.btn-h--primary { overflow: hidden; }
.btn-h--primary::after {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.btn-h--primary:hover::after {
    animation: btnShine 0.6s ease forwards;
}
@keyframes btnShine { to { left: 130%; } }

/* ── Entrada por sección al cruzar viewport ── */
section:not(.hero-section) {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
                transform 1s cubic-bezier(0.16,1,0.3,1);
}
section.sect-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.hero-section, section.hero-section {
    opacity: 1 !important;
    transform: none !important;
}

/* ── Efectos adicionales específicos por sección ── */

/* Servicios: header llega desde arriba */
.services__head {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s,
                transform 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s;
}
.services__head.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Nosotros: línea decorativa crece desde la izquierda */
.about-divider {
    width: 0 !important;
    transition: width 1s cubic-bezier(0.16,1,0.3,1) 0.5s !important;
}
.about-left-content.aos-animate .about-divider {
    width: 64px !important;
}

/* Cards de servicio: escala leve al entrar */
.service-card {
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.4s ease,
                opacity 0.4s ease !important;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.015) !important;
    box-shadow: 0 20px 50px rgba(7,56,66,0.16) !important;
}

/* Why cards: hover con efecto de elevación pronunciado */
.why-card:not(.why-card--hero):hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 24px 48px rgba(7,56,66,0.14) !important;
}

/* Port cards: deslizamiento lateral con línea de acento */
.port-card {
    position: relative;
    overflow: hidden;
}
.port-card::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 3px; height: 60%;
    background: var(--color-accent, #1ec6b6);
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
    transform-origin: center top;
}
.port-card:hover::before {
    transform: translateY(-50%) scaleX(1);
}

/* Footer: fade-in desde abajo */
.footer-main {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease 0.2s, transform 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s;
}
.footer-main.aos-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Íconos de value-prop: giro al hover */
.value-prop__icon {
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1) !important;
}
.value-prop:hover .value-prop__icon {
    transform: rotate(-15deg) scale(1.2) !important;
}

/* Certs: flip en hover */
.cert-link img {
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
                filter 0.4s ease !important;
}
.cert-link:hover img {
    transform: scale(1.12) rotate(-3deg) !important;
    filter: drop-shadow(0 14px 28px rgba(7,56,66,0.25)) !important;
}

/* =================================================================
   1. HERO — slider de imágenes rotando + logo positivo + partículas
================================================================= */
.hero-section { position: relative; }

.hero-left {
    position: relative;
    overflow: hidden;
}
.hero-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(30,198,182,.18) 0%, rgba(30,198,182,0) 60%),
        radial-gradient(ellipse at 70% 80%, rgba(30,198,182,.12) 0%, rgba(30,198,182,0) 55%);
    pointer-events: none;
    z-index: 0;
}

/* Canvas de partículas marítimas (burbujas/gotas) sobre la sección aqua */
.hero-bubbles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-bubbles canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Logo positivo grande en hero */
.hero__logo {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    margin: 0 0 1.4rem;
    animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) both;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18));
}

.hero-right {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    overflow: hidden !important;
    background-image: none !important;
    background: transparent !important;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
    transform: scale(1);
    animation: heroKenBurns 12s ease-in-out infinite;
}
.hero-slide.is-active { opacity: 1; }
@keyframes heroKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* =================================================================
   2. SECCIÓN 2 — Layout estricto col-8 / col-4 con texto pegado
================================================================= */
/* CRÍTICO: .services__bottom venía con display:grid + grid-template-columns:2.2fr 1fr
   en styles.css. Eso pisaba completamente el layout Bootstrap (col-8/col-4).
   Lo regresamos a layout normal para que la row Bootstrap controle las anchuras. */
.services__bottom {
    display: block !important;
    grid-template-columns: none !important;
    margin-top: 1.5rem;
}
.services__bottom > .row {
    align-items: stretch !important;
    --bs-gutter-x: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.services__bottom .col-12.col-lg-8,
.services__bottom .col-12.col-lg-4 {
    flex: 0 0 auto !important;
    width: 100% !important;
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
}
@media (min-width: 992px) {
    .services__bottom .col-12.col-lg-8 { width: 66.6667% !important; max-width: 66.6667% !important; }
    .services__bottom .col-12.col-lg-4 { width: 33.3333% !important; max-width: 33.3333% !important; }
}
.services__bottom .value-props {
    height: 100% !important;
    width: 100% !important;
    border-radius: 24px !important;
    box-sizing: border-box;
}
.services__bottom .services__cta {
    height: 100% !important;
    width: 100% !important;
    border-radius: 24px !important;
    box-sizing: border-box;
}
/* En >= 992px el grid interno de value-props se reparte en 4 columnas */
@media (min-width: 992px) {
    .services__bottom .value-props {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 1fr;
    }
}

/* Cards blancas servicios:
   - Foto a la izquierda al 58%
   - Texto pegadísimo (padding-left ~0)
   - Las 3 cards comparten el alto exactamente (flex:1 1 0)
*/
.service-card--light {
    overflow: hidden;
}
/* Igualar altos forzadamente cuando viven en la columna derecha */
.col-12.col-lg-4.d-flex.flex-column > .service-card--light,
.col-12.col-lg-4.d-flex.flex-column.gap-3 > .service-card--light {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: auto !important;
}
.service-card--light picture,
.service-card--light picture img {
    width: 58% !important;
    flex: 0 0 58% !important;
}
.service-card--light .service-card__body {
    padding: .55rem .65rem .55rem .15rem !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.service-card--light .service-card__title {
    margin: 0 0 .25rem 0 !important;
    padding: 0 !important;
    text-align: left !important;
    justify-content: flex-start !important;
    font-size: .85rem !important;
    line-height: 1.1 !important;
}
.service-card--light ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.service-card--light ul li {
    padding-left: .65rem !important;
    margin-left: 0 !important;
    text-align: left !important;
    position: relative;
    font-size: .72rem !important;
    line-height: 1.2 !important;
}
.service-card--light ul li::before {
    left: 0 !important;
}

/* =================================================================
   3. SECCIÓN 3 — Esquinas redondeadas + grúa GRANDE en el borde inferior
================================================================= */
.about-section {
    border-radius: 40px !important;
    overflow: visible !important;
    position: relative;
    z-index: 5;
    min-height: 560px;
}
.about-left,
.about-right {
    border-radius: 40px;
}
.about-right {
    background-image: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.18)),
                      url('../assets/img/nosotros-puerto-base.png') !important;
    background-size: cover !important;
    background-position: center !important;
}
.about-content,
.about-content > .row,
.about-image-col {
    overflow: visible !important;
    position: relative;
}

/* La grúa: triple del tamaño anterior, anclada al borde derecho de su
   columna y desplazada 4 paddings (~2.5rem) hacia abajo. */
.about-image-col {
    position: relative !important;
    overflow: visible !important;
}
.about-floating-image {
    position: absolute !important;
    bottom: -7.5rem !important;        /* +4 paddings extra hacia abajo */
    right: -120% !important;            /* recorrida 10% a la izquierda (de ~60% a ~50% de la sección) */
    left: auto !important;
    top: auto !important;
    width: 300% !important;
    max-width: 300% !important;
    margin: 0 !important;
    height: auto !important;
    z-index: 14;
    pointer-events: none;
    filter: drop-shadow(0 26px 42px rgba(0,0,0,0.45));
    transition: transform 1s cubic-bezier(.22,1,.36,1);
    animation: craneFloat 6s ease-in-out infinite;
    transform-origin: bottom right;
}
.about-floating-image:hover { transform: scale(1.02); }
@keyframes craneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Vacío visual donde estaba la imagen para no romper el flex */
.about-image-col { min-height: 1px; }
@media (max-width: 991px) {
    .about-floating-image {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        right: auto !important;
        bottom: auto !important;
    }
}

/* Card de Misión/Visión — fade entre estados */
.about-card {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    z-index: 12;
}
.about-card .swap-text {
    transition: opacity .45s ease;
}
.about-card.is-swapping .swap-text {
    opacity: 0;
}

/* =================================================================
   4. SECCIÓN 4 — Cobertura: nodos con animación + puerto
================================================================= */
.mexico-svg circle.port-dot {
    transform-origin: center;
    animation: portDot 2.4s ease-in-out infinite;
}
.mexico-svg circle.port-dot:nth-child(odd) {
    animation-delay: .6s;
}
@keyframes portDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: .65; }
}

/* Pulso animado para los pings del mapa */
.mexico-svg .port-ping {
    transform-origin: center;
    animation: portPing 3s ease-out infinite;
}
.mexico-svg .port-ping:nth-of-type(2) { animation-delay: .8s; }
.mexico-svg .port-ping:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes portPing {
    0%   { transform: scale(.6); opacity: .85; }
    80%  { transform: scale(2.4); opacity: 0; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* Líneas del mapa con dasharray animado */
.mexico-svg .port-line {
    stroke-dasharray: 6 6;
    animation: lineDash 4s linear infinite;
}
@keyframes lineDash {
    to { stroke-dashoffset: -120; }
}

/* =================================================================
   5. SECCIÓN 5 — WHY hero: PNG composite + overlay HTML texto/ícono
   Sin gradiente oscuro encima (el ::before de styles.css se neutraliza).
================================================================= */
.why-card--hero {
    position: relative;
    padding: 0 !important;
    background: transparent !important;
    color: #fff;
    overflow: hidden !important;
    isolation: isolate;
    aspect-ratio: 1 / 1;
    min-height: 0 !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 6px 22px rgba(7, 56, 66, 0.10) !important;
}
/* PNG de fondo (aqua + foto del trabajador), sin overlay oscuro */
.why-card--hero > picture,
.why-card--hero > img,
.why-card--hero picture img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    z-index: 0 !important;
}
/* MATAR el gradiente oscuro que venía de .why-card--hero::before */
.why-card--hero::before {
    display: none !important;
    content: none !important;
    background: none !important;
    opacity: 0 !important;
}
.why-card--hero::after {
    display: none !important;
    content: none !important;
}

/* Overlay HTML: texto + icono en la mitad aqua de la izquierda */
.why-card--hero .why-card__content {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    padding: 1.5rem;
    z-index: 3;
    color: #fff;
}
.why-card--hero .why-card__icon {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 50%;
    margin-bottom: 1rem;
}
.why-card--hero .why-card__icon svg {
    width: 38px;
    height: 38px;
    stroke-width: 1.6;
}
.why-card--hero .why-card__big {
    font-family: var(--font-display, "Poppins"), sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 4vw + 1rem, 4.4rem);
    line-height: .95;
    color: #fff;
    margin: 0 0 .6rem;
    letter-spacing: -.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.why-card--hero .why-card__sub {
    font-weight: 500;
    margin: 0;
    font-size: .95rem;
    line-height: 1.3;
    color: rgba(255,255,255,.95);
    text-shadow: 0 1px 6px rgba(0,0,0,0.18);
}
.why-card--hero .why-card__photo { display: none !important; }

/* Iconos teal en las 3 cards blancas */
.why-card__teal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(30, 198, 182, 0.13);
    color: var(--color-accent-dark, #0F6E56);
    margin-bottom: var(--space-3);
    transition: transform .3s ease, background-color .3s ease;
}
.why-card:hover .why-card__teal-icon {
    transform: scale(1.08) rotate(-3deg);
    background: rgba(30, 198, 182, 0.22);
}

/* =================================================================
   6. SECCIÓN 7 — SUPPORT: degradado aqua → transparente sobre parallax
================================================================= */
/* Parallax vía JS translate (funciona aunque overflow:hidden esté activo) */
.support--parallax {
    position: relative;
    overflow: hidden;
}
.support--parallax .support__bg-parallax {
    position: absolute;
    inset: -25% 0;          /* más alto que la sección para dar margen al desplazamiento */
    background-image: url('../assets/img/soporte-inmediato.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    z-index: -3;
    will-change: transform;
}
.support--parallax::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    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%
    ) !important;
}

/* =================================================================
   7. CERTIFICACIONES
================================================================= */
.certs__list li { list-style: none; }
.certs__list .cert-link {
    display: inline-block;
    transition: transform .35s ease, filter .35s ease;
    text-decoration: none;
}
.certs__list .cert-link:hover {
    transform: translateY(-6px) scale(1.05) rotate(-1deg);
    filter: drop-shadow(0 10px 22px rgba(0,0,0,0.22));
}
.certs__list .cert-link img { display: block; max-width: 100%; height: auto; }

/* =================================================================
   8. FOOTER — particles
================================================================= */
.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.footer-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: auto;
}
.footer-particles canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* =================================================================
   9. ANIMACIONES Y TRANSICIONES GLOBALES — más vida
================================================================= */
a, button, .btn, .btn-h, .service-card, .why-card, .value-prop, .cert-link, .port-card {
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease,
                background-color .3s ease, color .3s ease, opacity .3s ease;
}
.service-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 40px rgba(7,56,66,0.18);
}
.why-card:hover:not(.why-card--hero) {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(7,56,66,0.14);
}
.value-prop {
    border-radius: var(--radius-md, 10px);
    padding: .25rem;
}
.value-prop:hover .value-prop__icon {
    transform: scale(1.12) rotate(-4deg);
}
.value-prop__icon { transition: transform .35s ease; }

/* Botones: efecto lift */
.btn, .btn-h, .coverage-contact-btn, .services__cta .btn--white {
    position: relative;
    overflow: hidden;
}
.btn:hover, .btn-h:hover, .coverage-contact-btn:hover, .services__cta .btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 198, 182, 0.35);
}

/* Hero text — entrada */
.hero__title { animation: heroFadeUp .85s cubic-bezier(.22,1,.36,1) both; }
.hero__lead { animation: heroFadeUp .95s cubic-bezier(.22,1,.36,1) .15s both; }
.hero__cta { animation: heroFadeUp 1s cubic-bezier(.22,1,.36,1) .3s both; }
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Brand logo: pulse al hover */
.brand:hover img { animation: brandPulse .9s ease-in-out; }
@keyframes brandPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1) rotate(-6deg); }
}

.section-title, .coverage-title { position: relative; }

/* Imágenes con leve zoom al hover */
.service-card picture img,
.why-card--photo img {
    transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.service-card:hover picture img,
.why-card--photo:hover img {
    transform: scale(1.06);
}

/* Reveal-on-scroll suave para cualquier elemento con .reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll global */
html { scroll-behavior: smooth; }

/* Scrollbar custom */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(7,56,66,0.06); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1ec6b6, #0F6E56);
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #0F6E56, #1ec6b6); }

/* =================================================================
   10. CURSOR personalizado — barco real (ruta corregida para css/)
================================================================= */
html, body {
    cursor: url("../assets/icons/cursor-barco.png") 8 8, auto;
}
a, button, [role="button"], input[type="submit"], .btn, .btn-h,
.nav-toggle, label, .cert-link, .why-card, .service-card, .value-prop {
    cursor: url("../assets/icons/cursor-barco.png") 8 8, pointer;
}

/* =================================================================
   11. AOS extras
================================================================= */
[data-aos] {
    will-change: opacity, transform;
}

/* =================================================================
   12. FOOTER REDISEÑADO — layout horizontal 3 columnas
================================================================= */
.site-footer {
    background: #0d2b35 !important;
    padding: 0 !important;
}
/* Ocultar bottom bar antigua (ya no se usa) */
.site-footer__bottom { display: none !important; }
.site-footer__grid { display: none !important; }

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 4%;
    flex-wrap: wrap;
}

/* Columna izquierda: logo + social */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 160px;
}
.footer-brand-col img {
    display: block;
    max-width: 150px;
    height: auto;
}
.footer-social {
    display: flex;
    gap: 0.6rem;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.footer-social a:hover {
    background: var(--color-accent, #1ec6b6);
    color: #fff;
    transform: translateY(-3px);
}

/* Columna central: aviso + copyright */
.footer-center-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    flex: 1;
}
.footer-privacy {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-privacy:hover {
    color: var(--color-accent, #1ec6b6);
}
.footer-copy {
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.4;
}

/* Columna derecha: datos de contacto */
.footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-style: normal;
    min-width: 260px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    line-height: 1.4;
}
.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent, #1ec6b6);
}
.footer-contact-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact-item a:hover {
    color: var(--color-accent, #1ec6b6);
}
.footer-contact-item--addr span {
    color: rgba(255,255,255,0.7);
}

/* Responsive: apilar en móvil */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-center-col {
        align-items: flex-start;
        text-align: left;
    }
}
