/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-white);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

:root {
    /* Paleta de Colores Institucionales CIPCO */
    --primary-blue: #002A5E;          /* Azul Marino (principal) */
    --primary-white: #FFFFFF;         /* Blanco */
    --light-gray: #f8f8f8;            /* Gris Claro (fondo) */
    --text-dark: #002A5E;             /* Azul Marino para texto */
    --text-light: #5D6D7E;            /* Texto claro */
    --text-gray: #7B8794;             /* Gris texto */
    
    /* Nueva Paleta de Colores Profesional */
    --professional-purple: #B03BE4;    /* Morado principal */
    --professional-cyan: #32D5DB;      /* Cian/Aqua */
    --professional-orange: #F9A825;    /* Naranja */
    --professional-magenta: #EC407A;   /* Rosa fuerte/Magenta */
    --professional-dark: #212121;      /* Negro/Gris oscuro */
    
    /* Variaciones sutiles para profesionalismo */
    --purple-light: rgba(176, 59, 228, 0.1);
    --purple-medium: rgba(176, 59, 228, 0.2);
    --cyan-light: rgba(50, 213, 219, 0.1);
    --cyan-medium: rgba(50, 213, 219, 0.2);
    --orange-light: rgba(249, 168, 37, 0.1);
    --orange-medium: rgba(249, 168, 37, 0.2);
    --magenta-light: rgba(236, 64, 122, 0.1);
    --magenta-medium: rgba(236, 64, 122, 0.2);
    --dark-light: rgba(33, 33, 33, 0.1);
    --dark-medium: rgba(33, 33, 33, 0.2);
    
    /* Colores RGB para efectos avanzados */
    --purple-rgb: 176, 59, 228;
    --cyan-rgb: 50, 213, 219;
    --orange-rgb: 249, 168, 37;
    --magenta-rgb: 236, 64, 122;
    --dark-rgb: 33, 33, 33;
    
    /* Sombras profesionales */
    --shadow-purple: 0 4px 20px rgba(176, 59, 228, 0.25);
    --shadow-cyan: 0 4px 20px rgba(50, 213, 219, 0.25);
    --shadow-orange: 0 4px 20px rgba(249, 168, 37, 0.25);
    --shadow-magenta: 0 4px 20px rgba(236, 64, 122, 0.25);
    --shadow-dark: 0 4px 20px rgba(33, 33, 33, 0.25);
    
    /* Gradientes profesionales */
    --gradient-purple: linear-gradient(135deg, #B03BE4 0%, #9C27B0 100%);
    --gradient-cyan: linear-gradient(135deg, #32D5DB 0%, #00BCD4 100%);
    --gradient-orange: linear-gradient(135deg, #F9A825 0%, #FF9800 100%);
    --gradient-magenta: linear-gradient(135deg, #EC407A 0%, #E91E63 100%);
    --gradient-dark: linear-gradient(135deg, #212121 0%, #424242 100%);
    
    /* Compatibilidad con colores existentes */
    --accent-lavender: var(--professional-purple);
    --accent-coral: var(--professional-magenta);
    --bright-pink: var(--professional-magenta);
    --bright-yellow: var(--professional-orange);
    --bright-orange: var(--professional-orange);
    --turquoise: var(--professional-cyan);
    --primary-green: #7CB342;         /* Verde Lima (mantenido) */
    --mint-green: #7CB342;            /* Verde Lima (mantenido) */
    --puzzle-purple: var(--professional-purple);
    --puzzle-teal: var(--professional-cyan);
    --puzzle-coral: var(--professional-magenta);
    --shadow-text: 0 4px 8px rgba(0, 42, 94, 0.3);
    --shadow-colorful: 0 8px 32px rgba(236, 64, 122, 0.3);
    
    /* Colores modernos para hero */
    --hero-lime: #7CB342;             /* Verde Lima (mantenido) */
    --hero-purple: var(--professional-purple);
    --hero-orange: var(--professional-orange);
    --hero-cyan: var(--professional-cyan);
    --hero-magenta: var(--professional-magenta);
    --hero-red: #E34234;              /* Red (mantenido) */
    --hero-blue: #2D64F0;             /* Royal blue (mantenido) */
    --hero-teal: var(--professional-cyan);
    
    /* RGB values for advanced effects */
    --hero-lime-rgb: 124, 179, 66;
    --hero-purple-rgb: var(--purple-rgb);
    --hero-orange-rgb: var(--orange-rgb);
    --hero-cyan-rgb: var(--cyan-rgb);
    --hero-magenta-rgb: var(--magenta-rgb);
    --hero-red-rgb: 227, 66, 52;
    --hero-blue-rgb: 45, 100, 240;
    --hero-teal-rgb: var(--cyan-rgb);
    
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #3DDCFF !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.nav-logo:hover {
    transform: translateY(-1px);
    text-decoration: none;
    filter: drop-shadow(0 4px 8px rgba(147, 112, 219, 0.3));
}

.nav-logo:focus {
    outline: none;
    text-decoration: none;
}

.nav-logo:visited {
    color: inherit;
    text-decoration: none;
}

.logo-image {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    drop-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.logo-image-white {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    drop-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-white);
    line-height: 1;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-text {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #002A5E;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    opacity: 0.9;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: rgba(147, 112, 219, 0.9);
    color: white;
    transform: translateY(-2px);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(147, 112, 219, 0.3);
}

.nav-link.active {
    color: #002A5E !important;
    font-weight: 600;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #002A5E;
    border-radius: 1px;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #002A5E;
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section Hexagonal */
.hero-hexagonal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f6f2; /* Fondo crema suave como en la imagen */
    position: relative;
    overflow: hidden;
}

/* Hexágonos de fondo como en la imagen */






/* Contenido principal del hero */
.hero-content-hexagonal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.hero-main-content {
    flex: 1;
    max-width: 500px;
    background: transparent;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
}

.hero-logo-section {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-logo-hex {
    height: 120px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero-text-section {
    text-align: center;
}

.hero-title-hex {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    text-align: center;
}

.hero-quote-hex {
    font-size: 1.6rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    position: relative;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.hero-quote-hex::before,
.hero-quote-hex::after {
    content: '"';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: -20px;
    font-weight: 300;
}

.hero-quote-hex::before {
    left: -30px;
}

.hero-quote-hex::after {
    right: -30px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #9C27B0, #BA68C8);
    color: white;
    padding: 18px 35px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.hero-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.4);
    background: linear-gradient(135deg, #8BC34A, #7CB342);
}



/* Responsive Design for Hero Hexagonal */
@media (max-width: 1200px) {
    .hero-hexagonal {
        background-size: cover;
        background-position: center;
    }
    
    .hero-content-hexagonal {
        flex-direction: column;
        gap: 3rem;
    }
    

    
    .hero-main-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-hexagonal {
        padding: 1rem 0.5rem;
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content-hexagonal {
        padding: 0 0.5rem;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-text-section {
        padding: 2.5rem 1.5rem;
        margin: 1rem 0;
        max-width: 95%;
        border-radius: 15px;
        background: rgba(147, 112, 219, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 25px rgba(147, 112, 219, 0.4);
    }
    
    .hero-logo-hex {
        height: 60px;
    }
    
    .hero-title-hex {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-quote-hex {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-quote-hex::before,
    .hero-quote-hex::after {
        font-size: 1.5rem;
        top: -8px;
    }
    
    .hero-quote-hex::before {
        left: -15px;
    }
    
    .hero-quote-hex::after {
        right: -15px;
    }
    
    .hero-badge {
        padding: 12px 25px;
        font-size: 1rem;
        border-radius: 25px;
    }
    

    
    .hexagon {
        width: 40px;
        height: 40px;
    }
    
    .hexagon::before,
    .hexagon::after {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
    }
    
    .hexagon::before {
        border-bottom: 11.55px solid;
    }
    
    .hexagon::after {
        border-top: 11.55px solid;
    }
}

@media (max-width: 480px) {
    .hero-hexagonal {
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        padding: 0.5rem 0.25rem;
    }
    
    .hero-content-hexagonal {
        padding: 0 0.25rem;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-text-section {
        padding: 2rem 1rem;
        margin: 0.5rem 0;
        max-width: 98%;
        border-radius: 12px;
        background: rgba(147, 112, 219, 0.95);
        backdrop-filter: blur(8px);
        box-shadow: 0 6px 20px rgba(147, 112, 219, 0.4);
    }
    
    .hero-logo-hex {
        height: 50px;
    }
    
    .hero-title-hex {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
        letter-spacing: 0.3px;
    }
    
    .hero-quote-hex {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-quote-hex::before,
    .hero-quote-hex::after {
        font-size: 1.2rem;
        top: -6px;
    }
    
    .hero-quote-hex::before {
        left: -10px;
    }
    
    .hero-quote-hex::after {
        right: -10px;
    }
    
    .hero-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 20px;
        letter-spacing: 1px;
    }
    

    
    .hexagon {
        width: 30px;
        height: 30px;
    }
    
    .hexagon::before,
    .hexagon::after {
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
    }
    
    .hexagon::before {
        border-bottom: 8.66px solid;
    }
    
    .hexagon::after {
        border-top: 8.66px solid;
    }
}

/* CTA Button Styles */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--bright-pink) 0%, var(--accent-lavender) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--accent-lavender) 0%, var(--bright-pink) 100%);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: scale(1.1);
}

.quick-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.quick-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.quick-icon i {
    font-size: 2rem;
    color: #FFFFFF;
    opacity: 0.9;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.quick-icon span {
    font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF;
    opacity: 0.9;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.quick-icon:hover {
    transform: translateY(-5px);
}

.quick-icon:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Estilos responsivos para tablets */
@media (max-width: 768px) {
    .hero-content {
        padding: 7rem 1.5rem;
    }

    .hero-title-top {
        font-size: 1.25rem;
    }

    .hero-title-bottom {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .quick-icons {
        gap: 2rem;
        margin-top: 3rem;
    }

    .quick-icon i {
        font-size: 1.75rem;
    }

    .quick-icon span {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
    }
}

/* Estilos responsivos para móviles */
@media (max-width: 480px) {
    .hero-content {
        padding: 6rem 1rem 4rem;
    }

    .hero-title {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-title-top {
        font-size: 1rem;
        letter-spacing: 0.03em;
    }

    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    .quick-icons {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
}

/* Animaciones de entrada */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.fade-in-delay {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.fade-in-delay-2 {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.fade-in-delay-3 {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes puzzle-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-15px) rotate(2deg); 
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-25px) rotate(-1deg); 
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-10px) rotate(1deg); 
        opacity: 0.9;
    }
}

/* Estilo Puzzle/Rompecabezas */
.puzzle-style {
    position: relative;
    overflow: hidden;
}

.puzzle-style::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    border-radius: 15px;
    z-index: -1;
}

/* Botones estilo Badge coloridos */
.badge-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.badge-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.badge-button:hover::before {
    left: 100%;
}

.badge-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.badge-button.kids {
    background: var(--gradient-cyan);
    color: white;
    box-shadow: var(--shadow-cyan);
}

.badge-button.teens {
    background: var(--gradient-purple);
    color: white;
    box-shadow: var(--shadow-purple);
}

.badge-button.adults {
    background: var(--gradient-orange);
    color: white;
    box-shadow: var(--shadow-orange);
}

.badge-button.couples {
    background: var(--gradient-magenta);
    color: white;
    box-shadow: var(--shadow-magenta);
}

/* Títulos con efectos especiales - Versión profesional */
.title-colorful {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 30%, #5d6d7e 60%, #7f8c8d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    position: relative;
}

.title-colorful::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-cyan);
    border-radius: 2px;
    opacity: 0.7;
}

/* Títulos profesionales sin efectos especiales */
.title-professional {
    color: var(--text-dark);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 20px;
}

.title-professional::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-purple);
    border-radius: 2px;
    opacity: 0.6;
}

/* Modern Hero Section */
.hero-modern {
    min-height: 100vh;
    background: var(--primary-white);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-network {
    display: none;
}

.hexagon-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hexagon {
    position: absolute;
    width: 50px;
    height: 43.30px; /* 50px * sin(60°) */
    background: linear-gradient(135deg, var(--color), rgba(255, 255, 255, 0.1));
    opacity: 0.15;
    animation: float-hex 8s ease-in-out infinite;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: blur(0.5px);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hexagon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 10.39px; /* 12px * sin(60°) */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), var(--color));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: blur(0.2px);
    opacity: 0.8;
}

.hexagon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--color), transparent, var(--color));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.2;
    z-index: -1;
    filter: blur(1px);
}

/* Hexagon positioning */
.hex-1 { top: 10%; left: 15%; animation-delay: 0s; }
.hex-2 { top: 25%; left: 85%; animation-delay: 1s; }
.hex-3 { top: 40%; left: 10%; animation-delay: 2s; }
.hex-4 { top: 15%; left: 70%; animation-delay: 0.5s; }
.hex-5 { top: 60%; left: 20%; animation-delay: 1.5s; }
.hex-6 { top: 70%; left: 80%; animation-delay: 2.5s; }
.hex-7 { top: 35%; left: 90%; animation-delay: 3s; }
.hex-8 { top: 80%; left: 50%; animation-delay: 0.8s; }
.hex-9 { top: 5%; left: 45%; animation-delay: 1.8s; }
.hex-10 { top: 55%; left: 75%; animation-delay: 2.2s; }
.hex-11 { top: 85%; left: 25%; animation-delay: 3.2s; }
.hex-12 { top: 45%; left: 60%; animation-delay: 1.2s; }
.hex-13 { top: 30%; left: 5%; animation-delay: 2.8s; }
.hex-14 { top: 50%; left: 95%; animation-delay: 1.6s; }
.hex-15 { top: 75%; left: 15%; animation-delay: 3.5s; }
.hex-16 { top: 90%; left: 70%; animation-delay: 0.3s; }
.hex-17 { top: 20%; left: 25%; animation-delay: 2.1s; }
.hex-18 { top: 65%; left: 45%; animation-delay: 1.9s; }

/* Additional hexagons for richer pattern */
.hex-19 { top: 12%; left: 40%; animation-delay: 2.7s; }
.hex-20 { top: 33%; left: 75%; animation-delay: 3.1s; }
.hex-21 { top: 58%; left: 8%; animation-delay: 1.3s; }
.hex-22 { top: 82%; left: 35%; animation-delay: 2.9s; }
.hex-23 { top: 25%; left: 30%; animation-delay: 0.7s; }
.hex-24 { top: 45%; left: 85%; animation-delay: 3.3s; }

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color), transparent);
    opacity: 0.15;
    animation: line-pulse 6s ease-in-out infinite;
    filter: blur(0.5px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.line-1 { top: 20%; left: 20%; width: 200px; transform: rotate(15deg); animation-delay: 0s; }
.line-2 { top: 40%; left: 60%; width: 150px; transform: rotate(-30deg); animation-delay: 1s; }
.line-3 { top: 60%; left: 30%; width: 180px; transform: rotate(45deg); animation-delay: 2s; }
.line-4 { top: 80%; left: 70%; width: 120px; transform: rotate(-15deg); animation-delay: 0.5s; }
.line-5 { top: 30%; left: 80%; width: 100px; transform: rotate(60deg); animation-delay: 1.5s; }
.line-6 { top: 70%; left: 10%; width: 160px; transform: rotate(-45deg); animation-delay: 2.5s; }

.hero-content-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: calc(100vh - 160px);
    position: relative;
    z-index: 2;
    gap: 4rem;
}

.central-logo-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo-container {
    position: relative;
    z-index: 3;
    margin-bottom: 2rem;
}

.hero-logo {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.service-hexagons {
    position: relative;
    width: 600px;
    height: 450px;
    margin: 0 auto;
}

.service-hex {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid var(--border-color);
    border-radius: 20px;
    background: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.service-hex::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--glow-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-hex:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 50px var(--glow-color);
    border-width: 5px;
}

.service-hex:hover::before {
    opacity: 1;
}

.hex-image {
    text-align: center;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    padding: 1rem;
}

.hex-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--border-color), rgba(255, 255, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-hex:hover .hex-icon-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px var(--glow-color);
}

.hex-image i {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hex-image span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1.1;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
    padding: 0 0.2rem;
}

.service-hex:hover .hex-image span {
    color: var(--border-color);
}

/* Service hexagon positioning - improved pentagon layout */
.service-hex-1 { 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%);
    animation: float-service 3s ease-in-out infinite;
}

.service-hex-2 { 
    top: 35%; 
    left: 8%;
    animation: float-service 3s ease-in-out infinite 1s;
}

.service-hex-3 { 
    top: 35%; 
    right: 8%;
    animation: float-service 3s ease-in-out infinite 2s;
}

.service-hex-4 { 
    bottom: 0; 
    left: 20%;
    animation: float-service 3s ease-in-out infinite 1.5s;
}

.service-hex-5 { 
    bottom: 0; 
    right: 20%;
    animation: float-service 3s ease-in-out infinite 2.5s;
}

@keyframes float-service {
    0%, 100% { transform: translateY(0px) translateX(-50%); }
    50% { transform: translateY(-8px) translateX(-50%); }
}

.service-hex-2 {
    animation-name: float-service-left;
}

.service-hex-3 {
    animation-name: float-service-right;
}

.service-hex-4 {
    animation-name: float-service-left;
}

.service-hex-5 {
    animation-name: float-service-right;
}

@keyframes float-service-left {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-service-right {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hero-text-content {
    flex: 1;
    max-width: 600px;
}

.hero-main-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.title-line-1 {
    display: block;
    color: var(--text-dark);
}

.title-line-2 {
    display: block;
    background: linear-gradient(135deg, var(--hero-lime), var(--hero-purple), var(--hero-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-description strong {
    color: var(--text-dark);
    font-weight: 600;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-dark);
}

.feature-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.hero-cta-button {
    background: linear-gradient(135deg, var(--hero-lime), var(--hero-teal));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(164, 220, 63, 0.3);
}

.hero-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(164, 220, 63, 0.4);
}

.hero-cta-button i {
    font-size: 1rem;
}

.service-banner {
    background: var(--hero-lime);
    padding: 1.5rem 0;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.banner-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: #7CB342;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
}

@keyframes float-hex {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.15;
        filter: blur(0.5px);
    }
    25% { 
        transform: translateY(-8px) scale(1.05);
        opacity: 0.25;
        filter: blur(0.3px);
    }
    50% { 
        transform: translateY(-15px) scale(1.1);
        opacity: 0.35;
        filter: blur(0.2px);
    }
    75% { 
        transform: translateY(-8px) scale(1.05);
        opacity: 0.25;
        filter: blur(0.3px);
    }
}

@keyframes line-pulse {
    0%, 100% { 
        opacity: 0.15;
        filter: blur(0.5px);
        transform: scaleY(1);
    }
    50% { 
        opacity: 0.4;
        filter: blur(0.2px);
        transform: scaleY(1.5);
    }
}

/* Responsive Design for Modern Hero */
@media (max-width: 1200px) {
    .hero-content-modern {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 2rem 1rem;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .service-hexagons {
        width: 400px;
        height: 320px;
    }
    
    .service-hex {
        width: 120px;
        height: 120px;
    }
    
    .hex-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .hex-image i {
        font-size: 1.5rem;
    }
    
    .hex-image span {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding-top: 60px;
    }
    
    .hero-content-modern {
        gap: 2rem;
        padding: 1rem;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        width: 250px;
    }
    
    .service-hexagons {
        width: 450px;
        height: 380px;
    }

    .service-hex {
        width: 100px;
        height: 100px;
    }
    
    .hex-icon-container {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .hex-image i {
        font-size: 1.1rem;
    }
    
    .hex-image span {
        font-size: 0.55rem;
        line-height: 1.0;
        padding: 0 0.2rem;
        word-wrap: break-word;
        hyphens: none;
        text-align: center;
        display: block;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .banner-text {
        font-size: 1.2rem;
    }
    
    .hexagon {
        width: 35px;
        height: 30.31px; /* 35px * sin(60°) */
    }
    
    .line {
        width: 100px !important;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .service-hexagons {
        width: 380px;
        height: 340px;
    }
    
    .service-hex {
        width: 80px;
        height: 80px;
        padding: 0.3rem;
    }
    
    .hex-icon-container {
        width: 28px;
        height: 28px;
        margin-bottom: 0.2rem;
    }

    .hex-image i {
        font-size: 0.8rem;
    }

    .hex-image span {
        font-size: 0.45rem;
        line-height: 0.9;
        padding: 0 0.1rem;
        word-wrap: break-word;
        hyphens: none;
        text-align: center;
        display: block;
        font-weight: 700;
        letter-spacing: 0.1px;
    }
    
    .hero-features {
        gap: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .hero-cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .banner-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .hexagon {
        width: 30px;
        height: 25.98px; /* 30px * sin(60°) */
    }
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

/* Therapy Types Section */
.therapy-types {
    background: linear-gradient(135deg, var(--cyan-light) 0%, var(--purple-light) 50%, var(--orange-light) 100%);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.therapy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.therapy-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.therapy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-cyan);
    transition: var(--transition);
}

.therapy-card:nth-child(1)::before {
    background: var(--gradient-cyan);
}

.therapy-card:nth-child(2)::before {
    background: var(--gradient-purple);
}

.therapy-card:nth-child(3)::before {
    background: var(--gradient-orange);
}

.therapy-card:nth-child(4)::before {
    background: var(--gradient-magenta);
}

.therapy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.therapy-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-white);
    transition: var(--transition);
}

.therapy-card:nth-child(1) .therapy-icon {
    background: var(--gradient-cyan);
    box-shadow: var(--shadow-cyan);
}

.therapy-card:nth-child(2) .therapy-icon {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-purple);
}

.therapy-card:nth-child(3) .therapy-icon {
    background: var(--gradient-orange);
    box-shadow: var(--shadow-orange);
}

.therapy-card:nth-child(4) .therapy-icon {
    background: var(--gradient-magenta);
    box-shadow: var(--shadow-magenta);
}

.therapy-content h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.therapy-age {
    color: var(--professional-purple);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--purple-light);
    border-radius: 20px;
    display: inline-block;
}

.therapy-card:nth-child(2) .therapy-age {
    color: var(--professional-cyan);
    background: var(--cyan-light);
}

.therapy-card:nth-child(3) .therapy-age {
    color: var(--professional-orange);
    background: var(--orange-light);
}

.therapy-card:nth-child(4) .therapy-age {
    color: var(--professional-magenta);
    background: var(--magenta-light);
}

.therapy-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.therapy-features {
    margin-bottom: 1.5rem;
}

.therapy-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
}

.therapy-features .feature-item i {
    width: 20px;
    font-size: 1rem;
    color: var(--professional-cyan);
}

.therapy-card:nth-child(2) .therapy-features .feature-item i {
    color: var(--professional-purple);
}

.therapy-card:nth-child(3) .therapy-features .feature-item i {
    color: var(--professional-orange);
}

.therapy-card:nth-child(4) .therapy-features .feature-item i {
    color: var(--professional-magenta);
}

.therapy-features .feature-item span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.therapy-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.therapy-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.therapy-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.therapy-image-container:hover .therapy-img {
    transform: scale(1.05);
}

.therapy-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 42, 94, 0.1) 100%);
    transition: var(--transition);
}

.therapy-card:nth-child(1) .therapy-image-container::after {
    background: linear-gradient(135deg, transparent 0%, rgba(49, 216, 216, 0.1) 100%);
}

.therapy-card:nth-child(2) .therapy-image-container::after {
    background: linear-gradient(135deg, transparent 0%, rgba(126, 87, 194, 0.1) 100%);
}

.therapy-card:nth-child(3) .therapy-image-container::after {
    background: linear-gradient(135deg, transparent 0%, rgba(245, 124, 0, 0.1) 100%);
}

.therapy-card:nth-child(4) .therapy-image-container::after {
    background: linear-gradient(135deg, transparent 0%, rgba(236, 64, 122, 0.1) 100%);
}

.therapy-image-container:hover::after {
    background: linear-gradient(135deg, transparent 0%, rgba(0, 42, 94, 0.2) 100%);
}

.therapy-card:nth-child(1) .therapy-image-container:hover::after {
    background: linear-gradient(135deg, transparent 0%, rgba(49, 216, 216, 0.2) 100%);
}

.therapy-card:nth-child(2) .therapy-image-container:hover::after {
    background: linear-gradient(135deg, transparent 0%, rgba(126, 87, 194, 0.2) 100%);
}

.therapy-card:nth-child(3) .therapy-image-container:hover::after {
    background: linear-gradient(135deg, transparent 0%, rgba(245, 124, 0, 0.2) 100%);
}

.therapy-card:nth-child(4) .therapy-image-container:hover::after {
    background: linear-gradient(135deg, transparent 0%, rgba(236, 64, 122, 0.2) 100%);
}

.therapy-cta {
    margin-top: 4rem;
    background: var(--gradient-cyan);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    color: var(--primary-white);
    box-shadow: var(--shadow-cyan);
}

.therapy-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.therapy-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.therapy-cta .cta-button {
    background: var(--primary-white);
    color: var(--professional-cyan);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.therapy-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: var(--light-gray);
}

/* Responsive Design for Therapy Types */
@media (max-width: 1200px) {
    .therapy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .therapy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .therapy-card {
        padding: 1.5rem;
    }
    
    .therapy-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .therapy-img {
        height: 180px;
    }
    
    .therapy-cta {
        padding: 2rem 1.5rem;
    }
    
    .therapy-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .therapy-card {
        padding: 1rem;
    }
    
    .therapy-content h3 {
        font-size: 1.3rem;
    }
    
    .therapy-img {
        height: 160px;
    }
    
    .therapy-cta {
        padding: 1.5rem 1rem;
    }
    
    .therapy-cta .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Locations Section */
.locations {
    background: linear-gradient(135deg, var(--cyan-light) 0%, var(--purple-light) 25%, var(--orange-light) 50%, var(--magenta-light) 75%, var(--dark-light) 100%);
    position: relative;
    overflow: hidden;
}

.locations::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 1000 1000"><g transform="translate(100,150)"><rect width="35" height="35" fill="%23EC407A" rx="6" transform="rotate(20)" opacity="0.08"/></g><g transform="translate(850,250)"><rect width="40" height="40" fill="%2332D5DB" rx="8" transform="rotate(-25)" opacity="0.08"/></g><g transform="translate(200,750)"><rect width="30" height="30" fill="%23F9A825" rx="5" transform="rotate(15)" opacity="0.08"/></g><g transform="translate(750,650)"><rect width="45" height="45" fill="%23B03BE4" rx="7" transform="rotate(-20)" opacity="0.08"/></g><g transform="translate(500,400)"><rect width="25" height="25" fill="%23212121" rx="4" transform="rotate(30)" opacity="0.08"/></g></svg>');
    pointer-events: none;
    animation: puzzle-float 35s ease-in-out infinite;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    justify-items: center;
}

.location-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    width: 100%;
}

.location-card-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 25px;
    width: 100%;
}

.location-info-section {
    flex: 1;
    text-align: left;
}

.location-image-section {
    flex: 0 0 250px;
    order: -1;
}

.location-image {
    width: 250px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--professional-purple);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.location-card:nth-child(1) {
    border-top: 4px solid var(--professional-cyan);
}

.location-card:nth-child(2) {
    border-top: 4px solid var(--professional-purple);
}

.location-card:nth-child(3) {
    border-top: 4px solid var(--professional-orange);
}

.location-card:nth-child(4) {
    border-top: 4px solid var(--professional-magenta);
}

.location-card:nth-child(5) {
    border-top: 4px solid var(--professional-dark);
}

/* Centrar las sucursales Juárez y San Nicolás */
/* Grid automático para las sucursales */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    justify-items: center;
}

/* Centrar las últimas dos sucursales correctamente */
.location-card:nth-child(4),
.location-card:nth-child(5) {
    justify-self: center;
    max-width: 400px;
}

/* Crear un contenedor específico para centrar las dos */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    justify-items: center;
}

/* Las últimas dos sucursales un poco a la derecha */
.location-card:nth-child(4) {
    grid-column: 1.8 / 2.8;
    justify-self: center;
}

.location-card:nth-child(5) {
    grid-column: 2.8 / 3.8;
    justify-self: center;
}

@media (max-width: 768px) {
    .location-card-content {
        flex-direction: row;
        gap: 20px;
    }
    
    .location-info-section {
        text-align: left;
    }
    
    .location-image-section {
        flex: 0 0 200px;
        order: -1;
    }
    
    .location-image {
        width: 200px;
        height: 150px;
    }
}

.location-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
    font-size: 1.8rem;
    color: white;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.location-card:hover .location-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.location-card:nth-child(1) .location-icon {
    background: var(--gradient-cyan);
    box-shadow: var(--shadow-cyan);
}

.location-card:nth-child(2) .location-icon {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-purple);
}

.location-card:nth-child(3) .location-icon {
    background: var(--gradient-orange);
    box-shadow: var(--shadow-orange);
}

.location-card:nth-child(4) .location-icon {
    background: var(--gradient-magenta);
    box-shadow: var(--shadow-magenta);
}

.location-card:nth-child(5) .location-icon {
    background: var(--gradient-dark);
    box-shadow: var(--shadow-dark);
}

.location-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.location-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.location-image a::after {
    content: '📍';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 42, 94, 0.8);
    color: white;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.location-image:hover a::after {
    opacity: 1;
    transform: translateY(0);
}

.branch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.location-card:hover .branch-image {
    transform: scale(1.1);
}

/* Professional Service Badges */
.professional-badges-container {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.professional-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.professional-badge {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.professional-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 42, 94, 0.05) 100%);
    transition: all 0.3s ease;
}

.professional-badge:hover::before {
    background: linear-gradient(135deg, transparent 0%, rgba(0, 42, 94, 0.1) 100%);
}

.professional-badge.nutrition {
    border-color: #7CB342;
}

.professional-badge.legal {
    border-color: #002A5E;
}

.professional-badge.business {
    border-color: #F57C00;
}

.professional-badge.academic {
    border-color: #7E57C2;
}

.professional-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.badge-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    position: relative;
    z-index: 1;
}

.professional-badge.nutrition .badge-icon {
    background: linear-gradient(135deg, #7CB342 0%, #8BC34A 100%);
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.professional-badge.legal .badge-icon {
    background: linear-gradient(135deg, #002A5E 0%, #1976D2 100%);
    box-shadow: 0 4px 15px rgba(0, 42, 94, 0.3);
}

.professional-badge.business .badge-icon {
    background: linear-gradient(135deg, #F57C00 0%, #FF9800 100%);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.professional-badge.academic .badge-icon {
    background: linear-gradient(135deg, #7E57C2 0%, #9C27B0 100%);
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.professional-badge span {
    color: #002A5E;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Premium Service Navigation Tabs - Concepto Único */
.premium-service-tabs {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 30px auto;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 25px 20px;
    perspective: 1000px;
}

.premium-service-tabs::before,
.premium-service-tabs::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    pointer-events: none;
}

.premium-service-tabs::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
}

.premium-service-tabs::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,1) 100%);
}

.premium-tabs-container {
    display: flex;
    gap: 15px;
    animation: carousel-scroll 25s linear infinite;
    width: calc(220px * 10); /* 5 tabs duplicados = 10 */
    transform-style: preserve-3d;
}

.premium-tabs-container:hover {
    animation-play-state: paused;
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 5)); /* Mover 5 tabs */
    }
}

/* Efectos de brillo para los botones */
.premium-tab-button::after {
    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.5s ease;
    border-radius: 16px;
}

.premium-tab-button:hover::after {
    left: 100%;
}

/* Efecto de ondas de luz únicas */
.premium-tab-button .wave-effect {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease;
    opacity: 0;
    z-index: 2;
}

.premium-tab-button:hover .wave-effect {
    width: 200px;
    height: 200px;
    opacity: 1;
    animation: wave-expand 1.5s ease-out;
}

.premium-tab-button:hover::after {
    width: 200px;
    height: 200px;
    opacity: 1;
    animation: wave-expand 1.5s ease-out;
}

@keyframes wave-expand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Efecto de cristal líquido */
.premium-tab-button {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.premium-tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 42, 94, 0.05) 0%, rgba(124, 179, 66, 0.05) 100%);
    opacity: 0;
    transition: all 0.6s ease;
    border-radius: 18px;
    backdrop-filter: blur(5px);
    z-index: 1;
}

.premium-tab-button:hover::before {
    opacity: 1;
}

/* Sistema de carga de imágenes optimizado */
.premium-tab-button {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Efecto de preload para imágenes */
.premium-tab-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.premium-tab-button.loaded::after {
    opacity: 1;
}

/* Efecto de activación elegante */
.premium-tab-button.active {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.premium-tab-button.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(0, 42, 94, 0.1), rgba(124, 179, 66, 0.1), rgba(0, 42, 94, 0.1));
    border-radius: 20px;
    z-index: -1;
    animation: border-glow 3s ease-in-out infinite;
}

@keyframes border-glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Efecto de brillo mejorado */
.premium-tab-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
    border-radius: 18px;
}

.premium-tab-button:hover::after {
    left: 100%;
}

.premium-tab-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 18px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    flex: 0 0 220px;
    min-width: 220px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    transform: translateZ(0);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.premium-tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 42, 94, 0.05) 0%, rgba(124, 179, 66, 0.05) 100%);
    opacity: 0;
    transition: all 0.6s ease;
    border-radius: 18px;
}

.premium-tab-button:hover::before {
    opacity: 1;
}

.premium-tab-button:hover {
    transform: translateZ(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.premium-tab-button.active {
    transform: translateZ(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
}

.premium-tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 42, 94, 0.1) 0%, rgba(124, 179, 66, 0.1) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 16px;
}

.premium-tab-button:hover::before {
    opacity: 1;
}

.premium-tab-button:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.premium-tab-button.active {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
}

.premium-tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 42, 94, 0.05) 100%);
    transition: all 0.3s ease;
}

.premium-tab-button:hover::before {
    background: linear-gradient(135deg, transparent 0%, rgba(0, 42, 94, 0.1) 100%);
}

.premium-tab-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.premium-tab-button.active {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.premium-tab-button.nutrition {
    border-color: #7CB342;
}

.premium-tab-button.legal {
    border-color: #002A5E;
}

.premium-tab-button.business {
    border-color: #F57C00;
}

.premium-tab-button.academic {
    border-color: #7E57C2;
}

.premium-tab-button.active.nutrition {
    border-color: #7CB342;
    background: linear-gradient(135deg, #7CB342 0%, #8BC34A 100%);
    color: white;
}

.premium-tab-button.active.legal {
    border-color: #002A5E;
    background: linear-gradient(135deg, #002A5E 0%, #1976D2 100%);
    color: white;
}

.premium-tab-button.active.business {
    border-color: #F57C00;
    background: linear-gradient(135deg, #F57C00 0%, #FF9800 100%);
    color: white;
}

.premium-tab-button.active.academic {
    border-color: #7E57C2;
    background: linear-gradient(135deg, #7E57C2 0%, #9C27B0 100%);
    color: white;
}

.badge-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    position: relative;
    z-index: 1;
}

.premium-tab-button.nutrition .badge-icon {
    background: linear-gradient(135deg, #7CB342 0%, #8BC34A 100%);
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.premium-tab-button.legal .badge-icon {
    background: linear-gradient(135deg, #002A5E 0%, #1976D2 100%);
    box-shadow: 0 4px 15px rgba(0, 42, 94, 0.3);
}

.premium-tab-button.business .badge-icon {
    background: linear-gradient(135deg, #F57C00 0%, #FF9800 100%);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.premium-tab-button.academic .badge-icon {
    background: linear-gradient(135deg, #7E57C2 0%, #9C27B0 100%);
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.premium-tab-button span {
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    transition: all 0.6s ease;
    position: relative;
    z-index: 3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.2;
    max-width: 200px;
    word-wrap: break-word;
    transform: translateZ(10px);
}

.premium-tab-button:hover span {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    transform: translateZ(15px);
}

.premium-tab-button.active span {
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    font-weight: 800;
    font-size: 1rem;
    transform: translateZ(15px);
}

.premium-tab-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.premium-tab-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #002A5E 0%, #1976D2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 42, 94, 0.3);
    transition: all 0.3s ease;
}

.premium-tab-button.active .premium-tab-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #002A5E;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.premium-tab-text {
    flex: 1;
    text-align: left;
}

.premium-tab-text h4 {
    color: #002A5E;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    transition: color 0.3s ease;
}

.premium-tab-text p {
    color: #666;
    font-size: 12px;
    margin: 0;
    transition: color 0.3s ease;
}

.premium-tab-button.active .premium-tab-text h4 {
    color: white;
}

.premium-tab-button.active .premium-tab-text p {
    color: rgba(255, 255, 255, 0.8);
}

.premium-tab-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 42, 94, 0.1) 100%);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-tab-button.active .premium-tab-glow {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 42, 94, 0.2) 0%, rgba(25, 118, 210, 0.2) 100%);
}

/* Premium Service Hero Sections */
.premium-service-intro {
    margin: 40px 0;
}

.premium-service-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.premium-service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 42, 94, 0.05) 100%);
}

.premium-service-hero.legal::before {
    background: linear-gradient(135deg, transparent 0%, rgba(0, 42, 94, 0.08) 100%);
}

.premium-service-hero.business::before {
    background: linear-gradient(135deg, transparent 0%, rgba(245, 124, 0, 0.05) 100%);
}

.premium-service-hero.academic::before {
    background: linear-gradient(135deg, transparent 0%, rgba(126, 87, 194, 0.05) 100%);
}

.premium-hero-background {
    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 1000 1000"><g transform="translate(100,150)"><rect width="35" height="35" fill="%23002A5E" rx="6" transform="rotate(20)" opacity="0.03"/></g><g transform="translate(850,250)"><rect width="40" height="40" fill="%237CB342" rx="8" transform="rotate(-25)" opacity="0.03"/></g><g transform="translate(200,750)"><rect width="30" height="30" fill="%23F57C00" rx="5" transform="rotate(15)" opacity="0.03"/></g></svg>');
    animation: subtle-float 20s ease-in-out infinite;
}

@keyframes subtle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.premium-hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.premium-hero-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7CB342 0%, #8BC34A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    position: relative;
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.3);
    flex-shrink: 0;
}

.premium-service-hero.legal .premium-hero-icon {
    background: linear-gradient(135deg, #002A5E 0%, #1976D2 100%);
    box-shadow: 0 8px 25px rgba(0, 42, 94, 0.3);
}

.premium-service-hero.business .premium-hero-icon {
    background: linear-gradient(135deg, #F57C00 0%, #FF9800 100%);
    box-shadow: 0 8px 25px rgba(245, 124, 0, 0.3);
}

.premium-service-hero.academic .premium-hero-icon {
    background: linear-gradient(135deg, #7E57C2 0%, #9C27B0 100%);
    box-shadow: 0 8px 25px rgba(126, 87, 194, 0.3);
}

.hero-icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.2) 0%, transparent 100%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
}

.premium-service-hero.legal .hero-icon-glow {
    background: linear-gradient(135deg, rgba(0, 42, 94, 0.2) 0%, transparent 100%);
}

.premium-service-hero.business .hero-icon-glow {
    background: linear-gradient(135deg, rgba(245, 124, 0, 0.2) 0%, transparent 100%);
}

.premium-service-hero.academic .hero-icon-glow {
    background: linear-gradient(135deg, rgba(126, 87, 194, 0.2) 0%, transparent 100%);
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.premium-hero-text {
    flex: 1;
}

.premium-hero-text h3 {
    color: #002A5E;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.premium-hero-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.premium-hero-stats {
    display: flex;
    gap: 30px;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    color: #002A5E;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: #666;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Visit Images Section Styles */
.visit-images-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.visit-images-section h4 {
    color: #002A5E;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.visit-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.visit-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visit-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.visit-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.visit-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 42, 94, 0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.visit-image:hover .visit-overlay {
    transform: translateY(0);
}

.visit-overlay p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design for Premium Services */
@media (max-width: 1024px) {
    .premium-service-tabs {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .premium-tab-content {
        gap: 12px;
        padding: 15px;
    }
    
    .premium-tab-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .premium-hero-content {
        gap: 20px;
    }
    
    .premium-hero-icon {
        width: 70px;
        height: 70px;
        font-size: 25px;
    }
    
    .premium-hero-text h3 {
        font-size: 24px;
    }
    
    .premium-hero-stats {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .professional-badges-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .professional-badges-container {
        padding: 20px;
        margin: 30px 0;
    }
    
    .premium-service-tabs {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }
    
    .premium-tab-button {
        border-radius: 10px;
    }
    
    .premium-tab-content {
        gap: 10px;
        padding: 15px;
    }
    
    .premium-tab-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .premium-tab-text h4 {
        font-size: 14px;
    }
    
    .premium-tab-text p {
        font-size: 11px;
    }
    
    .premium-service-hero {
        padding: 25px;
        border-radius: 12px;
    }
    
    .premium-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .premium-hero-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
    
    .premium-hero-text h3 {
        font-size: 22px;
    }
    
    .premium-hero-text p {
        font-size: 14px;
    }
    
    .premium-hero-stats {
        justify-content: center;
        gap: 25px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .visit-images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .visit-images-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .visit-img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .professional-badges-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .professional-badge {
        padding: 15px;
    }
    
    .badge-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .professional-badge span {
        font-size: 12px;
    }
    
    .premium-service-tabs {
        margin: 30px 0;
    }
    
    .premium-service-hero {
        padding: 20px;
    }
    
    .premium-hero-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .premium-hero-text h3 {
        font-size: 20px;
    }
    
    .premium-hero-text p {
        font-size: 13px;
    }
    
    .premium-hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 18px;
    }
}

.location-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left;
}

.location-card h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--professional-purple), var(--professional-cyan));
    border-radius: 2px;
}

.location-info {
    margin-bottom: 25px;
}

.location-info p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.location-info i {
    color: var(--professional-magenta);
    font-size: 1.1rem;
}

.location-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 25px;
}

.service-tag {
    background: linear-gradient(135deg, var(--magenta-light) 0%, var(--cyan-light) 100%);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--magenta-medium);
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: linear-gradient(135deg, var(--professional-magenta) 0%, var(--professional-cyan) 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-magenta);
}

.location-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.location-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.location-btn:hover::before {
    left: 100%;
}

.location-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
}

.locations-cta {
    background: #8E44AD;
    padding: 3rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(142, 68, 173, 0.2);
}

.locations-cta .cta-content {
    position: relative;
    z-index: 2;
}

.locations-cta h3 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.locations-cta p {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.locations-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #7CB342;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.locations-cta .cta-button:hover {
    background-color: #FFFFFF;
    color: #7CB342;
    border-color: #7CB342;
    transform: translateY(-2px);
}

.locations-cta .cta-button i {
    font-size: 1.2rem;
}

/* Badges de ubicaciones */
.badge-button.location-apodaca {
    background: var(--gradient-cyan);
    color: white;
    box-shadow: var(--shadow-cyan);
}

.badge-button.location-pesqueria {
    background: var(--gradient-purple);
    color: white;
    box-shadow: var(--shadow-purple);
}

.badge-button.location-guadalupe {
    background: var(--gradient-orange);
    color: white;
    box-shadow: var(--shadow-orange);
}

.badge-button.location-juarez {
    background: var(--gradient-magenta);
    color: white;
    box-shadow: var(--shadow-magenta);
}

.badge-button.location-san-nicolas {
    background: var(--gradient-dark);
    color: white;
    box-shadow: var(--shadow-dark);
}

/* Estilos para badges de ubicación como enlaces */
.badge-button:link,
.badge-button:visited {
    color: white;
    text-decoration: none;
}

.badge-button:hover,
.badge-button:focus {
    color: white;
    text-decoration: none;
    outline: none;
}

.badge-button:active {
    transform: translateY(-1px) scale(1.02);
    color: white;
    text-decoration: none;
}

/* Info box profesional */
.info-box-professional {
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    color: #2c3e50;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-box-professional a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
    transition: color 0.3s ease;
}

.info-box-professional a:hover {
    color: #2980b9;
}

/* Phone number styling */
.phone-professional {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.phone-professional a {
    color: #3498db;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.phone-professional a:hover {
    color: #2980b9;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.8rem;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 1rem;
    color: #002A5E;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-lavender));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--magenta-light) 0%, var(--purple-light) 50%, var(--cyan-light) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, rgba(166, 200, 224, 0.03) 50%, transparent 51%);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

/* Statistics Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    background: var(--primary-white);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--professional-purple));
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-magenta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-magenta);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--professional-magenta);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Modern About Content */
.about-content-modern {
    margin: 4rem 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    background: var(--primary-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-intro-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.highlight-item i {
    color: var(--professional-cyan);
    font-size: 1.2rem;
}

/* Visual Cards */
.about-intro-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visual-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.visual-card.main-visual {
    background: #7ED321;
    color: var(--primary-white);
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(126, 211, 33, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.visual-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.visual-icon.secondary {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--primary-white);
}

.visual-card h4, .visual-card h5 {
    margin-bottom: 0.5rem;
}

.visual-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* About Pillars */
.about-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.pillar-card {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.pillar-icon i {
    font-size: 2.5rem;
    color: var(--primary-white);
    position: relative;
    z-index: 2;
}

.pillar-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
}

.vision-icon {
    background: var(--professional-purple);
    box-shadow: var(--shadow-purple);
}

.vision-icon::before {
    background: var(--gradient-purple);
    opacity: 0.2;
}

.mission-icon {
    background: var(--professional-cyan);
    box-shadow: var(--shadow-cyan);
}

.mission-icon::before {
    background: var(--gradient-cyan);
    opacity: 0.2;
}

.values-icon {
    background: var(--professional-orange);
    box-shadow: var(--shadow-orange);
}

.values-icon::before {
    background: var(--gradient-orange);
    opacity: 0.2;
}

.pillar-card:hover .pillar-icon {
    transform: translateY(-5px);
}

.pillar-card:hover .pillar-icon::before {
    transform: scale(1.1);
    opacity: 0.3;
}

.pillar-feature {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pillar-feature i {
    font-size: 1.2rem;
}

.vision-icon ~ .pillar-content .pillar-feature i {
    color: var(--professional-purple);
}

.mission-icon ~ .pillar-content .pillar-feature i {
    color: var(--professional-cyan);
}

.values-icon ~ .pillar-content .pillar-feature i {
    color: var(--professional-orange);
}

.pillar-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.pillar-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Modern Team Section */
.team-section-modern {
    margin-top: 5rem;
    background: var(--primary-white);
    padding: 4rem 0;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.team-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.team-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.team-member-modern {
    position: relative;
}

.member-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-photo-modern {
    position: relative;
    height: 200px;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.member-icon i {
    font-size: 3rem;
    color: var(--primary-white);
}

.director-card .member-photo-modern {
    background: linear-gradient(135deg, var(--professional-purple) 0%, var(--primary-blue) 100%);
}

.team-card .member-photo-modern {
    background: linear-gradient(135deg, var(--professional-cyan) 0%, var(--primary-blue) 100%);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: var(--transition);
}

.member-photo-modern:hover .member-overlay {
    transform: translateY(0);
}

.member-specialties {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.specialty {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-white);
}

.specialty.primary {
    background: var(--primary-blue);
}

.specialty.secondary {
    background: rgba(255, 255, 255, 0.2);
}

.member-info {
    padding: 2rem;
}

.member-name {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.member-credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-credential i {
    color: var(--bright-pink);
}

.member-bio {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-experience {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.experience-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: var(--light-gray);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.director-card .experience-item i {
    color: var(--accent-lavender);
}

.team-card .experience-item i {
    color: var(--turquoise);
}

@media (max-width: 768px) {
    .member-photo-modern {
        height: 180px;
    }

    .member-icon {
        width: 80px;
        height: 80px;
    }

    .member-icon i {
        font-size: 2.5rem;
    }

    .member-info {
        padding: 1.5rem;
    }

    .member-name {
        font-size: 1.2rem;
    }
}

/* Team Commitment */
.team-commitment {
    background-color: #7E57C2;
    padding: 3rem;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-commitment:hover {
    transform: translateY(-5px);
}

.commitment-content {
    text-align: center;
    color: #FFFFFF;
    max-width: 800px;
    margin: 0 auto;
}

.commitment-content h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #FFFFFF;
}

.commitment-content h4 i {
    color: #FF0000;
    font-size: 1.8rem;
}

.commitment-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    opacity: 0.95;
    color: #FFFFFF;
}

/* Services Section - Modern Design */
.services-modern {
    padding: 5rem 0;
    position: relative;
    background: #FFFFFF;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    position: relative;
}

.service-icon i {
    font-size: 1.75rem;
    color: #002A5E;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #002A5E, #003C8F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 42, 94, 0.1));
}

.service-icon.large {
    margin: 0 auto 2rem;
}

.service-icon.large i {
    font-size: 3rem;
}

.service-icon-overlay {
    position: absolute;
    font-size: 1.25rem !important;
    right: -0.5rem;
    bottom: -0.5rem;
    opacity: 0.8;
    transform: scale(0.85);
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 2rem;
    background: #FFFFFF;
    border: 2px solid #002A5E;
    border-radius: 50px;
    color: #002A5E;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #002A5E, #003C8F);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 42, 94, 0.15);
    border-color: #003C8F;
}

.tab-button.active {
    background: linear-gradient(135deg, #002A5E, #003C8F);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 42, 94, 0.2);
}

.tab-button.active .service-icon i {
    background: #FFFFFF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.2));
}

.tab-button span,
.tab-button .service-icon {
    position: relative;
    z-index: 1;
}

.service-intro-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 42, 94, 0.1);
}

.service-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 42, 94, 0.15);
}

.service-intro-card:hover .service-icon i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .service-icon i {
        font-size: 1.5rem;
    }

    .service-icon.large i {
        font-size: 2.5rem;
    }

    .service-icon-overlay {
        font-size: 1rem !important;
    }

    .tab-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .service-icon i {
        font-size: 1.25rem;
    }

    .service-icon.large i {
        font-size: 2rem;
    }

    .service-icon-overlay {
        font-size: 0.85rem !important;
        right: -0.25rem;
        bottom: -0.25rem;
    }

    .tab-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.tab-content {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Intro */
.services-intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro-card {
    background: white;
    padding: 40px;
    border-radius: 25px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(166, 200, 224, 0.1);
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: var(--shadow-cyan);
}

.intro-icon i {
    color: white;
    font-size: 2rem;
}

.intro-card h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.intro-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Premium Services Grid */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 25px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.service-card.premium {
    border: 2px solid var(--accent-color);
    position: relative;
}

.service-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-green) 100%);
}

.service-card.highlight {
    border: 2px solid var(--orange-medium);
    background: linear-gradient(135deg, var(--orange-light) 0%, white 100%);
}

.service-card.emergency {
    border: 2px solid var(--magenta-medium);
    background: linear-gradient(135deg, var(--magenta-light) 0%, white 100%);
}

.service-card.nutritional {
    border: 2px solid var(--cyan-medium);
    background: linear-gradient(135deg, var(--cyan-light) 0%, white 100%);
}

.service-card.community {
    border: 2px solid var(--purple-medium);
    background: linear-gradient(135deg, var(--purple-light) 0%, white 100%);
}

/* Service Card Header */
.service-card-header {
    padding: 30px 30px 20px 30px;
    text-align: center;
    position: relative;
}

.service-visual {
    position: relative;
    margin-bottom: 20px;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    position: relative;
    overflow: hidden;
}

.service-icon-large.individual {
    background: var(--gradient-magenta);
    box-shadow: var(--shadow-magenta);
}

.service-icon-large.couple {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-purple);
}

.service-icon-large.family {
    background: var(--gradient-cyan);
    box-shadow: var(--shadow-cyan);
}

.service-icon-large.evaluation {
    background: var(--gradient-orange);
    box-shadow: var(--shadow-orange);
}

.service-icon-large.crisis {
    background: var(--gradient-dark);
    box-shadow: var(--shadow-dark);
}

.service-icon-large.nutrition {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-purple);
}

.service-icon-large.plans {
    background: var(--gradient-orange);
    box-shadow: var(--shadow-orange);
}

.service-icon-large.coaching {
    background: var(--gradient-cyan);
    box-shadow: var(--shadow-cyan);
}

.service-icon-large.workshops {
    background: var(--gradient-magenta);
    box-shadow: var(--shadow-magenta);
}

.service-icon-large.prevention {
    background: var(--gradient-dark);
    box-shadow: var(--shadow-dark);
}

.service-icon-large.education {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-purple);
}

.service-icon-large.evaluation-tests {
    background: linear-gradient(135deg, #F57C00, #FF9800);
    box-shadow: 0 8px 25px rgba(245, 124, 0, 0.3);
}

.service-icon-large i {
    color: white;
    font-size: 2.5rem;
    z-index: 2;
    position: relative;
}

.service-badge {
    position: absolute;
    top: -5px;
    right: -20px;
    background: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.service-badge.urgent {
    background: #ffc107;
    color: #212529;
}

.service-badge.emergency {
    background: #dc3545;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.service-card h4 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-tagline {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
}

/* Service Details */
.service-details {
    padding: 0 30px 20px 30px;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.service-features {
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.feature i {
    width: 20px;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.service-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.specialty-tag {
    background: rgba(166, 200, 224, 0.1);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.specialty-tag.urgent {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Service Card Footer */
.service-card-footer {
    padding: 25px 30px 30px 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.service-price {
    text-align: left;
}

.price-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.price {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.price-period {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-left: 5px;
}

.service-cta {
    background: var(--gradient-magenta);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: var(--shadow-magenta);
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.service-cta.priority {
    background: var(--gradient-orange);
    box-shadow: var(--shadow-orange);
}

.service-cta.emergency {
    background: var(--gradient-dark);
    box-shadow: var(--shadow-dark);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(var(--dark-rgb), 0.5); }
    to { box-shadow: 0 0 20px rgba(var(--dark-rgb), 0.8); }
}

/* Services CTA Section */
.services-cta-section {
    margin-top: 80px;
    background: #F442A5;
    border-radius: 30px;
    padding: 50px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    background: white;
    color: var(--text-dark);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-visual {
    flex-shrink: 0;
}

.cta-icon {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.cta-icon i {
    font-size: 3rem;
    color: white;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-modern {
        padding: 80px 0;
    }
    
    .service-tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .services-premium-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card-footer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .services-cta-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .service-specialties {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-premium-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        margin: 0 10px;
    }
    
    .service-card-header,
    .service-details,
    .service-card-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .intro-card {
        margin: 0 15px;
        padding: 30px 20px;
    }
    
    .services-cta-section {
        margin: 50px 10px 0 10px;
        padding: 30px 20px;
    }
}

/* Community Section */
.community {
    background: var(--light-gray);
}

.community-content {
    max-width: 1000px;
    margin: 0 auto;
}

.community-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    text-align: center;
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.gallery-image {
    width: 100px;
    height: 100px;
    background: var(--accent-lavender);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-white);
    font-size: 2rem;
}

.gallery-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    background: var(--primary-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonials h3 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.testimonial-carousel {
    position: relative;
    min-height: 150px;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial.active {
    display: block;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--primary-blue);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

.testimonial-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--text-gray);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background-color: var(--professional-magenta);
}

/* Contact Section */
.contact {
    background: var(--primary-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.location-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.location-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-card p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-btn {
    flex: 1;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-btn.whatsapp {
    background: #25d366;
    color: var(--primary-white);
}

.contact-btn.phone {
    background: var(--gradient-purple);
    color: var(--primary-white);
    box-shadow: var(--shadow-purple);
}

.contact-btn.email {
    background: var(--professional-orange);
    color: var(--primary-white);
    box-shadow: var(--shadow-orange);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
.contact-form-container {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--primary-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(166, 200, 224, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-magenta);
    color: var(--primary-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-magenta);
}

.submit-btn:hover {
    background: var(--gradient-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

/* Blog Section */
.blog {
    background: var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.blog-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.5rem;
    margin: 2rem auto 1.5rem;
    box-shadow: var(--shadow-cyan);
}

.blog-content {
    padding: 0 2rem 2rem;
}

.blog-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--professional-magenta);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: #3DDCFF;
    color: var(--primary-white);
    padding: 3rem 0 1rem;
    width: 100vw;
    position: relative;
    margin: 0;
    box-sizing: border-box;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.footer-section h4 {
    color: var(--primary-white);
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: var(--primary-blue);
}

.footer-tagline {
    color: var(--text-gray);
    font-style: italic;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-coral);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title-top {
        font-size: 2rem;
    }
    
    .hero-title-divider {
        font-size: 1.5rem;
    }
    
    .hero-title-bottom {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .quick-icons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* About Section Responsive */
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 0;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .about-intro-text h3 {
        font-size: 1.5rem;
    }
    
    .intro-description {
        font-size: 1rem;
    }
    
    .about-pillars {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .pillar-card {
        padding: 2rem;
    }
    
    .team-section-modern {
        padding: 3rem 0;
        margin-top: 3rem;
    }
    
    .team-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-title {
        font-size: 1.8rem;
    }
    
    .member-experience {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .experience-item {
        flex-direction: row;
        justify-content: center;
    }
    
    .team-commitment {
        padding: 2rem;
    }
    
    .commitment-content h4 {
        font-size: 1.2rem;
    }
    
    .commitment-content p {
        font-size: 1rem;
    }
    
    /* Other existing responsive styles */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    /* Footer Responsive - Mobile Only */
    .footer {
        width: 100vw;
        padding: 3rem 0 2rem;
        margin: 0;
        background: #3DDCFF;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
    
    .footer .container {
        max-width: 100%;
        padding: 0 25px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        width: 100%;
    }
    
    .footer-section {
        text-align: center;
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
        color: var(--primary-white);
        font-weight: 600;
        text-align: center;
    }
    
    /* Logo Section - Mobile */
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-logo .logo-image {
        height: 45px;
        width: auto;
        margin-bottom: 0.8rem;
        filter: brightness(0) invert(1);
    }
    
    .footer-logo .logo-text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo .logo-text {
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--primary-blue);
        text-align: center;
    }
    
    .footer-logo .logo-subtitle {
        font-size: 0.85rem;
        color: var(--primary-white);
        text-align: center;
        margin-top: 0.5rem;
        line-height: 1.3;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
        color: var(--text-gray);
        font-style: italic;
        text-align: center;
        line-height: 1.4;
        margin-top: 0.5rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Contact Section - Mobile */
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        color: var(--text-gray);
        text-align: center;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-section p i {
        margin-right: 0.5rem;
        color: var(--primary-blue);
        width: 16px;
        text-align: center;
    }
    
    /* Links Section - Mobile */
    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .footer-links a {
        color: var(--text-gray);
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease;
        display: block;
        text-align: center;
        padding: 0.3rem 0;
    }
    
    .footer-links a:hover {
        color: var(--primary-blue);
    }
    
    /* Social Links - Mobile */
    .social-links {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        background: var(--primary-blue);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-white);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }
    
    .social-link:hover {
        background: var(--accent-coral);
        transform: translateY(-2px);
    }
    
    /* Footer Bottom - Mobile */
    .footer-bottom {
        margin-top: 2.5rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .footer-bottom-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    
    .footer-bottom-content p {
        font-size: 0.8rem;
        color: var(--text-gray);
        text-align: center;
        line-height: 1.4;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .footer-legal {
        display: flex;
        justify-content: center;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        text-align: center;
    }
    
    .footer-legal a {
        color: var(--text-gray);
        text-decoration: none;
        font-size: 0.8rem;
        transition: color 0.3s ease;
        text-align: center;
    }
    
    .footer-legal a:hover {
        color: var(--primary-blue);
    }
    
    .footer-legal span {
        color: var(--text-gray);
        margin: 0 0.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Locations responsive */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .location-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .location-card h3 {
        font-size: 1.5rem;
    }
    
    .location-services {
        justify-content: center;
    }
    
    .service-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .locations-cta {
        margin: 0 15px;
        padding: 40px 25px;
    }
    
    .locations-cta h3 {
        font-size: 1.6rem;
    }
    
    .locations-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title-top {
        font-size: 1.8rem;
    }
    
    .hero-title-divider {
        font-size: 1.2rem;
    }
    
    .hero-title-bottom {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* About Section Mobile */
    .stats-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-intro {
        padding: 1.5rem;
    }
    
    .about-intro-text h3 {
        font-size: 1.3rem;
    }
    
    .intro-description {
        font-size: 0.95rem;
    }
    
    .pillar-card {
        padding: 1.5rem;
    }
    
    .pillar-content h4 {
        font-size: 1.1rem;
    }
    
    .team-section-modern {
        padding: 2rem 0;
    }
    
    .team-header {
        margin-bottom: 2rem;
    }
    
    .team-title {
        font-size: 1.5rem;
    }
    
    .team-subtitle {
        font-size: 1rem;
    }
    
    .member-card {
        margin: 0;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .member-info h4 {
        font-size: 1.1rem;
    }
    
    .member-bio {
        font-size: 0.9rem;
    }
    
    .team-commitment {
        padding: 1.5rem;
    }
    
    .commitment-content h4 {
        font-size: 1.1rem;
    }
    
    .commitment-content p {
        font-size: 0.95rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.team-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.video-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

.video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.video-controls button {
    background: none;
    border: none;
    color: var(--primary-white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-controls button:hover {
    background: var(--professional-cyan);
}

.video-controls i {
    font-size: 1.2rem;
}

.video-section {
    padding: var(--section-padding);
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--cyan-light) 0%, var(--purple-light) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .video-container {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .video-controls {
        bottom: 10px;
    }
    
    .video-controls button {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .nav-logo {
        gap: 14px;
    }
    
    .logo-image {
        height: 48px;
    }
    
    .logo-image-white {
        height: 72px;
    }
    
    .logo-text {
        font-size: 1.7rem;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        gap: 12px;
    }
    
    .logo-image {
        height: 42px;
    }
    
    .logo-image-white {
        height: 68px;
    }
    
    .logo-text {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: 0.3px;
    }
}

.text-white {
    color: var(--primary-white) !important;
}

.visual-card.main-visual {
    background: var(--primary-blue);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 42, 94, 0.2);
}

.visual-card.main-visual .text-white {
    opacity: 0.95;
}

.team-member {
    display: flex;
    gap: 2rem;
    background: #FFFFFF;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    flex: 0 0 300px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    color: #002A5E;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-title {
    color: var(--professional-purple);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.member-education {
    color: var(--professional-cyan);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.member-bio {
    color: #333333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-value {
    color: #002A5E;
    font-weight: 600;
    font-size: 1.1rem;
}

.stat-label {
    color: #7CB342;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
    }

    .member-image {
        flex: 0 0 200px;
        height: 200px;
        margin: 0 auto;
    }
}

.team-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-title {
    color: #002A5E;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-subtitle {
    color: #666666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.team-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 0 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-image-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #FFFFFF;
    max-width: 350px;
    margin: 0 auto;
    border: 1px solid rgba(0, 42, 94, 0.1);
}

.team-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #002A5E;
    border-radius: 15px;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.team-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 42, 94, 0.15);
}

.team-image-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.image-container {
    position: relative;
    padding-top: 100%; /* Aspecto cuadrado */
    background: linear-gradient(45deg, rgba(0, 42, 94, 0.05), rgba(126, 87, 194, 0.05));
}

.team-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    padding: 1rem;
}

.team-image-card:hover .team-photo {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 42, 94, 0.9), transparent);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-title {
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

@media (max-width: 992px) {
    .team-images-grid {
        padding: 0 2rem;
        gap: 2rem;
    }
    
    .team-image-card {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .team-images-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

.team-showcase {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #FFFFFF, #F8F9FA);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #002A5E;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #7E57C2;
}

.section-subtitle {
    color: #666666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.team-portraits {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.portrait-card {
    width: 300px;
    text-align: center;
}

.portrait-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 42, 94, 0.15);
    transition: all 0.3s ease;
}

.portrait-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #002A5E;
    border-radius: 15px;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.portrait-wrapper:hover {
    transform: translateY(-10px);
}

.portrait-wrapper:hover::before {
    opacity: 1;
    transform: scale(1);
}

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

.portrait-wrapper:hover .portrait-image {
    transform: scale(1.1);
}

.portrait-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 42, 94, 0.9), transparent);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portrait-wrapper:hover .portrait-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.overlay-content p {
    color: #FFFFFF;
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.portrait-info {
    padding: 1rem;
}

.portrait-info h4 {
    color: #002A5E;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.portrait-info .credentials {
    color: #7E57C2;
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.portrait-info .experience {
    color: #00BCD4;
    font-size: 0.9rem;
    margin: 0;
}

.team-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

.detail-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-content h3 {
    color: #002A5E;
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
}

.detail-content .role {
    color: #7E57C2;
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.detail-content .description {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .team-portraits {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .team-details {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .detail-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .portrait-wrapper {
        width: 200px;
        height: 200px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Hero Section Responsive Styles */
@media (max-width: 1200px) {
    .hero-content {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 80%;
    }
}

@media (max-width: 992px) {
    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-title-top,
    .hero-title-bottom {
        font-size: 2.8rem;
        text-align: center;
        line-height: 1.3;
    }

    .hero-title-divider {
        font-size: 2rem;
        margin: 0.5rem 0;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 90%;
        text-align: center;
        margin-top: 1.5rem;
    }

    /* Team Section Tablet */
    .team-portraits {
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .portrait-wrapper {
        width: 220px;
        height: 220px;
    }

    .detail-card {
        padding: 1.5rem;
    }

    .detail-content h3 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title-top,
    .hero-title-bottom {
        font-size: 2.3rem;
        padding: 0 1rem;
    }

    .hero-title-divider {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 95%;
        padding: 0 1rem;
        line-height: 1.6;
    }

    /* Team Section Mobile */
    .team-portraits {
        gap: 2.5rem;
        padding: 0 1rem;
    }

    .portrait-wrapper {
        width: 200px;
        height: 200px;
    }

    .portrait-info h4 {
        font-size: 1.2rem;
    }

    .portrait-info .credentials {
        font-size: 0.9rem;
    }

    .detail-card {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title-top,
    .hero-title-bottom {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }

    .hero-title-divider {
        font-size: 1.5rem;
        margin: 0.3rem 0;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        max-width: 100%;
        padding: 0 0.5rem;
        margin-top: 1rem;
    }

    /* Team Section Small Mobile */
    .team-portraits {
        gap: 2rem;
    }

    .portrait-wrapper {
        width: 180px;
        height: 180px;
    }

    .portrait-info {
        padding: 0.75rem;
    }

    .portrait-info h4 {
        font-size: 1.1rem;
    }

    .portrait-info .credentials {
        font-size: 0.85rem;
    }

    .portrait-info .experience {
        font-size: 0.8rem;
    }

    .detail-card {
        padding: 1rem;
    }

    .detail-content h3 {
        font-size: 1.2rem;
    }

    .detail-content .role {
        font-size: 1rem;
    }

    .detail-content .description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title::after {
        width: 60px;
        height: 2px;
    }
}

/* Landscape Mode Fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title-top,
    .hero-title-bottom {
        font-size: 2rem;
    }

    .hero-subtitle {
        margin-top: 1rem;
    }

    .portrait-wrapper {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        padding: 6rem 1.5rem 4rem;
        min-height: 100vh;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 7rem 1rem 4rem;
        min-height: 100vh;
    }

    .hero-title {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 8rem 0.5rem 4rem;
        min-height: 100vh;
    }

    .hero-title {
        margin-top: 3rem;
    }

    .hero-title-top {
        margin-bottom: 1rem;
    }

    .hero-title-divider {
        margin: 1rem 0;
    }

    .hero-title-bottom {
        margin-top: 1rem;
    }

    .hero-subtitle {
        margin-top: 2rem;
    }
}

/* Ajuste específico para dispositivos muy pequeños */
@media (max-width: 360px) {
    .hero-content {
        padding: 9rem 0.5rem 4rem;
    }

    .hero-title {
        margin-top: 3.5rem;
    }
}

/* Ajuste para dispositivos con pantalla corta */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-content {
        padding: 7rem 1rem 3rem;
        min-height: 100vh;
    }
}

/* Therapeutic Approaches Section */
.therapeutic-approaches {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.therapeutic-approaches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(164, 220, 63, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(167, 99, 231, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(240, 131, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.approaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.approach-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #B03BE4, #32D5DB, #F9A825, #EC407A);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.approach-card:hover::before {
    transform: scaleX(1);
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(176, 59, 228, 0.3);
}

.approach-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #B03BE4, #32D5DB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.approach-card:nth-child(1) .approach-icon {
    background: linear-gradient(135deg, #B03BE4, #A763E7);
}

.approach-card:nth-child(2) .approach-icon {
    background: linear-gradient(135deg, #32D5DB, #31D8D8);
}

.approach-card:nth-child(3) .approach-icon {
    background: linear-gradient(135deg, #F9A825, #F08300);
}

.approach-card:nth-child(4) .approach-icon {
    background: linear-gradient(135deg, #EC407A, #EF4ACD);
}

.approach-card:nth-child(5) .approach-icon {
    background: linear-gradient(135deg, #212121, #424242);
}

.approach-icon i {
    color: white;
    font-size: 32px;
}

.approach-card:hover .approach-icon {
    transform: scale(1.1) rotate(5deg);
}

.approach-content h3 {
    color: #212121;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.approach-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.approach-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.approach-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(240, 131, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.approach-card:nth-child(1) .approach-features .feature-item {
    background: rgba(176, 59, 228, 0.1);
}

.approach-card:nth-child(2) .approach-features .feature-item {
    background: rgba(50, 213, 219, 0.1);
}

.approach-card:nth-child(3) .approach-features .feature-item {
    background: rgba(249, 168, 37, 0.1);
}

.approach-card:nth-child(4) .approach-features .feature-item {
    background: rgba(236, 64, 122, 0.1);
}

.approach-card:nth-child(5) .approach-features .feature-item {
    background: rgba(33, 33, 33, 0.1);
}

.approach-features .feature-item:hover {
    transform: translateX(5px);
}

.approach-features .feature-item i {
    color: #B03BE4;
    font-size: 14px;
}

.approach-card:nth-child(1) .approach-features .feature-item i {
    color: #B03BE4;
}

.approach-card:nth-child(2) .approach-features .feature-item i {
    color: #32D5DB;
}

.approach-card:nth-child(3) .approach-features .feature-item i {
    color: #F9A825;
}

.approach-card:nth-child(4) .approach-features .feature-item i {
    color: #EC407A;
}

.approach-card:nth-child(5) .approach-features .feature-item i {
    color: #212121;
}

.approach-features .feature-item span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.approaches-commitment {
    background: linear-gradient(135deg, #B03BE4, #32D5DB);
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.approaches-commitment::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.approaches-commitment .commitment-content {
    position: relative;
    z-index: 1;
}

.approaches-commitment h4 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.approaches-commitment h4 i {
    color: #F9A825;
}

.approaches-commitment p {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .approaches-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .approach-card {
        padding: 20px;
    }
    
    .approach-icon {
        width: 60px;
        height: 60px;
    }
    
    .approach-icon i {
        font-size: 24px;
    }
    
    .approach-content h3 {
        font-size: 20px;
    }
    
    .approaches-commitment {
        padding: 30px 20px;
    }
    
    .approaches-commitment h4 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .therapeutic-approaches {
        padding: 60px 0;
    }
    
    .approaches-grid {
        margin-top: 30px;
    }
    
    .approach-card {
        padding: 15px;
    }
    
    .approach-features .feature-item {
        padding: 6px 10px;
    }
    
    .approach-features .feature-item span {
        font-size: 13px;
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.7rem 1rem;
        height: 65px;
    }
    
    .nav-logo {
        gap: 12px;
    }
    
    .logo-image {
        height: 42px;
    }
    
    .logo-text {
        font-size: 1.6rem;
        font-weight: 700;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background-color: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        color: white !important;
    }
    
    .nav-link:hover {
        color: rgba(255, 255, 255, 0.8) !important;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .nav-link.active {
        color: #7CB342 !important;
        background-color: rgba(124, 179, 66, 0.2);
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.6rem 1rem;
        height: 60px;
    }
    
    .nav-logo {
        gap: 10px;
    }
    
    .logo-image {
        height: 38px;
    }
    
    .logo-text {
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: 0.3px;
    }
    
    .nav-menu {
        top: 60px;
    }
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
}

.gallery::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 1000 1000"><defs><pattern id="hexPattern" x="0" y="0" width="60" height="52" patternUnits="userSpaceOnUse"><polygon points="30,0 60,17 60,35 30,52 0,35 0,17" fill="none" stroke="rgba(0,42,94,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexPattern)"/></svg>');
    pointer-events: none;
}

.gallery .container {
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 42, 94, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    height: 280px;
    border: 2px solid #e9ecef;
}



.gallery-item.featured {
    grid-column: span 2;
    height: 350px;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 42, 94, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    border-radius: 0;
    cursor: pointer;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}



.gallery-cta {
    background: linear-gradient(135deg, var(--primary-blue), #7E57C2);
    padding: 60px 40px;
    border-radius: 25px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.gallery-cta::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 1000 1000"><g opacity="0.1"><circle cx="200" cy="200" r="3" fill="white"/><circle cx="800" cy="300" r="2" fill="white"/><circle cx="500" cy="700" r="4" fill="white"/><circle cx="300" cy="500" r="2" fill="white"/><circle cx="700" cy="600" r="3" fill="white"/></g></svg>');
    pointer-events: none;
}

.gallery-cta-content {
    position: relative;
    z-index: 1;
}

.gallery-cta h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.gallery-cta p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-cta-button.primary {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-cta-button.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.gallery-cta-button.secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-item.featured {
        grid-column: span 2;
        height: 300px;
        border-radius: 12px;
    }
    
    .gallery-item {
        height: 200px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .gallery-item:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 30px rgba(0, 42, 94, 0.25);
    }
    

    
    .gallery-image {
        border-radius: 12px;
    }
    
    .gallery-cta {
        padding: 40px 20px;
    }
    
    .gallery-cta h3 {
        font-size: 1.8rem;
    }
    
    .gallery-cta p {
        font-size: 1.1rem;
    }
    
    .gallery-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-item {
        height: 250px;
        border-radius: 12px;
    }
    

    
    .gallery-item.featured {
        grid-column: span 1;
        height: 280px;
    }
    
    .gallery-cta {
        padding: 30px 15px;
    }
    
    .gallery-cta h3 {
        font-size: 1.5rem;
    }
    
    .gallery-cta p {
        font-size: 1rem;
    }
}

/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-image-container {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    margin-top: 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-caption span {
    font-size: 16px;
    opacity: 0.9;
}

#modalCounter {
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        border: 2px solid white;
        z-index: 1001;
        transition: all 0.3s ease;
    }
    
    .modal-close:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }
    
    .modal-nav {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        border: 2px solid white;
        transition: all 0.3s ease;
    }
    
    .modal-nav:hover {
        background: rgba(0, 0, 0, 0.9);
        transform: scale(1.1);
    }
    
    .modal-prev {
        left: 15px;
    }
    
    .modal-next {
        right: 15px;
    }
    
    .modal-image {
        max-height: 75vh;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .modal-caption {
        font-size: 1rem;
        padding: 15px 20px;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 8px;
        margin: 10px;
        color: white;
    }
    
    .modal-caption span {
        font-size: 0.9rem;
        color: white;
        display: block;
        margin-bottom: 5px;
    }
    
    #modalCounter {
        font-size: 0.8rem;
        color: #ccc;
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-image {
        max-height: 65vh;
    }
    
    .modal-caption {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .modal-caption span {
        font-size: 0.8rem;
    }
    
    #modalCounter {
        font-size: 0.7rem;
    }
}



/* Fondo con imagen SVG de hexágonos */
.hero-hexagonal {
    position: relative;
    min-height: 100vh;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-hexagonal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content-hexagonal {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text-section {
    background: rgba(147, 112, 219, 0.95);
    padding: 4rem 3rem;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 40px rgba(147, 112, 219, 0.4);
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 1rem;
        color: #002A5E;
    }
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 2rem;
        color: #333;
    }
    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
}

.main-phone {
    font-size: 2rem;
    font-weight: bold;
    color: #9C27B0;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(156,39,176,0.08);
}

@media (max-width: 768px) {
    .main-phone {
        font-size: 2.3rem;
        display: block;
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* Google Maps Section Styles */
.google-maps-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.maps-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.map-wrapper {
    flex: 2;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: 0;
}

.locations-list {
    flex: 1;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    max-height: 500px;
    overflow-y: auto;
}

.locations-list h4 {
    color: #002A5E;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.location-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.location-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.location-item h5 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.location-item p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.location-item a {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.location-item a:hover {
    opacity: 0.8;
    transform: translateX(3px);
}

/* Location item colors */
.location-item:nth-child(1) {
    border-left-color: #9C27B0;
}

.location-item:nth-child(1) h5 {
    color: #9C27B0;
}

.location-item:nth-child(1) a {
    color: #9C27B0;
}

.location-item:nth-child(2) {
    border-left-color: #7CB342;
}

.location-item:nth-child(2) h5 {
    color: #7CB342;
}

.location-item:nth-child(2) a {
    color: #7CB342;
}

.location-item:nth-child(3) {
    border-left-color: #FF9800;
}

.location-item:nth-child(3) h5 {
    color: #FF9800;
}

.location-item:nth-child(3) a {
    color: #FF9800;
}

.location-item:nth-child(4) {
    border-left-color: #00BCD4;
}

.location-item:nth-child(4) h5 {
    color: #00BCD4;
}

.location-item:nth-child(4) a {
    color: #00BCD4;
}

.location-item:nth-child(5) {
    border-left-color: #EC407A;
}

.location-item:nth-child(5) h5 {
    color: #EC407A;
}

.location-item:nth-child(5) a {
    color: #EC407A;
}

/* Google Maps button */
.google-maps-section .maps-container + div {
    text-align: center;
    margin-top: 2rem;
}

.google-maps-section .maps-container + div a {
    display: inline-block;
    background: linear-gradient(135deg, #002A5E, #7E57C2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,42,94,0.3);
    transition: all 0.3s ease;
}

.google-maps-section .maps-container + div a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,42,94,0.4);
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .maps-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .map-wrapper {
        flex: none;
        min-height: 300px;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .locations-list {
        flex: none;
        max-height: none;
        padding: 1.5rem;
    }
    
    .location-item {
        margin-bottom: 1rem;
        padding: 0.8rem;
    }
    
    .location-item h5 {
        font-size: 0.95rem;
    }
    
    .location-item p {
        font-size: 0.85rem;
    }
    
    .google-maps-section .maps-container + div a {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .google-maps-section {
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .map-wrapper {
        min-height: 250px;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .locations-list {
        padding: 1rem;
    }
    
    .location-item {
        padding: 0.7rem;
    }
    
    .location-item h5 {
        font-size: 0.9rem;
    }
    
    .location-item p {
        font-size: 0.8rem;
    }
    
    .google-maps-section .maps-container + div a {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Optimización del espacio en la sección de sucursales */
    .google-maps-section {
        margin-top: 2rem !important;
    }
    
    .google-maps-section .section-header {
        margin-bottom: 1rem !important;
    }
    
    .google-maps-section .section-header h3 {
        margin-bottom: 0.5rem !important;
    }
    
    .google-maps-section .section-header p {
        margin-bottom: 0 !important;
    }
    
    .google-maps-section .maps-container {
        margin-top: 1rem !important;
        gap: 1rem !important;
    }
    
    .google-maps-section .locations-list {
        padding: 1rem !important;
        max-height: 400px !important;
    }
    
    .google-maps-section .locations-list h4 {
        margin-bottom: 1rem !important;
        font-size: 1.1rem !important;
    }
    
    .google-maps-section .location-item {
        margin-bottom: 1rem !important;
        padding: 0.8rem !important;
    }
    
    .google-maps-section .location-item h5 {
        margin-bottom: 0.3rem !important;
        font-size: 0.95rem !important;
    }
    
    .google-maps-section .location-item p {
        margin-bottom: 0.3rem !important;
        font-size: 0.85rem !important;
    }
    
    .google-maps-section .location-item a {
        font-size: 0.75rem !important;
    }
}

/* Hero Mobile Optimization - Obra de Arte Visual */
@media (max-width: 768px) {
    .hero-hexagonal {
        padding: 0;
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    
    .hero-background-svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .hero-bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 70% center;
    }
    
    .hero-content-hexagonal {
        padding: 1rem;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        z-index: 2;
    }
    
    .hero-text-section {
        padding: 2rem 1.5rem;
        margin: 0;
        max-width: 95%;
        border-radius: 15px;
        background: rgba(147, 112, 219, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 30px rgba(147, 112, 219, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .hero-text-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
        pointer-events: none;
    }
    
    .hero-logo-hex {
        height: 70px;
        margin-bottom: 1.2rem;
        filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
    }
    
    .hero-title-hex {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: center;
        font-weight: 700;
        color: #FFFFFF;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        letter-spacing: -0.3px;
    }
    
    .hero-quote-hex {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        text-align: center;
        color: #FFFFFF;
        font-weight: 400;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }
    
    .hero-quote-hex::before,
    .hero-quote-hex::after {
        font-size: 2rem;
        top: -10px;
        color: rgba(255,255,255,0.8);
    }
    
    .hero-quote-hex::before {
        left: -20px;
    }
    
    .hero-quote-hex::after {
        right: -20px;
    }
    
    .hero-badge {
        padding: 16px 32px;
        font-size: 1.1rem;
        border-radius: 30px;
        font-weight: 600;
        background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
        color: #9370DB;
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        border: 2px solid rgba(255,255,255,0.3);
        transition: all 0.3s ease;
    }
    
    .hero-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        background: linear-gradient(135deg, #FFFFFF 0%, #E9ECEF 100%);
    }
    
    .hexagon {
        width: 50px;
        height: 50px;
        opacity: 0.8;
    }
    
    .hexagon::before,
    .hexagon::after {
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
    }
    
    .hexagon::before {
        border-bottom: 14.43px solid;
    }
    
    .hexagon::after {
        border-top: 14.43px solid;
    }
}

@media (max-width: 480px) {
    .hero-hexagonal {
        background-size: cover;
        background-position: center;
        min-height: 100vh;
        padding: 0;
    }
    
    .hero-background-svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .hero-bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 70% center;
    }
    
    .hero-content-hexagonal {
        padding: 0.5rem;
        gap: 0.8rem;
        width: 100%;
        position: relative;
        z-index: 2;
    }
    
    .hero-text-section {
        padding: 1.8rem 1.2rem;
        margin: 0;
        max-width: 98%;
        border-radius: 12px;
        background: rgba(147, 112, 219, 0.92);
        backdrop-filter: blur(8px);
        box-shadow: 0 6px 25px rgba(147, 112, 219, 0.35);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    .hero-logo-hex {
        height: 70px;
        margin-bottom: 1.2rem;
    }
    
    .hero-title-hex {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: center;
        font-weight: 700;
        color: #FFFFFF;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        letter-spacing: -0.3px;
    }
    
    .hero-quote-hex {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        text-align: center;
        color: #FFFFFF;
        font-weight: 400;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }
    
    .hero-quote-hex::before,
    .hero-quote-hex::after {
        font-size: 1.6rem;
        top: -8px;
        color: rgba(255,255,255,0.8);
    }
    
    .hero-quote-hex::before {
        left: -15px;
    }
    
    .hero-quote-hex::after {
        right: -15px;
    }
    
    .hero-badge {
        padding: 14px 28px;
        font-size: 1rem;
        border-radius: 25px;
        font-weight: 600;
        background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
        color: #9370DB;
        box-shadow: 0 5px 18px rgba(0,0,0,0.2);
        border: 2px solid rgba(255,255,255,0.3);
        letter-spacing: 0.5px;
    }
    
    .hexagon {
        width: 40px;
        height: 40px;
        opacity: 0.7;
    }
    
    .hexagon::before,
    .hexagon::after {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
    }
    
    .hexagon::before {
        border-bottom: 11.55px solid;
    }
    
    .hexagon::after {
        border-top: 11.55px solid;
    }
}

@media (max-width: 360px) {
    .hero-text-section {
        padding: 1.5rem 1rem;
        border-radius: 12px;
        background: rgba(147, 112, 219, 0.9);
        backdrop-filter: blur(6px);
        max-width: 100%;
    }
    
    .hero-title-hex {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-quote-hex {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
    }
    
    .hero-quote-hex::before,
    .hero-quote-hex::after {
        font-size: 1.2rem;
        top: -5px;
    }
    
    .hero-quote-hex::before {
        left: -10px;
    }
    
    .hero-quote-hex::after {
        right: -10px;
    }
    
    .hero-badge {
        padding: 10px 20px;
        font-size: 0.8rem;
        border-radius: 18px;
    }
    
    .hero-logo-hex {
        height: 50px;
        margin-bottom: 0.8rem;
    }
}

/* Optimización para orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-hexagonal {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-content-hexagonal {
        padding: 1rem 0.5rem;
        gap: 0.8rem;
    }
    
    .hero-text-section {
        padding: 1.5rem 1rem;
        margin: 0;
    }
    
    .hero-title-hex {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-quote-hex {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo-hex {
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .hero-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animaciones suaves para móviles */
@media (max-width: 768px) {
    .hero-text-section {
        animation: fadeInUp 1.2s ease-out 1s both;
        opacity: 0;
    }
    
    .hero-logo-hex {
        animation: fadeInUp 1.2s ease-out 1.5s both;
        opacity: 0;
    }
    
    .hero-title-hex {
        animation: fadeInUp 1.2s ease-out 2s both;
        opacity: 0;
    }
    
    .hero-quote-hex {
        animation: fadeInUp 1.2s ease-out 2.5s both;
        opacity: 0;
    }
    
    .hero-badge {
        animation: fadeInUp 1.2s ease-out 3s both;
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optimización móvil para sección "Cuidando tu salud mental desde 2010" */
@media (max-width: 768px) {
    .about-description-section {
        margin: 2rem 0 !important;
    }
    
    .about-description-section > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .about-description-section h3 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .about-description-section p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .about-description-section h4 {
        font-size: 1.2rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .about-description-section > div > div:last-child {
        order: -1;
        padding: 2rem !important;
    }
    
    .about-description-section > div > div:last-child h4 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child {
        padding: 2rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child h4 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div {
        gap: 0.8rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div {
        gap: 0.8rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > div {
        width: 20px !important;
        height: 20px !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > div i {
        font-size: 0.7rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > span {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 480px) {
    .about-description-section {
        margin: 1.5rem 0 !important;
    }
    
    .about-description-section > div {
        gap: 1.5rem !important;
    }
    
    .about-description-section h3 {
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
    }
    
    .about-description-section p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .about-description-section h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .about-description-section > div > div:last-child {
        padding: 1.5rem !important;
    }
    
    .about-description-section > div > div:last-child h4 {
        font-size: 1.3rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child {
        gap: 0.8rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child {
        padding: 1.5rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div {
        gap: 0.6rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div {
        gap: 0.6rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > div {
        width: 18px !important;
        height: 18px !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > div i {
        font-size: 0.6rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > span {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}
@media (max-width: 768px) {
    /* About Description Section Mobile Optimization */
    .about-description-section {
        margin: 2rem 0 !important;
    }
    
    .about-description-section > div {
        display: block !important;
        gap: 2rem !important;
        max-width: 100% !important;
    }
    
    .about-description-section h3 {
        font-size: 1.6rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center;
    }
    
    .about-description-section p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: justify;
    }
    
    /* Optimización específica para el párrafo de enfoques teóricos */
    .about-description-section p:first-of-type {
        text-align: left !important;
        line-height: 1.7 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .about-description-section p:first-of-type strong {
        color: #002A5E !important;
        font-weight: 600 !important;
    }
    
    /* Lista de especializaciones */
    .about-description-section ul {
        margin-top: 1rem !important;
        padding-left: 1rem !important;
        line-height: 1.8 !important;
        font-size: 0.95rem !important;
        color: #002A5E !important;
        font-weight: 500 !important;
    }
    
    .about-description-section ul li {
        margin-bottom: 0.5rem !important;
        position: relative !important;
        padding-left: 1rem !important;
    }
    
    /* Green Box Mobile Optimization */
    .about-description-section > div > div:last-child {
        background: #7ED321 !important;
        border-radius: 12px !important;
        padding: 2rem 1.5rem !important;
        margin-top: 2rem !important;
        color: white !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .about-description-section > div > div:last-child h4 {
        margin-bottom: 1.5rem !important;
        font-size: 1.4rem !important;
        font-weight: 600 !important;
        text-align: center;
    }
    
    .about-description-section > div > div:last-child img {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
        margin-bottom: 2rem !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child > div {
        text-align: center !important;
        padding: 1rem !important;
        background: rgba(255,255,255,0.15) !important;
        border-radius: 8px !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child > div i {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
        opacity: 0.9 !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child > div span {
        font-weight: 600 !important;
        font-size: 0.85rem !important;
        display: block;
    }
    
    /* Characteristics Section Mobile */
    .about-description-section > div > div:first-child > div:last-child {
        background: #f8f9fa !important;
        padding: 1.5rem !important;
        border-radius: 8px !important;
        border-left: 4px solid #7ED321 !important;
        margin-top: 2rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child h4 {
        color: #002A5E !important;
        margin-bottom: 1rem !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        text-align: center;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div {
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.8rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > div {
        background: #7ED321 !important;
        color: white !important;
        width: 20px !important;
        height: 20px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        margin-top: 0.1rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > div i {
        font-size: 0.7rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > span {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: #333 !important;
    }
}

@media (max-width: 480px) {
    /* About Description Section Mobile Optimization */
    .about-description-section {
        margin: 1.5rem 0 !important;
    }
    
    .about-description-section > div {
        display: block !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
    }
    
    .about-description-section h3 {
        font-size: 1.4rem !important;
        margin-bottom: 1.2rem !important;
        text-align: center;
    }
    
    .about-description-section p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        text-align: justify;
    }
    
    /* Optimización específica para el párrafo de enfoques teóricos en móvil pequeño */
    .about-description-section p:first-of-type {
        text-align: left !important;
        line-height: 1.6 !important;
        margin-bottom: 1.2rem !important;
    }
    
    .about-description-section p:first-of-type strong {
        color: #002A5E !important;
        font-weight: 600 !important;
    }
    
    /* Lista de especializaciones en móvil pequeño */
    .about-description-section ul {
        margin-top: 0.8rem !important;
        padding-left: 0.8rem !important;
        line-height: 1.7 !important;
        font-size: 0.9rem !important;
        color: #002A5E !important;
        font-weight: 500 !important;
    }
    
    .about-description-section ul li {
        margin-bottom: 0.4rem !important;
        position: relative !important;
        padding-left: 0.8rem !important;
    }
    
    /* Green Box Mobile Optimization */
    .about-description-section > div > div:last-child {
        background: #7ED321 !important;
        border-radius: 10px !important;
        padding: 1.5rem 1rem !important;
        margin-top: 1.5rem !important;
        color: white !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .about-description-section > div > div:last-child h4 {
        margin-bottom: 1.2rem !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        text-align: center;
    }
    
    .about-description-section > div > div:last-child img {
        width: 100% !important;
        height: auto !important;
        border-radius: 6px !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
        margin-bottom: 1.5rem !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.8rem !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child > div {
        text-align: center !important;
        padding: 0.8rem !important;
        background: rgba(255,255,255,0.15) !important;
        border-radius: 6px !important;
        backdrop-filter: blur(8px) !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child > div i {
        font-size: 1.3rem !important;
        margin-bottom: 0.4rem !important;
        display: block !important;
        opacity: 0.9 !important;
    }
    
    .about-description-section > div > div:last-child > div:last-child > div span {
        font-weight: 600 !important;
        font-size: 0.8rem !important;
        display: block;
    }
    
    /* Characteristics Section Mobile */
    .about-description-section > div > div:first-child > div:last-child {
        background: #f8f9fa !important;
        padding: 1.2rem !important;
        border-radius: 6px !important;
        border-left: 3px solid #7ED321 !important;
        margin-top: 1.5rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child h4 {
        color: #002A5E !important;
        margin-bottom: 0.8rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        text-align: center;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div {
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.6rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > div {
        background: #7ED321 !important;
        color: white !important;
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        margin-top: 0.1rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > div i {
        font-size: 0.6rem !important;
    }
    
    .about-description-section > div > div:first-child > div:last-child > div > div > span {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        color: #333 !important;
    }
}

/* Animaciones con delays para móvil pequeño (480px) */
@media (max-width: 480px) {
    .hero-text-section {
        animation: fadeInUp 1.2s ease-out 0.8s both;
        opacity: 0;
    }
    
    .hero-logo-hex {
        animation: fadeInUp 1.2s ease-out 1.2s both;
        opacity: 0;
    }
    
    .hero-title-hex {
        animation: fadeInUp 1.2s ease-out 1.8s both;
        opacity: 0;
    }
    
    .hero-quote-hex {
        animation: fadeInUp 1.2s ease-out 2.3s both;
        opacity: 0;
    }
    
    .hero-badge {
        animation: fadeInUp 1.2s ease-out 2.8s both;
        opacity: 0;
    }
}

/* Estilos para la sección de empresas que confían */
.trusted-companies-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.trusted-companies-section h4 {
    text-align: center;
    color: #002A5E;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.company-logo-placeholder {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.company-logo-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #002A5E;
}

.company-logo-placeholder i {
    font-size: 3rem;
    color: #002A5E;
    margin-bottom: 1rem;
}

.company-logo-placeholder p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .trusted-companies-section {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .trusted-companies-section h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .company-logo-placeholder {
        padding: 1.5rem;
    }
    
    .company-logo-placeholder i {
        font-size: 2.5rem;
    }
}

/* Grid específico para nutrición - 3 columnas en la misma fila */
.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.nutrition-grid .service-card {
    max-width: none;
    width: 100%;
}

@media (max-width: 768px) {
    .nutrition-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Estilos para el recuadro NOM-035 - Consistente con las otras tarjetas */
.nom035-card {
    background: white;
    border-radius: 25px;
    border: 2px solid var(--purple-medium);
    background: linear-gradient(135deg, var(--purple-light) 0%, white 100%);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.nom035-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.nom035-card .service-icon-large.nom035 {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.3);
}

.nom035-card .service-icon-large.nom035 i {
    color: white;
    font-size: 2.5rem;
    z-index: 2;
    position: relative;
}

.nom035-badge {
    background: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.nom035-card h4 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.nom035-card .service-tagline {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
}

.nom035-card .service-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.nom035-card .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.nom035-card .feature:hover {
    color: var(--text-dark);
}

.nom035-card .feature i {
    width: 20px;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.nom035-card .feature span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.nom035-card .specialty-tag {
    background: rgba(166, 200, 224, 0.1);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.nom035-card .service-cta {
    background: var(--gradient-magenta);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: var(--shadow-magenta);
}

.nom035-card .service-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

@media (max-width: 768px) {
    .nom035-card {
        margin: 1rem 0;
    }
    
    .nom035-card h4 {
        font-size: 1.2rem;
    }
    
    .nom035-card .service-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Carrusel automático de logos de empresas */
.companies-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 16); /* 8 logos duplicados = 16 */
}

.carousel-track:hover {
    animation-play-state: paused;
}

.company-logo {
    flex: 0 0 200px;
    height: 120px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.company-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.company-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 42, 94, 0.05) 0%, rgba(124, 179, 66, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.company-logo:hover::before {
    opacity: 1;
}

.company-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.company-logo:hover .company-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8)); /* Mover 8 logos */
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .companies-carousel {
        padding: 1.5rem 0;
    }
    
    .carousel-track {
        animation-duration: 20s;
    }
    
    .company-logo {
        flex: 0 0 150px;
        height: 90px;
        margin: 0 15px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 8));
        }
    }
}

@media (max-width: 480px) {
    .company-logo {
        flex: 0 0 120px;
        height: 70px;
        margin: 0 10px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 8));
        }
    }
}

/* Grid específico para Consultoría Empresarial - 3 columnas en la misma fila */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.business-grid .service-card {
    max-width: none;
    width: 100%;
}

/* Grid específico para sucursales - credenciales horizontales */
.locations-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.locations-grid .location-card {
    width: 100%;
    max-width: none;
}

@media (max-width: 768px) {
    .business-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .locations-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .location-card {
        padding: 25px 20px;
    }
    
    .location-card-content {
        gap: 15px;
        flex-direction: row;
    }
    
    .location-info-section {
        text-align: left;
    }
    
    .location-image-section {
        flex: 0 0 150px;
        order: -1;
    }
    
    .location-image {
        width: 150px;
        height: 120px;
    }
    
    .location-card h3 {
        font-size: 1.3rem;
    }
    
    .location-info p {
        font-size: 0.9rem;
    }
}

/* Sistema de iluminación único */
.premium-service-tabs {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease-in-out infinite;
    position: relative;
}

.premium-service-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 20px;
    z-index: 1;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Efecto de partículas sutiles */
.premium-service-tabs::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: subtle-particle 6s ease-in-out infinite;
    z-index: 2;
}

.premium-service-tabs .particle-1 {
    content: '';
    position: absolute;
    top: 25px;
    right: 25px;
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: subtle-particle 8s ease-in-out infinite reverse;
    z-index: 2;
}

@keyframes subtle-particle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-5px) scale(1.5);
        opacity: 1;
    }
}

/* Optimización de imágenes específica */
.premium-tab-button.nutrition {
    background-image: url('Para-Nutricion.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.premium-tab-button.legal {
    background-image: url('para-legal.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    /* Optimización específica para imagen pesada */
    background-attachment: scroll !important;
    will-change: background-image !important;
}

.premium-tab-button.evaluation {
    background-image: url('esta-mejor.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.premium-tab-button.academic {
    background-image: url('Para-Escuelas.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.premium-tab-button.business {
    background-image: url('Para-Empresas.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Fallback para imágenes que no cargan */
.premium-tab-button {
    background-color: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
}

/* Placeholder específico para imagen legal */
.premium-tab-button.legal.loading {
    background: linear-gradient(135deg, rgba(0, 42, 94, 0.1) 0%, rgba(124, 179, 66, 0.1) 100%) !important;
    position: relative;
}

.premium-tab-button.legal.loading::after {
    content: 'Cargando imagen...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #002A5E;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 5;
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Indicador de progreso para imagen legal */
.premium-tab-button.legal.loading .progress-bar {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(0, 42, 94, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 5;
}

.premium-tab-button.legal.loading .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60px;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 42, 94, 0.8), transparent);
    animation: loading-progress 2s ease-in-out infinite;
}

@keyframes loading-progress {
    0% { left: -60px; }
    100% { left: 100%; }
}

/* Efecto de carga progresiva */
.premium-tab-button.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Optimización de renderizado */
.premium-tab-button {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Estilos SIMPLIFICADOS para móvil en Otros Servicios */
@media (max-width: 768px) {
    .premium-tabs-container {
        position: relative;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 20px;
        /* SIN ANIMACIONES - SOLO SCROLL NORMAL */
    }
    
    .premium-tabs-container::-webkit-scrollbar {
        display: none;
    }
    
    .premium-tab-button {
        min-width: 180px;
        margin: 0 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        /* Asegurar que las imágenes se muestren correctamente */
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .premium-tab-button:hover {
        transform: translateY(-2px);
    }
    
    .premium-tab-button:active {
        transform: scale(0.98);
    }
    
    /* SIN FLECHAS - SOLO CLICK DIRECTO */
    
    /* Contenedor simple */
    .premium-service-tabs {
        position: relative;
        padding: 0 20px;
        margin: 0;
    }
    
    /* Indicador de servicio activo simple */
    .premium-tab-button.active {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(124, 179, 66, 0.3);
    }
    
    /* SIN EFECTOS DE PULSO */
    
    /* SIN EFECTOS DE CARGA */
    
    /* SIN EFECTOS DE RIPPLE */
    
    /* Contenido simple */
    .tab-content {
        transition: opacity 0.3s ease;
    }
    
    .tab-content.active {
        opacity: 1;
    }
    
    /* SIN ANIMACIONES DE CARRUSEL */
    
    /* SIN INDICADORES DE SWIPE */
}

/* Overlay para mejorar legibilidad del texto */
.premium-tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 18px;
    z-index: 1;
    transition: all 0.6s ease;
}

.premium-tab-button:hover::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.premium-tab-button.active::before {
    background: linear-gradient(135deg, rgba(0, 42, 94, 0.6) 0%, rgba(0, 42, 94, 0.3) 100%);
}

/* Mejoras específicas para la visualización de imágenes */
.premium-tab-button {
    background-attachment: local;
    background-origin: border-box;
    background-clip: border-box;
}

/* Efecto de mejora de calidad de imagen */
.premium-tab-button.loaded {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

/* Asegurar que las imágenes se muestren completamente */
.premium-tab-button {
    min-height: 100px;
    min-width: 220px;
    object-fit: cover;
    object-position: center;
}

/* Fallback mejorado para imágenes */
.premium-tab-button:not(.loaded) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
}

/* Indicador de carga */
.premium-tab-button.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 42, 94, 0.3);
    border-top: 2px solid rgba(0, 42, 94, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Mejora de carga de imágenes */
.premium-tab-button {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: local !important;
}

/* Asegurar que las imágenes se muestren completamente */
.premium-tab-button.loaded {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}