:root{
    /* Paleta de Colores Principales */
    --bg-main: #0a0f1d;
    --bg-surface: #111827;
    --bg-surface-elevated: #1a2234;
    --bg-glass: rgba(17, 24, 39, 0.75);

    --colorVioleta: #2e197e;
    --colorVioletaClaro: #8144a1;
    --colorAzul: #0243a1;
    --colorAzulClaro: #2d5cc8;
    --colorHoverUno: #8144a1;
    
    /* Acentos & Botones */
    --accent-primary: #38bdf8;
    --accent-primary-hover: #0ea5e9;
    --accent-glow: rgba(56, 189, 248, 0.2);
    --accent-whatsapp: #25D366;       /* WhatsApp Oficial */
    --accent-whatsapp-hover: #1ebc57;
    --accent-call: #3b82f6;           /* Azul Llamadas */
    --accent-call-hover: #2563eb;
    
    /* Tipografía & Textos */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Bordes y Sombras */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.15);
    
    /* Contenedor y Radios */
    --container-max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);}

/* ==========================================================================
   RESET & ESTILOS BASE
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;}

html{scroll-behavior: smooth; font-size: 16px;}

body{
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;}

img{
    max-width: 100%;
    height: auto;
    display: block;}

a{
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);}

ul {list-style: none;}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;}

/* Contenedor General */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-inline: auto;
    padding-inline: 1.5rem;}

/* Clases Utilitarias */
.text-center { text-align: center; }
.mt-3 {margin-top: 1rem;}

/* Títulos de Sección Reutilizables & Destinos de Anclas */
.section {
    padding-top: 2rem;       /* 32px exactos desde el borde inferior del navbar */
    padding-bottom: 5.5rem;
    position: relative;
    scroll-margin-top: 88px; /* Detiene el scroll exactamente en el borde inferior del navbar */}

#hero {scroll-margin-top: 0px;}

.section-header {
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 3.5rem;}

.section-kicker {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 0.75rem;
    background: rgba(129, 68, 161, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(129, 68, 161, 1);}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;}

.btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);}

.btn-full {width: 100%;}

.btn-primary {
    background: var(--colorAzul);
    color: #fff;}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);}

.btn-whatsapp {
    background: var(--accent-whatsapp);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);}

.btn-whatsapp:hover {
    background: var(--accent-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);}

.btnContacto{padding: 0px;}

.wsCta{width: 22px;}

.btn-call { background: var(--colorVioleta); color: #fff;}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(56, 189, 248, 0.05);
    transform: translateY(-2px);}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-normal);}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;}

.logo img{width: 232px;}

.nav-list {
    display: flex;
    align-items: center; /* Link del navbar desplegable en el centro */
    gap: 1.75rem;}

.nav-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    padding: 0.35rem 0;
    color: var(--colorVioleta);}

.nav-link:hover, .nav-link.active {color: var(--colorVioletaClaro);}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--colorVioletaClaro);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);}

.nav-link:hover::after, .nav-link.active::after {width: 100%;}

/* Acciones en Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;}

.header-actions img{width: 18px;}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 52px;
    height: 52px;
    padding: 11px;
    background: #ffff;
    border: 2px solid var(--colorVioleta);
    border-radius: var(--radius-sm);
    z-index: 1100;
    transition: all var(--transition-normal);}

.hamburger-btn:hover {
    border-color: var(--colorVioleta);
    background: #fff;}

.hamburger-btn, .hamburger-btn * {-webkit-tap-highlight-color: transparent;}

.hamburger-btn:focus{background-color: #fff !important;}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background-color: var(--colorVioleta);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);}

/* Animación del botón hamburguesa a X */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);}

/* ==========================================================================
   SECCIÓN HERO
========================================================================== */
.hero-section {
    /* min-height: calc(100vh - 1px); */
    max-height: 1200px !important;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 125px;
    padding-bottom: 5rem;
    background-image: url('../imagenes/banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.2);
    background-blend-mode: darken;}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 15, 29, 1) 25%, rgba(10, 15, 29, 0.25) 90%);
    z-index: 1;}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;}

.hero-badge, .hero-title, .hero-subtitle, .hero-actions {max-width: 820px;}

.hero-badge {
    width: 360px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: rgba(46, 25, 126, 0.5);
    border: 1px solid var(--colorVioletaClaro);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;}

/* ============================================================== */    
@media (max-width: 404px) {
    .hero-badge{width: 290px;}
    .logosPrestadores .imgPrestadores{width: 45% !important;}
    .contact-card-box {width: 290px; padding: 30px !important;}
    .contact-value{
    overflow-wrap: break-word; /* corta si hace falta */
    word-break: break-word;}
    .contact-card-box, .box-prestadores{width: 100% !important;}
}
/* ============================================================== */  

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);}

.hero-subtitle {
    font-size: clamp(1.18rem, 2vw, 1.2rem);
    color: #fff;
    line-height: 1.6;
    margin-bottom: 2.25rem;}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;}

/* Métricas en Hero (Estética de Tarjetas / Cards) */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 620px;
    width: 100%;
    padding-top: 0.5rem;}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform var(--transition-fast), border-color var(--transition-fast);}

.stat-item:hover {border-color: var(--accent-primary); transform: translateY(-2px);}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1.1;}

.stat-label {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 0.25rem;}

.stat-divider {display: none;}

/* ==========================================================================
   SECCIÓN NOSOTROS / HISTORIA
========================================================================== */
.about-section {background-color: var(--bg-surface);}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;}

.paragraph-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.5;}

.paragraph-secondary {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;}

.about-feature-item .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;}

.about-feature-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;}

.about-feature-item p {font-size: 1rem; color: var(--text-secondary);}

.about-image-wrapper {position: relative;}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    width: 100%;
    height: 480px;
    object-fit: cover;}

.about-badge-card {
    position: absolute;
    bottom: -20px;
    left: -8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);}

.about-badge-card .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    color: #04111f;
    border-radius: var(--radius-full);
    font-size: 1.25rem;}

.about-badge-card .badge-text {
    display: flex;
    flex-direction: column;}

.about-badge-card .badge-text strong {font-size: 0.95rem; color: #fff;}

.about-badge-card .badge-text span {font-size: 0.8rem; color: #fff;}

/* ==========================================================================
   SECCIÓN SERVICIOS (CARRUSEL INTERACTIVO)
   ========================================================================== */
.projects-section {background-color: var(--bg-main);}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;}

.projects-carousel-track {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Oculta scrollbar en Firefox */
    -ms-overflow-style: none; /* Oculta scrollbar en IE/Edge */
    padding-block: 1rem;
    padding-inline: 0.25rem;
    width: 100%;
    -webkit-overflow-scrolling: touch;}

.projects-carousel-track::-webkit-scrollbar {display: none; /* Oculta scrollbar en Chrome/Safari */}

/* Tarjetas en el carrusel (3 en Desktop, 2 en Tablet, 1 en Móvil) */
.projects-carousel-track .project-card {
    flex: 0 0 calc((100% - 3.5rem) / 3);
    min-width: 290px;
    scroll-snap-align: start;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;}

.projects-carousel-track .project-card:hover {
    transform: translateY(-6px);
    border-color: var(--colorVioletaClaro);
    box-shadow: var(--shadow-md);}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 230px;}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;}

.project-card:hover .project-img {transform: scale(1.05);}

.project-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(56, 189, 248, 0.3);}

.project-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.35;}

.project-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.55;}

.cardWs{
    width: 215px;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background-color: var(--colorVioleta);}

/* Botones Flechas de Navegación */
.carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    flex-shrink: 0;}

.carousel-arrow-prev {left: -22px;}

.carousel-arrow-next {right: -22px;}

.carousel-arrow:hover {
    background: var(--accent-primary);
    color: #04111f;
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
    transform: translateY(-50%) scale(1.08);}

.carousel-arrow:active {transform: translateY(-50%) scale(0.95);}

/* Dots Indicadores de Posición */
.carousel-dots-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all var(--transition-normal);}

.carousel-dot.active {
    background: var(--colorVioletaClaro);
    width: 28px;
    border-color: var(--colorVioletaClaro);
    box-shadow: 0 0 10px rgba(149, 180, 186, 0.3);}

/* =============================================================================
 COBERTURAS MÉDICAS Y OBRAS SOCIALES
==============================================================================*/
.logosPrestadores{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;}

.logosPrestadores .imgPrestadores{width: 47.5%; border-radius: 8px;}

.listadoOs{
    letter-spacing: 0.3px;
    display: block;
    margin: auto;
    text-align: center;
    text-decoration: underline;
        &:hover{color: var(--colorHoverUno); text-decoration: underline;}}

/* ==========================================================================
   SECCIÓN SEDE
========================================================================== */
.sedes-section {background-color: var(--bg-main);}

.sedes-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(280px, 75%));
    justify-content: center;
    gap: 2rem;}

.sedes-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);}

.sedes-card h2{text-align: center; font-weight: 600;}

.sedes-card:hover {border-color: var(--colorVioletaClaro); transform: translateY(-4px);}

.sedes-card hr{border-color: rgba(255, 255, 255, 0.2); margin-bottom: 24px;}

.sedes-card.highlight-card {
    border-color: rgba(56, 189, 248, 0.35);
    background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);}

.stars-rating {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;}

.sedes-quote {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;}

.sedes-practicas {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;}

.sedes-practicas ul{
    list-style: disc;
    margin-left: 16px;
    color: var(--text-muted);}

.author-avatar-initials {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-call));
    color: #04111f;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;}

.author-info { display: flex; flex-direction: column;}

.author-name {font-size: 0.95rem; color: var(--text-primary);}

.author-role {font-size: 0.8rem; color: var(--text-muted);}

/* ==========================================================================
   SECCIÓN CONTACTO
========================================================================== */
.contact-section {background-color: var(--bg-surface);}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;}

.contact-card-box {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;}

.contact-box-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;}

.contact-box-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;}

.contact-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    margin-bottom: 2.5rem;}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent-primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;}

.contact-item-icon.wa-icon-style {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.25);
    color: var(--accent-whatsapp);}

.contact-item-content {display: flex; flex-direction: column;}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;}

.contact-value, .contact-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);}

.contact-value:hover {color: var(--accent-primary);}

.contact-value.highlight-link {color: var(--accent-whatsapp);}

.contact-cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: auto;}

.contact-cta-buttons span{font-size: 1rem;}    

/* Columna del Mapa */
.contact-map-column {
    height: 100%;
    min-height: 420px;}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    filter: invert(90%) hue-rotate(180deg) contrast(90%); /* Dark map filter */
    transition: filter var(--transition-normal);}

.map-container:hover iframe {filter: none; /* Al hacer hover se ve en color natural */  }

/* ==========================================================================
   FOOTER
========================================================================== */
.site-footer {
    background-color: #070a14;
    border-top: 1px solid var(--border-subtle);
    padding-top: 5rem;
    padding-bottom: 2rem;}

.logoFooter{width: 132px; border-radius: var(--radius-sm);}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;}

.footer-col-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-block: 1.25rem 1.75rem;
    max-width: 320px;}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;}

.footer-links a {font-size: 1rem; color: var(--text-secondary);}

.footer-links a:hover {color: var(--accent-primary); padding-left: 4px;}

.footer-contact-item {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;}

.social-links-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);}

.social-btn:hover {
    background: var(--colorHoverUno);
    color: #E7E5E4;
    border-color: var(--colorVioleta);
    transform: translateY(-3px);}

.footer-bottom {border-top: 1px solid var(--border-subtle); padding-top: 2rem;}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);}

.footer-bottom-links {display: flex; gap: 1.5rem;}

.footer-bottom-links a {color: var(--text-muted);}

.footer-bottom-links a:hover {color: var(--text-primary);}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP
========================================================================== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--accent-whatsapp);
    color: #ffffff;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: all var(--transition-normal);
    animation: wa-pulse 2.5s infinite;}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: var(--accent-whatsapp-hover);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.floating-wa-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    box-shadow: var(--shadow-md);}

.floating-whatsapp-btn:hover .floating-wa-tooltip {opacity: 1;}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   RESPONSIVE & MEDIA QUERIES (ADAPTABILIDAD TOTAL)
========================================================================== */

/* 1. Pantallas medianas y Tablets en Horizontal (<= 1080px - incluye 1024px) */
@media (max-width: 1080px) {
    /* Más espacio/padding lateral visible para el contenido general en 1024px */
    .container {padding-inline: 4.5rem;}

    /* Centrado horizontal de las métricas en el medio del viewport */
    .hero-stats {
    margin-inline: auto;
    max-width: 620px;
    width: 100%;
    text-align: center;
    justify-content: center;}

    .services-grid {grid-template-columns: repeat(2, 1fr);}

    .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;}

    .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;}

    .about-image-wrapper {max-width: 600px; margin-inline: auto;}

    .about-img {height: 380px;}
}

/* 2. Menú Hamburguesa & Adaptaciones Generales (Hasta 992px inclusive) */
@media (max-width: 1200px) {
    .hamburger-btn {display: flex;}

    .header-wa-btn {display: none; /* Se oculta en el header para dar prioridad al botón hamburguesa */}

    /* Menú Desplegable Compacto */
    .main-nav {
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(10, 15, 29, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);}

    .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;}

    .nav-list {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    width: 100%;}

    .nav-link {
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    padding: 0.35rem 0.75rem;
    color: #fff;}

    .contact-grid {grid-template-columns: 1fr;}

    .sedes-grid {grid-template-columns: 1fr;}

    /* Carrusel de Proyectos en Tablet (2 visibles) */
    .projects-carousel-track .project-card {
    flex: 0 0 calc((100% - 1.75rem) / 2);
     min-width: 260px;}

    .carousel-arrow-prev {left: -14px;}
    .carousel-arrow-next {right: -14px;}

    .contact-map-column {min-height: 340px;}

    .map-container iframe {min-height: 340px;}
}

/* 3. Rango Tablet (641px hasta 992px - Incluye 768px) */
@media (min-width: 641px) and (max-width: 992px) {
    .container {padding-inline: 3rem;}

    /* Hero al 100% de altura de pantalla */
    .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 110px;
    padding-bottom: 3.5rem;}

    /* Contenido de Hero centrado con padding lateral */
    .hero-content {
    text-align: center;
    margin-inline: auto;
    padding-inline: 2rem;
    max-width: 860px;}

    .hero-badge {margin-inline: auto;}

    .hero-subtitle {margin-inline: auto;}

    /* Los 3 CTA en una sola fila (uno al lado del otro) */
    .hero-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.85rem;
    width: 100%;
    margin-bottom: 3rem;}

    .hero-actions .btn {
    flex: 0 1 auto;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
    white-space: nowrap;
    max-width: none; }

    /* Métricas del Hero centradas */
    .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    text-align: center;
    gap: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-subtle);}

    .hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0.85rem 0.35rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);}

    .contact-cta-buttons {grid-template-columns: 1fr 1fr;}
}

/* 4. Smartphones y Pantallas Estrechas (<= 640px) */
@media (max-width: 640px) {
    .container {padding-inline: 1.25rem;}

    .section {padding-top: 2rem; padding-bottom: 4.5rem;}

    .hero-content {text-align: center; padding-inline: 1rem;}

    .hero-badge {margin-inline: auto;}

    .hero-subtitle {margin-inline: auto;}

    /* Botones CTA en columna para móviles estrechos */
    .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.85rem;}

    .hero-actions .btn {width: 100%; max-width: 290px;}

    /* Bloque de Métricas Centrado en Móviles */
    .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    text-align: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);}

    .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0.75rem 0.25rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);}

    .stat-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1.1;}

    .stat-label {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 0.25rem;}

    .services-grid {grid-template-columns: 1fr;}

    /* Carrusel en Móvil: 1 sola tarjeta visible al 100% de ancho */
    .projects-carousel-track .project-card {
    flex: 0 0 100%;
    min-width: 100%;}

    .carousel-arrow {width: 40px; height: 40px;}

    .carousel-arrow-prev {left: -8px;}
    .carousel-arrow-next {right: -8px;}

    .contact-cta-buttons {grid-template-columns: 1fr;}

    .footer-container {grid-template-columns: 1fr; gap: 2rem;}

    .footer-bottom-container {
    flex-direction: column;
    text-align: center;}

    .floating-whatsapp-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;}
}

/* ======================================================================== */
@media (min-width: 768px){    
    .logosPrestadores{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;}

    .logosPrestadores .imgPrestadores{
    width: 23%;
    border-radius: 8px;}
}

@media (min-width: 992px){   
    .prestadores-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;}   

    .box-prestadores{
    /*width: 100%; */
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: block !important;
   /*  flex-direction: column; */
    height: 100%;}

    .logosPrestadores .imgPrestadores{width: 23%; border-radius: 8px;}

    .box-prestadores .listadoOs{
    display: block;
    margin: auto;
    text-align: center !important;
        &:hover{color: var(--colorHoverUno); text-decoration: none;}}
}

@media (min-width: 1024px){}


@media (min-width: 1200px){
    .sedes-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(280px, 60%));
    justify-content: center;
    gap: 2rem;}

    .logosPrestadores{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;}

    .textosPrestadores{max-width: 100%;}
    .subtitlePrestadores{width: 85%; margin: auto;}

    .logosPrestadores .imgPrestadores{
    width: 11%;
    border-radius: 8px;}
}

