:root {
    --black: #0a0a0a;
    --black-light: #141414;
    --black-medium: #1a1a1a;
    --yellow: #FFD700;
    --yellow-dark: #E6C200;
    --yellow-glow: rgba(255, 215, 0, 0.3);
    --white: #ffffff;
    --gray: #888888;
    --gray-light: #cccccc;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

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

.highlight {
    color: var(--yellow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--yellow);
}

.nav-cta {
    background: var(--yellow);
    color: var(--black);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hero */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;   /* deja de centrar verticalmente */
    justify-content: center;   /* sigue centrando horizontalmente */
    padding-top: 140px;        /* espacio fijo y garantizado debajo del navbar */
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--yellow);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow);
}

.hero-title {
    font-size: clamp(2rem, 7vw, 7rem);
    line-height: 0.95;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    font-weight: 300;
}

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

/* Login de alumnos (hero) */
.hero-login {
    display: flex;
    justify-content: center;
    margin: 10px 0 50px;
}

.login-box {
    width: 100%;
    max-width: 640px;
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    padding: 28px 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.login-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
}

.login-box-header i {
    font-size: 16px;
}

.login-alert {
    display: none;
    background: rgba(255, 70, 70, 0.1);
    border: 1px solid rgba(255, 70, 70, 0.4);
    color: #ff8080;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    text-align: center;
}

.login-alert.is-visible {
    display: block;
}

.login-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.login-form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.login-field {
    flex: 1 1 160px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-field label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-light);
}

.login-field input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-field input::placeholder {
    color: var(--gray);
}

.login-field input:focus {
    outline: none;
    border-color: var(--yellow);
    background: rgba(255, 215, 0, 0.06);
    box-shadow: 0 0 0 3px var(--yellow-glow);
}

.login-submit {
    flex: 1 1 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    white-space: nowrap;
}

.login-captcha {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    transform: scale(0.92);
    transform-origin: center;
}

.login-hint {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--gray);
    text-align: center;
    font-weight: 300;
}

.btn {
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--yellow-glow);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--yellow);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--yellow), transparent);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.5); }
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    color: var(--yellow);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    color: var(--gray-light);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature i {
    font-size: 24px;
    color: var(--yellow);
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.feature p {
    color: var(--gray);
    font-size: 14px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--yellow);
    border-radius: 20px;
    z-index: -1;
}

/* Staff */
.staff-section {
    margin-top: 100px;
    text-align: center;
}

.staff-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 50px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.staff-photo {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--black-medium);
    border: 2px solid var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.staff-card:hover .staff-photo {
    box-shadow: 0 10px 30px var(--yellow-glow);
    transform: translateY(-6px);
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.staff-placeholder-icon {
    position: absolute;
    font-size: 60px;
    color: var(--gray);
    z-index: 0;
}

.staff-name {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

/* Mission */
.mission {
    background: var(--black-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mission-card {
    background: var(--black-medium);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--yellow);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.mission-icon i {
    font-size: 32px;
    color: var(--yellow);
}

.mission-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-card p {
    color: var(--gray-light);
    line-height: 1.8;
}

/* Schedule */
.schedule {
    background: linear-gradient(135deg, var(--black-light) 0%, var(--black) 100%);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-card {
    background: var(--black-medium);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    border-color: var(--yellow);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.schedule-day {
    margin-bottom: 25px;
}

.schedule-day i {
    font-size: 28px;
    color: var(--yellow);
    margin-bottom: 15px;
}

.schedule-day h4 {
    font-size: 1.8rem;
}

.schedule-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.time {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--yellow);
    line-height: 1;
}

.separator {
    font-size: 1.2rem;
    color: var(--gray);
}

.period {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Products */
.products {
    background: var(--black);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--black-medium);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--black-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.product-placeholder-icon {
    position: absolute;
    font-size: 50px;
    color: var(--gray);
    z-index: 0;
}

.product-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--yellow);
    color: var(--black);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.product-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-name {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.5;
    margin-bottom: 4px;
}

.product-name strong {
    color: var(--white);
}

.product-rating {
    font-size: 13px;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating i {
    color: var(--yellow);
    font-size: 12px;
}

.product-sold {
    color: var(--gray);
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.product-old-price {
    color: var(--gray);
    font-size: 13px;
    text-decoration: line-through;
}

.product-discount {
    background: rgba(255, 215, 0, 0.15);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
}

.product-price {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.2rem;
    color: var(--white);
    line-height: 1;
    margin-top: 2px;
}

.product-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 16px;
    background: #25D366;
    color: var(--black);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.product-whatsapp-btn i {
    font-size: 16px;
}

.product-whatsapp-btn:hover {
    background: var(--yellow);
    transform: translateY(-2px);
}

.product-installments {
    font-size: 12px;
    color: var(--gray);
}

.product-shipping {
    font-size: 12px;
    color: var(--yellow);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Contact */
.contact {
    background: var(--black-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-item i {
    font-size: 24px;
    color: var(--yellow);
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray-light);
    line-height: 1.6;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--black-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
    display: block;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.footer-logo p {
    color: var(--gray);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

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

.footer-social a:hover {
    background: var(--yellow);
    color: var(--black);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 13px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        order: -1;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
    }

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

    .nav-link {
        font-size: 24px;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .hero {
        align-items: flex-start;
        padding-top: 100px;
        min-height: 100svh;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-stats {
        gap: 30px;
    }

    .login-box {
        padding: 22px 18px;
    }

    .login-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .login-field {
        flex: 0 1 auto;
    }

    .login-submit {
        flex: 0 1 auto;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 80px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .mission-card {
        padding: 30px 25px;
    }

    .schedule-card {
        padding: 30px 20px;
    }

    .time {
        font-size: 2.2rem;
    }

    .staff-photo {
        width: 120px;
        height: 120px;
    }

    .staff-placeholder-icon {
        font-size: 45px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}