/* 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;
}

/* ===== Formulario ===== */
.ctc-card{ border-radius:14px; }
.hp{ position:absolute !important; left:-10000px !important; opacity:0 !important; } /* honeypot */

.form-label{ font-weight:600; }
.form-control, .form-select{
    background-color:#fff;
}
.form-control:focus, .form-select:focus{
    box-shadow:0 0 0 .2rem rgba(13,110,253,.18);
    border-color:#86b7fe;
}

/* Datos + lista */
.datos-card{ border-radius:14px; }
.ctc-list li{ margin-bottom:.4rem; }

/* Mapa */
.ctc-wrapper iframe{ border:0; }

/* Contenedor */
.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/servicios/serv_hero_1920.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;
}

/* 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;
    }
}

