/* Variables globales */
:root {
    --primary-color: #04B2D9;
    --secondary-color: #04C4D9;
    --accent-color: #F2B705;
    --text-color: #0D0D0D;
    --light-text: #555555;
    --background: #ffffff;
    --section-bg: #f8f9fa;
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --border-radius-sm: 5px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --hover-transform: translateY(-8px);
    --glow-primary: 0 0 15px rgba(4, 178, 217, 0.7);
    --glow-accent: 0 0 15px rgba(242, 183, 5, 0.7);
    --typing-speed: 3.5s;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

/* Estilos de texto - Todos los párrafos justificados */
p {
    text-align: justify;
}

/* Justificar todos los textos de los slides */
.slide-content p {
    text-align: justify;
    max-width: 80%;
    margin-bottom: 2rem;
}

/* Justificar párrafos en todos los bloques principales */
.hero p, 
.presentacion-contenido p, 
.servicio-detalle p, 
.proyecto-card p, 
.testimonio-content p, 
.historia-contenido p, 
.mv-card p, 
.valor-card p, 
.miembro-card p, 
.tech-intro-content p,
.metodologia-card p,
.cta-content p,
.faq-answer p,
.footer-section p {
    text-align: justify;
}

/* Ajuste para párrafos en tarjetas */
.caracteristica-item p,
.info-item p {
    text-align: justify;
    margin-bottom: 0;
}

.palabra-clave {
    color: var(--accent-color);
    font-weight: 600;
}

.frase-destacada {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-color);
    padding: 1.5rem;
    border-left: 5px solid var(--accent-color);
    background-color: rgba(242, 183, 5, 0.1);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.frase-destacada .palabra-clave {
    font-size: 1.6rem;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar.transparent {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.logo img {
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Estilo para el enlace activo en la navegación */
.nav-links a.active {
    color: var(--accent-color);
    font-weight: 700;
}

.nav-links a.active::after {
    width: 100%;
    background: var(--accent-color);
    height: 3px;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.menu-btn:hover {
    color: var(--primary-color);
}

/* Sección Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(242, 183, 5, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(4, 196, 217, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out forwards;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .cta-button {
    background: var(--accent-color);
    color: var(--text-color);
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero .cta-button:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Slider de Hero */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease;
}

.slide.active .slide-bg {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    text-align: center;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 90%;
    text-align: justify;
}

.slide-content .cta-button {
    background: var(--accent-color);
    color: var(--text-color);
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.slide-content .cta-button:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--accent-color);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Media queries para el slider */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content .cta-button {
        padding: 1rem 2rem;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
}

/* Sección Servicios */
.servicios {
    padding: 5rem 5%;
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.servicios-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(4, 178, 217, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(242, 183, 5, 0.07) 0%, transparent 40%);
    opacity: 0.8;
}

.servicios h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.servicios h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.servicio-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.servicio-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 178, 217, 0.05), rgba(242, 183, 5, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow), var(--glow-primary);
    border-color: rgba(4, 178, 217, 0.1);
}

.servicio-card:hover::before {
    opacity: 1;
}

.servicio-card:hover::after {
    opacity: 1;
}

.servicio-icon-container {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(4, 178, 217, 0.1);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.servicio-card:hover .servicio-icon-container {
    transform: rotateY(360deg);
    background: var(--primary-color);
}

.servicio-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.servicio-card:hover i {
    color: white;
    transform: scale(1.1);
}

.servicio-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.servicio-card:hover h3 {
    color: var(--primary-color);
}

.servicio-card > p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.servicio-detalle {
    margin-top: 1.5rem;
    text-align: left;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.servicio-card:hover .servicio-detalle {
    opacity: 1;
}

.servicio-detalle ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.servicio-detalle li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.servicio-detalle li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Media queries para servicios */
@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }
}

/* Sección Proyectos */
.proyectos {
    padding: 8rem 5% 5rem;
}

.proyectos h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.proyecto-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
    opacity: 1;
}

.proyecto-card:hover {
    transform: var(--hover-transform);
    box-shadow: var(--box-shadow);
}

.proyecto-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.proyecto-card:hover img {
    transform: scale(1.05);
}

.proyecto-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
}

.proyecto-card p {
    padding: 0 1.5rem;
    color: var(--light-text);
}

.proyecto-card .impacto {
    padding: 0.5rem 1.5rem 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.filtros-proyectos {
    margin-bottom: 2.5rem;
    text-align: center;
    padding-top: 1.5rem;
    background: white;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.filtros-proyectos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    z-index: 3;
}

.filtros-container {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1.5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.filtro-btn {
    padding: 0.8rem 2rem;
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-weight: 500;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.filtro-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 178, 217, 0.2), rgba(4, 196, 217, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.filtro-btn:hover,
.filtro-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(4, 178, 217, 0.3);
    transform: translateY(-5px);
}

.filtro-btn:hover::before,
.filtro-btn.active::before {
    opacity: 1;
}

/* Estilos para decoraciones de filtros */
.filtro-decoracion {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: -1;
    opacity: 0.2;
    filter: blur(20px);
}

.filtro-decoracion-left {
    left: 5%;
    top: 30%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    animation: pulse 6s infinite alternate;
}

.filtro-decoracion-right {
    right: 5%;
    top: 30%;
    background: radial-gradient(circle at center, var(--accent-color) 0%, transparent 70%);
    animation: pulse 8s infinite alternate-reverse;
}

/* Estilos para los botones de filtro */
.filtro-texto {
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: all 0.3s ease;
}

.filtro-btn:hover .filtro-texto,
.filtro-btn.active .filtro-texto {
    transform: translateY(-2px);
}

.filtro-icon {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 rgba(242, 183, 5, 0);
}

.filtro-btn.active .filtro-icon {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 10px rgba(242, 183, 5, 0.5);
}

.filtro-btn:hover .filtro-icon {
    transform: translateX(-50%) scale(0.7);
}

/* Sección Testimonios */
.testimonios {
    padding: 8rem 5% 5rem;
    background: var(--section-bg);
    text-align: center;
}

.testimonios h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonios-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.testimonio {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    max-width: 500px;
    text-align: left;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonio:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.testimonio-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 0.5rem;
}

.testimonio-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonio-autor img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

/* Sección Nosotros */
.nosotros {
    padding: 5rem 5%;
    background: var(--section-bg);
}

.nosotros h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.mision-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos para página Nosotros */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(242, 183, 5, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(4, 196, 217, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--primary-color), transparent);
    z-index: 3;
}

.page-header h1 {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(4, 178, 217, 0.3);
    animation: glow-text 3s infinite alternate;
}

.page-header p {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.typing-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.typing-line {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

.page-section {
    padding: 5rem 5%;
}

.historia-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.historia-imagen img {
    width: 100%;
    border-radius: 10px;
}

.historia-contenido h2 {
    margin-bottom: 1.5rem;
}

.historia-contenido p {
    margin-bottom: 1rem;
}

.mision-vision-section {
    background: var(--section-bg);
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mv-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mv-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mv-card h2 {
    margin-bottom: 1rem;
}

.valores h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.valor-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 1;
}

.valor-card:hover {
    transform: translateY(-5px);
}

.valor-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.equipo h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.miembro-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 1;
}

.miembro-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.miembro-card h3 {
    margin-bottom: 0.5rem;
}

.miembro-card .cargo {
    color: var(--light-text);
}

/* Sección Tecnologías */
.tecnologias {
    padding: 5rem 5%;
}

.tecnologias h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    position: relative;
    border: 1px solid rgba(4, 178, 217, 0.1);
    background: linear-gradient(145deg, #ffffff, #f5f9fa);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(225deg, rgba(4, 178, 217, 0.05), rgba(242, 183, 5, 0.05));
    z-index: -1;
    border-radius: var(--border-radius);
    transition: opacity 0.5s ease;
    opacity: 0;
}

.tech-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--box-shadow), var(--glow-primary);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-card:hover i {
    transform: translateY(-10px) scale(1.2);
    color: var(--accent-color);
    text-shadow: var(--glow-accent);
}

/* Estilos para página de Tecnologías */
.tech-intro-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mejoras para la sección de tecnologías */
@media (min-width: 992px) {
    .tech-intro-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-top: 1rem;
    }
}

/* Ajustes responsivos para pantallas pequeñas */
@media (max-width: 991px) {
    .tech-intro-container {
        gap: 1.5rem;
    }
    
    .tech-intro-content {
        order: 1;
    }
    
    .tech-intro-image {
        order: 2;
        margin: 0 auto;
        max-width: 400px;
    }
}

.tech-intro-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 1.3;
}

.tech-intro-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.tech-intro-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(240,240,240,0.8));
}

.tech-featured-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    transform-origin: center;
    display: inline-block;
    border-radius: var(--border-radius);
}

.tech-intro-image:hover img {
    transform: scale(1.05);
}

.tech-intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 178, 217, 0.2), rgba(242, 183, 5, 0.2));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tech-intro-image:hover::before {
    opacity: 1;
}

.tech-category {
    margin-bottom: 4rem;
}

.tech-category h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
    padding-bottom: 10px;
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.tech-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.tech-category h3 i {
    margin-right: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 5px;
}

.metodologias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.metodologia-card {
    position: relative;
    border: 1px solid rgba(4, 178, 217, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.metodologia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 178, 217, 0.05), rgba(242, 183, 5, 0.05));
    border-radius: var(--border-radius);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.metodologia-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--box-shadow), var(--glow-primary);
}

.metodologia-card:hover::before {
    opacity: 1;
}

.metodologia-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.metodologia-card:hover i {
    transform: rotateY(360deg);
    color: var(--primary-color);
    text-shadow: var(--glow-primary);
}

/* Sección CTA */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color), #f2a505);
    padding: 6rem 5%;
    text-align: center;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    background: 
        linear-gradient(135deg, var(--accent-color), #f2a505),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
    background-blend-mode: overlay;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(4, 178, 217, 0.1) 25%, transparent 25%, transparent 50%, rgba(4, 178, 217, 0.1) 50%, rgba(4, 178, 217, 0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    z-index: 1;
    opacity: 0.1;
}

.cta-section .cta-button {
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-section .cta-button:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-section .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: all 0.5s ease;
}

.cta-section .cta-button:hover::before {
    left: 100%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: justify;
}

.cta-section .cta-button {
    background: var(--text-color);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Partículas de fondo para la página de tecnologías */
.tech-categories {
    position: relative;
    overflow: hidden;
}

.tech-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(4, 178, 217, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 30% 40%, rgba(242, 183, 5, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 70% 20%, rgba(4, 196, 217, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(242, 183, 5, 0.1) 0%, transparent 15%);
    z-index: -1;
}

/* Líneas geométricas futuristas */
.tech-intro {
    position: relative;
    overflow: hidden;
}

.tech-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 98%, var(--primary-color) 99%, transparent 100%),
        linear-gradient(135deg, transparent 98%, var(--accent-color) 99%, transparent 100%);
    background-size: 50px 50px, 50px 50px;
    z-index: -1;
    opacity: 0.15;
}

/* Formas geométricas para las metodologías */
.metodologias {
    position: relative;
    overflow: hidden;
}

.metodologias::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(4, 178, 217, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.metodologias::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(242, 183, 5, 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* Sección Contacto */
.contacto {
    padding: 5rem 5%;
    background: var(--section-bg);
}

.contacto h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contacto-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 1;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}



.submit-btn {
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--accent-color);
    color: var(--text-color);
}



.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Estilos para página de Contacto */
.contacto-main {
    background: white;
    position: relative;
    overflow: hidden;
}

.contacto-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 10% 30%, rgba(4, 178, 217, 0.07) 0%, transparent 30%),
        radial-gradient(circle at 90% 70%, rgba(242, 183, 5, 0.07) 0%, transparent 30%);
    opacity: 0.8;
}

.info-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(4, 178, 217, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-item:hover .info-icon-container {
    transform: rotateY(360deg);
    background: var(--primary-color);
}

.info-icon-container i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.info-item:hover .info-icon-container i {
    color: white;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.contacto-info {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    z-index: 1;
}

.contacto-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.social-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(4, 178, 217, 0.1);
    color: var(--primary-color);
    margin-right: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-circle:hover {
    transform: translateY(-8px) scale(1.1);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(4, 178, 217, 0.3);
}

/* Formulario de contacto */
.contact-form {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 1;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group-textarea {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-group-textarea textarea {
    flex-grow: 1;
    min-height: 220px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #eaeaea;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 178, 217, 0.1);
    outline: none;
}

.submit-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

.submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Sección Calendario */
.calendario {
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.calendario-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(4, 178, 217, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 85% 75%, rgba(242, 183, 5, 0.08) 0%, transparent 35%);
    opacity: 0.8;
}

.calendario h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calendario-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.calendario-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.calendario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.calendario-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(4, 178, 217, 0.1);
    transition: all 0.5s ease;
}

.calendario-card:hover .calendario-icon {
    background: var(--primary-color);
    transform: rotateY(360deg);
}

.calendario-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.calendario-card:hover .calendario-icon i {
    color: white;
    transform: scale(1.1);
}

.calendario-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.calendario-card p {
    margin-bottom: 2rem;
    color: var(--light-text);
    line-height: 1.6;
}

.calendario-beneficios {
    text-align: left;
}

.beneficio-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.8rem;
}

.beneficio-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.beneficio-item span {
    color: var(--text-color);
    font-weight: 500;
}

.calendario-widget {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.calendario-widget:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.calendario-placeholder {
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.calendario-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.calendario-header i {
    font-size: 1.5rem;
}

.calendario-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.calendario-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.calendario-content p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.calendario-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.calendario-content li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.calendario-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(4, 178, 217, 0.3);
}

.calendario-btn:hover {
    background: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 183, 5, 0.4);
    text-decoration: none;
}

.calendario-btn i {
    font-size: 1.2rem;
}

/* Estilos para calendario interactivo */
.fecha-selector {
    margin-bottom: 2rem;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 1rem;
}

.calendario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.mes-navegacion {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.mes-actual {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
    min-width: 150px;
    text-align: center;
}

.dia-semana {
    text-align: center;
    font-weight: 600;
    color: var(--light-text);
    padding: 0.5rem;
    font-size: 0.9rem;
    background: rgba(4, 178, 217, 0.1);
    border-radius: 5px;
}

.dia-calendario {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
    position: relative;
}

.dia-calendario:hover {
    background: rgba(4, 178, 217, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.dia-calendario.disponible {
    background: rgba(4, 178, 217, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.dia-calendario.disponible:hover {
    background: var(--primary-color);
    color: white;
}

.dia-calendario.seleccionado {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(4, 178, 217, 0.4);
}

.dia-calendario.pasado {
    color: #ccc;
    cursor: not-allowed;
    background: #f9f9f9;
}

.dia-calendario.pasado:hover {
    transform: none;
    background: #f9f9f9;
    border-color: #e0e0e0;
}

.dia-calendario.ocupado {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    cursor: not-allowed;
}

.dia-calendario.ocupado:hover {
    transform: none;
    background: rgba(255, 0, 0, 0.1);
}

/* Selector de hora */
.hora-selector {
    margin-bottom: 2rem;
}

.hora-selector h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.horario-btn {
    padding: 0.8rem 1rem;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
}

.horario-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 178, 217, 0.3);
}

.horario-btn.seleccionado {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(242, 183, 5, 0.3);
}

.horario-btn.ocupado {
    background: #f5f5f5;
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}

.horario-btn.ocupado:hover {
    transform: none;
    box-shadow: none;
    background: #f5f5f5;
}

/* Formulario de reserva */
.reserva-form {
    background: rgba(4, 178, 217, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(4, 178, 217, 0.2);
}

.reserva-form h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.reserva-info {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.reserva-info p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.reserva-info p:last-child {
    margin-bottom: 0;
}

.form-group-mini {
    margin-bottom: 1rem;
}

.form-group-mini input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group-mini input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 178, 217, 0.1);
    outline: none;
}

.confirmar-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.confirmar-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 178, 217, 0.3);
}

.volver-btn {
    background: none;
    border: 1px solid var(--light-text);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
}

.volver-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Estados de carga */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--light-text);
}

.loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive para calendario */
@media (max-width: 768px) {
    .calendario-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calendario-card {
        padding: 2rem;
    }
    
    .calendario-content {
        padding: 1.5rem;
    }
    
    .calendario-grid {
        gap: 6px;
    }
    
    .dia-calendario {
        font-size: 0.9rem;
    }
    
    .horarios-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .horario-btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .calendario-card {
        padding: 1.5rem;
    }
    
    .calendario-icon {
        width: 60px;
        height: 60px;
    }
    
    .calendario-icon i {
        font-size: 2rem;
    }
    
    .calendario-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .calendario-grid {
        gap: 4px;
    }
    
    .dia-calendario {
        font-size: 0.8rem;
    }
    
    .horarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mes-actual {
        font-size: 1rem;
        min-width: 120px;
    }
}

/* Sección Ubicación */
.ubicacion {
    position: relative;
    overflow: hidden;
}

.ubicacion-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(45deg, transparent 98%, rgba(4, 178, 217, 0.2) 99%, transparent 100%),
        linear-gradient(135deg, transparent 98%, rgba(242, 183, 5, 0.2) 99%, transparent 100%);
    background-size: 50px 50px, 50px 50px;
    opacity: 0.5;
}

.mapa-placeholder {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
}

.mapa-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Sección FAQs */
.faqs {
    position: relative;
    overflow: hidden;
}

.faqs-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(4, 178, 217, 0.07) 0%, transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(242, 183, 5, 0.07) 0%, transparent 30%);
    opacity: 0.8;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(4, 178, 217, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-question:hover .faq-icon {
    background: var(--primary-color);
}

.faq-icon i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-question:hover .faq-icon i {
    color: white;
}

.faq-item.active .faq-icon {
    background: var(--accent-color);
    transform: rotate(45deg);
}

.faq-item.active .faq-icon i {
    color: white;
}

.faq-question h3 {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-question:hover h3 {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    height: auto;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    opacity: 0.8;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Estilos scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.in-view {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-container, 
    .servicios-grid, 
    .proyectos-grid,
    .presentacion-container,
    .tech-grid,
    .valores-grid,
    .equipo-grid,
    .contacto-container {
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }
    
    .presentacion-container {
        grid-template-columns: 1fr;
    }
    
    .presentacion-imagen {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .presentacion-contenido {
        order: 1;
        text-align: center;
    }
    
    .caracteristica-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 3rem 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 0;
        padding: 1rem 0;
        display: block;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links a::after {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filtros-container {
        gap: 1rem;
        padding: 0.5rem;
    }

    .filtro-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        min-width: auto;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .presentacion-contenido h2 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 6rem 5% 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .footer-section h3::after {
        width: 30px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .historia-container,
    .contacto-container,
    .mv-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contacto-container {
        max-width: 600px;
    }
    
    .historia-imagen {
        order: 2;
    }
    
    .historia-contenido {
        order: 1;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .servicios-grid,
    .proyectos-grid,
    .testimonios-slider,
    .tech-grid,
    .valores-grid,
    .equipo-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        margin-bottom: 1.5rem;
    }
    
    .hero .cta-button,
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .filtros-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .filtro-btn {
        width: 100%;
        padding: 0.7rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .contacto-container {
        max-width: 500px;
        gap: 1.5rem;
    }
    
    .contact-form,
    .contacto-info {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    .tech-category h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
    }
    
    .stats-container {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    .servicio-card,
    .proyecto-card {
        padding: 1.5rem;
    }
    
    .presentacion-contenido h2 {
        font-size: 1.8rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* Sección Estadísticas */
.stats-section {
    padding: 5rem 5%;
    background: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
    border-color: rgba(4, 178, 217, 0.1);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-item p {
    color: var(--light-text);
    font-weight: 500;
}

/* Sección Presentación */
.presentacion {
    padding: 5rem 5%;
    background: var(--section-bg);
}

.presentacion-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.presentacion-imagen img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.presentacion-imagen:hover img {
    transform: scale(1.02);
    box-shadow: var(--box-shadow);
}

.presentacion-contenido h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.presentacion-contenido p {
    margin-bottom: 2rem;
    color: var(--light-text);
    font-size: 1.05rem;
}

.caracteristicas {
    margin-bottom: 2rem;
}

.caracteristica-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.caracteristica-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.caracteristica-item p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Estilos para sección Portfolio */
.portfolio-section {
    padding: 5rem 5%;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.portfolio-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(4, 178, 217, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(242, 183, 5, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(4, 196, 217, 0.08) 0%, transparent 40%);
    opacity: 0.8;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: white;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow), var(--glow-primary);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.portfolio-item:hover .portfolio-featured-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 178, 217, 0.9), rgba(4, 196, 217, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 10px;
}

.portfolio-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.portfolio-info p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.portfolio-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.portfolio-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-link:hover {
    background: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-detail {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
    transition: all 0.3s ease;
}

.portfolio-category {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.portfolio-impact {
    color: var(--light-text);
    font-size: 0.95rem;
}

.portfolio-impact i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.portfolio-detail h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-detail h4 {
    color: var(--primary-color);
}

.portfolio-category {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.portfolio-tags span {
    background: rgba(4, 178, 217, 0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.portfolio-tags span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.portfolio-impact {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.portfolio-impact i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Sección Clientes */
.clientes {
    padding: 5rem 5%;
    background: var(--section-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.clientes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(4, 178, 217, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(242, 183, 5, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.clientes h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.clientes h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

/* Slider de clientes */
.clientes-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
    padding: 0 2rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.clientes-slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
    gap: 2rem;
    padding: 2rem 0;
}

.cliente-logo {
    flex: 0 0 calc(25% - 2rem);
    min-width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.cliente-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 178, 217, 0.05), rgba(242, 183, 5, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cliente-logo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--box-shadow), var(--glow-primary);
}

.cliente-logo:hover::before {
    opacity: 1;
}

.cliente-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: none !important; /* Forzar que no haya filtros */
    -webkit-filter: none !important; /* Para navegadores basados en webkit */
    transition: all 0.5s ease;
    opacity: 1;
}

.cliente-logo:hover img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1;
    transform: scale(1.1);
}

@keyframes rotateLogo {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Media queries para Portfolio y Clientes */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .clientes-grid {
        gap: 1rem;
    }
    
    .cliente-logo {
        padding: 1.5rem;
    }
}

/* Asegurar que todos los encabezados de sección estén centrados */
.servicios h2, 
.proyectos h2, 
.testimonios h2, 
.nosotros h2, 
.tecnologias h2, 
.valores h2, 
.equipo h2, 
.contacto h2, 
.faqs h2, 
.ubicacion h2,
.page-header h1,
.tech-category h3 {
    text-align: center;
}

/* Animación de tipeo para subtítulos */
.typing-animation, .typing-animation-2 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.05em;
    width: 0;
    max-width: 100%;
    animation: typing var(--typing-speed) steps(60, end) forwards;
}

.typing-animation {
    border-right: 2px solid var(--accent-color);
    animation-name: typing, blink-caret;
    animation-duration: var(--typing-speed), 0.75s;
    animation-timing-function: steps(60, end), step-end;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: forwards, none;
}

.typing-animation-2 {
    opacity: 0;
    animation: typing2 var(--typing-speed) steps(60, end) forwards;
    animation-delay: calc(var(--typing-speed) + 0.5s);
}

.typing-animation .palabra-clave {
    display: inline;
}

.page-header .typing-animation {
    animation-delay: 0.5s;
}

.tech-categories .typing-animation {
    animation-delay: 1s;
}

.metodologias .typing-animation {
    animation-delay: 1.5s;
}

.section-subtitle .typing-animation {
    color: var(--light-text);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes typing2 {
    0% { 
        width: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% { 
        width: 100%;
        opacity: 1;
    }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-color) }
}

/* Efectos animados */
@keyframes glow-text {
    0% {
        text-shadow: 0 0 5px rgba(4, 178, 217, 0.3);
    }
    100% {
        text-shadow: 0 0 15px rgba(4, 178, 217, 0.6), 0 0 20px rgba(242, 183, 5, 0.3);
    }
}

/* Partículas animadas */
.particle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.particle-1 {
    top: 10%;
    left: 20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(4, 178, 217, 0.3) 0%, rgba(4, 178, 217, 0) 70%);
    animation: float 8s infinite ease-in-out;
}

.particle-2 {
    bottom: 20%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, rgba(242, 183, 5, 0.3) 0%, rgba(242, 183, 5, 0) 70%);
    animation: float 12s infinite ease-in-out reverse;
}

.particle-3 {
    top: 60%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at center, rgba(4, 196, 217, 0.2) 0%, rgba(4, 196, 217, 0) 70%);
    animation: float 10s infinite ease-in-out 2s;
}

/* Partículas para CTA */
.cta-particle {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    opacity: 0.6;
}

.cta-particle-1 {
    top: 10%;
    left: 5%;
    width: 30px;
    height: 30px;
    background-color: rgba(4, 178, 217, 0.2);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: rotateSlow 20s linear infinite;
}

.cta-particle-2 {
    bottom: 15%;
    right: 10%;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: rotateSlow 15s linear infinite reverse;
}

/* Efectos de brillos para secciones */
.tech-glow {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    animation: pulse 3s infinite alternate;
}

/* Animaciones especiales */
@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: translateY(-50%) scale(0.8);
    }
    100% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.2);
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mejorar cards con borde luminoso */
.tech-card {
    /* Propiedades existentes */
    position: relative;
}

.tech-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--primary-color), transparent 50%, var(--accent-color));
    border-radius: var(--border-radius);
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tech-card:hover::after {
    opacity: 0.5;
}

/* Slider de clientes */
.clientes-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
    padding: 0 2rem;
}

.clientes-slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
    gap: 2rem;
}

.cliente-logo {
    flex: 0 0 calc(25% - 2rem);
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.cliente-logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 178, 217, 0.05), rgba(242, 183, 5, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cliente-logo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--box-shadow), var(--glow-primary);
}

.cliente-logo:hover::before {
    opacity: 1;
}

.cliente-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    transition: all 0.5s ease;
    opacity: 0.7;
}

.cliente-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.clientes-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clientes-slider-arrow:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(4, 178, 217, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.clientes-slider-arrow.prev {
    left: 10px;
}

.clientes-slider-arrow.next {
    right: 10px;
}

.clientes-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.clientes-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.clientes-slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(4, 178, 217, 0.3);
}

.clientes-slider-dot:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Media queries para el slider de clientes */
@media (max-width: 992px) {
    .cliente-logo {
        flex: 0 0 calc(33.33% - 2rem);
    }
}

@media (max-width: 768px) {
    .cliente-logo {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media (max-width: 576px) {
    .cliente-logo {
        flex: 0 0 calc(100% - 2rem);
    }
}

.cta-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(242, 183, 5, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, transparent 50%, rgba(4, 178, 217, 0.2) 100%);
    mix-blend-mode: overlay;
    z-index: 0;
}

.cta-section .cta-button {
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--text-color);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.cta-section .cta-button:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: var(--primary-color);
}

/* Mejorar las animaciones de las partículas */
@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0) rotate(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) translateX(10px) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) translateX(0) rotate(360deg);
        opacity: 0.5;
    }
}

.cta-particle {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    animation: float-particle 15s infinite ease-in-out;
}

.cta-particle-1 {
    top: 20%;
    left: 15%;
    width: 50px;
    height: 50px;
    background-color: rgba(4, 178, 217, 0.2);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-duration: 20s;
}

.cta-particle-2 {
    bottom: 25%;
    right: 10%;
    width: 70px;
    height: 70px;
    background-color: rgba(242, 183, 5, 0.2);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation-duration: 25s;
    animation-delay: 5s;
}

/* Hero Particles */
.hero-particle {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    opacity: 0.7;
    filter: blur(2px);
}

.hero-particle-1 {
    top: 15%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, rgba(4, 178, 217, 0.4) 0%, transparent 70%);
    animation: float 15s infinite ease-in-out;
}

.hero-particle-2 {
    bottom: 20%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(242, 183, 5, 0.4) 0%, transparent 70%);
    animation: float 18s infinite ease-in-out reverse;
}

.hero-particle-3 {
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: float 12s infinite ease-in-out 2s;
}

/* Stats Section Improvements */
.stats-section {
    padding: 5rem 5%;
    background: white;
    position: relative;
    overflow: hidden;
}

.stats-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(45deg, transparent 98%, rgba(4, 178, 217, 0.2) 99%, transparent 100%),
        linear-gradient(135deg, transparent 98%, rgba(242, 183, 5, 0.2) 99%, transparent 100%);
    background-size: 50px 50px, 50px 50px;
    opacity: 0.7;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(4, 178, 217, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover .stat-icon-container {
    transform: rotateY(360deg);
    background: var(--primary-color);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover i {
    color: white;
    transform: scale(1.1);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-value {
    text-shadow: 0 0 15px rgba(242, 183, 5, 0.3);
}

/* Presentación Section */
.presentacion {
    padding: 5rem 5%;
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.presentacion-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(4, 178, 217, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(242, 183, 5, 0.07) 0%, transparent 40%);
    opacity: 0.8;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.presentacion-imagen:hover .featured-image {
    transform: scale(1.03);
    box-shadow: var(--box-shadow), var(--glow-primary);
}

.caracteristica-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(242, 183, 5, 0.1);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.caracteristica-item:hover .caracteristica-icon {
    background: var(--accent-color);
    transform: rotateY(180deg);
}

.caracteristica-icon i {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.caracteristica-item:hover .caracteristica-icon i {
    color: white;
}

.caracteristica-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.caracteristica-item:hover {
    transform: translateX(5px);
}

/* Página de Contacto */
.social-image-container {
    margin: 1.5rem 0 0 0;
    text-align: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    max-height: 250px;
    margin-left: auto;
    margin-right: auto;
}

.social-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.social-connect-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    object-fit: contain;
}

.social-image-container:hover .social-connect-image {
    transform: scale(1.05);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #04B2D9;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(4, 178, 217, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #04C4D9;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(4, 178, 217, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 2px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(4, 178, 217, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(4, 178, 217, 0.7), 0 0 0 10px rgba(4, 178, 217, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(4, 178, 217, 0.4);
    }
}

/* Responsive para el botón de WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 24px;
    }
}

/* Estados de carga */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--light-text);
}

.loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Modal para selección de horarios */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(4, 178, 217, 0.1);
}

.modal-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header i {
    color: var(--accent-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--light-text);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    transform: rotate(90deg);
}

.fecha-seleccionada-info {
    background: linear-gradient(135deg, rgba(4, 178, 217, 0.1), rgba(242, 183, 5, 0.1));
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid rgba(4, 178, 217, 0.2);
}

.fecha-seleccionada-info h4 {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.fecha-seleccionada-info p {
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.horarios-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 1.5rem;
}

.horario-modal-btn {
    padding: 1rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.horario-modal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(4, 178, 217, 0.2), transparent);
    transition: left 0.5s ease;
}

.horario-modal-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(4, 178, 217, 0.3);
}

.horario-modal-btn:hover::before {
    left: 100%;
}

.horario-modal-btn.seleccionado {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 8px 25px rgba(242, 183, 5, 0.4);
    transform: translateY(-3px);
}

.horario-modal-btn.ocupado {
    background: #f5f5f5;
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
    opacity: 0.6;
}

.horario-modal-btn.ocupado:hover {
    transform: none;
    box-shadow: none;
    background: #f5f5f5;
}

.horario-modal-btn.ocupado::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff4444;
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-btn-cancel {
    background: #f5f5f5;
    color: var(--light-text);
    border: 1px solid #ddd;
}

.modal-btn-cancel:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.modal-btn-confirm {
    background: var(--accent-color);
    color: var(--text-color);
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-btn-confirm.enabled {
    opacity: 1;
    cursor: pointer;
}

.modal-btn-confirm.enabled:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 178, 217, 0.3);
}

/* Animación de entrada del modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive para modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        max-height: 85vh;
    }
    
    .horarios-modal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .horario-modal-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .horarios-modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
}

/* Estilos para el formulario de reserva en el modal */
.modal-paso {
    transition: all 0.3s ease;
}

.reserva-resumen {
    background: linear-gradient(135deg, rgba(4, 178, 217, 0.1), rgba(242, 183, 5, 0.1));
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(4, 178, 217, 0.2);
}

.reserva-resumen h4 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    text-align: center;
}

.resumen-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.resumen-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resumen-item i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.resumen-item span {
    color: var(--text-color);
    font-weight: 500;
}

.form-group-modal {
    margin-bottom: 1.2rem;
}

.form-group-modal label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group-modal label i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
}

.form-group-modal input,
.form-group-modal textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    font-size: 0.95rem;
}

.form-group-modal input:focus,
.form-group-modal textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(4, 178, 217, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.form-group-modal textarea {
    resize: vertical;
    min-height: 80px;
}

/* Animaciones para cambio de pasos */
.modal-paso.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.modal-paso.fade-in {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive para formulario modal */
@media (max-width: 768px) {
    .resumen-info {
        gap: 0.6rem;
    }
    
    .resumen-item {
        padding: 0.4rem;
    }
    
    .form-group-modal {
        margin-bottom: 1rem;
    }
    
    .form-group-modal input,
    .form-group-modal textarea {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .reserva-resumen {
        padding: 1rem;
    }
    
    .form-group-modal label {
        font-size: 0.9rem;
    }
    
    .form-group-modal input,
    .form-group-modal textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}