/* Base brand styles - GoFitness */
:root {
    --brand-black: #000000;
    --brand-orange: #f76405;
}

body {
    background-color: #f8f9fa;
    /* very light */
}

.bg-black {
    background-color: var(--brand-black) !important;
}

.text-orange {
    color: var(--brand-orange) !important;
}

.navbar.bg-black {
    background-color: var(--brand-black) !important;
}

.btn-black {
    background-color: var(--brand-black);
    border-color: var(--brand-black);
    color: #fff;
    transition: all .2s ease-in-out;
}

.btn-black:hover,
.btn-black:focus {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
    box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .2);
}

.btn-orange {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff;
    transition: all .2s ease-in-out;
}

.btn-orange:hover,
.btn-orange:focus {
    background-color: #e25b04;
    /* slightly darker */
    border-color: #e25b04;
    color: #fff;
    box-shadow: 0 .25rem .5rem rgba(247, 100, 5, .35);
}

.hero-banner img {
    object-fit: cover;
}

.hero-banner .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .55));
    width: 100%;
    max-width: 960px;
    padding: 3.25rem 0 3.25rem;
    /* más padding vertical */
}

.hero-banner-img {
    max-height: 420px;
    object-fit: cover;
}

.hero-heading,
.hero-subheading {
    text-shadow: 0 2px 6px rgba(0, 0, 0, .55);
}

.hero-logo {
    max-width: 200px;
}

@media (max-width: 575.98px) {
    .hero-logo {
        max-width: 150px;
    }
}

/* Home hero minimal responsive tweaks */
@media (max-width: 575.98px) {
    .hero-banner-img {
        max-height: 340px !important;
    }

    .hero-banner h1 {
        font-size: 1.9rem;
    }

    .hero-banner p.h3 {
        font-size: 1.35rem;
    }

    .hero-banner .hero-overlay {
        padding: 2.25rem 0 2.25rem;
    }
}

@media (max-width: 576px) {
    .hero-banner img {
        max-height: 300px !important;
    }

    .hero-banner .hero-overlay h1 {
        font-size: 1.5rem;
    }

    .hero-banner .hero-overlay p {
        font-size: .95rem;
    }
}

.card .card-title {
    color: #222;
}

a {
    color: var(--brand-orange);
}

a:hover {
    color: #d85704;
}

/* Student dashboard & plan selection */
.dash-card:hover {
    box-shadow: 0 0.25rem 0.8rem rgba(0, 0, 0, .08);
}

.dash-action {
    border: none;
    background: #fff;
    box-shadow: 0 0.15rem 0.6rem rgba(0, 0, 0, .06);
}

.dash-action:hover {
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, .12);
}

.plan-card:hover {
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, .12);
}

/* Icono de estado del plan (student dashboard) */
.plan-status-icon {
    font-size: .8rem;
    /* tamaño ligeramente mayor */
    line-height: 1;
    /* evita desalineación vertical */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .student-dashboard h4 {
        font-size: 1.2rem;
    }

    .dash-card .card-body {
        padding: .75rem !important;
    }

    .dash-action .card-body {
        padding: .85rem !important;
    }
}

/* Botones de solo ícono compactos */
.btn-icon {
    padding: .35rem .45rem !important;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.btn-icon i {
    font-size: 1rem;
}

/* Código de confirmación (inputs separados) */
.code-box-group .code-box {
    width: 56px;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: .5px;
}

@media (max-width: 575.98px) {
    .code-box-group .code-box {
        width: 52px;
        font-size: 1.4rem;
    }
}

@media (max-width: 420px) {
    .code-box-group .code-box {
        width: 48px;
        font-size: 1.25rem;
    }
}

/* Estética focus */
.code-box-group .code-box:focus {
    box-shadow: 0 0 0 .25rem rgba(247, 100, 5, .25);
    border-color: var(--brand-orange);
}

/* Estilos Premium GoFitness Landing */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 10% 20%, #1a1a1a 0%, #000000 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 122, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-banner-img {
    object-fit: cover;
    height: 60vh;
    min-height: 400px;
    opacity: 0.4;
    transition: opacity 0.5s ease;
    mix-blend-mode: luminosity;
}

@media (max-width: 767.98px) {
    .hero-banner-img {
        object-position: 85% center;
    }
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-heading {
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -1px;
    line-height: 1.1;
}

.btn-orange-glow {
    background: linear-gradient(135deg, #ff7a00 0%, #e06900 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-orange-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.5);
    color: #fff;
}

.btn-outline-glow {
    border: 2px solid #ff7a00;
    color: #ff7a00;
    background: transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-outline-glow:hover {
    background: rgba(255, 122, 0, 0.1);
    color: #ff7a00;
    transform: translateY(-2px);
}

/* Cards premium */
.gf-card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.gf-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff7a00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.gf-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gf-card:hover::after {
    transform: scaleX(1);
}

/* Variante con animación de elevación — solo para Home */
.gf-card-hover:hover {
    transform: translateY(-10px);
}

.section-title {
    font-weight: 800;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 4px;
    background: #ff7a00;
    border-radius: 2px;
}

.plan-price {
    font-weight: 900;
    font-size: 2.5rem;
    color: #000;
    letter-spacing: -1px;
}

.plan-currency {
    font-size: 1.2rem;
    vertical-align: super;
    color: #ff7a00;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1030;
    border-top: 1px solid rgba(255, 122, 0, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0.25rem calc(0.5rem + env(safe-area-inset-bottom));
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    flex: 1;
    transition: all 0.2s;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.35rem;
    margin-bottom: 2px;
    transition: transform 0.2s;
}

.mobile-bottom-nav .nav-item span {
    font-size: 0.65rem;
    font-weight: 500;
    white-space: nowrap;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    color: var(--brand-orange);
}

.mobile-bottom-nav .nav-item.active i {
    transform: scale(1.1);
}

/* Helper to pad body/main when navbar is active */
@media (max-width: 991.98px) {
    .pb-mobile-nav {
        padding-bottom: 80px !important;
    }
}