/* ============================================
   RESET Y CONFIGURACIÓN BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* PALETA DE COLORES MODERNA */
    --azul-oscuro: #1A365D;        /* Principal - Confianza/Seriedad */
    --azul-corporativo: #2D5AA0;   /* Secundario - Tecnología */
    --naranja-energia: #FF6B35;    /* CTA - Energía/Acción */
    --verde-confianza: #00A878;    /* Valores - Sostenibilidad */
    --amarillo-accent: #FFD936;    /* Acento - Herencia marca */
    
    /* NEUTROS */
    --gris-900: #1A202C;
    --gris-700: #4A5568;
    --gris-500: #718096;
    --gris-300: #CBD5E0;
    --gris-100: #F7FAFC;
    --blanco: #FFFFFF;
    
    /* SOMBRAS */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* EFECTOS */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-blur: blur(10px);
    
    /* TIPOGRAFÍA */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', system-ui, sans-serif;
    --font-mono: 'SF Mono', Monaco, monospace;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gris-700);
    background-color: var(--blanco);
    overflow-x: hidden;
}

/* ============================================
   TIPOGRAFÍA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-corporativo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

/* ============================================
   LAYOUT CONTAINER
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER & NAVBAR - DISEÑO MODERNO
   ============================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.main-header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* LOGO SECTION - Moderno con efecto */
.logo-section {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: black;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--naranja-energia);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* NAVIGATION - Minimalista con hover effects */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gris-700);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--naranja-energia), var(--amarillo-accent));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--azul-oscuro);
    background: rgba(255, 107, 53, 0.05);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: var(--naranja-energia);
    font-weight: 700;
}

.nav-link.active::before {
    width: 100%;
    background: var(--naranja-energia);
}

/* HEADER ACTIONS - CTA destacado */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--azul-oscuro);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(26, 54, 93, 0.05);
    transition: all 0.3s ease;
}

.phone-link:hover {
    background: rgba(26, 54, 93, 0.1);
    transform: translateY(-1px);
    color: var(--naranja-energia);
}

.phone-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.phone-text {
    font-size: 0.9rem;
}

/* CTA BUTTON - Moderno con gradiente */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--naranja-energia), #FF8C42);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF5A1F, var(--naranja-energia));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

/* MENÚ HAMBURGUESA - Animado */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--azul-oscuro);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle:hover span {
    background: var(--naranja-energia);
}

/* ============================================
   HERO SECTION - Próxima sección (placeholder)
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gris-100) 0%, white 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Compensa navbar fija */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(26, 54, 93, 0.03));
    clip-path: polygon(100% 0, 100% 100%, 30% 100%);
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First
   ============================================ */

/* Tablet (768px a 1023px) */
@media (max-width: 1023px) {
    .nav-list {
        gap: 1rem;
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .phone-link {
        padding: 0.5rem;
    }
    
    .phone-text {
        display: none; /* Ocultar texto en tablet, solo icono */
    }
}

/* Mobile (hasta 767px) */
@media (max-width: 767px) {
    .main-header .container {
        padding: 0 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav,
    .header-actions {
        display: none;
    }
    
    /* Menú móvil activo */
    .main-nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--blanco);
        z-index: 1000;
        padding: 6rem 2rem 2rem;
        animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        width: 100%;
        text-align: center;
        border-radius: 12px;
    }
    
    .nav-link:hover {
        background: rgba(255, 107, 53, 0.1);
    }
    
    .header-actions.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: fixed;
        top: auto;
        bottom: 2rem;
        left: 0;
        width: 100%;
        padding: 0 2rem;
        z-index: 1001;
        animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }
    
    .phone-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        background: rgba(26, 54, 93, 0.05);
    }
    
    .phone-text {
        display: inline;
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Animación hamburguesa a X */
    .menu-toggle.active {
        position: fixed;
        top: 1.5rem;
        right: 1rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: var(--naranja-energia);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: var(--naranja-energia);
    }
    
    /* Ajuste logo en móvil */
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .logo-name {
        font-size: 1.25rem;
    }
    
    .logo-tagline {
        font-size: 0.6rem;
    }
}

/* Animaciones */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--azul-oscuro), var(--naranja-energia));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   WHATSAPP FLOAT BUTTON 
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ============================================
   HERO SECTION CON CARRUSEL
   ============================================ */

.home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--gris-900) 100%);
}

.home img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
    filter: grayscale(20%) brightness(0.8);
}

.home .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    margin: 2rem auto;
    animation: fadeInUp 1s ease-out;
}

.home h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--azul-oscuro);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.home p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gris-700);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--naranja-energia), #ff8c42);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff5a1f, var(--naranja-energia));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* ============================================
   CARRUSEL DE IMÁGENES
   ============================================ */

.home {
    position: relative;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    transform: scale(1.1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    animation: kenBurns 20s infinite;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ============================================
   CONTROLES DEL CARRUSEL
   ============================================ */

/* Botón secundario */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--azul-oscuro);
    color: var(--blanco);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    border: 2px solid var(--azul-oscuro);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: var(--azul-oscuro);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* ============================================
   INDICADORES DEL CARRUSEL (puntos)
   ============================================ */

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--naranja-energia);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
}

.indicator:hover {
    background: var(--naranja-energia);
    transform: scale(1.1);
}

/* ============================================
   CONTENIDO SOBRE EL CARRUSEL
   ============================================ */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, white, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: black;
    background-clip: text;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   EFECTOS DE TEXTO ANIMADO
   ============================================ */

.typed-text {
    display: inline-block;
    position: relative;
    color: var(--naranja-energia);
}

.typed-text::after {
    content: '|';
    position: absolute;
    right: -5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   RESPONSIVE PARA CARRUSEL
   ============================================ */

@media (max-width: 768px) {
    .home {
        min-height: 80vh;
    }
    
    .home .container {
        padding: 2rem 1rem;
        margin: 1rem;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .carousel-indicators {
        bottom: 0.5rem;
    }
    
    .hero-content {
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .home h1 {
        font-size: 2rem;
    }
    
    .home p {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }   
}

.title-gradient {
    background: linear-gradient(135deg, white, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typed-text {
    color: var(--verde-confianza);
    font-weight: inherit;
}

/* ============================================
   SECCIÓN NOSOTROS
   ============================================ */

.about-us {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gris-100) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.about-us::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.about-us .container {
    position: relative;
    z-index: 2;
}

.about-us h1 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--azul-oscuro);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about-us h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--naranja-energia), var(--amarillo-accent));
    border-radius: 2px;
}

.about-us > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 4rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gris-700);
}

/* ============================================
   GRID DE MISIÓN, VISIÓN Y VALORES
   ============================================ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--naranja-energia), var(--amarillo-accent));
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-card:nth-child(1):hover::before {
    background: linear-gradient(90deg, var(--azul-corporativo), #351c5f);
}

.value-card:nth-child(2):hover::before {
    background: linear-gradient(90deg, var(--azul-oscuro), var(--azul-corporativo));
}

.value-card:nth-child(3):hover::before {
    background: linear-gradient(90deg, var(--verde-confianza), #00c9a7);
}

/* Iconos con efectos */
.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

.value-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.2;
    transform: scale(1.2);
}

/* Colores específicos para cada tarjeta */
.value-card:nth-child(1) .value-icon {
    background: linear-gradient(135deg, var(--azul-corporativo), #4271ff);
    box-shadow: 0 10px 20px rgba(87, 53, 255, 0.3);
}

.value-card:nth-child(2) .value-icon {
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-corporativo));
    box-shadow: 0 10px 20px rgba(26, 54, 93, 0.3);
}

.value-card:nth-child(3) .value-icon {
    background: linear-gradient(135deg, var(--verde-confianza), #00c9a7);
    box-shadow: 0 10px 20px rgba(0, 168, 120, 0.3);
}

/* Títulos y contenido */
.value-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--azul-oscuro);
    position: relative;
    padding-bottom: 0.5rem;
}

.value-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: currentColor;
    opacity: 0.3;
}

.value-card:nth-child(1) h2 {
    color: var(--azul-corporativo);
}

.value-card:nth-child(2) h2 {
    color: var(--azul-oscuro);
}

.value-card:nth-child(3) h2 {
    color: var(--verde-confianza);
}

.value-card p {
    color: var(--gris-700);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-top: 1rem;
}

/* ============================================
   LISTA DE VALORES (estilo mejorado)
   ============================================ */

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.value-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-card:nth-child(1) .value-item {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
    color: var(--naranja-energia);
}

.value-card:nth-child(2) .value-item {
    background: rgba(26, 54, 93, 0.1);
    border-color: rgba(26, 54, 93, 0.2);
    color: var(--azul-oscuro);
}

.value-card:nth-child(3) .value-item {
    background: rgba(0, 168, 120, 0.1);
    border-color: rgba(0, 168, 120, 0.2);
    color: var(--verde-confianza);
}

.value-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.value-item i {
    font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: 4rem 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .value-card {
        padding: 2.5rem 1.5rem;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
    }
    
    .value-icon i {
        font-size: 2rem;
    }
    
    .values-list {
        gap: 0.6rem;
    }
    
    .value-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .about-us h1 {
        font-size: 2.2rem;
    }
    
    .about-us > .container > p {
        font-size: 1.1rem;
        margin: 1.5rem auto 3rem;
    }
    
    .value-card h2 {
        font-size: 1.6rem;
    }
    
    .value-card p {
        font-size: 1rem;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card {
    animation: fadeInUp 0.6s ease-out;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }

/* Animaciones adicionales para valores */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.value-item {
    opacity: 0;
    transform: scale(0.8);
}

.value-item.show {
    animation: popIn 0.3s ease-out forwards;
}

/* Efecto de brillo al hover */
.value-card:hover .value-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* ============================================
   GALERÍA DE SERVICIOS - DISEÑO MODERNO
   ============================================ */

.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gris-100) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services h1 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--azul-oscuro);
}

.services .container > p {
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 3rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gris-700);
}

.services h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 4rem 0 2rem;
    color: var(--azul-oscuro);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--naranja-energia), var(--amarillo-accent));
    border-radius: 2px;
}

/* ============================================
   FILTROS PARA GALERÍA - DESKTOP
   ============================================ */

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0 4rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--gris-700);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--naranja-energia);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.filter-btn:hover {
    color: var(--azul-oscuro);
    background: rgba(26, 54, 93, 0.05);
}

.filter-btn.active {
    color: var(--naranja-energia);
    background: rgba(255, 107, 53, 0.1);
}

.filter-btn.active::before {
    transform: translateX(0);
}

.filter-btn i {
    font-size: 1.1rem;
}

/* ============================================
   GALERÍA DE IMÁGENES - DESKTOP
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay con información */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    background: var(--naranja-energia);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.gallery-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.gallery-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   MODAL DE GALERÍA - DESKTOP
   ============================================ */

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.gallery-modal.active {
    display: flex;
}

.modal-container {
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px 15px 0 0;
}

.modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--naranja-energia);
    transform: rotate(90deg);
}

.modal-body {
    flex: 1;
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.modal-image {
    flex: 2;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 70vh;
}

.modal-content {
    flex: 1;
    color: white;
    overflow-y: auto;
    max-height: 70vh;
}

.modal-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--naranja-energia);
}

.modal-category {
    display: inline-block;
    background: var(--naranja-energia);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.modal-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.modal-details h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.modal-details ul {
    list-style: none;
}

.modal-details li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-details li i {
    color: var(--naranja-energia);
}

/* Botones del modal - DESKTOP */
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-prev,
.modal-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--naranja-energia);
}

.modal-actions .btn-primary {
    flex: 1;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--naranja-energia) 0%, #ff5722 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* ============================================
   ANIMACIONES PARA GALERÍA
   ============================================ */

.gallery-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay animations para cada item */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }

/* ============================================
   TABLET (1024px)
   ============================================ */

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .modal-image,
    .modal-content {
        flex: none;
        width: 100%;
    }
    
    .modal-image {
        max-height: 50vh;
    }
    
    .modal-content h3 {
        font-size: 1.6rem;
    }
}

/* ============================================
   MÓVIL (768px)
   ============================================ */

@media (max-width: 768px) {
    /* Contenedor principal */
    .services {
        padding: 3rem 1rem;
        background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    }
    
    .services .container {
        padding: 0;
        max-width: 100%;
    }
    
    /* Títulos */
    .services h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        color: var(--azul-oscuro);
    }
    
    .services .container > p {
        font-size: 1rem;
        margin: 0 auto 1.5rem;
        padding: 0 0.5rem;
    }
    
    /* Filtros - Scroll horizontal */
    .gallery-filter {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.5rem;
        padding: 0.75rem;
        margin: 1rem 0 2rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        justify-content: flex-start;
        border: 1px solid #e2e8f0;
    }
    
    .gallery-filter::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 8px;
        background: #f7fafc;
        color: #4a5568;
        border: 2px solid transparent;
        min-height: 44px;
    }
    
    .filter-btn.active {
        background: var(--naranja-energia);
        color: white;
        border-color: var(--naranja-energia);
    }
    
    .filter-btn.active::before {
        display: none;
    }
    
    /* Galería - 2 columnas */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 0.5rem 0 2rem;
    }
    
    .gallery-item {
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    }
    
    .gallery-item:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    /* Overlay visible siempre en móvil */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(
            to top, 
            rgba(0,0,0,0.85) 0%, 
            rgba(0,0,0,0.7) 50%, 
            rgba(0,0,0,0.3) 80%, 
            transparent 100%
        );
        padding: 1rem;
    }
    
    .gallery-category {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .gallery-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Modal móvil */
    .gallery-modal {
        padding: 0;
    }
    
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        animation: modalSlideUp 0.4s ease;
    }
    
    @keyframes modalSlideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .modal-header {
        padding: 1rem;
        background: rgba(0,0,0,0.8);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .modal-close:hover {
        background: var(--naranja-energia);
        transform: none;
    }
    
    .modal-body {
        flex-direction: column;
        padding: 0;
    }
    
    .modal-image {
        width: 100%;
        height: 50vh;
        max-height: 400px;
    }
    
    .modal-image img {
        object-fit: contain;
    }
    
    .modal-content {
        padding: 1.5rem;
        max-height: none;
        background: rgba(255,255,255,0.05);
    }
    
    .modal-content h3 {
        font-size: 1.4rem;
        color: white;
    }
    
    .modal-category {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Botones del modal - MÓVIL */
    .modal-actions {
        display: grid;
        grid-template-columns: 50px 1fr 50px;
        gap: 0.75rem;
        align-items: center;
        padding: 0.5rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        background: rgba(0,0,0,0.8);
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        margin-top: 0;
    }
    
    .modal-prev,
    .modal-next {
        width: 50px;
        height: 50px;
        background: rgba(255,255,255,0.15);
        border: 2px solid rgba(255,255,255,0.3);
        margin: 0;
    }
    
    .modal-prev:hover,
    .modal-next:hover {
        background: var(--naranja-energia);
    }
    
    .modal-actions .btn-primary {
        grid-column: 2;
        justify-self: center;
        width: 100%;
        max-width: 300px;
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
        margin: 0;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
    
    .modal-actions .btn-primary:hover {
        transform: none;
    }
    
    /* Mensaje sin resultados */
    .no-results {
        padding: 3rem 1.5rem;
        margin: 1rem 0;
    }
    
    .no-results i {
        font-size: 2.5rem;
    }
    
    .no-results h3 {
        font-size: 1.3rem;
    }
    
    .no-results p {
        font-size: 0.95rem;
    }
}

/* ============================================
   MÓVILES PEQUEÑOS (480px)
   ============================================ */

@media (max-width: 480px) {
    .services {
        padding: 2rem 0.5rem;
    }
    
    .services h1 {
        font-size: 1.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
    }
    
    .gallery-filter {
        padding: 0.5rem;
        gap: 0.4rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .modal-actions {
        grid-template-columns: 45px 1fr 45px;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }
    
    .modal-prev,
    .modal-next {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .modal-actions .btn-primary {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .modal-image {
        height: 45vh;
        max-height: 350px;
    }
    
    .modal-content {
        padding: 1.25rem;
    }
    
    .modal-content h3 {
        font-size: 1.3rem;
    }
}

/* ============================================
   LANDSCAPE MÓVIL
   ============================================ */

@media (max-width: 768px) and (orientation: landscape) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 3/2;
    }
    
    .modal-body {
        flex-direction: row;
        height: 100%;
    }
    
    .modal-image {
        height: 100%;
        max-height: none;
        flex: 1;
    }
    
    .modal-content {
        flex: 1;
        max-height: 100vh;
        padding: 1.5rem;
    }
    
    .modal-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0.75rem;
        background: rgba(0,0,0,0.95);
        border-top: 2px solid rgba(255,255,255,0.2);
    }
}

/* ============================================
   ESTADO SIN RESULTADOS
   ============================================ */

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: none;
    border: 2px dashed var(--gris-300);
}

.no-results i {
    font-size: 3rem;
    color: var(--gris-300);
    margin-bottom: 1rem;
}

.no-results h3 {
    color: var(--gris-700);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--gris-500);
}

/* ============================================
   SECCIÓN CONTACTO - DISEÑO BLANCO
   ============================================ */

.contactus {
    padding: 6rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.contactus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(26, 54, 93, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.contactus .container {
    position: relative;
    z-index: 2;
}

.contactus h1 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--azul-oscuro);
}

.contactus .container > p {
    text-align: center;
    max-width: 700px;
    margin: 1rem auto 4rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gris-700);
}

/* ============================================
   LAYOUT DE CONTACTO (2 COLUMNAS)
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* ============================================
   FORMULARIO DE CONTACTO
   ============================================ */

.contact-form-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--gris-300);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--azul-oscuro);
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--naranja-energia);
    border-radius: 2px;
}

/* Estilos del formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gris-700);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: white;
    border: 2px solid var(--gris-300);
    border-radius: 10px;
    color: var(--gris-900);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--naranja-energia);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
    color: var(--gris-500);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.5;
}

/* Grupo de checkbox */
.privacy-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gris-100);
    border-radius: 10px;
}

.privacy-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    accent-color: var(--naranja-energia);
    cursor: pointer;
}

.privacy-label {
    color: var(--gris-700);
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
}

.privacy-label a {
    color: var(--naranja-energia);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-label a:hover {
    color: #ff5a1f;
    text-decoration: underline;
}

/* Botón de envío */
.submit-btn {
    margin-top: 1rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--naranja-energia), #ff8c42);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff5a1f, var(--naranja-energia));
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mensajes de estado del formulario */
.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 168, 120, 0.1);
    border: 1px solid rgba(0, 168, 120, 0.3);
    color: var(--verde-confianza);
}

.form-message.error {
    display: block;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

/* ============================================
   INFORMACIÓN DE CONTACTO
   ============================================ */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--gris-300);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--naranja-energia), #ff8c42);
}

.info-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--azul-corporativo), #3b82f6);
}

.info-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--verde-confianza), #00c9a7);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--naranja-energia);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--naranja-energia), #ff8c42);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.2);
}

.info-card:nth-child(2) .info-icon {
    background: linear-gradient(135deg, var(--azul-corporativo), #3b82f6);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.2);
}

.info-card:nth-child(3) .info-icon {
    background: linear-gradient(135deg, var(--verde-confianza), #00c9a7);
    box-shadow: 0 8px 20px rgba(0, 168, 120, 0.2);
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--azul-oscuro);
}

.info-content {
    color: var(--gris-700);
    line-height: 1.6;
}

.info-content p {
    margin-bottom: 0.5rem;
}

.info-link {
    color: var(--naranja-energia);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #ff5a1f;
    text-decoration: underline;
}

/* ============================================
   MAPA
   ============================================ */

.map-container {
    margin-top: 4rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid white;
    position: relative;
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    color: var(--azul-oscuro);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gris-300);
}

.map-address {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-address i {
    color: var(--naranja-energia);
}

.map-directions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--naranja-energia);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-directions:hover {
    background: #ff5a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* ============================================
   HORARIOS DE ATENCIÓN
   ============================================ */

.business-hours {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid var(--gris-300);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.business-hours::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--naranja-energia), #ff8c42);
}

.business-hours h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--azul-oscuro);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.business-hours h3 i {
    color: var(--naranja-energia);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gris-100);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.hour-item:hover {
    background: white;
    border-color: var(--naranja-energia);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.day {
    color: var(--gris-700);
    font-weight: 600;
}

.time {
    color: var(--naranja-energia);
    font-weight: 700;
}

.hour-item:last-child .time {
    color: var(--verde-confianza);
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-container,
.info-card,
.map-container,
.business-hours {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.contact-form-container { animation-delay: 0.1s; }
.info-card:nth-child(1) { animation-delay: 0.2s; }
.info-card:nth-child(2) { animation-delay: 0.3s; }
.info-card:nth-child(3) { animation-delay: 0.4s; }
.map-container { animation-delay: 0.5s; }
.business-hours { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contactus {
        padding: 4rem 0;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .map-overlay {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .hour-item {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contactus h1 {
        font-size: 2.2rem;
    }
    
    .contactus .container > p {
        font-size: 1.1rem;
        margin: 1rem auto 3rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-input {
        padding: 0.8rem 1rem;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .info-card h3 {
        font-size: 1.2rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* ============================================
   ESTADOS DE VALIDACIÓN
   ============================================ */

.form-input.error {
    border-color: #ff6b6b;
    background: white;
}

.form-input.success {
    border-color: var(--verde-confianza);
    background: white;
}

.validation-message {
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.validation-message.error {
    display: block;
    color: #ff6b6b;
}

.validation-message.success {
    display: block;
    color: var(--verde-confianza);
}

/* ============================================
   ELEMENTOS EXTRA
   ============================================ */

.contact-extra {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gris-300);
}

.contact-extra h3 {
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link.instagram {
    background: linear-gradient(to top right, #fde047, #db2777, #9333ea);
}

.social-link.tiktok{
    background: #000000;
}
.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* ===== ESTILOS DEL FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5f 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3a86ff, #00b4d8, #38b000);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Logo y descripción */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(90deg, #FF6B35, #d87700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: #3a86ff;
}

.social-icon.facebook:hover { background: #1877f2; }
.social-icon.whatsapp:hover { background: #25d366; }
.social-icon.email:hover { background: #ea4335; }
.social-icon.phone:hover { background: #38b000; }
.social-icon.instagram:hover {
    background: linear-gradient(
        to top right,
        #fde047,
        #db2777,
        #9333ea
    );
}
.social-icon.tiktok:hover { background: #000; }

/* Títulos */
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #FF6B35;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00b4d8;
}

/* Listas de enlaces */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #FF6B35;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Información de contacto */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: #FF6B35;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item div {
    flex: 1;
}

.contact-item p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-item a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #FF6B35;
}

/* Línea divisoria */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Parte inferior del footer */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #FF6B35;
}

.separator {
    color: #b0b0b0;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .separator {
        display: none;
    }
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col {
    animation: fadeInUp 0.6s ease forwards;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

/* Mensajes del formulario */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none; /* Ocultos por defecto */
    align-items: center;
    gap: 10px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-message.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: messageSlideIn 0.3s ease forwards;
}

.form-message.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-left: 4px solid #2ecc71;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.form-message i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estado del formulario durante envío */
.form-submitting .submit-btn {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submitting .form-input,
.form-submitting .form-textarea,
.form-submitting .privacy-checkbox {
    opacity: 0.7;
    pointer-events: none;
}

/* ============================================
   MODAL DE MANTENIMIENTO DE FORMULARIO
   ============================================ */

/* MODAL DE MANTENIMIENTO */
.maintenance-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.maintenance-modal.closing {
    animation: modalFadeOut 0.3s ease forwards;
}

.maintenance-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.maintenance-modal__content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.maintenance-modal.closing .maintenance-modal__content {
    animation: modalSlideDown 0.4s ease forwards;
}

.maintenance-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.maintenance-modal__close:hover {
    background: #f5f5f5;
    color: #333;
    transform: rotate(90deg);
}

.maintenance-modal__icon {
    text-align: center;
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.maintenance-modal__title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.maintenance-modal__body {
    color: #555;
    line-height: 1.6;
}

.maintenance-modal__body p {
    margin-bottom: 15px;
}

.maintenance-modal__body strong {
    color: #2c3e50;
}

/* OPCIONES DE CONTACTO */
.contact-options {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-option::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.6s ease;
}

.contact-option:hover::before {
    left: 100%;
}

.contact-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.contact-option.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-option.phone {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.contact-option.email {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.contact-option__icon {
    font-size: 1.8rem;
    margin-right: 15px;
    opacity: 0.9;
    flex-shrink: 0;
}

.contact-option__content {
    flex: 1;
    text-align: left;
}

.contact-option__title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-option__subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.contact-option__arrow {
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.contact-option:hover .contact-option__arrow {
    transform: translateX(5px);
}

/* NOTA FINAL */
.maintenance-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.maintenance-note i {
    font-size: 1.2rem;
}

/* ANIMACIONES */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .maintenance-modal__content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .maintenance-modal__icon {
        font-size: 3rem;
    }
    
    .maintenance-modal__title {
        font-size: 1.5rem;
    }
    
    .contact-option {
        padding: 15px;
    }
    
    .contact-option__icon {
        font-size: 1.5rem;
        margin-right: 12px;
    }
}

/* MEJORAS ESPECÍFICAS PARA MOBILE */
@media (max-width: 768px) {
    .maintenance-modal {
        -webkit-overflow-scrolling: touch;
    }
    
    .maintenance-modal__overlay {
        touch-action: none; /* Importante para mobile */
    }
    
    .maintenance-modal__content {
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain; /* Evita scroll del body detrás */
    }
    
    /* Mejorar botón cerrar en mobile */
    .maintenance-modal__close {
        width: 44px; /* Tamaño táctil mínimo */
        height: 44px;
        top: 10px;
        right: 10px;
    }
    
    /* Prevenir zoom en inputs en iOS */
    .contact-option {
        font-size: 16px; /* Evita zoom automático en iOS */
    }
    
    /* Mejorar feedback táctil */
    .contact-option:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* FIX PARA iOS SAFARI */
@supports (-webkit-touch-callout: none) {
    .maintenance-modal {
        position: fixed;
        height: -webkit-fill-available;
    }
    
    .maintenance-modal__content {
        max-height: -webkit-fill-available;
    }
}

/* PREVENIR PULL-TO-REFRESH EN MOBILE */
.maintenance-modal__overlay {
    overscroll-behavior: none;
}

/* MEJORAR Z-INDEX PARA MOBILE */
.maintenance-modal {
    z-index: 10000; /* Alto para mobile */
}

.maintenance-modal__overlay {
    z-index: 10001;
}

.maintenance-modal__content {
    z-index: 10002;
}

.logo-name .rh{
    color: #FF6B35
}