:root {
    --accent: #bccc33;
    /* verde */
    --white: #ffffff;
    /* blanco */
    --beige: #c0b398;
    /* c0b398 */
    --text: #5f5f5f;
    /* Roboto */
    --dark-900: #1e1e1e;
    /* fondos oscuros */
    --dark-800: #2a2a2a;
    --dark-700: #3a3a3a;
    --mid: #5c5d58;
    /* fondo medio */
    --light-200: #e3e4de;
    /* fondo claro */
    --light-100: #f3f4f1;
    /* sutil para variar */
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    color: var(--text);
    background: var(--light-100);
}

h1,
h2,
h3,
h4,
.navbar-brand,
.nav-link,
.btn {
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

.fw-extrabold {
    font-weight: 800
}

.text-accent {
    color: var(--accent)
}

.text-body-500 {
    color: #6a6a6a
}

.text-body-400 {
    color: #8a8a8a
}

.bg-dark-900 {
    background: var(--dark-900)
}

.bg-dark-800 {
    background: var(--dark-800)
}

.bg-dark-700 {
    background: var(--dark-700)
}

.bg-mid {
    background: var(--mid)
}

.bg-light-200 {
    background: var(--light-200)
}

.bg-light-100 {
    background: var(--light-100)
}

.object-cover {
    object-fit: cover
}

.txt-shadow {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}


/* NAV */

.nav-transparent {
    background: transparent;
    transition: background .25s ease, box-shadow .25s ease
}

.nav-solid {
    background: rgba(30, 30, 30, .9)!important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25)
}

.navbar .nav-link {
    color: #fff;
    opacity: .9
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent);
    opacity: 1
}


/* Quitar borde y fondo del botón hamburguesa */

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0.25rem 0.5rem;
    /* opcional, ajusta área de clic */
}


/* Reducir logo en móviles */

.navbar-brand img {
    height: auto;
    max-height: 80px;
    /* valor por defecto en desktop */
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        max-height: 64px;
        /* 👈 33% menos aproximadamente */
    }
}


/* Offcanvas móvil a pantalla completa con fondo oscuro translúcido */

.offcanvas-mobile {
    width: 100vw !important;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    color: #fff;
    border: 0;
}

.offcanvas-backdrop.show {
    background-color: rgba(0, 0, 0, 0.6);
}


/* Header del offcanvas */

.offcanvas-mobile .offcanvas-header {
    padding: 1.25rem 1rem;
}

.offcanvas-mobile .navbar-brand img {
    max-height: 56px;
    /* logo en móvil */
}


/* Cuerpo: centra verticalmente el menú */

.offcanvas-mobile .offcanvas-body {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 0 1.25rem 2rem;
}


/* Links principales */

.mobile-nav {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.mobile-link {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    margin: 1rem 0;
    /* tamaño grande como en el mock */
    font-size: clamp(1.25rem, 4.8vw, 2rem);
}

.mobile-link:hover {
    color: var(--accent);
}


/* Submenú de Uniformes */

.mobile-sub {
    margin: .25rem 0 1rem 0;
    padding-left: .5rem;
    border-left: 3px solid rgba(255, 255, 255, .15);
}

.mobile-sublink {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #dcdcdc;
    text-decoration: none;
    margin: .35rem 0;
    font-size: clamp(1rem, 3.8vw, 1.25rem);
}

.mobile-sublink:hover {
    color: var(--accent);
}


/* Botón hamburguesa y cierre sin borde */

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    margin-right: 1rem !important;
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: right center;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% center;
}

.hero-short .min-vh-60 {
    min-height: 60vh
}

.hero-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .0), rgba(0, 0, 0, .10));
    z-index: 0;
}

.hero .container {
    padding-top: 7rem
}

.hero-bottom-border {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: var(--accent);
}


/* Alineación vertical del hero (igual que otras secciones) */

.hero .row {
    min-height: 75vh;
    /* ya lo usas, garantiza misma altura visual */
    align-items: end;
    /* títulos a la misma altura en desktop */
}

@media (min-width: 992px) {
    .hero .row {
        align-items: center;
    }
    /* si en tus otras páginas usas center en lg */
}


/* ===== Hotelería: capa de degradado desde abajo ===== */

.hero--hoteleria .hero-shade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* Arranca en el 10% inferior y sube lo necesario para cubrir el copy */
    /* Truco: altura mínima + degradado largo */
    height: clamp(28vh, 38vh, 50vh);
    /* base para cubrir el párrafo como en el diseño */
    pointer-events: none;
    /* De abajo (opaco) hacia arriba (transparente) */
    background: linear-gradient( to top, rgba(92, 93, 88, .95) 0%, rgba(92, 93, 88, .90) 35%, rgba(92, 93, 88, .60) 70%, rgba(92, 93, 88, 0) 100%);
}


/* Si usas “object-position” para cuidar cabezas, mantenlo aquí */

.hero--hoteleria .hero-bg {
    object-fit: cover;
    object-position: 75% center;
    /* foco 25% hacia la derecha, ajusta si lo deseas */
    width: 100%;
    height: 100%;
}


/* (Opcional) refina el bloque de copy dentro del hero para que respire */

.hero--hoteleria .container .col-12.col-lg-7 {
    padding-bottom: 3rem;
    /* que no pegue al borde del degradado */
}

@media (min-width: 992px) {
    .hero--hoteleria .container .col-12.col-lg-7 {
        padding-bottom: 0;
    }
}


/* Eyebrow */

.eyebrow {
    letter-spacing: .08em;
    font-size: .9rem;
    opacity: .9
}


/* Video */

.video-frame {
    max-width: 900px;
    position: relative
}

.btn-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .92);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35)
}

.play-triangle {
    width: 0;
    height: 0;
    border-left: 22px solid var(--dark-900);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 6px;
}


/* Category cards */

.cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: .5rem
}

.cat-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform .35s ease
}

.cat-card:hover img {
    transform: scale(1.04)
}

.cat-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: .85rem 1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8) 100%);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}


/* Contenedor cuadrado para logos */

.client-logo-wrapper {
    aspect-ratio: 1.8 / 1;
    /* Fuerza cuadrado */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* o un color de fondo si lo quieres */
    overflow: hidden;
}


/* Imagen del logo dentro */

.client-logo {
    max-width: 80%;
    /* Ajusta según quieras el tamaño */
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.05) opacity(.9);
    transition: filter 0.3s ease;
}

.client-logo:hover {
    filter: none;
}


/* Value cards (Hotelería) */

.value-card {
    position: relative;
    overflow: hidden;
    border-radius: .6rem
}

.value-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    filter: brightness(.9)
}

.value-overlay {
    position: absolute;
    inset: auto 0 0 0;
    color: #fff;
    padding: 1rem 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8) 100%);
}


/* Products */

.product-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12)
}

.product-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover
}


/* Feature rows (Uniformes) */

.feature-row img {
    min-height: 280px
}


/* Accents */

.square-accent {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent)
}

.link-more {
    color: var(--beige);
    text-decoration: underline;
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .02em;
    border-bottom: 2px solid transparent;
    padding-bottom: .15rem;
}

.link-more:hover {
    border-bottom-color: var(--accent)
}


/* Footer */

.site-footer {
    background: var(--dark-900);
    color: #fff
}

.site-footer .nav-link {
    color: #d6d6d6
}

.site-footer .nav-link:hover {
    color: var(--accent)
}

.footer-bottom {
    background: #161616;
    color: #c9c9c9
}


/* Buttons */

.btn-outline-accent {
    --bs-btn-color: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: #1a1a1a;
    --bs-btn-hover-bg: var(--accent);
    --bs-btn-hover-border-color: var(--accent);
    --bs-btn-active-bg: var(--accent);
    --bs-btn-active-border-color: var(--accent);
}


/* Utilities */

.min-vh-75 {
    min-height: 75vh
}

@media (max-width: 991.98px) {
    .hero .container {
        padding-top: 6rem
    }
}


/* Dropdown estilizado en navbar oscura */

.dropdown-menu-dark {
    --bs-dropdown-bg: rgba(30, 30, 30, .96);
    --bs-dropdown-link-hover-bg: rgba(255, 255, 255, .06);
    /*backdrop-filter: blur(6px);*/
    border: 1px solid rgba(255, 255, 255, .08);
}


/* Forzar uppercase en menú */

#mainNav .nav-link,
#mainNav .dropdown-item {
    text-transform: uppercase;
}


/* Forzar uppercase en menú */

#mainNav .nav-link,
#mainNav .dropdown-item {
    text-transform: uppercase;
}


/* Quitar verde del enlace padre UNIFORMES aunque tenga .active */

#mainNav .nav-link.no-highlight.active {
    color: #fff !important;
    /* permanece blanco */
}


/* Submenú transparente con fuente Montserrat */

#mainNav .dropdown-menu {
    background: transparent;
    border: none;
    box-shadow: none;
    font-family: 'Montserrat', sans-serif;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}


/* Items del submenú */

#mainNav .dropdown-item {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
}


/* Hover / active en submenú */

#mainNav .dropdown-item:hover,
#mainNav .dropdown-item.active {
    background: none;
    color: var(--accent);
    /* verde */
}


/* Alinear el caret del dropdown de UNIFORMES en la misma línea */

#mainNav .dropdown-combo {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    /* espacio entre texto y caret */
}

#mainNav .nav-caret.dropdown-toggle {
    display: inline-flex;
    padding: 0;
    /* sin padding que empuje a otra línea */
    line-height: 1;
    color: #fff;
}


/* Ajusta la flecha generada por Bootstrap */

#mainNav .nav-caret.dropdown-toggle::after {
    margin-left: .1rem;
    vertical-align: middle;
}


/* Opcional: reducir tamaño del caret */

@media (min-width:992px) {
    #mainNav .nav-caret.dropdown-toggle::after {
        border-top-width: .3rem;
        /* tamaño de la flecha */
        border-right-width: .3rem;
        border-left-width: .3rem;
    }
}


/* ====== Categorías (estilo ref) ====== */

.cat-section {
    padding-top: 0;
    padding-bottom: 0;
}

.cat-grid {
    height: auto;
}


/* nunca fijo en el contenedor */

.cat-grid>[class*="col-"] {
    height: auto;
}

.cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0;
    height: auto;
    /* alto natural en mobile */
}

.cat-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* 👈 ancla arriba, centrado horizontal */
    transition: transform .35s ease;
}


/* Para que en mobile no colapse el alto, usamos aspect-ratio */

@supports (aspect-ratio: 1 / 1) {
    .cat-card {
        aspect-ratio: 1 / 1;
    }
    /* ajusta si prefieres otra relación */
}


/* Degradado superior */

.cat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 60%);
}


/* Pleca inferior */

.cat-pleca {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .0) 0%, rgba(0, 0, 0, .6) 60%);
    padding: 1rem 1.25rem;
}


/* Texto en pleca */

.cat-pleca>span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    transition: color .25s ease;
    font-size: clamp(1rem, 2.4vw, 2rem);
    /* base (desktop ok) */
}


/* Ajuste específico para móvil */

@media (max-width: 575.98px) {
    .cat-pleca>span {
        font-size: 1.25rem;
        /* 👈 más grande en pantallas muy chicas */
    }
}

.cat-card:hover img {
    transform: scale(1.03);
}

.cat-card:hover .cat-pleca>span {
    color: var(--accent);
}


/* --- Alturas por breakpoint (tarjeta, no contenedor) --- */

@media (min-width: 768px) {
    /* md: 2 columnas */
    .cat-card {
        aspect-ratio: auto;
        height: 28em;
    }
    /* fija altura adecuada */
}

@media (min-width: 992px) {
    /* lg: 4 columnas */
    .cat-card {
        height: 36em;
    }
    /* tu altura pedida */
}

.cat-pleca:hover {
    background: var(--dark-700);
}


/* Hover: ligera vida a la imagen y texto en verde */

.cat-card:hover img {
    transform: scale(1.03);
}

.cat-card:hover .cat-pleca>span {
    color: var(--accent);
}


/* Por defecto (mobile first): mostrar imagen completa */

.taller-img-wrapper {
    overflow: visible;
    /* no recorta */
    height: auto;
}

.taller-img-wrapper img {
    object-fit: contain;
    /* se ve completa */
    height: auto;
}


/* Desde md en adelante: recortar para que todas ocupen el div */

@media (min-width: 768px) {
    .taller-img-wrapper {
        overflow: hidden;
        /* recorta */
        height: 100%;
        /* asegura ocupar el col */
    }
    .taller-img-wrapper img {
        object-fit: cover;
        /* llena y recorta */
        width: 100%;
        min-height: 100%;
    }
}

.taller-row {
    display: flex;
    flex-wrap: wrap;
}

.taller-row>[class*="col-"] {
    display: flex;
    overflow: hidden;
    /* recorta imagen */
}

.taller-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* llena el espacio y recorta */
}


/* ====== Sección 1 */

.intro-section {
    padding: 0;
}

.intro-figure {
    position: relative;
    width: 100%;
    min-height: 440px;
    /* alto cómodo en móvil */
    max-height: 640px;
    /* opcional */
    overflow: hidden;
    border: 0;
    border-radius: 0;
}

.intro-figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* ajusta si necesitas 75% right en móvil */
}


/* Contenedor de la foto (asegura altura suficiente) */

.intro-figure {
    position: relative;
    min-height: 520px;
    /* sube si tu texto es muy largo */
}


/* Tarjeta sobre la foto: sin desbordes */

.intro-figure .intro-card {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    box-sizing: border-box;
    max-height: calc(100% - 2rem);
    /* límite para no salirse */
    overflow: auto;
    /* si se excede, aparece scroll interno */
    background: rgba(92, 93, 88, .95);
    /* gris como en tus bloques */
    color: #fff;
}


/* Desktop: card a la derecha y centrada verticalmente
   respetando el alto del contenedor */

@media (min-width: 992px) {
    .intro-figure {
        min-height: 560px;
    }
    /* un poco más alta en lg */
    .intro-figure .intro-card {
        top: 50%;
        bottom: auto;
        right: 3rem;
        left: auto;
        transform: translateY(-50%);
        width: min(560px, 42vw);
        max-height: calc(100% - 4rem);
        /* margen de respiro arriba/abajo */
    }
}


/* ====== Bloques 2–5 */

.feature .feature-img {
    height: 100%;
    min-height: 320px;
    /* asegura buena presencia en móvil */
    overflow: hidden;
}

.feature .feature-img img {
    object-position: center top;
}


/* evita cortar cabezas */

.feature .feature-text {
    height: 100%;
    display: flex;
    align-items: center;
}


/* Márgenes entre features en desktop ya vienen con .mb-4; opcional ajustar */

@media (min-width: 992px) {
    .feature .feature-img {
        min-height: 420px;
    }
}


/* (Opcional) tipografía de títulos */

h3,
.h3,
.h4 {
    letter-spacing: .02em;
}


/* (Opcional) delgadas líneas divisorias visuales */

.feature+.feature {
    border-top: 0;
}


/* Aumentar tamaño de párrafos en versión lg */

@media (min-width: 992px) {
    .feature-text p {
        font-size: 130%;
    }
}


/* Cuadrito verde como detalle en todos los títulos */

.feature-text h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-text h3::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #bccc33;
    /* verde */
    display: inline-block;
}


/* ------- HERO Hotelería (arriba) ------- */

.hero--hoteleria-split {
    /* mismo comportamiento que tus otros héroes */
    min-height: 75vh;
}

.hero--hoteleria-split .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% center;
    /* foco 25% hacia la derecha; ajusta si quieres */
}


/* ------- BLOQUE GRIS (abajo) libre ------- */


/* ------- BLOQUE GRIS (abajo) libre y superpuesto ------- */

.hero-desc--hoteleria {
    position: relative;
    z-index: 2;
    background: #5c5d58;
    margin-top: -6vh;
    padding-top: 6vh;
    /* que quede por encima del hero */
    color: #fff;
    /* gris sólido del bloque */
    /* solapa 12vh sobre la foto */
    /* compensación para que el texto no se esconda */
    padding-bottom: 4rem;
}


/* El degradado que se mete sobre la foto (por dentro del bloque gris) */

.hero-desc--hoteleria::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12vh;
    /* sube 12vh sobre el hero */
    height: 12vh;
    /* mismo valor del solape */
    pointer-events: none;
    z-index: 0;
    /* Transparente (muestra la foto) arriba → gris sólido abajo */
    background: linear-gradient( to bottom, rgba(92, 93, 88, 0) 0%, rgba(92, 93, 88, .65) 60%, #5c5d58 100%);
}


/* El contenido del bloque por encima del pseudo-elemento */

.hero-desc--hoteleria>.container {
    position: relative;
    z-index: 1;
}


/* Quita la barrita verde inferior del hero solo en Hotelería
   para que no se vea entre el solape */

.hero--hoteleria-split .hero-bottom-border {
    display: none;
}


/* Barra fina bajo el texto (detalle visual del diseño) */

.bar {
    width: 140px;
    height: 6px;
    background: #c0b398;
    /* fondo claro de tu paleta */
    margin-left: auto;
    margin-right: auto;
}


/* Tipografía un poco más cómoda en lg */

@media (min-width: 992px) {
    .hero-desc--hoteleria p {
        font-size: 115%;
    }
}


/* ==== Hotelería - ajustes móviles: menor solape gris y título un poco más arriba ==== */

@media (max-width: 767.98px) {
    /* Reduce el solape del bloque gris sobre la foto */
    .hero-desc--hoteleria {
        margin-top: -8vh;
        /* antes -12vh */
        padding-top: 8vh;
        /* compensa el contenido */
    }
    .hero-desc--hoteleria::before {
        top: -8vh;
        height: 8vh;
    }
    /* Sube ligeramente el encabezado del hero */
    .hero--hoteleria-split .container {
        padding-top: 4.25rem;
        /* antes 6rem en móviles generales */
    }
}


/* Tarjeta base */

.val-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.val-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    /* igual que tu maqueta */
    display: block;
}


/* Overlay a pantalla completa con dos zonas: título arriba y texto abajo */

.val-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    color: #fff;
    /* degradado muy sutil para lectura */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, .95) 100%);
    padding: 1rem 1rem 1.15rem;
}

.val-title .sq {
    width: 10px;
    height: 10px;
    background: var(--accent);
    display: inline-block;
}

.val-title h5 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--accent);
    /* verde como en el diseño */
    line-height: 1.15;
}


/* ——— Tarjeta valores: pulido visual ——— */


/* Mantén altura consistente en desktop */

@media (min-width: 768px) {
    .val-card {
        min-height: 420px;
    }
    /* ajusta 380–460px según tu foto */
    .val-card img {
        aspect-ratio: auto;
    }
    /* usa el alto fijado de la tarjeta */
}

.val-title {
    margin-top: .15rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
    /* mejora lectura sin caja */
}

.val-title .sq {
    width: 9px;
    height: 9px;
}


/* cuadrito un pelo más sutil */

.val-title h5 {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    /* tamaño como referencia 2ª imagen */
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: .02em;
    margin: 0;
}


/* Pleca inferior del texto: más sólida y separada */

.val-body {
    margin-top: auto;
    /* un poco más opaca */
    padding: .2rem .85rem;
    line-height: 1.35;
}


/* Hover leve */

.val-card:hover img {
    transform: scale(1.02);
    transition: transform .35s ease;
}

.val-card:hover .val-title h5 {
    color: var(--accent);
}


/* ya está verde; conserva */

.val-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* 👈 manda todo abajo */
    color: #fff;
    background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.85) 100%);
    padding: 1rem 1rem 1.15rem;
    gap: .35rem;
    /* separa título y párrafo */
}


/* Contenedor conjunto */

.val-footer {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.val-title {
    display: flex;
    align-items: center;
    gap: .4rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}

.val-title .sq {
    width: 9px;
    height: 9px;
    background: var(--accent);
    display: inline-block;
}

.val-title h5 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--accent);
}

.val-body {
    font-size: .9rem;
    line-height: 1.35;
}


/* Versión móvil: tarjetas altas, ancladas arriba */

@media (max-width: 767.98px) {
    .val-card {
        min-height: 75vh;
        /* 👈 ocupa 75% del viewport */
        height: 75vh;
    }
    .val-card img {
        object-position: top center;
        /* 👈 ancla arriba */
        object-fit: cover;
        height: 100%;
    }
    .val-overlay {
        padding: 1rem;
        background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.9) 100%);
    }
    .val-title h5 {
        font-size: 1.1rem;
        /* ajusta tipografía en móvil */
    }
    .val-body p {
        font-size: 0.9rem;
        line-height: 1.35;
    }
}