/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

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

/* Colores principales */
:root {
    --black: #121212;
    --dark-gray: #1a1a1a;
    --medium-gray: #252525;
    --light-gray: #333;
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --gold-dark: #B8860B;
}

/* Tipografía */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #b0b0b0;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--black);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-login {
    background-color: transparent;
    color: white;
    margin-right: 15px;
    border: 2px solid var(--gold);
}

.btn-login:hover {
    background-color: var(--gold);
    color: var(--black);
}

.btn-info {
    background-color: var(--light-gray);
    color: var(--gold);
    margin-right: 10px;
    border: 1px solid var(--gold);
}

.btn-info:hover {
    background-color: var(--gold);
    color: var(--black);
}

.btn-contact {
    background-color: var(--gold);
    color: var(--black);
}

.btn-contact:hover {
    background-color: var(--gold-dark);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(18, 18, 18, 0.9);
}

.navbar.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.logo span {
    color: var(--gold);
}

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

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menú hamburguesa */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section Minimalista */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), 
                url('HERO.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(18, 18, 18, 0.6) 0%, 
        rgba(212, 175, 55, 0.08) 100%
    );
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1.2s ease-out;
}

.hero-text {
    padding: 30px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.gold-text {
    color: var(--gold);
    font-weight: 600;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 1.8rem auto;
    opacity: 0.6;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s infinite ease-in-out;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(212, 175, 55, 0.8);
    border-bottom: 2px solid rgba(212, 175, 55, 0.8);
    transform: rotate(45deg);
    opacity: 0.8;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-text {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .hero-divider {
        margin: 1.2rem auto;
    }
}
/* Servicios */
.services {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--gold);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--gold);
    margin: 20px auto 0;
}

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

.service-card {
    background-color: var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
    transition: background-color 0.3s ease;
}

.service-card:hover .card-overlay {
    background-color: rgba(212, 175, 55, 0.7);
}

.card-content {
    padding: 20px;
}

.service-details {
    display: none;
    padding: 15px 0;
    border-top: 1px solid var(--light-gray);
    margin-top: 15px;
}

.service-details p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.card-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.card-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
}

.card-buttons .btn:first-child {
    margin-right: 10px;
}
/* Contenedor principal */
.services-intro {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

/* Texto introductorio */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    padding: 1.5rem;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 12px;
    position: relative;
    border-left: 4px solid var(--gold);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: justify;
    hyphens: auto;
}

/* Decoración */
.intro-decoration {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem 0;
    opacity: 0.6;
}

/* Icono */
.intro-icon {
    font-size: 1.5rem;
    float: left;
    margin-right: 15px;
    color: var(--gold);
    transform: translateY(5px);
}

/* Efectos hover */
.intro-text:hover {
    background: rgba(40, 40, 40, 0.8);
    border-left-width: 6px;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Responsive */
@media (min-width: 768px) {
    .intro-text {
        font-size: 1.15rem;
        padding: 2rem;
    }
    
    .intro-icon {
        font-size: 1.8rem;
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .intro-text {
        font-size: 1rem;
        padding: 1.2rem;
        text-align: left;
    }
    
    .services-intro {
        padding: 0 1rem;
    }
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--medium-gray);
}

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

.feature {
    text-align: center;
    padding: 30px;
    background-color: var(--dark-gray);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--light-gray);
}

.feature:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.feature i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.feature h3 {
    color: var(--gold);
}

/* Sobre Mí */
.about-me {
    padding: 80px 0;
    background-color: var(--medium-gray);
}

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

.about-text {
    color: #e0e0e0;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.qualification {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--light-gray);
}

.qualification:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.qualification i {
    font-size: 2rem;
    color: var(--gold);
    margin-right: 20px;
    min-width: 40px;
}

.qualification h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.qualification p {
    color: #b0b0b0;
    font-size: 1rem;
    margin-bottom: 0;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--gold);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* Estilo base para todos los dispositivos */
.trainer-name {
    font-size: 1.8rem; /* Tamaño reducido para móvil por defecto */
    color: #fff;
    margin-bottom: 1.2rem;
    position: relative;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.name-highlight {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.name-highlight::after {
    content: '';
    position: absolute;
    bottom: -3px; /* Menor distancia para móvil */
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0.9);
    opacity: 0.7;
}

.title-divider {
    display: block;
    width: 60px; /* Más estrecho para móvil */
    height: 2px; /* Más fino para móvil */
    background: var(--gold);
    margin: 1rem 0; /* Menor margen */
    opacity: 0.6;
}

.intro-text {
    font-size: 1.1rem; /* Tamaño más pequeño para móvil */
    line-height: 1.7; /* Mayor interlineado para legibilidad */
    color: rgba(255,255,255,0.85);
    position: relative;
    padding: 0 1.5rem 0 1.2rem; /* Padding lateral reducido */
    font-style: italic;
    max-width: 100%; /* Ocupa todo el ancho disponible */
    margin-bottom: 1.5rem;
}

.quote-mark {
    position: absolute;
    color: var(--gold);
    font-size: 2.5rem; /* Tamaño reducido */
    opacity: 0.3;
    font-style: normal;
    font-family: serif;
}

.quote-mark.left {
    top: -0.8rem; /* Posición ajustada */
    left: -0.2rem;
}

.quote-mark.right {
    bottom: -2rem; /* Posición ajustada */
    right: -0.2rem;
}

/* Media Queries para tablets (768px en adelante) */
@media (min-width: 768px) {
    .trainer-name {
        font-size: 2.1rem;
        margin-bottom: 1.5rem;
    }
    
    .intro-text {
        font-size: 1.15rem;
        padding: 0 1.8rem;
    }
    
    .quote-mark {
        font-size: 3rem;
    }
}

/* Media Queries para escritorio (992px en adelante) */
@media (min-width: 992px) {
    .trainer-name {
        font-size: 2.3rem;
        letter-spacing: 0.5px;
    }
    
    .name-highlight::after {
        bottom: -5px;
    }
    
    .title-divider {
        width: 80px;
        height: 3px;
        margin: 1.2rem 0;
    }
    
    .intro-text {
        font-size: 1.25rem;
        padding: 0 2rem;
        max-width: 85%;
    }
    
    .quote-mark {
        font-size: 3.5rem;
    }
    
    .quote-mark.left {
        left: -0.5rem;
    }
    
    .quote-mark.right {
        right: -0.5rem;
    }
}

/* Ajuste extra para pantallas muy pequeñas (menos de 400px) */
@media (max-width: 400px) {
    .trainer-name {
        font-size: 1.6rem;
    }
    
    .intro-text {
        font-size: 1rem;
        padding: 0 1rem 0 0.8rem;
    }
    
    .quote-mark {
        font-size: 2rem;
    }
    
    .quote-mark.left {
        top: -0.5rem;
    }
    
    .quote-mark.right {
        bottom: -1.5rem;
    }
}

/* Testimonios */
.testimonials {
    padding: 100px 0;
    background-color: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(0,0,0,0) 50%);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial {
    background-color: var(--medium-gray);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin: 0 20px;
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(0.95);
    position: absolute;
    width: calc(100% - 40px);
    top: 0;
    border: 1px solid var(--light-gray);
}

.testimonial.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    background-color: var(--gold);
}

.author-details {
    flex: 1;
}

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

.author-badge {
    display: inline-block;
    background-color: var(--light-gray);
    color: #b0b0b0;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.testimonial-date {
    color: #999;
    font-size: 0.9rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

.google-reviews-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto 0;
    padding: 15px 30px;
    background-color: var(--gold);
    color: var(--black);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.google-reviews-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.google-reviews-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1538805060514-97d9cc17730c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: var(--gold);
}

/* Sección de Contacto */
.contact-section {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-info h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #b0b0b0;
}

.contact-info i {
    margin-right: 15px;
    color: var(--gold);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.contact-form {
    background-color: var(--medium-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--light-gray);
}

.contact-form h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--light-gray);
    color: #ffffff;
}

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

.map-container {
    height: 400px;
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--light-gray);
}

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

/* Footer simplificado */
.footer-simplified {
    background-color: var(--black);
    color: #b0b0b0;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--light-gray);
}
/* Developer Credit Styling */
.developer-credit {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    color: rgba(212, 175, 55, 0.9); /* Gold with slight transparency */
    text-align: center;
    margin: 2.5rem auto 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(18, 18, 18, 0.7); /* Dark semi-transparent background */
    border-radius: 50px;
    display: inline-block;
    width: auto;
    max-width: 85%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(4px);
    line-height: 1.4;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.developer-credit:hover {
    background: rgba(18, 18, 18, 0.85);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.developer-icon {
    margin-right: 8px;
    vertical-align: middle;
    font-size: 1.15em;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.developer-name {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 2px;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.developer-name::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.developer-name:hover {
    color: #d4af37;
}

.developer-name:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Micro-interaction for attention */
@keyframes creditPulse {
    0%, 100% { opacity: 0.95; }
    50% { opacity: 1; }
}

.developer-credit {
    animation: creditPulse 8s ease infinite;
}

/* Botones flotantes */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.floating-btn.whatsapp {
    background-color: var(--gold);
    color: var(--black);
}

.floating-btn.email {
    background-color: var(--gold-dark);
}

/* Animaciones */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.testimonial.active {
    animation: fadeInScale 0.6s ease forwards;
}

/* Detalles del servicio visible */
.service-details.visible {
    display: block;
}

/* Swipe para testimonios */
.testimonials-slider {
    touch-action: pan-y;
    user-select: none;
}

/* Menú hamburguesa funcionalidad */
.nav-menu {
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--dark-gray);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
    
    .floating-buttons {
        flex-direction: row;
        bottom: 15px;
        right: 15px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .card-buttons {
        flex-direction: column;
    }
    
    .card-buttons .btn:first-child {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .feature {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .qualification {
        flex-direction: column;
    }
    
    .qualification i {
        margin-bottom: 10px;
    }
}

/* Sobre Mí - Estilos generales */
.about-me {
    padding: 60px 0;
    background-color: var(--medium-gray);
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--gold);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.qualification-card {
    background-color: var(--dark-gray);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    display: flex;
    align-items: flex-start;
}

.qualification-card i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 15px;
    margin-top: 3px;
}

.qualification-card h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 5px;
    line-height: 1.4;
}

.institution {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tablet pequeña (ej. 600px en adelante) */
@media (min-width: 600px) {
    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qualification-card {
        padding: 15px;
    }
}

/* Desktop (ej. 992px en adelante) */
@media (min-width: 992px) {
    .about-content {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0;
        flex: 1;
    }
    
    .about-text {
        flex: 1;
    }
    
    .intro-text {
        text-align: left;
        font-size: 1.2rem;
    }
    
    .qualifications-grid {
        grid-template-columns: 1fr;
    }
}

/* Sección Spotify */
.spotify-section {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.spotify-player {
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--gold);
}

.spotify-link {
    text-align: center;
}

.spotify-link .btn {
    padding: 12px 25px;
    font-size: 1.1rem;
}

.spotify-link .fa-spotify {
    margin-right: 10px;
    font-size: 1.3rem;
}
/* Responsive */
@media (max-width: 768px) {
    .spotify-section {
        padding: 60px 0;
    }
    
    .spotify-player {
        margin-bottom: 20px;
    }
    }

@media (max-width: 480px) {
    .spotify-player {
        border-width: 1px;
    }
    
}
/* CSS para el carrusel superpuesto */
.stacked-carousel {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    perspective: 1000px;
}

.carousel-container {
    position: relative;
    height: 500px;
    transform-style: preserve-3d;
}

.carousel-slide {
    position: absolute;
    width: 85%;
    height: 85%;
    top: 7.5%;
    left: 7.5%;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    transform-origin: center;
    border: 3px solid var(--gold);
}

.carousel-slide:nth-child(1) { transform: translateZ(-100px); }
.carousel-slide:nth-child(2) { transform: translateZ(-50px); }
.carousel-slide:nth-child(3) { transform: translateZ(0); }
.carousel-slide:nth-child(4) { transform: translateZ(50px); }

.carousel-slide.active {
    transform: translateZ(100px) scale(1.05);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.3);
    z-index: 10;
}

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

.carousel-prev, .carousel-next {
    background: var(--gold);
    color: var(--black);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover, .carousel-next:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }
    
    .carousel-slide {
        width: 90%;
        height: 90%;
        top: 5%;
        left: 5%;
    }
}
/* Calculadora */
.calculator-section {
    padding: 80px 0;
    background-color: var(--medium-gray);
}

.section-subtitle {
    text-align: center;
    color: var(--gold);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.calculator-form {
    background-color: var(--dark-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--light-gray);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--light-gray);
    color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
}

.calculator-results {
    display: grid;
    gap: 20px;
}

.result-card {
    background-color: var(--dark-gray);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--light-gray);
    text-align: center;
}

.result-card h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.result-category {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 20px;
    min-height: 24px;
}

.result-bar {
    height: 20px;
    background-color: var(--black);
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    overflow: hidden;
}

.bar-segment {
    height: 100%;
    flex-grow: 1;
    position: relative;
}

.bar-segment::after {
    content: attr(title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #b0b0b0;
    white-space: nowrap;
}

.bar-indicator {
    position: absolute;
    top: -5px;
    width: 4px;
    height: 30px;
    background-color: white;
    transform: translateX(-50%);
    z-index: 2;
}

.result-info {
    font-size: 0.9rem;
    color: #b0b0b0;
}

/* Colores para IMC */
.underweight { background-color: #4FC3F7; }
.normal { background-color: #66BB6A; }
.overweight { background-color: #FFA726; }
.obese { background-color: #EF5350; }

/* Colores para PMC */
.essential { background-color: #5C6BC0; }
.athlete { background-color: #26A69A; }
.fitness { background-color: #66BB6A; }
.average { background-color: #FFA726; }
.high { background-color: #EF5350; }

.category-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.calculator-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background-color: var(--dark-gray);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--light-gray);
}

.info-card h3 {
    color: var(--gold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-card h3 i {
    margin-right: 10px;
}

.info-card p {
    margin-bottom: 15px;
}

.bmi-categories, .bfp-tables {
    margin-top: 20px;
}

.bmi-categories li, .bfp-table li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.bfp-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bfp-table h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1rem;
}

.calculator-disclaimer {
    text-align: center;
    padding: 20px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px solid var(--gold);
}

.calculator-disclaimer p {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .calculator-container, .calculator-info {
        grid-template-columns: 1fr;
    }
    
    .calculator-form {
        order: 1;
    }
    
    .calculator-results {
        order: 2;
        grid-template-columns: 1fr 1fr;
    }
    
    .calculator-info {
        order: 3;
    }
    
    .calculator-disclaimer {
        order: 4;
    }
}

@media (max-width: 768px) {
    .calculator-results, .bfp-tables {
        grid-template-columns: 1fr;
    }
    
    .result-card {
        margin-bottom: 20px;
    }
    
    .bfp-table {
        margin-bottom: 20px;
    }
}
