/* ===== site.css ===== */
:root {
    --primary: #eb9626;
    --primary-light: #ffd68a;
    --secondary: #FAF3EB;
    --dark: #2B2825;
    --light: #f8f9fa;
    --card-bg: #1a1e23;
    --professional-blue: #1e3a8a;
    --professional-gray: #64748b;
    --success-green: #059669;
    --border-light: #e2e8f0;

    --bs-primary: #eb9626;
    --bs-primary-rgb: 235, 150, 38;
    --bs-secondary: #FAF3EB;
    --bs-secondary-rgb: 250, 243, 235;
    --bs-dark: #2B2825;
    --bs-dark-rgb: 43, 40, 37;
    --bs-light: #f8f9fa;
    --bs-light-rgb: 248, 249, 250;
    --bs-font-sans-serif: "Open Sans", sans-serif;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--dark);
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
    line-height: 1.2;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--dark) !important;
}

.btn-primary:hover {
    background-color: #d4851f !important;
    border-color: #d4851f !important;
    color: var(--dark) !important;
}

.btn-primary:focus,
.btn-primary:active {
    background-color: #c07518 !important;
    border-color: #c07518 !important;
    box-shadow: 0 0 0 0.25rem rgba(235, 150, 38, 0.5) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.text-primary-light {
    color: var(--primary-light) !important;
}

.border-primary-light {
    border-color: var(--primary-light) !important;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ── Título de sección con decoración naranja (global) ─────────────── */
.section-title {
    padding-bottom: 1.2rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 10px;
    left: 50%;
    bottom: 0;
    margin-left: -30px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 180px;
    height: 2px;
    left: 50%;
    bottom: 4px;
    margin-left: -90px;
    background: var(--primary);
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    z-index: 9999;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: bottom 0.35s cubic-bezier(.42, 0, .58, 1), transform 0.25s, box-shadow 0.2s;
    border: 3px solid #fff;
    bottom: 32px;
    text-decoration: none !important;
}

    .whatsapp-float:hover, .whatsapp-float:focus, .whatsapp-float:active {
        transform: scale(1.08);
        box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
        text-decoration: none !important;
        color: #fff;
    }

.back-to-top {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #ec9800;
    color: #fff;
    border-radius: 12px;
    font-size: 2.4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    border: none;
    bottom: 32px;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s, bottom 0.4s;
}

    .back-to-top.show {
        opacity: 1;
        pointer-events: auto;
    }

.whatsapp-float.up {
    bottom: 106px;
}

.whatsapp-float.down {
    bottom: 32px;
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 68px !important;
        height: 68px !important;
        font-size: 2.5rem !important;
    }

    .back-to-top {
        border-radius: 10px;
        right: 26px;
        bottom: 18px;
        width: 54px;
        height: 54px;
        font-size: 2rem;
    }

    .whatsapp-float {
        right: 18px;
    }

        .whatsapp-float.up {
            bottom: 78px !important;
        }

        .whatsapp-float.down {
            bottom: 18px !important;
        }
}

/* ===== header.css ===== */
.site-header {
    position: relative;
    z-index: 1000;
}

.navbar {
    padding: clamp(12px, 2vw, 18px) 0;
    min-height: 70px;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Oswald', sans-serif;
    padding: 30px 15px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: color 0.2s ease;
    position: relative;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--primary);
}

.navbar-brand {
    transition: none;
}

.logo-mobile,
.logo-desktop {
    width: clamp(55px, 8vw, 95px);
    height: auto;
}

.navbar-toggler {
    padding: 4px 8px;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s ease;
}

.navbar-toggler:hover {
    border-color: var(--primary);
}

.navbar-toggler:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: none;
}

.navbar-collapse {
    transition: none !important;
}

.navbar-collapse.collapsing {
    transition: height 0.25s ease !important;
}

.btn-portal-estudiante {
    align-items: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--dark);
    background-color: var(--primary);
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-portal-estudiante:hover,
.btn-portal-estudiante:focus {
    background-color: #d4851f;
    color: var(--dark);
    transform: translateY(-1px);
}

.btn-portal-estudiante:focus-visible {
    outline: 2px solid var(--light);
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-dark .navbar-nav .nav-link:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .navbar-collapse {
        padding-bottom: 1rem;
    }

    .portal-estudiante-mobile-wrap {
        padding-top: 0.9rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.7rem;
    }

    .portal-estudiante-mobile-wrap .btn-portal-estudiante {
        display: inline-flex;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-brand img {
        width: 70px;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 16px;
        padding: 12px 0;
    }
}

@media (max-width: 575px) {
    .navbar-brand img {
        width: 55px;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 16px;
        padding: 8px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

.navbar-nav .nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.hero-fitness {
    position: relative;
    min-height: 70vh;
    background: #2B2825 center center/cover no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-fitness::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 16, 0.40);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(10px, 2vw, 20px) 20px;
    min-height: 50vh;
    font-family: 'Oswald', sans-serif;
}

.hero-title {
    color: var(--primary-light);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 8.5vw, 65px);
    margin-bottom: clamp(8px, 1.2vw, 20px);
    line-height: 1.2;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
    letter-spacing: clamp(0.3px, 0.08vw, 1.5px);
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
}

.hero-title-line1,
.hero-title-line2 {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1.1;
}

.hero-title-line1 {
    margin-bottom: clamp(2px, 0.4vw, 6px);
}

.hero-h1 {
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-main {
    display: block;
    color: #fff;
    font-size: clamp(55px, 11vw, 120px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: clamp(8px, 1.2vw, 20px);
    text-shadow: 0 2px 20px rgba(0,0,0,0.7);
    letter-spacing: clamp(0.3px, 0.12vw, 2px);
    text-transform: uppercase;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background: var(--primary-light);
    color: var(--dark);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 4.2vw, 36px);
    padding: clamp(13px, 1.8vw, 28px) clamp(26px, 4.5vw, 68px);
    border-radius: clamp(25px, 4vw, 50px);
    border: none;
    margin-top: clamp(10px, 1.8vw, 28px);
    box-shadow: 0 2px 12px rgba(255, 214, 138, 0.4);
    text-transform: uppercase;
    letter-spacing: clamp(0.2px, 0.06vw, 1.5px);
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    max-width: 82%;
    text-align: center;
    overflow: hidden;
    word-break: keep-all;
}

.hero-btn:hover {
    background: #ffeaaf;
    color: #222;
    transform: translateY(-1px);
}

@media (max-width: 755px) and (min-width: 481px) {
    .hero-title {
        font-size: clamp(30px, 7.5vw, 46px) !important;
        letter-spacing: clamp(0.2px, 0.06vw, 1.2px) !important;
        max-width: 96% !important;
        line-height: 1.25 !important;
    }

    .hero-main {
        font-size: clamp(44px, 9.5vw, 85px) !important;
        letter-spacing: clamp(0.2px, 0.08vw, 1.8px) !important;
    }

    .hero-btn {
        font-size: clamp(16px, 3.8vw, 28px) !important;
        letter-spacing: clamp(0.1px, 0.04vw, 1.2px) !important;
        padding: clamp(10px, 1.4vw, 20px) clamp(18px, 3.5vw, 45px) !important;
        max-width: 78% !important;
    }
}

@media (max-width: 480px) {
    .hero-fitness {
        min-height: 65vh;
    }

    .hero-content {
        min-height: 50vh;
        padding: 8px 10px;
    }

    .hero-title {
        font-size: clamp(32px, 8.5vw, 40px) !important;
        max-width: 96% !important;
        letter-spacing: clamp(0.2px, 0.08vw, 1px) !important;
    }

    .hero-main {
        font-size: clamp(50px, 11vw, 65px) !important;
        max-width: 98% !important;
        letter-spacing: clamp(0.2px, 0.1vw, 1.5px) !important;
    }

    .hero-btn {
        font-size: clamp(18px, 4vw, 24px) !important;
        padding: clamp(11px, 1.6vw, 16px) clamp(22px, 4.2vw, 32px) !important;
        max-width: 80% !important;
        letter-spacing: clamp(0.1px, 0.05vw, 1px) !important;
    }
}

@media (max-width: 360px) {
    .hero-content {
        padding: 6px 6px;
    }

    .hero-title {
        font-size: 28px !important;
        letter-spacing: 0.2px !important;
    }

    .hero-main {
        font-size: 46px !important;
        letter-spacing: 0.2px !important;
    }

    .hero-btn {
        font-size: 15px !important;
        padding: 8px 16px !important;
        max-width: 78% !important;
        letter-spacing: 0.1px !important;
    }
}

.peru-flag-text {
    background: linear-gradient(90deg, #ff2a3a 33%, #fff 34% 66%, #ff2a3a 67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    .hero-btn,
    .navbar-brand img {
        transition: none;
    }
}

.hero-fitness {
    content-visibility: auto;
    contain-intrinsic-size: 70vh;
}

/* ===== footer.css ===== */
.site-footer {
    background: var(--dark);
    border-top: 4px solid var(--primary);
}

#footerPrincipal {
    background: inherit;
}

#footerPrincipal .container {
    padding-top: 0;
    padding-bottom: 0;
}

.footer-main-col {
    margin-bottom: 0;
}

.footer-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    background: var(--primary);
    padding: 2rem;
    border-radius: 0;
}

.footer-brand .navbar-brand {
    text-decoration: none;
}

.footer-logo {
    margin: 0;
    text-transform: uppercase;
    color: white;
    font-family: 'Oswald', sans-serif;
}

.footer-logo i {
    color: var(--dark);
}

.footer-about p {
    margin-top: 1rem;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-content-col {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-section-title {
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-contact-info {
    font-style: normal;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 0.75rem;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--primary);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact-item p {
    margin-bottom: 0;
    color: var(--secondary);
    font-size: 0.95rem;
}

.contact-link {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-social-links {
    display: flex;
    margin-top: 1.5rem;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 45px;
    height: 45px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-btn.facebook {
    background: #1877F2;
}

.footer-social-btn.facebook:hover {
    background: #155BB5;
    color: white;
    transform: scale(1.05);
}

.footer-social-btn.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.footer-social-btn.instagram:hover {
    background: linear-gradient(45deg, #E1751F, #C91F69, #6D2C9A, #4145C4);
    color: white;
    transform: scale(1.05);
}

.footer-social-btn.youtube {
    background: #FF0000;
}

.footer-social-btn.youtube:hover {
    background: #CC0000;
    color: white;
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-link i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.renade-document {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.renade-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.renade-link:hover {
    color: #666;
    text-decoration: underline;
}

.renade-link i {
    color: #dc3545;
}

.footer-quality-info {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.quality-features {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.quality-item i {
    color: var(--primary);
    font-size: 1rem;
}

.certification-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footerCopyright {
    background: #1c1916;
    padding: 1rem 0;
}

#footerCopyright .container {
    text-align: center;
}

.copyright-text {
    margin-bottom: 0;
    color: var(--secondary);
    font-size: 0.9rem;
}

.copyright-text a {
    color: var(--secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.copyright-text a:hover {
    border-bottom-color: var(--primary);
}

@media (min-width: 1200px) {
    .footer-main-content {
        padding: 3rem 2.5rem;
    }

    .footer-content-col {
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .footer-section-title {
        font-size: 1.2rem;
        margin-bottom: 1.75rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #footerPrincipal .row {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-main-col {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .footer-main-content {
        padding: 2rem 1.5rem;
        height: 100%;
    }

    .footer-about p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .footer-content-wrapper {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .footer-content-col {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
        padding-left: 1.25rem;
        padding-right: 1rem;
    }

    .footer-section-title {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
    }

    .footer-contact-item,
    .footer-link {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .footer-recognition {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .footer-social-links {
        margin-top: 1.25rem;
        gap: 0.6rem;
    }

    .footer-social-btn.facebook {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-social-btn.instagram {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-social-btn.youtube {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-main-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0;
    }

    .footer-main-content {
        padding: 2.5rem 2rem;
        margin-bottom: 0;
    }

    .footer-about p {
        font-size: 0.95rem;
        margin-top: 1.25rem;
    }

    .footer-content-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-content-wrapper .row {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }

    .footer-content-col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding: 1.5rem 0.75rem;
    }

    .footer-section-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-contact-item,
    .footer-link,
    .footer-recognition {
        font-size: 0.85rem;
    }

    .footer-contact-item {
        margin-bottom: 0.5rem;
    }

    .footer-link {
        margin-bottom: 0.4rem;
    }

    .footer-social-links {
        margin-top: 1rem;
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .footer-social-btn.facebook {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .footer-social-btn.instagram {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .footer-social-btn.youtube {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .footer-main-content {
        padding: 2rem 1.5rem;
    }

    .footer-content-col {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1.25rem 1rem;
        text-align: left;
    }

    .footer-section-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .footer-contact-item {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-links {
        align-items: flex-start;
    }

    .footer-recognition {
        text-align: center;
        padding: 0 1rem;
    }

    .footer-social-links {
        justify-content: center;
        margin-top: 1.25rem;
    }
}

@media (max-width: 575px) {
    .footer-main-content {
        padding: 1.5rem 1rem;
    }

    .footer-logo {
        font-size: 1.8rem;
    }

    .footer-content-col {
        padding: 1rem 0.75rem;
    }

    .footer-section-title {
        font-size: 1rem;
    }

    .footer-contact-item,
    .footer-link,
    .footer-recognition {
        font-size: 0.9rem;
    }

    .footer-social-btn.facebook {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .footer-social-btn.instagram {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .footer-social-btn.youtube {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
