/* ==========================================================================
   ALQUILER Y EXCAVACIONES PVSA - ARCHIVO PRINCIPAL DE ESTILOS
   ========================================================================== */

:root {
    /* Paleta de colores oficial del mockup */
    --primary-yellow: #f5b000;
    --primary-yellow-hover: #d99b00;
    --navy-blue: #091d3e;
    --navy-dark: #051329;
    --accent-blue: #0046ad;
    
    /* Colores neutros */
    --bg-dark: #0a1118;
    --bg-light: #f4f7f9;
    --bg-white: #f4f7f9;
    --text-dark: #1c252e;
    --text-light: #ffffff;
    --text-muted: #cad5e2;
    --border-color: #e2e8f0;
    
    /* Utilidades */
    --white: #ffffff;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition-fast: 0.3s ease;
    --max-width: 1200px;
    --header-height: 75px;
    --topbar-height: 40px;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
}

body {
    background-color: var(--navy-blue);
    color: var(--text-dark);
    line-height: 1.5;
}

main {
    width: 100%;
    overflow-x: hidden; /* Aquí cumple la misma función de evitar el scroll horizontal, pero deja respirar al header sticky */
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.bg-white {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.section-dark {
    background-color: var(--navy-dark);
    color: var(--text-light);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.pvsa-topbar {
    background-color: var(--navy-dark);
    color: var(--text-muted);
    font-size: 0.82rem;
    height: var(--topbar-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.topbar-location i, .topbar-info i {
    color: var(--primary-yellow);
    margin-right: 5px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-info {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.topbar-info:hover {
    color: var(--white);
}

.topbar-divider {
    color: rgba(255, 255, 255, 0.2);
}

.topbar-socials {
    display: flex;
    gap: 12px;
    margin-left: 10px;
}

.topbar-socials a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.topbar-socials a:hover {
    color: var(--primary-yellow);
}

/* ==========================================================================
   RESPONSIVE TOPBAR (TABLETS Y MÓVILES)
   ========================================================================== */
/* Tablets y Pantallas Medianas */
@media (max-width: 992px) {
    .pvsa-topbar {
        font-size: 0.78rem;
        display: none;
    }

    .topbar-location {
        display: none; /* Ocultamos la ubicación estática para priorizar contacto directo y redes */
    }

    .topbar-container {
        justify-content: center; /* Centramos los datos de contacto directos */
    }
}

/* Móviles Grandes */
@media (max-width: 768px) {
    .topbar-divider {
        display: none; /* Ocultamos los separadores de texto */
    }

    .topbar-right {
        gap: 12px;
    }
}

/* Móviles Pequeños */
@media (max-width: 576px) {
    .pvsa-topbar {
        height: auto;
        padding: 6px 0;
    }

    .topbar-container {
        flex-direction: column;
        gap: 6px;
    }

    .topbar-right {
        width: 100%;
        justify-content: center;
    }

    .topbar-socials {
        margin-left: 0;
    }
}

/* ==========================================================================
   HEADER PRINCIPAL
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-link {
    text-decoration: none;
    color: var(--navy-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--navy-dark);
}

.btn-yellow:hover {
    background-color: var(--primary-yellow-hover);
}

.btn-outline-light {
    border: 1px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

/* Botón Menú Hamburguesa */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--navy-blue);
    padding: 5px;
    width: 40px;
    height: 40px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.nav-toggle i {
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle .icon-open {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.nav-toggle .icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.nav-toggle.open .icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.nav-toggle.open .icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ==========================================================================
   RESPONSIVE HEADER (TABLETS Y MÓVILES)
   ========================================================================== */
/* Tablets (Laptops pequeñas / iPads en Landscape & Portrait) */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition-fast);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 55px;
    }
}

/* Móviles Grandes y Medianos */
@media (max-width: 768px) {
    .header-actions .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Móviles Pequeños */
@media (max-width: 576px) {
    .header-actions .btn {
        display: none; /* Ocultamos el botón secundario en pantallas pequeñas para dar aire al logo */
    }

    .logo-img {
        height: 58px;
    }

    .nav-toggle {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.pvsa-hero {
    position: relative;
    padding: 90px 0 0 0;
    overflow: visible;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 19, 41, 0.9) 0%, rgba(5, 19, 41, 0.4) 30%, rgba(5, 19, 41, 0.05) 70%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.pvsa-hero-intro {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.gold-line {
    width: 15px;
    height: 2px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    box-shadow: -5px 0 0 var(--primary-yellow), 5px 0 0 var(--primary-yellow);
}

.premium-title {
    color: var(--primary-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pvsa-hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.highlight-yellow {
    color: var(--primary-yellow);
}

.pvsa-hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 30px;
}

.pvsa-hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 50px;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.hero-slider-dots .dot.active {
    background-color: var(--primary-yellow);
}

/* ==========================================================================
   RESPONSIVE HERO SECTION - BOTONES COMPACTOS
   ========================================================================== */
/* Tablets (Laptops pequeñas / iPads) */
@media (max-width: 992px) {
    .pvsa-hero {
        padding: 60px 0 0 0;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(5, 19, 41, 0.75) 0%, rgba(5, 19, 41, 0.55) 100%);
    }

    .pvsa-hero-title {
        font-size: 2.5rem;
    }

    .pvsa-hero-description {
        max-width: 100%;
    }
}

/* Móviles Grandes y Medianos */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(180deg, rgba(5, 19, 41, 0.65) 0%, rgba(5, 19, 41, 0.45) 100%);
    }

    .pvsa-hero-title {
        font-size: 2rem;
    }

    .pvsa-hero-description {
        font-size: 0.95rem;
    }

    .hero-slider-dots {
        margin-top: 35px;
    }

    .pvsa-hero-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }

    .pvsa-hero-buttons .btn {
        width: auto;
        flex: 0 0 auto;
        max-width: none;
        text-align: center;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Móviles Pequeños */
@media (max-width: 576px) {
    .pvsa-hero {
        padding: 40px 0 0 0;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(5, 19, 41, 0.6) 0%, rgba(5, 19, 41, 0.4) 100%);
    }

    .pvsa-hero-title {
        font-size: 1.65rem;
    }

    .pvsa-hero-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
        width: 100%;
    }

    .pvsa-hero-buttons .btn {
        width: auto;
        flex: 0 0 auto;
        max-width: none;
        text-align: center;
        padding: 9px 14px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   ESTADÍSTICAS (STATS CARD)
   ========================================================================== */
.stats-wrapper {
    position: relative;
    z-index: 10;
    transform: translateY(50%);
}

.stats-card {
    background-color: var(--white);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr;
    align-items: center;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

.stat-highlight {
    text-align: center;
}

.stat-sub {
    font-size: 0.8rem;
    color: #666;
}

.stat-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--navy-blue);
    line-height: 1;
}

/* ==========================================================================
   RESPONSIVE ESTADÍSTICAS (EFECTO FLOTANTE MANTENIDO EN TABLET Y MÓVIL)
   ========================================================================== */
/* Tablets (Laptops pequeñas / iPads) */
@media (max-width: 992px) {
    .stats-wrapper {
        transform: translateY(50%);
    }

    .stats-card {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 25px 30px;
    }

    .stat-divider {
        display: none;
    }

    .stat-highlight {
        grid-column: span 3;
        border-top: 1px solid var(--border-color);
        padding-top: 15px;
        margin-top: 5px;
    }

    .stat-number {
        font-size: 1.9rem;
    }
}

/* Móviles Grandes y Medianos */
@media (max-width: 768px) {
    .stats-wrapper {
        transform: translateY(50%);
    }

    .stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
        padding: 20px;
    }

    .stat-highlight {
        grid-column: span 2;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .stat-title {
        font-size: 1.15rem;
    }
}

/* Móviles Pequeños (Mantiene 2 filas estrictas y posición flotante) */
@media (max-width: 576px) {
    .stats-wrapper {
        transform: translateY(50%);
    }

    .stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 10px;
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-title {
        font-size: 1rem;
    }

    .stat-sub {
        font-size: 0.72rem;
    }

    .stat-highlight {
        grid-column: span 2;
        border-top: 1px solid var(--border-color);
        padding-top: 12px;
    }
}



/* ==========================================================================
   SECCIÓN NUESTROS EQUIPOS
   ========================================================================== */
.pvsa-equipos {
    padding: 130px 0 70px 0;
    width: 100%;
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.pvsa-section-header {
    margin-bottom: 50px;
}

.pvsa-section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--navy-blue);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.title-underline {
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--navy-blue);
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

.pvsa-section-subtitle {
    font-size: 1.05rem;
    color: #555555;
    font-weight: 500;
}

/* Indicador de Deslizamiento (Oculto en Escritorio) */
.swipe-hint {
    display: none;
}

/* Grid de Tarjetas de Equipos */
.equipos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 45px;
    width: 100%;
    box-sizing: border-box;
}

.equipo-card {
    background-color: var(--bg-light);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.equipo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.equipo-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.equipo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

.equipo-card:hover .equipo-card-img img {
    transform: scale(1.05);
}

.equipo-card-body {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.equipo-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-blue);
    line-height: 1.2;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.equipo-card-desc {
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.equipo-card-link {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.equipo-card-link:hover {
    color: var(--primary-yellow-hover);
    gap: 10px;
}

/* Botón Ver Todos los Equipos */
.btn-navy {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 14px 32px;
    font-size: 0.9rem;
}

.btn-navy:hover {
    background-color: var(--accent-blue);
    color: var(--white);
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVE & SLIDER NATIVO (TARJETAS VERTICALES)
   ========================================================================== */
@media (max-width: 1200px) {
    .equipos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .pvsa-equipos {
        padding-top: 140px;
    }
}

@media (max-width: 768px) {
    .pvsa-equipos {
        padding-top: 150px;
        padding-bottom: 50px;
    }

    .pvsa-section-header {
        margin-bottom: 20px;
    }

    /* Indicador de Deslizamiento en Móvil */
    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--accent-blue);
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .swipe-hint i {
        animation: swipeArrow 1.5s infinite ease-in-out;
    }

    /* Transformación de Grid a Slider Nativo */
    .equipos-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 20px;
        margin-bottom: 30px;
        scrollbar-width: none;
        max-width: 100%;
        box-sizing: border-box;
    }

    .equipos-grid::-webkit-scrollbar {
        display: none;
    }

    /* Proporción Vertical */
    .equipo-card {
        flex: 0 0 60%;
        min-height: 400px;
        scroll-snap-align: center;
    }

    .equipo-card-img {
        height: 230px;
    }

    .equipo-card-body {
        padding: 20px 16px;
    }
}

@media (max-width: 576px) {
    .pvsa-equipos {
        padding-top: 160px;
    }

    .equipo-card {
        flex: 0 0 68%;
        min-height: 380px;
    }

    .equipo-card-img {
        height: 210px;
    }

    .pvsa-section-title {
        font-size: 1.8rem;
    }
}

/* Keyframes para la animación del indicador */
@keyframes swipeArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* ==========================================================================
   SECCIÓN NUESTROS SERVICIOS (DISEÑO PREMIUM ESTÁTICO)
   ========================================================================== */
.bg-dark {
    background-color: #031229;
    color: var(--white);
}

.pvsa-servicios {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Rejilla decorativa industrial de fondo */
.pvsa-servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.6;
    pointer-events: none;
}

.servicios-wrapper {
    display: grid;
    grid-template-columns: 1fr 2.3fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Columna Izquierda */
.servicios-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.servicios-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.servicios-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 18px;
}

.servicios-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-blue-light {
    background-color: #0d47a1;
    color: var(--white);
    padding: 14px 30px;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
}

.btn-blue-light:hover {
    background-color: #1565c0;
    color: var(--white);
    gap: 14px;
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.6);
}

/* Columna Derecha - Grid de Tarjetas */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 28px 22px;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--accent-blue);
    transition: var(--transition-fast);
    opacity: 0.5;
}

.servicio-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.servicio-card:hover::before {
    width: 4px;
    background-color: var(--primary-yellow);
    opacity: 1;
}

/* Ícono del Servicio */
.servicio-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: rgba(13, 71, 161, 0.3);
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.servicio-card:hover .servicio-card-icon {
    background-color: var(--primary-yellow);
    color: var(--navy-blue);
    transform: scale(1.08);
}

.servicio-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.servicio-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVE (MANTENER 2 COLUMNAS EN MÓVIL)
   ========================================================================== */
@media (max-width: 1024px) {
    .servicios-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pvsa-servicios {
        padding: 60px 0;
    }

    .servicios-title {
        font-size: 1.8rem;
    }

    .servicios-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .servicio-card {
        padding: 20px 16px;
    }

    .servicio-card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .servicio-card-title {
        font-size: 0.88rem;
    }

    .servicio-card-desc {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    /* Mantiene las 2 columnas estrictas también en pantallas pequeñas */
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .servicio-card {
        padding: 16px 12px;
    }

    .servicio-card-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .servicio-card-title {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .servicio-card-desc {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* ==========================================================================
   SECCIÓN PROYECTOS REALIZADOS (TARJETAS VERTICALES CON SLIDER MÓVIL)
   ========================================================================== */
.pvsa-proyectos {
    padding: 100px 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Indicador de Desplazamiento Horizontal (Oculto en Desktop) */
.swipe-hint-dark {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 24px;
}

/* Contenedor Grid en Escritorio */
.proyectos-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
}

/* Tarjeta de Proyecto: Formato Vertical */
.proyecto-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.proyecto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

/* Contenedor de Imagen Vertical */
.proyecto-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* Proporción vertical alargada */
    overflow: hidden;
}

.proyecto-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.proyecto-card:hover .proyecto-card-img img {
    transform: scale(1.08);
}

/* Overlay y Etiqueta */
.proyecto-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(3, 18, 41, 0.85), transparent);
    display: flex;
    align-items: flex-end;
}

.proyecto-tag {
    background-color: var(--primary-yellow);
    color: var(--navy-blue);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Cuerpo de la Tarjeta */
.proyecto-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.proyecto-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 8px;
    line-height: 1.3;
}

.proyecto-card-location {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.proyecto-card-desc {
    font-size: 0.85rem;
    color: #666666;
    line-height: 1.5;
    flex-grow: 1;
}

/* Botón Acción Inferior */
.btn-navy {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.btn-navy:hover {
    background-color: #082147;
    color: var(--white);
    gap: 14px;
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVE & SLIDER NATIVO
   ========================================================================== */
@media (max-width: 1024px) {
    .proyectos-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pvsa-proyectos {
        padding: 70px 0;
    }

    /* Mostrar Indicador "Deslizar para ver más" */
    .swipe-hint-dark {
        display: flex;
    }

    /* Transformación a Slider Nativo Horizontal */
    .proyectos-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 20px;
        margin-bottom: 30px;
        scrollbar-width: none;
        max-width: 100%;
        box-sizing: border-box;
    }

    .proyectos-slider::-webkit-scrollbar {
        display: none;
    }

    /* Ajuste de Proporción de Tarjetas en Móvil */
    .proyecto-card {
        flex: 0 0 68%; /* Tamaño ideal para dejar ver la siguiente tarjeta */
        scroll-snap-align: center;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }

    .proyecto-card:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .proyecto-card {
        flex: 0 0 78%;
    }

    .proyecto-card-body {
        padding: 16px;
    }

    .proyecto-card-title {
        font-size: 0.98rem;
    }
}

/* ==========================================================================
   SECCIÓN BANNER CTA / LOTE DE CONVERSIÓN
   ========================================================================== */
.pvsa-cta-banner {
    position: relative;
    padding: 90px 0;
    background-image: url('../img/hero.jpeg'); /* Imagen de maquinaria en obra */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax en Desktop */
    color: var(--white);
}

.pvsa-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 18, 41, 0.95) 0%, rgba(5, 29, 64, 0.85) 100%);
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Columna Izquierda */
.cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-yellow);
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.cta-title {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 18px;
}

.cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-badges {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.cta-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-badge-item i {
    color: var(--primary-yellow);
}

/* Columna Derecha: Tarjeta de Contacto */
.cta-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cta-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.cta-card-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* Botones de Contacto */
.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 14px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-gold-outline {
    background: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    transition: var(--transition-fast);
}

.btn-gold-outline:hover {
    background-color: var(--primary-yellow);
    color: var(--navy-blue);
}

.cta-direct-call {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: inherit;
    -webkit-text-fill-color: inherit;
}

.cta-direct-call i {
    font-size: 1.4rem;
    color: var(--accent-blue);
}

.cta-direct-call div {
    display: flex;
    flex-direction: column;
}

.cta-direct-call small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.cta-direct-call strong {
    font-size: 1.05rem;
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 576px) {
    .pvsa-cta-banner {
        padding: 60px 0;
        background-attachment: scroll; /* Mejora rendimiento en móvil */
    }

    .cta-card {
        padding: 25px 20px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-badges {
        flex-direction: column;
        gap: 10px;
    }

    .cta-badge-item {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   FOOTER PRINCIPAL (3 COLUMNAS)
   ========================================================================== */
.pvsa-footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding-top: 80px;
    border-top: 3px solid var(--primary-yellow);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Columna Branding */
.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Redes Sociales */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--primary-yellow);
    color: var(--navy-blue);
    transform: translateY(-3px);
}

/* Títulos de Columnas */
.footer-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 22px;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-yellow);
    margin-top: 8px;
}

/* Lista de Enlaces */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--primary-yellow);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Lista de Contacto */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.footer-contact i {
    color: var(--primary-yellow);
    font-size: 1rem;
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--white);
}

/* Bottom Bar / Copyright & Firma */
.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-dev {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.dev-signature {
    color: var(--primary-yellow);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.dev-signature:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVE (FOOTER CENTRADO Y FLUIDO)
   ========================================================================== */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    /* Centrado de branding y redes sociales */
    .footer-logo {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }

    /* Centrado de la línea decorativa de títulos */
    .footer-title::after {
        margin: 8px auto 0 auto;
    }

    /* Centrado de enlaces de navegación */
    .footer-links a {
        justify-content: center;
    }

    /* Centrado de datos de contacto */
    .footer-contact li {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .pvsa-footer {
        padding-top: 50px;
    }

    .footer-top {
        gap: 32px;
        padding-bottom: 35px;
    }

    .footer-title::after {
        margin-top: 6px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
        padding: 20px 0;
    }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP CON ANIMACIÓN DE PULSO
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition-fast);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Keyframes para la animación de pulso */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mensaje Flotante / Tooltip (Fondo Blanco, Texto Azul) */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--white);
    color: var(--navy-blue);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 7px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-fast);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(3, 18, 41, 0.08);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVE (WHATSAPP FLOTANTE)
   ========================================================================== */

/* Dispositivos Medianos / Tablets (<= 992px) */
@media (max-width: 992px) {
    .whatsapp-float {
        bottom: 22px;
        right: 22px;
    }
}

/* Dispositivos Móviles (<= 768px) */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.75rem;
    }

    /* Estilos del Tooltip adaptado para móviles */
    .whatsapp-tooltip {
        font-size: 0.75rem;
        padding: 5px 10px;
        right: 62px;
    }

    /* Activación programada vía JavaScript */
    .whatsapp-tooltip.show-mobile {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

/* Móviles muy pequeños (<= 480px) */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .whatsapp-tooltip {
        right: 58px;
        font-size: 0.72rem;
        padding: 4px 8px;
    }
}

/* ==========================================================================
   MODAL DE COTIZACIÓN (FORMULARIO WEB)
   ========================================================================== */
/* Contenedor Principal (Oculto por defecto) */
.pvsa-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Clase para abrir el Modal mediante JS */
.pvsa-modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* Overlay Oscuro tras el Modal */
.pvsa-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 18, 41, 0.85);
    backdrop-filter: blur(5px);
}

/* Tarjeta / Contenedor del Formulario */
.pvsa-modal-container {
    position: relative;
    z-index: 2001;
    background-color: var(--white);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-top: 5px solid var(--primary-yellow);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.pvsa-modal.is-open .pvsa-modal-container {
    transform: translateY(0);
}

/* Botón de Cierre */
.pvsa-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f3f7;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--navy-blue);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.pvsa-modal-close:hover {
    background-color: var(--primary-yellow);
    color: var(--navy-blue);
}

/* Header del Modal */
.pvsa-modal-header {
    margin-bottom: 25px;
    text-align: center;
}

.modal-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--navy-blue);
    background-color: rgba(3, 18, 41, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy-blue);
    margin-bottom: 6px;
}

.modal-desc {
    font-size: 0.88rem;
    color: #666666;
    margin: 0;
}

/* Estilos de Campos de Entrada */
.pvsa-modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #f8fafc;
    color: #333333;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--navy-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(3, 18, 41, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.9rem;
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVE (MODAL MULTI-DISPOSITIVO)
   ========================================================================== */

/* Tabletas y Pantallas Medianas (<= 992px) */
@media (max-width: 992px) {
    .pvsa-modal-container {
        max-width: 90%;
        padding: 35px 30px;
    }
}

/* Dispositivos Móviles Grandes y Medianosis (<= 768px) */
@media (max-width: 768px) {
    .pvsa-modal {
        padding: 12px;
    }

    .pvsa-modal-container {
        padding: 30px 20px 25px 20px;
        max-height: 88vh; /* Control de altura en pantallas cortas */
    }

    .pvsa-modal-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    .modal-desc {
        font-size: 0.82rem;
    }

    /* Mejora de usabilidad táctil en inputs */
    .form-control {
        padding: 11px 12px;
        font-size: 0.92rem;
    }
}

/* Dispositivos Móviles Pequeños (<= 480px) */
@media (max-width: 480px) {
    .pvsa-modal-container {
        padding: 25px 15px 20px 15px;
        border-radius: 10px;
    }

    .modal-tag {
        font-size: 0.7rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    textarea.form-control {
        min-height: 80px;
    }

    .btn-block {
        padding: 12px;
        font-size: 0.85rem;
    }
}

/* Optimización para orientación Horizontal (Landscape Mode en Móviles) */
@media (max-height: 600px) and (orientation: landscape) {
    .pvsa-modal-container {
        max-height: 92vh;
        padding-top: 20px;
    }

    .pvsa-modal-header {
        margin-bottom: 15px;
    }

    .modal-desc {
        display: none; /* Oculta la descripción en apaisado para dar espacio al formulario */
    }

    textarea.form-control {
        min-height: 60px;
    }
}