/* GABRIEL ROJAS COACH - ESTILO DSL STUDIO */

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

:root {
    --verde: #7A9B76;
    --beige: #E8DCC4;
    --dorado: #E8DCC4;
    --oscuro: #1A1A1A;
    --claro: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--oscuro);
    color: var(--claro);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 0;
}

/* Espaciado para compensar navbar fijo */
section {
    scroll-margin-top: 200px;
}

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

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 120px;
    width: 120px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--claro);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--beige);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 16rem 3rem 4rem;
    background: var(--oscuro);
    position: relative;
}

/* Hero de inicio (index.html) - menos padding */
.hero#inicio {
    padding-top: 13rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    background: transparent;
    color: var(--claro);
    padding: 0.5rem 0;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.6rem 1.8rem;
    text-transform: uppercase;
    display: inline-block;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    text-align: left;
}

.gradient-text {
    background: linear-gradient(90deg, var(--verde) 0%, var(--dorado) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--verde);
    color: var(--claro);
}

.btn-primary:hover {
    background: #6A8B66;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(122, 155, 118, 0.4);
}

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

.btn-outline:hover {
    background: var(--claro);
    color: var(--oscuro);
}

/* STATS SECTION */
.stats-section {
    padding: 4rem 3rem;
    background: var(--oscuro);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 3rem 4rem;
    border: 3px solid var(--verde);
    border-radius: 200px;
    background: rgba(122, 155, 118, 0.05);
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-item .stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--verde);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item .stat-number::after {
    content: '+';
    font-size: 0.7em;
}

.stat-item:nth-child(2) .stat-number::after {
    content: '%';
}

.stat-item .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
}

/* LOGOS */
.logos-section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logos-title {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logos-marquee {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-item {
    font-weight: 700;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
}

/* PÁGINAS INTERNAS - ESPACIADO EXTRA */
/* Estas páginas necesitan más espacio superior porque tienen títulos más grandes */
.servicios-hero,
.blog-hero {
    padding-top: 16rem !important;
}

/* Testimonios y Sobre Mi necesitan más espacio (como Academy) */
.testimonios-hero,
.about-hero {
    padding-top: 18rem !important;
}

/* SERVICIOS */
.servicios {
    padding: 8rem 0;
    background: var(--oscuro);
}

.servicios-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--verde), var(--dorado));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(122, 155, 118, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.servicio-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--beige);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-icon {
    opacity: 1;
    transform: scale(1.1);
}

.servicio-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--claro);
    font-weight: 700;
}

.servicio-card p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.servicio-card ul {
    list-style: none;
    padding: 0;
}

.servicio-card ul li {
    color: rgba(255, 255, 255, 0.6);
    padding: 0.6rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.servicio-card ul li:before {
    content: "→";
    color: var(--verde);
    font-weight: bold;
}

/* VIDEOS SECTION */
.videos-section {
    padding: 8rem 0;
    background: var(--oscuro);
}

.videos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.videos-category {
    margin-bottom: 8rem;
}

.videos-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 4rem;
}

.category-badge {
    display: inline-block;
    background: rgba(122, 155, 118, 0.15);
    color: var(--verde);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(122, 155, 118, 0.3);
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--claro);
}

.category-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.videos-grid.pyramid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.videos-grid.pyramid .video-row-top {
    display: flex;
    justify-content: center;
}

.videos-grid.pyramid .video-row-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.videos-grid.single {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.video-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(122, 155, 118, 0.4);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio for horizontal videos */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card h3 {
    padding: 1.5rem 2rem 0.5rem;
    font-size: 1.25rem;
    color: var(--claro);
    font-weight: 700;
}

.video-card p {
    padding: 0 2rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

.video-card.featured {
    border: 2px solid var(--verde);
}

/* CASOS */
.casos {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.03);
}

.casos .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.caso-card {
    background: var(--oscuro);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.caso-tag {
    background: rgba(122, 155, 118, 0.2);
    color: var(--verde);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.caso-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.caso-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.caso-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
}

.caso-stats div strong {
    color: var(--dorado);
    font-size: 1.5rem;
    display: block;
}

/* TESTIMONIOS */
.testimonios {
    padding: 8rem 0;
}

.testimonio-card {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
}

.testimonio-card.active {
    display: block;
}

.testimonio-texto {
    font-size: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonio-autor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.testimonio-autor strong {
    font-size: 1.25rem;
    color: var(--dorado);
}

.testimonio-autor span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.testimonios-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--claro);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--verde);
    border-color: var(--verde);
}

/* FREE TOOL */
.free-tool {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(122, 155, 118, 0.1), rgba(212, 175, 55, 0.1));
    text-align: center;
}

.tool-badge {
    background: rgba(212, 175, 55, 0.2);
    color: var(--dorado);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
}

.free-tool h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.free-tool p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.tool-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.tool-stats div {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.tool-stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--dorado);
    margin-bottom: 0.25rem;
}

/* CTA FINAL */
.cta-final {
    padding: 8rem 0;
    text-align: center;
}

.cta-badge {
    color: var(--verde);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.cta-final h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-final p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FOOTER */
.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 0;
}

.footer-logo-center {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.footer-logo-center img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(122, 155, 118, 0.3));
    transition: transform 0.3s ease;
}

.footer-logo-center img:hover {
    transform: scale(1.1);
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--claro);
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--claro);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--claro);
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.1);
}

.footer-social a svg {
    width: 22px;
    height: 22px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-col ul li a:hover {
    color: var(--dorado);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0.5rem 0;
}

.footer-legal a {
    color: rgba(232, 220, 196, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-container-legal {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.legal-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: rgba(232, 220, 196, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

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

.copyright {
    color: rgba(232, 220, 196, 0.5);
    font-size: 0.875rem;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 10px;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: #128C7E;
}

.whatsapp-float svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

.whatsapp-float span {
    white-space: nowrap;
    color: white;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        padding: 8px 14px 8px 8px;
        font-size: 13px;
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .whatsapp-float svg {
        width: 35px;
        height: 35px;
        padding: 4px;
    }
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-badge {
        margin: 0 auto 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats-container {
        padding: 2rem;
        border-radius: 50px;
    }
    
    .videos-grid.pyramid .video-row-top,
    .videos-grid.pyramid .video-row-bottom {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .legal-content {
        flex-direction: column;
        text-align: center;
    }
    
    .servicios-grid,
    .casos .container {
        grid-template-columns: 1fr;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .logos-marquee {
        gap: 2rem;
    }
    
    .tool-stats {
        gap: 1.5rem;
    }
}

/* BOTÓN MENÚ MÓVIL */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--beige);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--oscuro);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        border-top: 1px solid rgba(122, 155, 118, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem;
        width: 100%;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
}

/* ACADEMY COURSE CARDS */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.course-card {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(122, 155, 118, 0.3);
    border-color: var(--verde);
}

.course-thumbnail {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--verde) 0%, var(--oscuro) 100%);
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.course-content {
    padding: 2rem;
}

.course-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--verde), var(--beige));
    color: var(--oscuro);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--claro);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.course-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-duration,
.course-students {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .course-thumbnail {
        height: 200px;
    }
    
    .course-content {
        padding: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN PREMIUM - OPTIMIZACIÓN COMPLETA
   ============================================ */

/* TABLET LANDSCAPE - 1024px */
@media (max-width: 1024px) {
    /* Container */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Hero */
    .hero {
        padding: 7rem 2rem 3rem;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Servicios Grid */
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Community Grid */
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Programs Grid */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* TABLET PORTRAIT - 768px */
@media (max-width: 768px) {
    /* Typography */
    body {
        font-size: 15px;
    }
    
    /* Navbar */
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .logo-image {
        height: 60px;
        width: 60px;
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
    }
    
    .hero-image {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-badge {
        margin: 0 auto 2rem;
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-button,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
        border-radius: 25px;
    }
    
    .stat h3 {
        font-size: 2.5rem;
    }
    
    .stat p {
        font-size: 0.95rem;
    }
    
    /* Servicios */
    .servicios-section {
        padding: 4rem 1.5rem;
    }
    
    .section-header h2 {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .servicios-container {
        padding: 0 1rem;
    }
    
    .servicio-card {
        padding: 2.5rem 2rem;
        margin: 0;
    }
    
    .servicio-icon {
        font-size: 2.5rem;
    }
    
    .servicio-card h3 {
        font-size: 1.4rem;
    }
    
    /* Community */
    .community-section {
        padding: 4rem 1.5rem;
    }
    
    .community-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    
    .community-subtitle {
        font-size: 1rem;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .community-card {
        padding: 2rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .community-card h3 {
        font-size: 1.3rem;
    }
    
    /* Testimonios */
    .testimonios-section {
        padding: 4rem 1.5rem;
    }
    
    .testimonio-card {
        padding: 2rem;
    }
    
    .testimonio-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .testimonio-autor {
        font-size: 1rem;
    }
    
    .testimonio-cargo {
        font-size: 0.85rem;
    }
    
    /* Video Section */
    .video-section {
        padding: 4rem 1.5rem;
    }
    
    .video-grid {
        gap: 1.5rem;
    }
    
    .video-card {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 1.5rem 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-column h4 {
        margin-bottom: 1rem;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Academy Courses */
    .courses-section {
        padding: 4rem 1.5rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* MOBILE LARGE - 480px */
@media (max-width: 480px) {
    /* Typography */
    body {
        font-size: 14px;
    }
    
    /* Navbar */
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-image {
        height: 50px;
        width: 50px;
    }
    
    /* Hero */
    .hero {
        padding: 5rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
    }
    
    /* Buttons */
    .cta-button,
    .cta-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Stats */
    .stat h3 {
        font-size: 2rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Cards */
    .servicio-card,
    .community-card,
    .testimonio-card,
    .course-card {
        padding: 1.5rem;
    }
    
    .servicio-card h3,
    .community-card h3 {
        font-size: 1.2rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 1rem 1.5rem;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
    
    .footer-logo p {
        font-size: 0.85rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* MOBILE SMALL - 375px */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .cta-button,
    .cta-secondary {
        font-size: 0.85rem;
        padding: 0.8rem 1.2rem;
    }
}

/* LANDSCAPE MOBILE - altura máxima 500px */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 2rem 2rem;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* UTILITY CLASSES RESPONSIVE */
.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    
    .show-mobile {
        display: block;
    }
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.whatsapp-text {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Animación de flotación y pulso */
@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    }
}

/* Responsive móvil */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 8px 14px;
        gap: 8px;
        border-radius: 50px;
    }
    
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-text {
        font-size: 0.85rem;
        font-weight: 700;
    }
}