/* Total Gym — site vitrine */
:root {
    --tgym-navy: #0a093f;
    --tgym-teal: #008cba;
    --tgym-cyan: #02d3f5;
    --tgym-accent: #f98c00;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #4a5568;
}

.tgym-site-header.header {
    background: linear-gradient(135deg, var(--tgym-navy) 0%, #0d3d52 55%, #006a7b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 .35rem 1rem rgba(10, 9, 63, .15);
}

.tgym-site-header .header_content {
    height: 80px;
}

.tgym-site-header.scrolled .header_content {
    height: 64px;
}

.tgym-site-logo img {
    height: 2.75rem;
    width: auto;
}

.tgym-site-logo span {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-left: .55rem;
}

.tgym-site-header .main_nav {
    margin-left: 2.5rem;
}

.tgym-site-header .main_nav ul li:not(:last-of-type) {
    margin-right: 2rem;
}

.tgym-site-header .main_nav ul li a {
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.tgym-site-header .main_nav ul li a:hover,
.tgym-site-header .main_nav ul li.active a {
    color: var(--tgym-cyan);
}

.tgym-site-header .phone {
    border-color: rgba(2, 211, 245, .55);
    box-shadow: none;
    margin-right: .75rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.tgym-site-header .phone i {
    color: var(--tgym-cyan);
}

.tgym-site-admin-link {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    font-size: .88rem;
    font-weight: 600;
    gap: .4rem;
    height: 40px;
    padding: 0 1rem;
    white-space: nowrap;
}

.tgym-site-admin-link:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff !important;
}

.tgym-site-header-actions {
    gap: .5rem;
    margin-left: auto;
}

.home .overlay {
    background: linear-gradient(180deg, rgba(10, 9, 63, .45) 0%, rgba(10, 9, 63, .2) 40%, #fff 100%);
    bottom: -270px;
    transform: rotate(-8deg);
}

.home_title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    text-shadow: 0 .35rem 1.5rem rgba(0, 0, 0, .25);
}

.home_subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: .5rem;
    max-width: 36rem;
    opacity: .95;
}

.home_content.text-center .home_subtitle {
    margin-left: auto;
    margin-right: auto;
}

.tgym-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-top: 2rem;
}

.tgym-hero-actions .button {
    margin: 0;
    width: auto;
}

.tgym-hero-actions .button a {
    padding: 0 1.5rem;
}

.tgym-hero-actions .button--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: none;
}

.tgym-hero-actions .button--outline a::before {
    background: rgba(255, 255, 255, .14);
}

.box:first-child {
    background: var(--tgym-navy);
}

.box:nth-child(2) {
    background: #006a7b;
}

.box:nth-child(3) {
    background: var(--tgym-teal);
}

.box_link > div {
    background: var(--tgym-teal);
}

.section_subtitle {
    color: var(--tgym-teal);
    font-weight: 700;
}

.section_title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
}

.about_text p {
    font-size: .95rem;
    line-height: 1.85;
}

.tt_title {
    background: var(--tgym-navy);
}

.tt_class_title {
    color: var(--tgym-navy);
}

.extra {
    min-height: 320px;
}

.extra_title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.extra .button a::before,
.button a::before,
.newsletter_button {
    background: var(--tgym-teal);
}

.button {
    background: var(--tgym-teal);
}

.button:hover a::before {
    background: #02a8d8;
}

.service {
    background: #f8fafc;
    border: 1px solid #e7edf3;
    border-radius: 1rem;
    height: 100%;
    padding: 1.35rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.service:hover {
    box-shadow: 0 .75rem 1.5rem rgba(10, 9, 63, .08);
    transform: translateY(-2px);
}

.service_title {
    color: var(--tgym-navy);
    font-weight: 700;
}

.contact_text p {
    line-height: 1.8;
}

.contact_list ul li {
    margin-bottom: .65rem;
}

.contact_form_container form {
    background: #f8fafc;
    border: 1px solid #e7edf3;
    border-radius: 1rem;
    padding: 1.5rem;
}

.tgym-site-footer.footer {
    background: var(--tgym-navy);
    border-top: none;
    padding-top: 3rem;
}

.tgym-site-footer .footer_content {
    padding-bottom: 2rem;
}

.tgym-site-footer .footer_logo img {
    height: 3rem;
    width: auto;
}

.tgym-site-footer .footer_links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.tgym-site-footer .footer_links a {
    color: rgba(255, 255, 255, .88);
    font-size: .9rem;
    font-weight: 600;
}

.tgym-site-footer .footer_links a:hover {
    color: var(--tgym-cyan);
}

.tgym-site-footer .copyright {
    color: rgba(255, 255, 255, .55);
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
}

.tgym-site-footer .footer_image {
    margin-top: 1rem;
    opacity: .35;
    position: relative;
    transform: none;
    left: auto;
}

@media (max-width: 991.98px) {
    .tgym-site-header .main_nav {
        display: none;
    }

    .tgym-site-header .phone > div {
        display: none;
    }

    .tgym-site-header .phone {
        margin-right: .35rem;
        min-width: 40px;
        padding: 0;
        justify-content: center;
    }

    .tgym-site-header .phone i {
        margin-right: 0;
    }

    .boxes {
        margin-top: -120px;
    }

    .box {
        padding: 2rem 1.5rem 3rem;
        width: 100%;
    }
}
