/* ===== HERO estático ===== */
/* Hero de páginas estáticas */
.hero-estatico{
    background:#0f1216;
    color:#fff;
    /* reduce altura: antes clamp(2rem,5vw,3rem) */
    padding: clamp(1.5rem, 3vw, 2rem) 0;
}

/* Forzamos el subtítulo a gris claro en vez de negro */
.hero-estatico .lead{
    color: rgba(255,255,255,.75) !important;
}

/* ===== Introducción ===== */
.cm-resumen{ border-radius:14px; }
.cm-puntos li{ margin-bottom:.3rem; }

/* ===== Bloques numerados ===== */
.cm-bloque{ background:#fff; }
.cm-bloque:nth-of-type(odd){ background:#f8f9fa; } /* alterna fondo sutil */
.cm-num{
    display:inline-flex; align-items:center; justify-content:center;
    width:26px; height:26px; margin-right:.5rem;
    border-radius:999px; background:rgba(13,110,253,.12); color:#0d6efd; font-weight:700;
}

/* Tabla de pagos */
.cm-pagos{ border-radius:12px; overflow:hidden; }
.cm-pagos thead th{ background:#f1f5f9; color:#0f172a; }

/* CTA final */
.cm-cta{ background:#f8fafc; }
.cm-cta-card{ border-radius:18px; }

/* Espaciados de títulos */
.cm-bloque h2{ letter-spacing:.2px; }

/* Mejoras responsivas */
@media (max-width: 575.98px){
    .cm-num{ margin-right:.4rem; }
}

.banner-wrap {
    background:#f8f9fa;
    max-height:260px;
    margin-bottom: 1rem; /* ajusta: 1rem, 2rem, 3rem según lo que quieras */

}

.ratio.banner-limit{
    max-height: 200px;     /* la altura máxima que quieras */
    overflow: hidden;      /* recorta lo que sobresalga */
    background:#0f1216;    /* color de fondo neutro */

}

/* Imagen dentro del ratio */
.ratio.banner-limit > img{
    position: absolute;    /* ocupa toda la caja ratio */
    inset: 0;              /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;     /* recorta para cubrir sin deformar */
    display: block;
}

.hero-valores {
    background: #0f1216 url("../assets/trabajamos/servGris2.png") center/cover no-repeat;
    position: relative;
    min-height: 18vh;
}
.hero-valores::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
}
.hero-valores .container {
    position: relative;
    z-index: 1;
}


/* MINI SEPARADOREs -1 (Antes briefing) */
.divider-banner {
    background: #111827;                     /* mismo tono que en el index */
    color: rgba(255, 255, 255, 0.9);
    padding: 1.4rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.divider-text {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
}


/* HERO entro Verificacion y pagos */
/* MINI HERO */
.mini-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.mini-hero picture,
.mini-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.mini-hero__overlay {
    position: absolute;   /* <-- Esto hace que el texto flote sobre la imagen */
    inset: 0;             /* ocupa todo el área del hero */
    display: flex;
    align-items: center;
    color: #fff;
    z-index: 2;           /* asegura que el texto quede por encima */
    background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 55%, transparent);
}

.mini-hero__overlay .container {
    position: relative;
    z-index: 3;
}

.mini-hero img {
    width: 100%;
    height: 300px;           /* antes 520px → más compacto y limpio */
    object-fit: cover;
    filter: brightness(.9);
}

/* BARRA NAVEGACION ENTRE PAGINAS */
.ga-backnav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    color: #1f2937; /* gris oscuro */
}

.ga-backnav__link {
    position: relative;
    color: #2563eb; /* azul más oscuro, elegante */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ga-backnav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #2563eb; /* mismo tono del texto */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.ga-backnav__link:hover::after {
    transform: scaleX(1);
}

.ga-backnav__link:hover {
    color: #1d4ed8; /* un tono más profundo al pasar el ratón */
}

.ga-backnav__title {
    color: #111827;
    font-weight: 600;
}

/* ===== Ocultar barra de navegación solo en móvil ===== */
@media (max-width: 576px){
    .ga-backnav{
        display: none !important;
    }
}









