@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald-v57-latin/oswald-v57-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald-v57-latin/oswald-v57-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald-v57-latin/oswald-v57-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald-v57-latin/oswald-v57-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-v31-latin/montserrat-v31-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-v31-latin/montserrat-v31-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-v31-latin/montserrat-v31-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-v31-latin/montserrat-v31-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    background-color: #f4f4f4;
    font-size: 16px;
}

/* Tipografía para títulos */
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.2;
    color: #2c3e50;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #2c3e50;
}

h4 {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

h5 {
    font-size: 1.2rem;
}

p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

/* Header */
.main-header {
    background: #fff;
    color: #333;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    flex-shrink: 0;
}

.logo-img {
    width: 120px !important;
    height: auto !important;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block !important;
    object-fit: cover;
}

.logo-text .site-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #ff6b35;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-text .subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Navegación */
.main-nav {
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 3rem;
    cursor: pointer;
    padding: 10px;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu li a:hover {
    background-color: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.dropdown-menu li a:hover {
    background-color: #ff6b35;
    color: #fff;
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.62), rgba(44, 62, 80, 0.62));
    z-index: 1;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

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

.hero h1,
.hero h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
    color: #f7fbff;
}

.hero h3,
.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #ff8a5c;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 2px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.28);
}

.hero p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

.hero-preparador-fisico {
    background: #2c3e50;
}

.hero-boxeo-sin-contacto .hero-media {
    object-position: center calc(50% + 40px);
}

.hero-preparador-fisico .hero-media {
    object-fit: contain;
}

@media (min-width: 769px) {
    .hero-mi-cv,
    .hero-opiniones,
    .hero-sobre-mi,
    .hero-disciplinas,
    .hero-galeria,
    .hero-boxeo-kickboxing,
    .hero-boxeo-sin-contacto,
    .hero-mma,
    .hero-fitness,
    .hero-preparador-fisico,
    .hero-entrenador-personal,
    .hero-servicios,
    .hero-asesoramiento {
        background-attachment: initial;
    }
}

/* Botones */
.btn, 
.btn-primary, 
.btn-secondary {
    font-family: 'Montserrat', sans-serif;
    display: inline-block !important;
    padding: 15px 40px !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin: 10px !important;
    border: none !important;
    cursor: pointer !important;
    background-color: #ff6b35 !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    letter-spacing: 1.5px !important;
}

.btn:hover, 
.btn-primary:hover, 
.btn-secondary:hover {
    background-color: #e55a2a !important;
    color: #fff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(255,107,53,0.4) !important;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.whatsapp-float.show {
    display: flex;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Botón WhatsApp inline */
.btn-whatsapp {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    padding: 12px 25px;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: #fff;
}

/* Secciones */
.section {
    padding: 80px 0;
    background-color: #fff;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 1.6rem;
    color: #ff6b35;
    margin-bottom: 50px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Grid de contenido */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.content-card h3,
.content-card h4 {
    font-family: 'Montserrat', sans-serif;
    color: #ff6b35;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.content-card ul {
    padding-left: 1.4rem;
    margin: 0 0 1.5rem;
}

.content-card li {
    margin-bottom: 0.55rem;
}

.content-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-top: 1rem;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    background: #111;
}

.content-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lite-yt {
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lite-yt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.26));
    transition: background 0.25s ease;
    z-index: 1;
}

.lite-yt:hover::before,
.lite-yt:focus-within::before {
    background: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12));
}

.lite-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.78);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.lite-yt-play:hover,
.lite-yt-play:focus-visible {
    transform: translate(-50%, -50%) scale(1.06);
    background: #ff6b35;
    outline: none;
}

.lite-yt-play-icon {
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid #fff;
    margin-left: 3px;
}

/* Precios */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.pricing-card:hover {
    border-color: #ff6b35;
    transform: scale(1.05);
}

.pricing-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: 2px;
}

.pricing-card .price {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    color: #ff6b35;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pricing-card ul li:before {
    content: "✓ ";
    color: #ff6b35;
    font-weight: bold;
}

/* Testimonios */
.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border-left: 4px solid #ff6b35;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial .author {
    font-weight: bold;
    color: #ff6b35;
    text-align: right;
}

/* Formulario de contacto */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

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

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-family: 'Oswald', sans-serif;
    color: #ff6b35;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #fff;
}

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

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b35;
}

.btn-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
}

.btn-link:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f58529 0%, #f56040 25%, #fd1d1d 50%, #c13584 75%, #833ab4 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 14px rgba(193, 53, 132, 0.35);
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(131, 58, 180, 0.35);
    filter: saturate(1.08) brightness(1.03);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

/* Galería Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

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

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #ff6b35;
}

/* Carrusel de galería */
.gallery-carousel {
    position: relative;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    background: #000;
}

.carousel-image {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 4px;
}

.carousel-image.active {
    display: block;
}

.carousel-dots {
    text-align: center;
    padding: 20px;
    background: #000;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #ff6b35;
}

.dot:hover {
    background-color: #ff6b35;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
        gap: 0;
    }
    
    .logo {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        margin-bottom: 0;
    }
    
    .logo-img {
        width: 80px;
        max-width: 100%;
        height: auto;
    }
    
    .logo-text .site-name {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }
    
    .logo-text .subtitle {
        font-size: 0.65rem;
    }
    
    .menu-toggle {
        display: block;
        position: relative;
        margin: 8px auto 0;
        transform: none;
        font-size: 2.2rem;
        padding: 5px;
    }
    
    .main-header.scrolled .logo {
        display: none;
    }
    
    .main-header.scrolled .menu-toggle {
        margin: 8px auto 8px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        flex-direction: column;
        width: 280px;
        padding: 25px;
        border-radius: 0 0 4px 4px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin-bottom: 5px;
    }
    
    .nav-menu li a {
        font-size: 1rem;
        padding: 12px 18px;
    }
    
    /* Dropdown en móviles */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 5px;
        border-left: 3px solid #ff6b35;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 80px 0;
        background-size: cover;
        background-position: center;
    }

    .hero-mi-cv {
        background-position: center top;
    }

    .hero-opiniones {
        background-position: center 22%;
    }

    .hero-sobre-mi {
        background-position: center 18%;
    }

    .hero-disciplinas {
        background-position: center 30%;
    }

    .hero-galeria {
        background-position: center 24%;
    }

    .hero-boxeo-kickboxing {
        background-position: center 28%;
    }

    .hero-boxeo-sin-contacto {
        background-position: center calc(35% + 40px);
    }

    .hero-mma {
        background-position: center 26%;
    }

    .hero-fitness {
        background-position: center 30%;
    }

    .hero-preparador-fisico {
        background-position: center 24%;
    }

    .hero-entrenador-personal {
        background-position: center 34%;
    }

    .hero-servicios {
        background-position: center 34%;
    }

    .hero-asesoramiento {
        background-position: center 28%;
    }
    
    .hero h1,
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Fallback de contraste para asegurar legibilidad del titulo hero en todas las paginas */
.hero > .container > h1,
.hero > .container > h2 {
    color: #f7fbff !important;
    -webkit-text-fill-color: #f7fbff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.38) !important;
}
