/* =====================================================
   FUENTES E IMPORTACIONES
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* =====================================================
   VARIABLES CSS
   ===================================================== */
:root {
    --primary: #0077b6;
    --secondary: #00b4d8;
    --accent: #48cae4;
    --light: #caf0f8;
    --dark: #03045e;
    --text-dark: #333;
    --text-light: #f8f9fa;
    --gray-light: #f8f9fa;
    --gray: #dee2e6;
}

/* =====================================================
   RESET Y ESTILOS GLOBALES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--gray-light);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    font-family: 'Montserrat', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =====================================================
   INICIO - HEADER Y NAVEGACIÓN
   ===================================================== */
header {
    background: linear-gradient(to right, #c9e1ff 0%, #c6defc 40%, #559ce4 70%, #1e3c72 100%);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-container {
    display: block;
    transition: transform 0.3s ease;
    max-width: 200px;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

/* Navegación */
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 1.5rem;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    display: block;
}

.nav-links a:hover {
    color: #87CEEB;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: " ▼";
    font-size: 0.8em;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: #333;
    padding: 0.75rem 1.5rem;
    display: block;
    font-weight: 400;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #0054a6;
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

/* Responsive Header */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0054a6;
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: rgba(255,255,255,0.1);
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .dropdown-menu a {
        color: rgb(255, 255, 255);
        padding: 0.5rem 1.5rem;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(255,255,255,0.2);
    }
}
/* =====================================================
   FIN - HEADER Y NAVEGACIÓN
   ===================================================== */

/* =====================================================
   INICIO - WHATSAPP FLOAT BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebd5a;
}
/* =====================================================
   FIN - WHATSAPP FLOAT BUTTON
   ===================================================== */

/* =====================================================
   INICIO - HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    color: white;
    text-align: center;
    display: block;
    width: 100%;
    height: 70vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-size: 16px;
}

.hero-slider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero-slide {
    display: none;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-slide.active {
    display: block;
}

.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
}

/* Backgrounds específicos para cada slide */
.hero-slide:nth-child(1) .hero-slide-background {
    background: linear-gradient(rgba(0, 119, 182, 0.7), rgba(0, 180, 216, 0.7)), 
                url('/imagenes/1.\ Comprometidos\ con\ tu\ salud\ visual.webp') center/cover no-repeat;
}

.hero-slide:nth-child(2) .hero-slide-background {
    background: linear-gradient(rgba(0, 119, 182, 0.7), rgba(0, 180, 216, 0.7)), 
                url('/imagenes/2.\ Más\ que\ una\ IPS\,\ somos.jpg') center/cover no-repeat;
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin: 0;
    z-index: 1;
}

.hero-slide-content h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    overflow: hidden;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeIn 1.5s ease-in;
}

.hero-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.hero-controls button {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    margin: 0 10px;
    padding: 0;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* =====================================================
   FIN - HERO SECTION
   ===================================================== */

/* =====================================================
   INICIO - BOTONES
   ===================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-brochure {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.btn-brochure:hover {
    background-color: #2980b9;
}

.btn-open-pdf {
    background-color: #0054a6;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-open-pdf:hover {
    background-color: #27ae60;
}
/* =====================================================
   FIN - BOTONES
   ===================================================== */

/* =====================================================
   INICIO - SECCIONES GENERALES
   ===================================================== */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 1rem auto 0;
}

.section {
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.section-content {
    flex: 1;
    padding-right: 30px;
    min-width: 300px;
    text-align: justify;
}

.section-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.reverse {
    flex-direction: row-reverse;
}

.reverse .section-content {
    padding-right: 0;
    padding-left: 30px;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #e67e22;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
}
/* =====================================================
   FIN - SECCIONES GENERALES
   ===================================================== */

/* =====================================================
   INICIO - ABOUT SECTION
   ===================================================== */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.about-text p {
    margin-bottom: 1rem;
}
/* =====================================================
   FIN - ABOUT SECTION
   ===================================================== */

/* =====================================================
   INICIO - QUALITY SECTION
   ===================================================== */
.quality {
    background-color: var(--light);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quality-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.quality-card:hover {
    transform: translateY(-10px);
}

.quality-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.quality-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}
/* =====================================================
   FIN - QUALITY SECTION
   ===================================================== */

/* =====================================================
   INICIO - SERVICES SECTION
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e6f0fa;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}
/* =====================================================
   FIN - SERVICES SECTION
   ===================================================== */

/* =====================================================
   INICIO - MENTAL HEALTH SECTION
   ===================================================== */
.mental-health {
    background: linear-gradient(135deg, #7bb2fa 0%, #1998ff 100%);
}

.mental-health h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mental-health h1 .follow-text {
    font-size: 1.8rem;
    font-weight: 400;
    color: #5a6c7d;
}

.mental-health h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #e74c3c;
    margin: 20px auto 0;
    border-radius: 1px;
}

.mental-health h1 a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    font-size: 2.2rem;
    position: relative;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e8ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mental-health h1 a::before {
    content: '@';
    color: #95a5a6;
    margin-right: 4px;
    font-weight: 300;
}

.mental-health h1 a:hover {
    color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

.mental-health-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.mental-health-image {
    flex: 1;
    min-width: 300px;
}

.mental-health-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mental-health-text {
    flex: 1.5;
    min-width: 300px;
}

.mental-health-text h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.mental-health-text h4 {
    color: var(--dark);
    margin: 1.5rem 0 0.5rem;
}

.mental-health-text p {
    margin-bottom: 1rem;
}
/* =====================================================
   FIN - MENTAL HEALTH SECTION
   ===================================================== */

/* =====================================================
   INICIO - SALUD MENTAL SECTION
   ===================================================== */
.salud-mental {
    color: white;
    padding: 60px 30px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.salud-mental::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(52, 120, 156, 0.7), rgba(29, 80, 90, 0.7));
    z-index: 1;
}

.salud-mental .contenido {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
}

.salud-mental h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.salud-mental p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.texto-resaltado {
    color: white;
    font-weight: bold;
}

.fondo-salud {
    background-image: url('/imagenes/woman-soaking-up-nature-while-outdoors.jpg');
}

.fondo-wm {
    background-image: url('/imagenes/integral.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 20%;
}
/* =====================================================
   FIN - SALUD MENTAL SECTION
   ===================================================== */

/* =====================================================
   INICIO - INSTAGRAM FEED
   ===================================================== */
.instagram-feed-container {
    background: transparent;
}

.instagram-slider {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0 40px;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

.instagram-slider::-webkit-scrollbar {
    height: 4px;
}

.instagram-slider::-webkit-scrollbar-track {
    background: transparent;
}

.instagram-slider::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 2px;
}

.instagram-slider::-webkit-scrollbar-thumb:hover {
    background: #bdbdbd;
}

.instagram-media {
    flex: 0 0 auto;
    width: 400px !important;
    max-width: 400px !important;
    min-width: 320px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.instagram-media:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.slider-nav button {
    background: transparent;
    color: #4ade80;
    border: 1px solid #e0e0e0;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.slider-nav button:hover {
    background: #2c3e50;
    color: #ffffff;
    border-color: #2c3e50;
}

.slider-nav button:focus {
    outline: 2px solid #2c3e50;
    outline-offset: 2px;
}

.slider-nav button:active {
    transform: translateY(1px);
}

#prev-button {
    background: #00ad40;
}

#next-button {
    background: #00ad40;
}
/* =====================================================
   FIN - INSTAGRAM FEED
   ===================================================== */

/* =====================================================
   INICIO - IMAGE SLIDER
   ===================================================== */
.image-slider {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slider-image {
    display: none;
    width: 100%;
    text-align: center;
}

.slider-image.active {
    display: block;
}

.slider-image img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: inline-block;
}
/* =====================================================
   FIN - IMAGE SLIDER
   ===================================================== */

/* =====================================================
   INICIO - TABS
   ===================================================== */
.tabs {
    margin-top: 2rem;
}

.tab-headers {
    display: flex;
    border-bottom: 2px solid var(--gray);
}

.tab-header {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-header.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    margin-bottom: -2px;
}

.tab-body {
    padding: 1.5rem 0;
    display: none;
}

.tab-body.active {
    display: block;
}

.tab-body ul {
    list-style: none;
}

.tab-body li {
    margin-bottom: 0.8rem;
}
/* =====================================================
   FIN - TABS
   ===================================================== */

/* =====================================================
   INICIO - BROCHURE SECTION
   ===================================================== */
.brochure-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.brochure-visible {
    opacity: 1;
    transform: translateY(0);
}

.brochure-content {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.brochure-info {
    flex: 1;
    min-width: 300px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brochure-icon {
    width: 80px;
    margin-bottom: 20px;
}

.brochure-info h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.divider {
    width: 100px;
    height: 4px;
    background-color: #3498db;
    border: none;
    margin-bottom: 25px;
}

.brochure-info p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.brochure-preview-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
}

.brochure-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #eaeaea;
}

.brochure-preview-header span {
    font-weight: bold;
    color: #555;
}

.brochure-preview {
    flex: 1;
    padding: 20px;
}

.brochure-iframe {
    width: 100%;
    height: 500px;
    border-radius: 5px;
    border: 1px solid #ddd;
}
/* =====================================================
   FIN - BROCHURE SECTION
   ===================================================== */

/* =====================================================
   INICIO - ELEMENTOS ADICIONALES
   ===================================================== */
.more-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
    color: #666;
    cursor: pointer;
    font-weight: bold;
}

.more-info-text {
    margin-right: 10px;
}

.circle-plus {
    width: 24px;
    height: 24px;
    background-color: #e67e22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

ul {
    margin-left: 0;
    margin-top: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 5px;
}
/* =====================================================
   FIN - ELEMENTOS ADICIONALES
   ===================================================== */


/* ============================================
   INSTAGRAM FEED SECTION - INICIO
   ============================================ */
.instagram-feed-container {
    width: 100%;
    margin: 0 auto;
}

.instagram-slider {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    animation: fadeIn 1s ease-in-out;
}

.instagram-media {
    margin: 0 auto !important;
    transition: opacity 0.4s ease;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slider-nav button {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slider-nav button:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.slider-nav button:active {
    transform: scale(0.98);
}
/* ============================================
   INSTAGRAM FEED SECTION - FIN
   ============================================ */

/* ============================================
   CONTACT SECTION - INICIO
   ============================================ */
.contact {
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    color: green;
    font-weight: bold;
    text-decoration: none; 
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.contact-card p {
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.contact-card a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
}

.contact-card a:hover {
    text-decoration: none;
    color: var(--primary);
}
/* ============================================
   CONTACT SECTION - INICIO
   ============================================ */

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.form-container {
    max-width: 600px;
    margin: auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: left;
    color: #1d1d1d;
    margin-bottom: 20px;
    position: relative;
}

.form-container h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    margin-top: 8px;
}

.form-container label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

.form-container input, 
.form-container select, 
.form-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.form-container textarea {
    resize: vertical;
}

.form-container button {
    background-color: #0069d9;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #0053ba;
}

/* Estilo para el checkbox */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.checkbox-container input[type="checkbox"] {
    width: auto !important;
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Sección de información de contacto */
.info-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-section h2 {
    color: #20b2aa;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 500;
}

.schedule-info {
    margin-bottom: 30px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.schedule-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: #333;
}

.hours {
    color: #666;
    font-size: 14px;
}

.location-info h3 {
    color: #20b2aa;
    margin-bottom: 15px;
    font-size: 20px;
}

.address {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #333;
    font-size: 15px;
}

/* Contact Map Styles - Tu CSS existente */
.map-responsive {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* ============================================
   CONTACT SECTION - FIN
   ============================================ */

/* ============================================
   FOOTER SECTION - INICIO
   ============================================ */
footer {
    background: #04182e;
    color: #ffffff;
    padding: 30px 0 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 350px 1fr 1fr auto;
    gap: 60px;
    align-items: start;
}

/* SECCIÓN LOGO */
.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.logos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-principal {
    margin-bottom: 20px;
}

.logo-img {
    max-width: 280px;
    height: auto;
    filter: brightness(1.2);
}

.logo-vigilado {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
}

/* SECCIONES PRINCIPALES */
.footer-section h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: 0;
}

.footer-section p {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 14px;
    color: #b3c7d6;
}

.footer-section a {
    color: #b3c7d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #1976d2;
}

/* CONTACTO SECTION */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacto-email {
    color: #b3c7d6;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ICONO EMAIL - MISMO COLOR DEL TEXTO */
.contacto-email i {
    color: #b3c7d6;
}

.sedes-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.sede-item {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 8px;
    align-items: flex-start;
}

.sede-label {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sede-direccion {
    color: #b3c7d6;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

/* ICONO UBICACIÓN - MISMO COLOR DEL TEXTO */
.sede-direccion i {
    color: #b3c7d6;
}

.telefono-item {
    color: #b3c7d6;
    font-size: 16px;
    font-weight: 500;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ICONO TELÉFONO - MISMO COLOR DEL TEXTO */
.telefono-item i {
    color: #b3c7d6;
}

.prq-item {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

/* BOTÓN PQR - AZUL MÁS OSCURO PARA MEJOR LEGIBILIDAD */
.btn-pqr {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #1976d2, #1565c0);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-pqr:hover {
    background: linear-gradient(45deg, #1565c0, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
    color: white;
}

/* INSTITUCIONAL SECTION */
.institucional-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.institucional-links a {
    font-size: 14px;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.institucional-links a:hover {
    border-bottom-color: #1976d2;
    padding-left: 5px;
}

/* ICONOS INSTITUCIONALES - MISMO COLOR DEL TEXTO */
.institucional-links a i {
    color: #b3c7d6;
    font-size: 12px;
}

/* SECCIÓN PAGOS */
.pagos-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.pagos-section h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: 0;
}

.btn-pago-seguro {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #1b5e20, #2e7d32);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #1b5e20;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-pago-seguro:hover {
    background: linear-gradient(45deg, #0d5016, #1b5e20);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.4);
    color: white;
}

.btn-pago-seguro i {
    color: white;
    font-size: 16px;
}

/* FOOTER BOTTOM */
.footer-bottom {
    background: #02111a;
    text-align: left;
    padding: 12px 40px;
    margin-top: 30px;
    color: #ffffff;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.social-icons {
    display: flex;
    gap: 15px;
    position: absolute;
    right: 50%;
    transform: translateX(20px);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #b3c7d6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #1976d2;
    color: white;
    transform: translateY(-2px);
}

/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .pagos-section {
        grid-column: 1 / -1;
        align-items: flex-start;
        margin-top: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .social-icons {
        position: static;
        transform: none;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .pagos-section {
        align-items: center;
    }
    
    .footer-section h3 {
        font-size: 20px;
    }

    .footer-bottom {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 15px;
    }
    
    .btn-pago-seguro {
        padding: 10px 20px;
        font-size: 12px;
    }

    .footer-bottom {
        padding: 15px 15px;
    }
}
/* ============================================
   FOOTER SECTION - FIN
   ============================================ */

/* ============================================
   SOCIAL MEDIA BUTTONS - INICIO
   ============================================ */
.social-media {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.social-link:hover.facebook {
    background: rgba(24, 119, 242, 0.8);
    border-color: #1877f2;
}

.social-link:hover.twitter {
    background: rgba(29, 161, 242, 0.8);
    border-color: #1da1f2;
}

.social-link:hover.instagram {
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.8) 0%, rgba(230, 104, 60, 0.8) 25%, rgba(220, 39, 67, 0.8) 50%, rgba(204, 35, 102, 0.8) 75%, rgba(188, 24, 136, 0.8) 100%);
    border-color: #e1306c;
}
/* ============================================
   SOCIAL MEDIA BUTTONS - FIN
   ============================================ */

/* ============================================
   SPECIAL BUTTONS - INICIO
   ============================================ */
.btn-pago-seguro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
    border: none;
    cursor: pointer;
}

.btn-pago-seguro:hover {
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-pago-seguro i {
    font-size: 16px;
}

.btn-pqr {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.3);
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn-pqr:hover {
    background: linear-gradient(135deg, #1976D2 0%, #2196F3 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
    color: white;
    text-decoration: none;
}

.btn-pqr i {
    font-size: 16px;
}
/* ============================================
   SPECIAL BUTTONS - FIN
   ============================================ */

/* ============================================
   GENERAL STYLES - INICIO
   ============================================ */
p {
    text-align: justify;
}
/* ============================================
   GENERAL STYLES - FIN
   ============================================ */

/* ============================================
   ANIMATIONS - INICIO
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
/* ============================================
   ANIMATIONS - FIN
   ============================================ */

/* ============================================
   RESPONSIVE STYLES - INICIO
   ============================================ */

/* Tablet Styles */
@media screen and (max-width: 992px) {
    .about-content,
    .mental-health-content {
        flex-direction: column;
    }
    
    .quality-grid,
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-contact-info {
        grid-column: span 2;
        order: 3;
    }
}

/* Mobile Styles - Large */
@media screen and (max-width: 768px) {
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--light);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: all 0.5s;
    }
    
    .nav-links.active {
        left: 0;
        background-color: #007BFF;
    }

    .nav-links li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: block;
    }

    /* Logo */
    .logo img {
        max-height: 50px;
    }

    /* Hero Section */
    .hero {
        height: 65vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    /* Mental Health Section */
    .salud-mental {
        padding: 40px 20px;
        min-height: 350px;
    }
    
    .salud-mental h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .salud-mental p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .salud-mental .contenido {
        max-width: 100%;
        padding: 0 10px;
    }

    .mental-health {
        padding: 60px 0;
    }
    
    .mental-health h1 {
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .mental-health h1 .follow-text {
        font-size: 1.4rem;
    }
    
    .mental-health h1 a {
        font-size: 1.6rem;
        padding: 6px 16px;
    }

    /* Instagram Slider */
    .instagram-slider {
        gap: 24px;
        padding: 20px 0 30px;
    }
    
    .instagram-media {
        width: 320px !important;
        max-width: 320px !important;
        min-width: 280px !important;
    }
    
    .slider-nav {
        gap: 12px;
        margin-top: 30px;
    }
    
    .slider-nav button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* General Sections */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section, .section.reverse {
        flex-direction: column;
        margin-left: 0;
        padding-left: 0;
    }
    
    .section-content, .reverse .section-content {
        padding-right: 0;
        padding-left: 0;
        min-width: 100%;
        text-align: justify;
    }
    
    .section-image {
        min-width: 100%;
        margin-bottom: 20px;
    }
    
    .about-text {
        min-width: 250px;
    }

    ul {
        padding-left: 15px;
    }

    .main-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0;
    }
    
    .form-container {
        max-width: 100%;
        padding: 20px;
        margin: 0;
    }

    .form-container h2 {
        font-size: 20px;
        text-align: center;
    }

    .form-container input, 
    .form-container select, 
    .form-container textarea {
        font-size: 16px;
        padding: 14px;
    }

    .form-container button {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }

    .checkbox-container {
        font-size: 12px;
        margin: 20px 0;
    }

    .info-section {
        padding: 20px;
        margin: 0;
    }

    .info-section h2 {
        font-size: 20px;
        text-align: center;
    }

    .location-info h3 {
        font-size: 18px;
        text-align: center;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px 0;
    }

    .day {
        font-size: 14px;
    }

    .hours {
        font-size: 13px;
    }

    .address {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
        font-size: 14px;
    }

    .container {
        margin: 20px auto 0 auto;
        padding: 0 10px;
    }

    .container h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .map-responsive {
        height: 200px;
        margin-top: 15px;
    }

    /* Submenu */
    .submenu-toggle {
        display: inline-block;
    }

    .submenu-list {
        display: none;
        flex-direction: column;
        align-items: center;
        background: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .submenu-list.show {
        display: flex;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-social, .footer-contact-info {
        grid-column: span 1;
    }

    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-contact-info .contact-card {
        text-align: center;
        border-left: none;
        border-top: 3px solid #4fc3f7;
    }
    
    .footer-contact-info .contact-card:hover {
        transform: translateY(-5px);
    }
    
    .footer-contact-info .contact-card i {
        width: auto;
        margin-bottom: 10px;
    }
    
    .footer-logo, .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-social h3:after,
    .footer-contact-info h3:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section {
        margin-bottom: 30px;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

/* Mobile Styles - Small */
@media screen and (max-width: 576px) {
    /* Services and Grids */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .quality-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Logo */
    .logo img {
        max-height: 40px;
    }
    
    /* Contact */
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }

    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo i {
        font-size: 2.5rem;
    }
    
    .footer-logo span {
        font-size: 1.5rem;
    }
}

/* Mobile Styles - Extra Small */
@media screen and (max-width: 480px) {
    /* Mental Health Section */
    .salud-mental {
        padding: 30px 15px;
        margin-bottom: 30px;
        min-height: 300px;
        background-attachment: scroll;
    }
    
    .salud-mental h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .salud-mental p {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: justify;
    }
    
    .salud-mental .contenido {
        padding: 0 5px;
    }
    
    .fondo-wm {
        background-position: center center;
        background-size: cover;
    }

    .mental-health {
        padding: 40px 0;
    }
    
    .mental-health h1 {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .mental-health h1 .follow-text {
        font-size: 1.2rem;
    }
    
    .mental-health h1 a {
        font-size: 1.4rem;
        padding: 6px 12px;
    }

    /* Instagram Slider */
    .instagram-slider {
        gap: 20px;
    }
    
    .instagram-media {
        width: 280px !important;
        max-width: 280px !important;
        min-width: 260px !important;
    }
    
    .slider-nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .slider-nav button {
        width: 140px;
        padding: 10px 16px;
    }

    /* About Section */
    .about-text {
        min-width: 100%;
        padding: 0 10px;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
        margin: 1rem 0 0.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    /* Hero Section */
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-controls button {
        font-size: 1.5rem;
    }
    
    .hero-slide-content {
        width: 90%;
        padding: 15px;
    }

    .form-container,
    .info-section {
        padding: 15px;
    }

    .form-container h2,
    .info-section h2 {
        font-size: 18px;
    }

    .checkbox-container {
        font-size: 11px;
    }

    .map-responsive {
        height: 180px;
    }

    /* Footer */
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-section h3 {
        margin-bottom: 10px;
    }
}
/* ============================================
   RESPONSIVE STYLES - FIN
   ============================================ */


/* Contenedor principal que ocupa toda la pantalla */
.carousel-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.carousel-inner {
    max-width: 1400px;
    width: 100%;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.carousel-title {
    text-align: center;
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 60px;
    font-weight: 300;
    position: relative;
    letter-spacing: -0.02em;
}

.carousel-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #87CEEB, #5DADE2);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(135, 206, 235, 0.4);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        0 1px 3px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-wrapper.dragging {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-track.no-transition {
    transition: none;
}

.carousel-slide {
    flex: 0 0 280px;
    height: 160px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.08),
        0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.carousel-slide:hover::before {
    left: 100%;
}

.client-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 25px;
    transition: transform 0.3s ease;
    filter: grayscale(20%) contrast(1.1);
    pointer-events: none;
}

.carousel-slide:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.15),
        0 8px 20px rgba(0,0,0,0.1);
}

.carousel-slide:hover .client-image {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.2);
}

/* Indicadores */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(135, 206, 235, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: #87CEEB;
    transform: scale(1.3);
    box-shadow: 0 2px 15px rgba(135, 206, 235, 0.5);
}

.carousel-dot:hover {
    background: #87CEEB;
    transform: scale(1.2);
}

/* Controles de navegación móvil */
.carousel-controls {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.carousel-btn {
    background: linear-gradient(135deg, #87CEEB, #5DADE2);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #5DADE2, #3498DB);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .carousel-inner {
        padding: 0 30px;
    }
    
    .carousel-slide {
        flex: 0 0 250px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 60px 0;
        min-height: 80vh;
    }
    
    .carousel-inner {
        padding: 0 20px;
    }
    
    .carousel-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .carousel-wrapper {
        padding: 40px 20px;
        border-radius: 15px;
    }
    
    .carousel-slide {
        flex: 0 0 200px;
        height: 120px;
    }
    
    .carousel-track {
        gap: 30px;
    }
}

/* MÓVIL - UNA SOLA IMAGEN */
@media (max-width: 480px) {
    .carousel-container {
        padding: 40px 0;
        min-height: 70vh;
    }
    
    .carousel-inner {
        padding: 0 15px;
    }
    
    .carousel-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .carousel-wrapper {
        padding: 30px 15px;
        cursor: grab;
    }
    
    .carousel-wrapper:active {
        cursor: grabbing;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
        height: 140px;
        width: 100%;
        margin: 0 auto;
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .client-image {
        padding: 20px;
        max-width: 250px;
        max-height: 100px;
    }
    
    /* Mostrar navegación en móvil */
    .carousel-nav {
        display: flex;
        margin-top: 30px;
    }
    
    .carousel-controls {
        display: flex;
        padding: 0 10px;
    }
}

/* Animaciones de entrada */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-container {
    animation: slideIn 0.8s ease-out;
}

/* Estado de carga */
.carousel-slide.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0f0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }
