/* 
  styles.css - Archivo CSS principal para IMPERIUM Crosstraining
  Contiene todos los estilos del sitio web
*/

/* Variables y configuración general */

        :root {
            --primary: #ff6600;
            --primary-dark: #e05600;
			--primary-color: #ff6600;
			--secondary-color: #d32f2f;
            --secondary: #1a1a1a;
            --accent: #2e9cca;
            --light: #ffffff;
            --dark: #111111;
            --gray: #f8f8f8;
            --text: #333333;
            --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            --heading-font: 'Montserrat', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--body-font);
            line-height: 1.6;
            color: var(--text);
            overflow-x: hidden;
            background-color: var(--light);
        }

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

        /* Scrollbar personalizada */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--gray);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* Header modernizado */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s ease;
           background-color: rgba(0, 0, 0, 0.5); /* fondo semitransparente para que el texto siempre contraste */
			backdrop-filter: blur(6px); /* efecto de desenfoque si quieres un look moderno */
            padding: 15px 0;
        }

        header.scrolled {
            background-color: rgba(17, 17, 17, 0.95);
            padding: 10px 0;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
			width: 100%;
			min-height: 50px;
			flex-wrap: nowrap; /* Evitar que se rompan las líneas */
			
        }

        .logo {
            display: flex;
            align-items: center;
			 min-width: 0; /* Permite que se comprima si es necesario */
			flex-shrink: 1; /* Permite que se haga más pequeño */
        }

        .logo img {
            height: 50px;
            transition: all 0.3s ease;
			min-height: 35px; /* Altura mínima */
			width: auto;
			margin-left: -36px;
        }

        header.scrolled .logo img {
            height: 40px;
        }

        .logo-text {
            font-weight: 800;
            text-transform: uppercase;
            color: var(--primary);
            margin-left: 10px;
            letter-spacing: 1px;
            font-size: 1.2rem;
            transition: all 0.3s ease;
			white-space: nowrap; /* No romper el texto */
			overflow: hidden;
			text-overflow: ellipsis;
			 position: relative;
        }
		
		.logo-text::before {
   
    display: inline;
}
		
		
		.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    
}
        header.scrolled .logo-text {
            font-size: 1rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
			
        }

        .nav-links li {
            margin-left: 30px;
            position: relative;
        }

        .nav-links a {
    color: white !important; /* Siempre blanco */
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
	display: inline-block;
    
    /* Sombra de texto para contraste */
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.5),
        0 0 5px rgba(0, 0, 0, 0.7);
}

        .nav-links a:hover, 
.nav-links a.active {
    color: var(--primary) !important;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(255, 102, 0, 0.5);
}

			


        .nav-links a::after {
            content: '';
    position: absolute;
    bottom: 0;
    left: 50%; /* CAMBIAR: centrar el punto de inicio */
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease; /* CAMBIAR: usar 'all' en lugar de solo 'width' */
    transform: translateX(-50%); /* AGREGAR: centrar perfectamente */
    border-radius: 1px; /* AGREGAR: esquinas redondeadas */
        }

        .nav-links a:hover::after, .nav-links a.active::after {
            width: calc(100% - 30px); /* CAMBIAR: usar calc para mejor control */
    left: 50%; /* MANTENER: centrado */
    transform: translateX(-50%); /* MANTENER: centrado perfecto */
        }
/* Para Safari */
@supports (-webkit-appearance: none) {
    .nav-links a::after {
        -webkit-transform: translateX(-50%);
        -webkit-transition: all 0.3s ease;
    }
    
    .nav-links a:hover::after, 
    .nav-links a.active::after {
        -webkit-transform: translateX(-50%);
    }
}

/* Para Firefox */
@-moz-document url-prefix() {
    .nav-links a::after {
        -moz-transform: translateX(-50%);
        -moz-transition: all 0.3s ease;
    }
    
    .nav-links a:hover::after, 
    .nav-links a.active::after {
        -moz-transform: translateX(-50%);
    }
}
        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            color: var(--light);
            font-size: 1.5rem;
            transition: all 0.3s ease;
            z-index: 200;
			 min-width: 44px; /* Área de toque mínima */
    min-height: 44px;
    padding: 8px;
    border-radius: 4px;
        }

        .hamburger:hover {
            color: var(--primary);
        }

        .theme-switch {
            background: none;
            border: none;
            color: var(--light);
            cursor: pointer;
            font-size: 1.2rem;
            margin-left: 20px;
			margin-top: -22px;
            transition: all 0.3s ease;
			min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
        }

        .theme-switch:hover {
            color: var(--primary);
            transform: rotate(30deg);
        }
		


        /* Hero Section Moderno */
        .hero {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),  url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            padding: 0 20px;
        }

        .hero h1 {
            color: var(--light);
            font-size: 4rem;
            font-weight: 900;
            margin-bottom: 20px;
            line-height: 1.1;
            text-transform: uppercase;
            animation: fadeInUp 1s ease;
        }

        .hero h1 span {
            color: var(--primary);
            display: block;
        }

        .hero p {
            color: var(--light);
            font-size: 1.2rem;
            margin-bottom: 30px;
            animation: fadeInUp 1s ease 0.2s forwards;
            opacity: 0;
        }

        .btn {
            display: inline-block;
            padding: 15px 30px;
            background-color: var(--primary);
            color: var(--light);
            text-decoration: none;
            font-weight: 700;
            border-radius: 50px;
            font-size: 1rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: all 0.3s ease;
            border: 2px solid var(--primary);
            opacity: 0;
            animation: fadeInUp 1s ease 0.4s forwards;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background-color: var(--light);
            transition: width 0.3s ease;
            z-index: -1;
        }

        .btn:hover::before {
            width: 100%;
        }

        .btn:hover {
            color: var(--primary);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--light);
            border: 2px solid var(--light);
            margin-left: 15px;
        }

        .btn-outline:hover {
            background-color: var(--light);
            color: var(--dark);
        }

        .hero-socials {
            position: absolute;
            bottom: 50px;
            right: 50px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hero-socials::before {
            content: '';
            width: 2px;
            height: 100px;
            background-color: var(--primary);
            margin-bottom: 20px;
        }

        .hero-socials a {
            color: var(--light);
            font-size: 1.2rem;
            margin: 10px 0;
            transition: all 0.3s ease;
        }

        .hero-socials a:hover {
            color: var(--primary);
            transform: translateY(-5px);
        }

        .scroll-down {
            position: absolute;
            bottom: 50px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--light);
            font-size: 1.5rem;
            animation: bounceDown 1.5s infinite;
            cursor: pointer;
        }

        /* Sección Sobre Nosotros */
        .section {
            padding: 100px 0;
            position: relative;
        }

        .section-title {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 50px;
            position: relative;
            color: var(--text);
            font-weight: 800;
            text-transform: uppercase;
        }
			
        .section-title span {
            color: var(--primary);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--primary);
        }

        .about {
            background-color: var(--light);
        }

        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .about-image {
            flex: 1;
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
			width: 100%;
			max-width: 500px; /* Limitar ancho máximo */
			margin: 0 auto; /* Centrar en móvil */
        }

        .about-image img {
            width: 100%;
    height: auto; /* CAMBIAR: de 'display: block' a 'height: auto' */
    display: block;
    transition: transform 0.5s ease;
    /* AGREGAR: */
    object-fit: cover;
    min-height: 250px; /* Altura mínima */
    max-height: 400px; /* Altura máxima */
        }

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

        .about-image::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            bottom: 20px;
            border: 5px solid var(--primary);
            z-index: -1;
            transition: all 0.5s ease;
        }

        .about-image:hover::before {
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
        }

        .about-text {
            flex: 1;
        }

        .about-text h3 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--text);
            font-weight: 700;
        }

        .about-text p {
            margin-bottom: 20px;
            color: var(--text);
            line-height: 1.8;
        }

        .stats-container {
           /* display: flex;*/
            justify-content: space-between;
            margin-top: 40px;
        }

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

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .stat-text {
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--primary);
        }

        /* Sección de Servicios */
        .services {
            background-color: var(--gray);
            position: relative;
            overflow: hidden;
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .service-card {
            background-color: var(--light);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            position: relative;
        }

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

        .service-img {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

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

        .service-card:hover .service-img img {
            transform: scale(1.1);
        }

        .service-content {
            padding: 30px;
            position: relative;
        }

        .service-icon {
            position: absolute;
            top: -30px;
            left: 30px;
            width: 60px;
            height: 60px;
            background-color: var(--primary);
            color: var(--light);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
        }

        .service-content h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--text);
            font-weight: 700;
        }

        .service-content p {
            color: var(--text);
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .service-link {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .service-link i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .service-link:hover {
            color: var(--primary-dark);
        }

        .service-link:hover i {
            transform: translateX(5px);
        }

        /* Sección de Trainers */
        .trainers {
            background-color: var(--light);
        }

        .trainer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .trainer-card {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

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

        .trainer-img {
            height: 350px;
            overflow: hidden;
        }

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

        .trainer-card:hover .trainer-img img {
            transform: scale(1.1);
        }

        .trainer-info {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 30px;
            background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
            color: var(--light);
            transition: all 0.3s ease;
        }

        .trainer-card:hover .trainer-info {
            background: linear-gradient(0deg, rgba(255,102,0,0.9) 0%, rgba(255,102,0,0) 100%);
			 
        }
		
        .trainer-info h3 {
            font-size: 1.5rem;
            margin-bottom: 5px;
            font-weight: 700;
        }

        .trainer-info span {
            display: block;
            font-weight: 600;
            margin-bottom: 15px;
            opacity: 0.8;
			color:white;
        }

        .trainer-socials {
            display: flex;
            gap: 15px;
        }

        .trainer-socials a {
            color: var(--light);
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .trainer-socials a:hover {
            color: var(--primary);
            transform: translateY(-3px);
        }

       

        /* Planes de Membresía */
        .pricing {
            background-color: var(--light);
        }

        .pricing-toggle {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 50px;
        }

        .pricing-toggle span {
            font-weight: 600;
            color: var(--text);
        }

        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
            margin: 0 15px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .toggle-slider {
            background-color: var(--primary);
        }

        input:checked + .toggle-slider:before {
            transform: translateX(30px);
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .pricing-card {
            background-color: var(--light);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            position: relative;
            padding: 40px 30px;
            text-align: center;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .pricing-card.highlighted {
            border: 2px solid var(--primary);
            transform: scale(1.05);
        }

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

        .pricing-popular {
            position: absolute;
            top: 20px;
            right: -30px;
            background-color: var(--primary);
            color: var(--light);
            padding: 5px 30px;
            transform: rotate(45deg);
            font-weight: 600;
            font-size: 0.8rem;
        }

        .pricing-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .pricing-title {
            font-size: 1.5rem;
            color: var(--text);
            font-weight: 700;
            margin-bottom: 10px;
        }

        .pricing-price {
            font-size: 3rem;
            color: var(--primary);
            font-weight: 800;
            margin-bottom: 20px;
        }

        .pricing-price span {
            font-size: 1rem;
            color: var(--text);
            font-weight: 500;
        }

        .pricing-features {
            list-style: none;
            margin-bottom: 30px;
        }

        .pricing-features li {
            padding: 10px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .pricing-features li:last-child {
            border-bottom: none;
        }

        .pricing-button {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary);
            color: var(--light);
            text-decoration: none;
            font-weight: 600;
            border-radius: 30px;
            transition: all 0.3s ease;
        }

        .pricing-button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-5px);
        }

        /* Calendario Interactivo */
        .calendar-wrapper {
            max-width: 800px;
            margin: 0 auto;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .calendar-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
        }

        .calendar-nav {
            display: flex;
            gap: 10px;
        }

        .calendar-button {
            background-color: var(--light);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .calendar-button:hover {
            background-color: var(--primary);
            color: var(--light);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 10px;
        }

        .calendar-day-name {
            text-align: center;
            font-weight: 600;
            color: var(--text);
            padding: 10px;
        }

        .calendar-day {
            background-color: var(--light);
            border-radius: 10px;
            padding: 10px;
            min-height: 100px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .calendar-day:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }

        .calendar-day.today {
            border: 2px solid var(--primary);
        }

        .calendar-day.has-event {
            position: relative;
        }

        .calendar-day.has-event::after {
            content: '';
            position: absolute;
            top: 10px;
            right: 10px;
            width: 8px;
            height: 8px;
            background-color: var(--primary);
            border-radius: 50%;
        }

        .calendar-date {
            font-weight: 700;
            margin-bottom: 5px;
        }

        .calendar-event {
            font-size: 0.8rem;
            background-color: rgba(255, 102, 0, 0.1);
            color: var(--primary);
            padding: 3px 6px;
            border-radius: 3px;
            margin-bottom: 3px;
        }

        /* Galería */
        .gallery {
            background-color: var(--gray);
        }

        .gallery-filter {
            display: flex;
            justify-content: center;
            margin-bottom: 50px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .gallery-filter button {
            padding: 10px 20px;
            background-color: var(--light);
            color: var(--text);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .gallery-filter button.active, .gallery-filter button:hover {
            background-color: var(--primary);
            color: var(--light);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        .gallery-item {
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            height: 250px;
            cursor: pointer;
        }

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

        .gallery-item:hover .gallery-img {
            transform: scale(1.1);
        }

        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-icon {
            color: var(--light);
            font-size: 2rem;
        }

        /* Contacto */
        .contact {
            background-color: var(--light);
            position: relative;
        }

        .contact-wave {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
        }

        .contact-wave svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 80px;
        }

        .contact-wave .shape-fill {
            fill: var(--gray);
        }

        .contact-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 50px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            padding-bottom: 20px;
            border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            transform: translateX(10px);
        }

        .contact-item:last-child {
            border-bottom: none;
        }

        .contact-icon {
            background-color: rgba(255, 102, 0, 0.1);
            color: var(--primary);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.2rem;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .contact-item:hover .contact-icon {
            background-color: var(--primary);
            color: var(--light);
            transform: rotate(360deg);
        }

        .contact-text h4 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 5px;
        }

        .contact-text p {
            color: var(--text);
            line-height: 1.6;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-link {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            background-color: var(--light);
            color: var(--primary);
            border-radius: 50%;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background-color: var(--primary);
            color: var(--light);
            transform: translateY(-5px);
        }

        .contact-form {
            background-color: var(--light);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .contact-form::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 10px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            border-radius: 20px 20px 0 0;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text);
        }

        .form-control {
            width: 100%;
            padding: 15px 20px;
            background-color: var(--gray);
            border: 2px solid transparent;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 5px 15px rgba(255, 102, 0, 0.1);
        }

        .form-control::placeholder {
            color: #999;
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        .contact-form .btn {
            width: 100%;
            margin-top: 10px;
        }

        /* Mapa */
        .map {
            background-color: var(--gray);
        }

        .map-container {
            height: 500px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
            margin-bottom: 40px;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .location-info {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }

        .location-info h3 {
            font-size: 1.8rem;
            color: var(--text);
            font-weight: 700;
            margin-bottom: 20px;
        }

        .location-info p {
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 20px;
        }

        /* Testimonios */
        .testimonials {
            background-color: var(--light);
            position: relative;
            overflow: hidden;
        }

        .testimonial-slider {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .testimonial-item {
            background-color: var(--light);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
            margin: 20px;
            position: relative;
            text-align: center;
        }

        .testimonial-item::before {
            content: '\201C';
            font-family: Georgia, serif;
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 80px;
            line-height: 1;
            color: rgba(255, 102, 0, 0.1);
        }

        .testimonial-text {
            font-style: italic;
            color: var(--text);
            line-height: 1.8;
            margin-bottom: 30px;
        }

        .testimonial-image {
            width: 130px;
            height: 130px;
            border-radius: 50%;
            margin: 0 auto 15px;
            border: 5px solid rgba(255, 102, 0, 0.1);
            padding: 5px;
        }

        .testimonial-name {
            font-weight: 700;
            color: var(--text);
            font-size: 1.2rem;
        }

        .testimonial-position {
            color: var(--primary);
            font-weight: 600;
            font-size: 0.9rem;
        }

        .testimonial-nav {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 15px;
        }

        .testimonial-nav button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 102, 0, 0.2);
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .testimonial-nav button.active {
            background-color: var(--primary);
            transform: scale(1.2);
        }

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

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

        .blog-card {
            background-color: var(--light);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

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

        .blog-img {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

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

        .blog-card:hover .blog-img img {
            transform: scale(1.1);
        }

        .blog-category {
            position: absolute;
            top: 20px;
            left: 20px;
            background-color: var(--primary);
            color: var(--light);
            padding: 5px 15px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .blog-date {
            position: absolute;
            bottom: -15px;
            right: 20px;
            background-color: var(--light);
            color: var(--text);
            padding: 5px 15px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 600;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .blog-content {
            padding: 30px;
        }

        .blog-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            font-weight: 700;
            color: var(--text);
            transition: all 0.3s ease;
        }

        .blog-card:hover .blog-title {
            color: var(--primary);
        }

        .blog-text {
            color: var(--text);
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .blog-link {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .blog-link i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .blog-link:hover {
            color: var(--primary-dark);
        }

        .blog-link:hover i {
            transform: translateX(5px);
        }

        /* App Section */
        .app-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--light);
            padding: 80px 0;
            text-align: center;
        }

        .app-content {
            max-width: 700px;
            margin: 0 auto;
        }

        .app-title {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 800;
        }

        .app-text {
            margin-bottom: 30px;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .app-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .app-button {
            display: flex;
            align-items: center;
            background-color: var(--dark);
            color: var(--light);
            padding: 15px 30px;
            border-radius: 10px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .app-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .app-button i {
            font-size: 2rem;
            margin-right: 15px;
        }

        .app-button-text {
            text-align: left;
        }

        .app-button-text span {
            display: block;
            font-size: 0.8rem;
            margin-bottom: 3px;
        }

        .app-button-text strong {
            font-size: 1.2rem;
        }

        .app-image {
            max-width: 300px;
            margin: 0 auto;
        }

        .app-image img {
            width: 30%;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        /* Newsletter */
        .newsletter {
            padding: 60px 0;
            background-color: var(--gray);
            text-align: center;
        }

        .newsletter-content {
            max-width: 600px;
            margin: 0 auto;
        }

        .newsletter-title {
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--text);
            font-weight: 700;
        }

        .newsletter-text {
            color: var(--text);
            margin-bottom: 30px;
            line-height: 1.8;
        }

        .newsletter-form {
            display: flex;
            max-width: 500px;
            margin: 0 auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            border-radius: 50px;
            overflow: hidden;
        }

        .newsletter-input {
            flex: 1;
            padding: 15px 20px;
            border: none;
            font-size: 1rem;
        }

        .newsletter-input:focus {
            outline: none;
        }

        .newsletter-button {
            background-color: var(--primary);
            color: var(--light);
            border: none;
            padding: 15px 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter-button:hover {
            background-color: var(--primary-dark);
        }

        /* Footer */
        footer {
            background-color: var(--dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 80px 0 0;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 50px;
            padding-bottom: 50px;
        }

        .footer-widget h3 {
            color: var(--light);
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-widget h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background-color: var(--primary);
        }

        .footer-about img {
            height: 60px;
            margin-bottom: 20px;
        }

        .footer-about p {
            margin-bottom: 20px;
            line-height: 1.7;
        }

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

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }

        .footer-links a i {
            margin-right: 10px;
            color: var(--primary);
        }

        .footer-links a:hover {
            color: var(--primary);
            transform: translateX(5px);
        }

        .footer-contact-item {
            display: flex;
            margin-bottom: 15px;
        }

        .footer-contact-icon {
            color: var(--primary);
            margin-right: 15px;
            font-size: 1.2rem;
        }

        .footer-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        .footer-gallery-item {
            border-radius: 5px;
            overflow: hidden;
            height: 70px;
        }

        .footer-gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .footer-gallery-item:hover img {
            transform: scale(1.1);
        }

        .footer-bottom {
            padding: 20px 0;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-bottom p {
            margin: 0;
            font-size: 0.9rem;
        }

        .footer-social {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }

        .footer-social a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--light);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .footer-social a:hover {
            background-color: var(--primary);
            transform: translateY(-5px);
        }

        /* Animaciones Scroll AOS */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes bounceDown {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) translateX(-50%);
            }
            40% {
                transform: translateY(-20px) translateX(-50%);
            }
            60% {
                transform: translateY(-10px) translateX(-50%);
            }
        }

        /* Modo Oscuro */
        body.dark-mode {
            --primary: #ff7b2e;
            --primary-dark: #e05600;
            --secondary: #2a2a2a;
            --accent: #4db8f5;
            --light: #222222;
            --dark: #f8f8f8;
            --gray: #1a1a1a;
            --text: #e0e0e0;
        }

        body.dark-mode .logo-text,
        body.dark-mode .nav-links a {
            color: var(--dark);
        }

        body.dark-mode .service-card,
        body.dark-mode .trainer-card,
        body.dark-mode .pricing-card,
        body.dark-mode .calendar-day,
        body.dark-mode .testimonial-item,
        body.dark-mode .contact-form,
        body.dark-mode .blog-card {
            background-color: var(--secondary);
        }

        body.dark-mode .theme-switch {
            color: var(--dark);
        }

        body.dark-mode .form-control {
            background-color: rgba(255, 255, 255, 0.05);
            color: var(--dark);
        }

        body.dark-mode .form-control::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }
/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .logo-text {
        font-size: 1rem;
        margin-left: 8px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .theme-switch {
        margin-left: 10px;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
	  .logo-text {
        display: none !important; /* Ocultar texto en móvil */
    }
    
    .logo img {
        margin-left: 0 !important; /* Quitar margen negativo */
        height: 35px;
    }
    
    .logo {
        min-width: 50px;
        max-width: 50px;
    }
    
    .theme-switch {
        margin-left: 10px;
        margin-top: 0; /* Quitar margen superior */
    }

    .header-controls {
        margin-left: auto; /* Alinear controles a la derecha */
        gap: 5px;
    }
	   .about-content {
        display: flex;
    flex-direction: column-reverse; /* Cambio clave: invierte el orden visual */
    gap: 30px;
    text-align: center;
    }
    
    .about-image {
         order: unset !important; /* Elimina cualquier orden previo */
    max-width: 100%;
    margin: 0 auto 20px; /* Centrado y espacio inferior */
    }
    
    .about-image::before {
        display: none; /* YA EXISTE - mantener */
    }
    
    .about-image img {
        border-radius: 15px;
        max-height: 300px;
        width: 100%;
        object-fit: cover;
    }
    
    .about-text {
        order: unset !important; /* Elimina cualquier orden previo */
    text-align: left;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
        text-align: center; /* Solo el título centrado */
        margin-bottom: 25px;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    .navbar {
        padding: 0 10px; /* Reducir padding interno */
    }
    
    .hamburger {
        display: flex; /* Cambiar de 'block' a 'flex' */
        align-items: center;
        justify-content: center;
    }
    
   
	/* Ocultar nav-links en móvil */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--secondary);
        flex-direction: column;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 100;
    }
}
	/* Móviles pequeños */
@media (max-width: 480px) {
	.about {
        padding: 60px 0; /* Reducir padding de sección */
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-image {
        margin-bottom: 15px;
        border-radius: 15px;
    }
    
    .about-image img {
        
        max-height: 250px;
        min-height: 200px;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }
    .container {
        padding: 0 10px; /* Reducir padding del container */
    }
    
    .navbar {
        padding: 0;
        gap: 8px; /* Agregar pequeño espacio entre elementos */
    }
    
    .logo-text {
        display: none; /* MANTENER OCULTO */
    }
    
    .logo img {
        height: 30px;
   
    }
	.logo {
        max-width: 40px; 
        
    }
    
    .theme-switch,
  .hamburger {
    min-width: 36px;
    min-height: 36px;
    font-size: 1rem; /* Tamaño adecuado para toques */
  }
}

/* Pantallas extra pequeñas */
@media (max-width: 360px) {
	.container {
        padding: 0 8px;
    }
    .logo-text {
         display: none; /* CAMBIAR: mostrar en lugar de ocultar */
        
    }
    
     /* Solo IMPERIUM en pantallas muy pequeñas */
   
    
    .logo img {
        height: 28px;
        
    }
     .logo {
        max-width: 35px; /* Solo el logo pequeño */
    }
    .theme-switch,
    .hamburger {
        min-width: 36px;
        min-height: 36px;
    }
	 .navbar {
        gap: 5px;
    }
}

/* 7. HEADER SCROLLED - AJUSTES RESPONSIVOS */
header.scrolled .logo img {
    height: 40px;
}

header.scrolled .logo-text {
    font-size: 1rem;
}

@media (max-width: 768px) {
    header.scrolled .logo img {
        height: 35px;
    }
    
    header.scrolled .logo-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    header.scrolled .logo img {
        height: 30px;
    }
    
    header.scrolled .logo-text {
        font-size: 0.7rem;
    }
}
        /* Media Queries */
        @media (max-width: 1024px) {
            .hero h1 {
                font-size: 3rem;
            }

            .about-content {
        gap: 30px;
    }
    
    .about-image {
        max-width: 450px;
    }
    
    .about-image img {
        max-height: 350px;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
            .contact-content {
                grid-template-columns: 1fr;
            }

            .hero-socials {
                display: none;
            }

            .section {
                padding: 80px 0;
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100vh;
                background-color: var(--secondary);
                flex-direction: column;
                justify-content: center;
                transition: all 0.5s ease;
                z-index: 100;
            }

            .nav-links.active {
                right: 0;
            }

            .nav-links li {
                margin: 15px 0;
                text-align: center;
            }

            .nav-links a {
                font-size: 1.1rem;
            }

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

            .hero p {
                font-size: 1rem;
            }

            .scroll-down {
                display: none;
            }

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

            .about-image::before {
                display: none;
            }

            .pricing-card.highlighted {
                transform: none;
            }
            
            .app-buttons {
                flex-direction: column;
                align-items: center;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2rem;
            }

            .btn {
                padding: 12px 25px;
                font-size: 0.9rem;
            }

            .stat-item {
                padding: 15px;
            }

            .stat-number {
                font-size: 2rem;
            }

            .service-content,
            .contact-form {
                padding: 20px;
            }

            .service-icon {
                left: 20px;
            }

            .newsletter-form {
                flex-direction: column;
                border-radius: 15px;
            }

            .newsletter-input {
                padding: 15px;
            }

            .newsletter-button {
                border-radius: 0 0 15px 15px;
            }
        }
/* del viejo CSS */
/* Trainers Section */
.trainers {
    padding: 80px 0;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trainer-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.trainer-img {
    height: 300px;
    overflow: hidden;
}

.trainer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-info {
    padding: 20px;
}

.trainer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}


/* Horarios Section */
.horarios {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.horarios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.schedule-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,102,0,0.1);
}

.schedule-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px dashed #eee;
    margin-bottom: 20px;
    position: relative;
}

.schedule-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.schedule-header h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.schedule-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    transform: rotate(15deg);
    box-shadow: 0 3px 10px rgba(211,47,47,0.3);
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.time-slot:hover {
    background: black;
	color:white;
}

.time-slot span:first-child {
    color: var(--dark-color);
    font-weight: 500;
}

.time-slot span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white !important;
}

.highlight span {
    color: white !important;
}

.prime-time::before {
    background: var(--secondary-color);
}

.weekend::before {
    background: #666;
}

.closed span:last-child {
    color: var(--secondary-color) !important;
}

.schedule-notice {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255,102,0,0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.schedule-notice i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.schedule-notice p {
    margin: 0;
    font-weight: 500;
    color: var(--dark-color);
}

/* Nuevo carrusel de testimonios moderno */
.testimonials {
    background-color: var(--light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 102, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.testimonials-container {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.testimonial-card {
    flex: 0 0 97%;
    min-width: 97%;
    background: var(--light);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    padding: 40px;
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.5s ease;
    position: relative;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 120px;
    font-family: Georgia, serif;
    line-height: 1;
    color: rgba(255, 102, 0, 0.1);
}

.testimonial-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
	position: relative;
    left: 41%;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid rgba(255, 102, 0, 0.1);
    margin-bottom: 15px;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.testimonial-rating {
    margin: 15px 0;
    color: #FFD700;
    font-size: 1.2rem;
	position:relative;
	left: 40%;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
}

.testimonial-arrow:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    margin-top: 25px;
    justify-content: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 102, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    width: 30px;
    border-radius: 10px;
    background: var(--primary);
}

/* Animación para cambiar testimonios */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px) scale(0.8); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(-20px) scale(0.8); }
}

.testimonial-card.fade-in {
    animation: fadeIn 0.5s forwards;
}

.testimonial-card.fade-out {
    animation: fadeOut 0.5s forwards;
}

/* Responsividad para el nuevo carrusel */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
    }

    .testimonial-controls {
        margin-top: 30px;
    }
}

/* Sexypace Section - Usando el sistema CSS de IMPERIUM */
.sexypace {
    background-color: var(--gray);
}

.sexypace-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Introducción */
.sexypace-intro {
    margin-bottom: 40px;
}

.sexypace-icon {
    width: 80px;
    height: 80px;
    background-color: #ebb1ca;
    color: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(235, 177, 202, 0.3);
}

.sexypace-intro h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 700;
}

.sexypace-intro p {
    color: var(--text);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Features Grid - Usando el estilo de servicios */
.sexypace-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.sexypace-features .feature-item {
    background-color: var(--light);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.sexypace-features .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sexypace-features .feature-icon {
    width: 50px;
    height: 50px;
    background-color: #ebb1ca;
    color: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(235, 177, 202, 0.3);
}

.sexypace-features .feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 700;
}

.sexypace-features .feature-item p {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Stats - Usando el estilo de about */
.sexypace-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.sexypace-stats .stat-item {
    text-align: center;
    flex: 1;
}

.sexypace-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.sexypace-stats .stat-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
}
.sexypace-stats .stat-number2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ebb1ca;
    margin-bottom: 10px;
}

.sexypace-stats .stat-text2 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #ebb1ca;
}
/* Card - Usando el estilo de pricing card */
.sexypace-card {
    background-color: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--primary);
}

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

.sexypace-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sexypace-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
}

.sexypace-logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background-color: rgba(255, 102, 0, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Runner Animation */
.runner-showcase {
    position: relative;
    height: 100px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray);
    border-radius: 15px;
    padding: 20px;
	top:7px;
}

.runner-animation {
    position: relative;
    z-index: 2;
}

.runner-animation i {
    font-size: 3rem;
    color: var(--primary);
    animation: running 2s infinite ease-in-out;
}

@keyframes running {
    0%, 100% { transform: translateX(0) scale(1); }
    25% { transform: translateX(-10px) scale(1.05); }
    75% { transform: translateX(10px) scale(0.95); }
}

.running-trail {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: trail 3s infinite;
}

@keyframes trail {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Social Links - Usando el estilo de contact */
.social-links-container {
    margin-bottom: 25px;
}

.social-links-container .social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #ebb1ca;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
	width:270px;
	height:100px;
	margin-left: 110px;
}

.social-links-container .social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-links-container .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 0.3s ease;
    z-index: -1;
}

.instagram-link::before {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.tiktok-link::before {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
}

.social-links-container .social-link:hover::before {
    width: 100%;
}

.social-links-container .social-link:hover {
    color: var(--light);
}

.social-links-container .social-link i {
    font-size: 1.5rem;
    min-width: 30px;
}

.instagram-link i {
    color: #e1306c;
}

.tiktok-link i {
    color: #ff0050;
}

.social-info {
    flex: 1;
}

.social-handle {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 3px;
}

.social-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.7;
}

/* Pace Meter */
.pace-meter {
    text-align: center;
    padding: 20px;
    background-color: var(--gray);
    border-radius: 15px;
    margin-top: 15px;
}

.pace-line {
    height: 6px;
    background-color: rgba(255, 102, 0, 0.2);
    border-radius: 3px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.pace-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 3px;
    animation: paceAnimation 3s infinite ease-in-out;
}

@keyframes paceAnimation {
    0%, 100% { width: 70%; }
    50% { width: 85%; }
}

.pace-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design - Usando el sistema de la página */
@media (max-width: 1024px) {
    .sexypace-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sexypace-features {
        grid-template-columns: 1fr;
    }
    
    .sexypace-stats {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sexypace-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sexypace-features .feature-item {
        padding: 20px;
    }
    
    .sexypace-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .sexypace-stats .stat-item {
        min-width: 150px;
    }
    
    .sexypace-card {
        padding: 25px;
    }
    
    .runner-animation i {
        font-size: 2.5rem;
    }
    
    .runner-showcase {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .sexypace-intro h3 {
        font-size: 1.5rem;
    }
    
    .sexypace-intro p {
        font-size: 1rem;
    }
    
    .sexypace-features .feature-item {
        padding: 15px;
    }
    
    .sexypace-features .feature-item h4 {
        font-size: 1rem;
    }
    
    .sexypace-features .feature-item p {
        font-size: 0.85rem;
    }
    
    .sexypace-card {
        padding: 20px;
    }
    
    .social-links-container .social-link {
        padding: 12px;
    }
    
    .sexypace-stats .stat-number {
        font-size: 2rem;
    }
}

/* Modo Oscuro - Siguiendo el sistema de la página */
body.dark-mode .sexypace-card,
body.dark-mode .sexypace-features .feature-item,
body.dark-mode .runner-showcase,
body.dark-mode .social-links-container .social-link,
body.dark-mode .pace-meter {
    background-color: var(--secondary);
}

body.dark-mode .sexypace-intro h3,
body.dark-mode .sexypace-features .feature-item h4,
body.dark-mode .social-handle {
    color: var(--dark);
}

body.dark-mode .sexypace-intro p,
body.dark-mode .sexypace-features .feature-item p,
body.dark-mode .social-desc {
    color: rgba(248, 248, 248, 0.8);
}


/* Video de fondo para Hero Section */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
}

/* Overlay mejorado para video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(255, 102, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: -2;
}

/* Controles de video */
.video-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.video-control-btn {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-control-btn:hover {
    background: rgba(255, 102, 0, 0.8);
    transform: scale(1.1);
}

/* Mejorar el contenido del hero */
.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease;
}

.hero p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Mejorar redes sociales */
.hero-socials {
    z-index: 5;
}

.hero-socials a {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-socials a:hover {
    background: rgba(255, 102, 0, 0.3);
    transform: translateY(-5px) scale(1.1);
}

/* Scroll indicator mejorado */
.scroll-down {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 5;
}

.scroll-down:hover {
    background: rgba(255, 102, 0, 0.3);
    transform: translateX(-50%) scale(1.1);
}

/* Responsive para video */
@media (max-width: 768px) {
    .video-controls {
        top: 10px;
        right: 10px;
    }
    
    .video-control-btn {
        padding: 10px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .hero-video video {
        filter: brightness(0.6) contrast(1.2);
    }
}

@media (max-width: 480px) {
    .video-controls {
        display: none; /* Ocultar controles en móviles muy pequeños */
    }
}
/* Resumen de calificación de Google */
.google-rating-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--light);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.google-logo img {
    height: 20px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars i {
    color: #FFD700;
    font-size: 1.2rem;
}

.rating-text {
    font-weight: 600;
    color: var(--text);
    margin-left: 10px;
}

/* Fuente de la reseña (Google) */
.testimonial-source {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 20px;
    align-self: flex-start;
}

.testimonial-source img {
    height: 16px;
}

.testimonial-source span {
    font-size: 0.85rem;
    color: #4285f4;
    font-weight: 600;
}

/* Mejorar el diseño del testimonial existente */
.testimonial-card {
    background: var(--light);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    padding: 35px;
    position: relative;
    border: 1px solid rgba(255, 102, 0, 0.1);
}

.testimonial-card.active {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.1);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: rgba(255, 102, 0, 0.2);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 102, 0, 0.2);
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.testimonial-position {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.testimonial-rating {
    margin: 15px 0;
    color: #FFD700;
    font-size: 1.1rem;
    align-self: flex-start;
}

/* Call to Action para reseñas */
.testimonials-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    color: var(--light);
}

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

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

.testimonials-cta .btn {
    background: var(--light);
    color: var(--primary);
    border: 2px solid var(--light);
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.testimonials-cta .btn:hover {
    background: black;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.testimonials-cta .btn i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .google-rating-summary {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-source {
        margin-bottom: 10px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .testimonials-cta {
        padding: 30px 20px;
    }
    
    .testimonials-cta h3 {
        font-size: 1.5rem;
    }
}

/* Animaciones mejoradas */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-card.slide-in-right {
    animation: slideInFromRight 0.5s ease forwards;
}

.testimonial-card.slide-in-left {
    animation: slideInFromLeft 0.5s ease forwards;
}

/* CARRUSEL DE FOTOS */
.photo-carousel-container {
    position: relative;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--gray);
    height: 250px;
    width: 100%;
}

.photo-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

.photo-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.photo-slide:hover img {
    transform: scale(1.05);
}

/* Overlay de las fotos */
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.photo-caption {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    display: block;
}

/* Controles del carrusel */
.photo-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 10;
}

.photo-prev,
.photo-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0.8);
    z-index: 20;
}

.photo-carousel-container:hover .photo-prev,
.photo-carousel-container:hover .photo-next {
    opacity: 1;
    transform: scale(1);
}

.photo-prev:hover,
.photo-next:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.photo-prev:active,
.photo-next:active {
    transform: scale(0.95);
}

/* Indicadores de fotos */
.photo-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.photo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.photo-dot.active {
    background: white;
    width: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.photo-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .photo-carousel-container {
        height: 200px;
        margin-bottom: 20px;
    }
    
    .photo-prev,
    .photo-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .photo-indicators {
        bottom: 10px;
    }
    
    .photo-dot {
        width: 6px;
        height: 6px;
    }
    
    .photo-dot.active {
        width: 16px;
    }
}

@media (max-width: 480px) {
    .photo-carousel-container {
        height: 180px;
        border-radius: 10px;
    }
    
    .photo-prev,
    .photo-next {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .photo-carousel-controls {
        padding: 0 10px;
    }
}

/* Animaciones mejoradas */
@keyframes photoSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.photo-slide.active {
    animation: photoSlideIn 0.5s ease-out;
}

/* Estados de carga */
.photo-slide img[src=""] {
    background: var(--gray);
    position: relative;
}

.photo-slide img[src=""]:before {
    content: "Cargando...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-weight: 600;
}

/* Mejoras de accesibilidad */
.photo-prev:focus,
.photo-next:focus,
.photo-dot:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Modo oscuro */
body.dark-mode .photo-carousel-container {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .photo-prev,
body.dark-mode .photo-next {
    background: rgba(42, 42, 42, 0.9);
    color: var(--primary);
}

body.dark-mode .photo-prev:hover,
body.dark-mode .photo-next:hover {
    background: var(--primary);
    color: white;
}

/* REDES SOCIALES - NUEVO DISEÑO CON ICONOS GRANDES */
.social-networks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.social-network-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 10px;
    background: var(--gray);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-network-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 0.3s ease;
    z-index: -1;
}

/* Instagram */
.social-network-card.instagram::before {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-network-card.instagram:hover {
    color: white;
    transform: translateY(-5px);
}

.social-network-card.instagram:hover::before {
    width: 100%;
}

/* TikTok */
.social-network-card.tiktok::before {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
}

.social-network-card.tiktok:hover {
    color: white;
    transform: translateY(-5px);
}

.social-network-card.tiktok:hover::before {
    width: 100%;
}

/* Strava */
.social-network-card.strava::before {
    background: linear-gradient(45deg, #fc4c02, #ff6600);
}

.social-network-card.strava:hover {
    color: white;
    transform: translateY(-5px);
}

.social-network-card.strava:hover::before {
    width: 100%;
}

/* Iconos de redes sociales */
.social-icon {
    font-size: 2rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.social-network-card.instagram .social-icon {
    color: #e1306c;
}

.social-network-card.tiktok .social-icon {
    color: #ff0050;
}

.social-network-card.strava .social-icon {
    color: #fc4c02;
}

.social-network-card:hover .social-icon {
    color: white;
    transform: scale(1.1);
}

/* Información de la red social */
.social-info {
    text-align: center;
    position: relative;
    z-index: 1;
}

.social-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.social-info span {
    font-size: 0.75rem;
    color: #666;
    transition: color 0.3s ease;
}

.social-network-card:hover .social-info h4,
.social-network-card:hover .social-info span {
    color: white;
}

/* Pace Meter (mantener existente) */
.pace-meter {
    text-align: center;
    padding: 20px;
    background-color: var(--gray);
    border-radius: 15px;
}

.pace-line {
    height: 6px;
    background-color: rgba(255, 102, 0, 0.2);
    border-radius: 3px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.pace-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 3px;
    animation: paceAnimation 3s infinite ease-in-out;
}

.pace-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ANIMACIONES */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes paceAnimation {
    0%, 100% { width: 70%; }
    50% { width: 85%; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .sexypace-card {
        padding: 20px;
    }
    
    .photo-carousel-container {
        height: 200px;
        margin-bottom: 20px;
    }
    
    .social-networks-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .social-network-card {
        flex-direction: row;
        text-align: left;
        padding: 15px;
    }
    
    .social-icon {
        font-size: 1.8rem;
        margin-bottom: 0;
        margin-right: 15px;
    }
    
    .social-info {
        text-align: left;
    }
    
    .photo-prev,
    .photo-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .photo-carousel-container {
        height: 180px;
    }
    
    .social-network-card {
        padding: 12px;
    }
    
    .social-icon {
        font-size: 1.5rem;
        margin-right: 12px;
    }
    
    .social-info h4 {
        font-size: 0.85rem;
    }
    
    .social-info span {
        font-size: 0.7rem;
    }
}

/* Modo Oscuro */
body.dark-mode .sexypace-card {
    background-color: var(--secondary);
}

body.dark-mode .photo-carousel-container,
body.dark-mode .social-network-card,
body.dark-mode .pace-meter {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .social-info h4 {
    color: var(--dark);
}

body.dark-mode .social-info span {
    color: rgba(248, 248, 248, 0.7);
}
/* Lightbox overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

/* Contenedor de imagen */
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Imagen del lightbox */
.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}

/* Botón cerrar */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Navegación del lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Contador de imágenes */
.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Caption de la imagen */
.lightbox-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    max-width: 80%;
    backdrop-filter: blur(10px);
}

/* Indicador de carga */
.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    animation: lightboxSpin 1s linear infinite;
}

@keyframes lightboxSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-counter {
        bottom: 20px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .lightbox-caption {
        bottom: 60px;
        padding: 10px 20px;
        font-size: 0.9rem;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        display: none; /* Ocultar navegación en móviles muy pequeños */
    }
}

/* Mejorar cursor en gallery items */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay {
    cursor: pointer;
}

.footer-legal {
    min-width: 250px;
}

.legal-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    line-height: 1.4;
}

.legal-info p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.legal-info strong {
    color: var(--primary);
}

/* Footer bottom con dos columnas */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Responsive para footer legal */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-legal-links {
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .footer-legal-links .separator {
        margin: 0 5px;
    }
    
    .legal-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-legal-links .separator {
        display: none;
    }
    
    .footer-legal-links a {
        font-size: 0.8rem;
    }
}

/* Modo oscuro para elementos legales */
body.dark-mode .legal-info p {
    color: rgba(248, 248, 248, 0.8);
}

body.dark-mode .legal-info strong {
    color: var(--primary);
}

/* Mejoras para el footer existente */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
}

/* Asegurar que el footer bottom tenga el nuevo contenido */
.footer-bottom {
    padding: 20px 0;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Estilos para enlaces que abren en nueva ventana */
.footer-legal-links a[target="_blank"]:after {
    content: " ↗";
    font-size: 0.7em;
    opacity: 0.7;
}

/* Animaciones suaves para elementos legales */
.footer-legal-links a {
    position: relative;
    overflow: hidden;
}

.footer-legal-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-legal-links a:hover::before {
    width: 100%;
}

/* Mejoras de accesibilidad */
.footer-legal-links a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Estilo para el texto de copyright */
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Espaciado mejorado para móviles */
@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-legal {
        order: -1; /* Mover información legal al principio en móvil */
    }
    
    .legal-info {
        border-top: none;
        padding-top: 0;
        margin-top: 15px;
    }
}

/* Banner principal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.98), rgba(0, 0, 0, 0.95));
    backdrop-filter: blur(10px);
    color: white;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--primary);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-icon {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 0;
}

.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: var(--primary-dark);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cookie-btn-config {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-config:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Modal de configuración */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.show {
    display: flex;
    opacity: 1;
}

.cookie-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 15px 15px 0 0;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.cookie-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-modal-body > p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.cookie-category {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.cookie-category:hover {
    border-color: var(--primary);
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fafafa;
}

.cookie-category-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.cookie-category-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.required {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

/* Switch de cookies */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--primary);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: var(--primary);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-radius: 0 0 15px 15px;
}

.cookie-btn-primary {
    background: var(--primary);
    color: white;
}

.cookie-btn-primary:hover {
    background: var(--primary-dark);
}

/* Botón flotante */
.cookie-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.cookie-floating-btn button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    transition: all 0.3s ease;
}

.cookie-floating-btn button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .cookie-modal-header {
        padding: 20px;
    }
    
    .cookie-modal-body {
        padding: 20px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .cookie-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 15px;
    }
    
    .cookie-text h4 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
}

/* Modo oscuro */
body.dark-mode .cookie-modal-content {
    background: var(--secondary);
    color: var(--dark);
}

body.dark-mode .cookie-category {
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .cookie-category-header {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .cookie-category-info h4 {
    color: var(--dark);
}

body.dark-mode .cookie-category-info p {
    color: rgba(248, 248, 248, 0.8);
}

body.dark-mode .cookie-modal-footer {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .cookie-modal-body > p {
    color: rgba(248, 248, 248, 0.8);
}
/* CONTACT FORM MEJORADO */
.contact-form {
    background: linear-gradient(135deg, var(--light) 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(255, 102, 0, 0.1);
    overflow: hidden;
}

/* Efecto decorativo en la parte superior */
.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Contenedor principal del formulario */
.contact-form-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Icono principal */
.contact-form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.3);
    animation: pulse 2s infinite;
}

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

/* Título mejorado */
.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
    position: relative;
}

/* Subtítulo mejorado */
.contact-form p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Botón principal mejorado */
.contact-form .btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 280px;
    justify-content: center;
}

/* Efecto hover del botón */
.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.4);
}

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

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

/* Icono del botón */
.contact-form .btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.contact-form .btn:hover i {
    transform: scale(1.1);
}

/* Texto informativo mejorado */
.contact-form-info {
    margin-top: 25px;
    padding: 15px 20px;
    background: rgba(255, 102, 0, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.contact-form-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-form-info i {
    color: var(--primary);
    font-size: 1rem;
}

/* Elementos decorativos */
.contact-form::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Elementos flotantes decorativos */
.contact-form-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    color: rgba(255, 102, 0, 0.1);
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 2s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .contact-form-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .contact-form p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .contact-form .btn {
        padding: 15px 25px;
        font-size: 1rem;
        min-width: 250px;
    }
    
    .contact-form-info {
        margin-top: 20px;
        padding: 12px 15px;
    }
    
    .contact-form-info p {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .contact-form p {
        font-size: 0.95rem;
    }
    
    .contact-form .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
        min-width: 220px;
        gap: 8px;
    }
    
    .contact-form .btn i {
        font-size: 1.1rem;
    }
}

/* Modo Oscuro */
body.dark-mode .contact-form {
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(42, 42, 42, 0.8) 100%);
    border-color: rgba(255, 102, 0, 0.2);
}

body.dark-mode .contact-form h3 {
    color: var(--dark);
}

body.dark-mode .contact-form p {
    color: rgba(248, 248, 248, 0.8);
}

body.dark-mode .contact-form-info {
    background: rgba(255, 102, 0, 0.1);
    border-left-color: var(--primary);
}

body.dark-mode .contact-form-info p {
    color: var(--primary);
}

/* Animación de entrada */
.contact-form {
    animation: slideInUp 0.6s ease-out;
}

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

/* Efectos adicionales en hover del contenedor */
.contact-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Mejora para el foco del botón (accesibilidad) */
.contact-form .btn:focus {
    outline: 3px solid rgba(255, 102, 0, 0.3);
    outline-offset: 2px;
}