:root {
    --default-font: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --heading-font: "Noto Sans KR", system-ui, sans-serif;
    --nav-font: "Noto Sans KR", system-ui, sans-serif;

    --background-color: #0b0e12;
    --default-color: #d7dde5;
    --heading-color: #ffffff;
    --accent-color: #e33b2f;
    --accent-soft: #f2be67;
    --surface-color: #121821;
    --surface-color-2: #171f2a;
    --surface-color-3: #0f141c;
    --border-color: rgba(255, 255, 255, 0.08);
    --muted-color: rgba(215, 221, 229, 0.72);
    --contrast-color: #ffffff;

    --nav-color: rgba(255, 255, 255, 0.82);
    --nav-hover-color: var(--accent-soft);
    --nav-mobile-background-color: #0f141c;
    --nav-dropdown-background-color: #121821;
    --nav-dropdown-color: #d7dde5;
    --nav-dropdown-hover-color: var(--accent-soft);

    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--default-color);
    background:
            radial-gradient(circle at top, rgba(227, 59, 47, 0.16), transparent 28%),
            linear-gradient(180deg, #090c10 0%, #0b0e12 40%, #0c1015 100%);
    font-family: var(--default-font);
    word-break: keep-all;
}

body.index-page {
    overflow-x: hidden;
}

a {
    color: var(--accent-soft);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffd48c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--heading-color);
    font-family: var(--heading-font);
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

img,
iframe,
video {
    display: block;
    max-width: 100%;
}

section,
.section {
    padding: 110px 0;
    position: relative;
    scroll-margin-top: 120px;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 80px;
    }
}

.dark-background {
    --background-color: #030507;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: rgba(255, 255, 255, 0.1);
}

.dark-surface-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    padding-bottom: 56px;
}

.section-title .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(242, 190, 103, 0.22);
    background: rgba(242, 190, 103, 0.08);
    color: var(--accent-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: clamp(2.15rem, 4vw, 3.75rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 16px;
}

.section-title p {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.04rem;
    line-height: 1.9;
    color: var(--muted-color);
}

.header {
    --background-color: rgba(5, 8, 12, 0);
    color: var(--contrast-color);
    background-color: var(--background-color);
    padding: 18px 0 0;
    transition: all 0.35s ease;
    z-index: 997;
}

.header .top-row {
    padding-bottom: 12px;
}

.header .logo {
    color: var(--contrast-color);
    text-decoration: none;
    gap: 14px;
}

.logo-mark {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-color), #8e1812);
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(227, 59, 47, 0.3);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.header .sitename {
    font-family: "Oswald", var(--heading-font);
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.05em;
}

.logo-subtitle {
    margin-top: 5px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.header-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    font-weight: 600;
}

.header-quick-links a i {
    color: var(--accent-soft);
}

.header-quick-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 190, 103, 0.32);
}

.header .nav-wrap {
    background: rgba(11, 14, 18, 0.68);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.scrolled .header {
    --background-color: rgba(5, 8, 12, 0.94);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 15px;
        color: var(--nav-color);
        font-size: 0.98rem;
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }
}

@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
        z-index: 10003;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: fixed;
        top: 60px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 12px;
        background-color: var(--nav-mobile-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 10002;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 14px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        border-radius: 10px;
        background-color: var(--nav-dropdown-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
        box-shadow: none;
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.06);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active #header {
        z-index: 10000;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow: visible;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: fixed;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 10003;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        inset: 0;
        overflow: hidden;
        background: rgba(10, 10, 12, 0.82);
        z-index: 10001;
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }

    .mobile-nav-active .scroll-top {
        visibility: hidden;
        opacity: 0;
    }
}

.hero {
    min-height: 100vh;
    padding: 165px 0 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.55) brightness(0.56) contrast(1.08);
}

.hero .video-overlay {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 50% 15%, rgba(227, 59, 47, 0.32), transparent 25%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.68) 45%, rgba(5, 8, 12, 0.94) 100%);
    z-index: 2;
}

.hero .hero-content {
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h2 {
    margin-top: 22px;
    font-family: "Oswald", var(--heading-font);
    font-size: clamp(3.4rem, 10vw, 6.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 0.98;
    text-transform: uppercase;
}

.hero p {
    margin: 20px 0 0;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
}

.hero p span {
    color: var(--accent-soft);
    border-bottom: 2px solid rgba(242, 190, 103, 0.65);
}

.hero-description {
    max-width: 860px;
    margin: 28px auto 0;
    font-size: 1.06rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
}

.hero-points {
    max-width: 940px;
    margin: 28px auto 0;
}

.hero-point {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.hero-point i {
    color: var(--accent-soft);
}

.hero .hero-buttons {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero .hero-buttons .btn {
    padding: 15px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.hero .hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #a72219);
    border-color: rgba(227, 59, 47, 0.95);
    color: #fff;
    box-shadow: 0 14px 28px rgba(227, 59, 47, 0.25);
}

.hero .hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.hero .hero-buttons .btn:hover {
    transform: translateY(-2px);
}

.about .content h3 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 18px;
}

.about .content .lead,
.about .content p {
    color: var(--muted-color);
    font-size: 1.02rem;
    line-height: 1.9;
}

.about .content .lead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 16px;
}

.about-highlights {
    margin-top: 30px;
    display: grid;
    gap: 16px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
}

.highlight-item i {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(227, 59, 47, 0.12);
    color: var(--accent-color);
    font-size: 1.35rem;
}

.highlight-item strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.highlight-item span {
    color: var(--muted-color);
    font-size: 0.97rem;
    line-height: 1.7;
}

.about-panel {
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-color);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.2);
}

.panel-card {
    padding: 26px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}

.panel-primary {
    background:
            linear-gradient(180deg, rgba(227, 59, 47, 0.18), rgba(255, 255, 255, 0.04)),
            rgba(255, 255, 255, 0.02);
}

.panel-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-soft);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.panel-card h4 {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 14px;
}

.panel-card p,
.panel-card span {
    color: var(--muted-color);
    line-height: 1.8;
}

.panel-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mini-card strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
}

.program-card,
.note-card,
.pricing-card,
.info-card,
.coach-card,
.contact-info-panel,
.map-card {
    height: 100%;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.program-card {
    padding: 30px 26px;
}

.program-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(227, 59, 47, 0.18), rgba(242, 190, 103, 0.12));
    color: var(--accent-soft);
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.program-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.program-card p {
    color: var(--muted-color);
    line-height: 1.82;
}

.schedule-board {
    border-radius: 28px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.schedule-row {
    display: grid;
    grid-template-columns: 160px 220px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-head {
    background: linear-gradient(90deg, rgba(227, 59, 47, 0.2), rgba(242, 190, 103, 0.12));
    color: #fff;
    font-weight: 800;
}

.schedule-row .time {
    font-family: "Oswald", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--accent-soft);
}

.schedule-row .class-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: #fff;
}

.schedule-row .desc {
    color: var(--muted-color);
    line-height: 1.75;
}

.note-card {
    padding: 28px 24px;
}

.note-card i {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(242, 190, 103, 0.09);
    color: var(--accent-soft);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.note-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.note-card p {
    color: var(--muted-color);
    line-height: 1.8;
}

.membership-notice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.membership-notice div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    font-size: 0.97rem;
    font-weight: 700;
    color: #fff;
}

.membership-notice i {
    color: var(--accent-soft);
}

.pricing-card {
    padding: 30px;
}

.price-main {
    border-color: rgba(227, 59, 47, 0.24);
}

.price-alt {
    border-color: rgba(242, 190, 103, 0.22);
}

.pricing-card-head {
    margin-bottom: 20px;
}

.plan-badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(227, 59, 47, 0.12);
    color: var(--accent-color);
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.price-alt .plan-badge {
    background: rgba(242, 190, 103, 0.12);
    color: var(--accent-soft);
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.pricing-card p {
    color: var(--muted-color);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.price-table tr:last-child {
    border-bottom: none;
}

.price-table th,
.price-table td {
    padding: 16px 4px;
    font-size: 1.05rem;
}

.price-table th {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.price-table td {
    text-align: right;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
}

.info-card {
    padding: 28px;
}

.info-card h3 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.info-card h3 span {
    font-size: 0.92rem;
    color: var(--muted-color);
    font-weight: 600;
}

.info-card ul {
    margin: 0;
    padding-left: 18px;
}

.info-card li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--muted-color);
}

.info-card li strong {
    color: #fff;
}

.pt-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pt-prices div {
    padding: 22px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.pt-prices span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted-color);
}

.pt-prices strong {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
}


.gallery-intro-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.gallery-intro-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    color: #fff;
}

.gallery-intro-card span {
    color: var(--muted-color);
    line-height: 1.75;
}

.mini-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(242, 190, 103, 0.2);
    background: rgba(242, 190, 103, 0.08);
    color: var(--accent-soft);
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--border-color);
    background: #0d1218;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.2);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 6, 8, 0.02) 20%, rgba(4, 6, 8, 0.88) 100%);
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 578px;
}

.gallery-large img {
    min-height: 578px;
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px;
}

.gallery-caption span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(242, 190, 103, 0.12);
    color: var(--accent-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.gallery-caption h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.coach-photo-wrap {
    margin: -30px -30px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: #0c1117;
    overflow: hidden;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.coach-photo {
    width: 100%;
    aspect-ratio: 4 / 4.65;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.coach-card:hover .coach-photo {
    transform: scale(1.03);
}

.coach-card {
    padding: 30px;
}

.coach-card.featured {
    background:
            linear-gradient(180deg, rgba(227, 59, 47, 0.14), rgba(255, 255, 255, 0.03)),
            rgba(255, 255, 255, 0.02);
    border-color: rgba(227, 59, 47, 0.22);
}

.coach-role {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(242, 190, 103, 0.1);
    color: var(--accent-soft);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.coach-card h3 {
    font-size: 1.65rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.coach-summary {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
}

.coach-card ul {
    margin: 20px 0 0;
    padding-left: 18px;
}

.coach-card li {
    color: var(--muted-color);
    line-height: 1.9;
    margin-bottom: 8px;
}

.placeholder-card {
    opacity: 0.98;
}

.contact-info-panel {
    padding: 34px;
}

.contact-block h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-block p {
    color: var(--muted-color);
    line-height: 1.8;
}

.contact-detail-list {
    margin-top: 26px;
    display: grid;
    gap: 14px;
}

.contact-detail-item {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
}

.contact-detail-item i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(227, 59, 47, 0.12);
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail-item strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.contact-detail-item span {
    color: var(--muted-color);
    line-height: 1.65;
}

.contact-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-weight: 800;
    text-align: center;
}

.contact-btn.primary {
    background: linear-gradient(135deg, var(--accent-color), #a52119);
    border-color: rgba(227, 59, 47, 0.9);
}

.contact-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.map-card {
    overflow: hidden;
    min-height: 100%;
}

.map-card iframe {
    width: 100%;
    min-height: 100%;
    height: 100%;
    border: 0;
    aspect-ratio: 16 / 11;
    filter: grayscale(1) invert(0.92) contrast(0.9);
}

.footer {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #090c10;
}

.footer-top {
    padding-bottom: 28px;
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-brand h3 {
    font-size: 1.65rem;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.footer-brand p {
    color: var(--muted-color);
    line-height: 1.8;
}

.footer-links-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.footer-links-wrap a {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0 22px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-bottom-color: var(--accent-soft);
    border-radius: 50%;
    animation: animate-preloader 1.1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-color), #a52119);
    color: #fff;
    box-shadow: 0 14px 24px rgba(227, 59, 47, 0.28);
    visibility: hidden;
    opacity: 0;
    transition: all 0.35s ease;
}

.scroll-top i {
    font-size: 28px;
    line-height: 0;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

.scroll-top:hover {
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 1199px) {
    .header {
        padding-top: 14px;
    }

    .header .top-row {
        padding-bottom: 10px;
    }

    .header .sitename {
        font-size: 1.6rem;
    }

    .logo-mark {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }

    .hero {
        padding-top: 150px;
    }
}

@media (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 420px;
    }

    .gallery-large img {
        min-height: 420px;
    }
}

@media (max-width: 991px) {
    section,
    .section {
        padding: 86px 0;
    }

    .about-panel,
    .contact-info-panel,
    .pricing-card,
    .info-card,
    .coach-card {
        padding: 26px;
    }

    .gallery-intro-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .coach-photo-wrap {
        margin: -26px -26px 22px;
    }

    .panel-grid,
    .membership-notice,
    .contact-actions,
    .pt-prices {
        grid-template-columns: 1fr;
    }

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

    .schedule-row .desc {
        grid-column: 1 / -1;
        margin-top: -6px;
        padding-left: 0;
    }

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

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-large {
        grid-column: auto;
        min-height: 300px;
    }

    .gallery-large img,
    .gallery-card img {
        min-height: 300px;
    }

    .gallery-caption {
        padding: 20px;
    }

    .section-title {
        padding-bottom: 42px;
    }

    .section-title p {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .hero {
        min-height: auto;
        padding: 138px 0 86px;
    }

    .hero p {
        line-height: 1.5;
    }

    .hero-description {
        font-size: 0.97rem;
    }

    .schedule-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 18px;
    }

    .schedule-head {
        display: none;
    }

    .schedule-row .time {
        font-size: 1.15rem;
    }

    .schedule-row .class-name {
        font-size: 1.08rem;
    }

    .footer-bottom .container {
        align-items: flex-start !important;
    }
}

@media (max-width: 575px) {
    .coach-photo-wrap {
        margin: -26px -26px 18px;
    }

    .header .logo {
        gap: 10px;
    }

    .logo-subtitle {
        font-size: 0.64rem;
        letter-spacing: 0.12em;
    }

    .hero-point {
        justify-content: flex-start;
    }

    .hero .hero-buttons {
        flex-direction: column;
    }

    .hero .hero-buttons .btn {
        width: 100%;
    }

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

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

    .footer-brand {
        align-items: flex-start;
    }

    .footer-links-wrap {
        gap: 10px;
    }

    .footer-links-wrap a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
@media (max-width: 1199px) {
    .mobile-nav-active .header .nav-wrap {
        background: transparent !important;
        border-top: 0 !important;
        border-bottom: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .mobile-nav-active .header .container,
    .mobile-nav-active .header .container-fluid,
    .mobile-nav-active .header .container-xl {
        position: static !important;
        overflow: visible !important;
    }

    .mobile-nav-active .navmenu {
        display: block !important;
        width: 100vw !important;
        height: 100vh !important;
    }

    .mobile-nav-active .navmenu > ul {
        display: block !important;
        position: fixed !important;
        top: 88px !important;
        left: 16px !important;
        right: 16px !important;
        bottom: 16px !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: calc(100vh - 104px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow-y: auto !important;
    }

    .mobile-nav-active .navmenu > ul > li {
        display: block !important;
        width: 100% !important;
    }

    .mobile-nav-active .navmenu > ul > li > a {
        display: flex !important;
        width: 100% !important;
    }
}
html,
body {
    overflow-x: hidden;
}

@media (max-width: 1199px) {
    .header,
    .header .top-row,
    .header .nav-wrap,
    .header .container,
    .header .container-fluid,
    .header .container-xl {
        max-width: 100%;
        overflow-x: clip;
    }

    .header .top-row {
        min-width: 0;
    }

    .header .logo {
        min-width: 0;
        max-width: calc(100% - 56px);
        flex: 1 1 auto;
        overflow: hidden;
    }

    .logo-text-wrap {
        min-width: 0;
        overflow: hidden;
    }

    .header .sitename,
    .logo-subtitle {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-subtitle {
        letter-spacing: 0.08em;
    }

    .header .nav-wrap > .container,
    .header .nav-wrap > .container-fluid,
    .header .nav-wrap > .container-xl {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .navmenu {
        width: 100%;
        min-width: 0;
    }

@media (max-width: 1199px) {
    .nav-wrap .container,
    .nav-wrap .container-fluid,
    .nav-wrap .container-xl {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 56px;
        position: relative;
    }

    .mobile-nav-toggle {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 10003;
    }

    .mobile-nav-active .mobile-nav-toggle {
        position: fixed !important;
        top: 16px !important;
        right: 16px !important;
        margin: 0 !important;
    }
}

    .mobile-nav-active .navmenu > ul {
        top: 72px;
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 1199px) {
    .header .top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .header .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .header .nav-wrap {
        position: absolute;
        top: 18px;
        right: 16px;
        left: auto;
        width: auto;
        min-height: auto;
        background: transparent;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header .nav-wrap .container,
    .header .nav-wrap .container-fluid,
    .header .nav-wrap .container-xl {
        display: block;
        width: auto;
        min-height: auto;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-toggle {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        margin: 0 !important;
        z-index: 10003;
    }

    .mobile-nav-active .mobile-nav-toggle {
        position: fixed !important;
        top: 16px !important;
        right: 16px !important;
        margin: 0 !important;
    }

    .mobile-nav-active .navmenu > ul {
        top: 72px !important;
        left: 16px !important;
        right: 16px !important;
        bottom: 16px !important;
    }
}

.coach-bio-card {
    height: 100%;
    padding: 40px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(35,20,22,0.95), rgba(15,16,20,0.98));
    border: 1px solid rgba(177, 62, 52, 0.45);
    box-shadow: 0 18px 45px rgba(0,0,0,0.32);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coach-bio-card .coach-summary {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #f4f4f4;
}

.coach-bio-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.coach-bio-card li {
    margin-bottom: 14px;
    padding-left: 18px;
    position: relative;
    color: #d7d9df;
}

.coach-bio-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #ffb347;
    border-radius: 50%;
}