/* Палитра и базовые элементы */
:root {
    --cream:#faf7f1;
    --paper:#fffdf9;
    --brown:#493426;
    --muted:#786c61;
    --gold:#ab8750;
    --line:#e5ddd0;
    --bs-primary:#65472f;
    --bs-body-color:var(--brown);
    --bs-body-bg:var(--cream);
    --bs-border-color:var(--line)}

body {
    font-family:Arial,Helvetica,sans-serif;
    background:var(--cream);
    color:var(--brown);
    line-height:1.7}
h1,h2,h3,.footer-brand {
    font-family:Georgia,'Times New Roman',serif;
    font-weight:400;
    line-height:1.15}
h1 {
    font-size:clamp(2.5rem,5vw,4.5rem)}
h2 {
    font-size:clamp(2rem,3.5vw,3.3rem)}
h3 {
    font-size:1.55rem}
p {
    color:var(--muted)}
a {
    color:inherit;
    text-decoration:none}
a:hover {
    color:#876136}
a:focus-visible,button:focus-visible {
    outline:3px solid var(--gold);
    outline-offset:5px}
img {
    max-width:100%;
    object-fit:cover}
.container {
    max-width:1200px;
    padding-left:24px;
    padding-right:24px}
.btn {
    padding:12px 24px;
    border-radius:6px;
    font-size:.9rem;
    font-weight:500}
.btn-primary {
    --bs-btn-bg:#65472f;
    --bs-btn-border-color:#65472f;
    --bs-btn-hover-bg:#493426;
    --bs-btn-hover-border-color:#493426;
    --bs-btn-active-bg:#493426;
    --bs-btn-active-border-color:#493426}
.btn-outline-primary {
    --bs-btn-color:#65472f;
    --bs-btn-border-color:#bca68b;
    --bs-btn-hover-bg:#65472f;
    --bs-btn-hover-border-color:#65472f;
    --bs-btn-active-bg:#493426;
    --bs-btn-active-border-color:#493426}
.btn span {
    margin-left:22px}
.text-link {
    font-size:.88rem;
    font-weight:600;
    display:inline-flex;
    gap:26px;
    align-items:center}
.text-link:hover {
    text-decoration:underline;
    text-underline-offset:5px}
.eyebrow {
    display:block;
    font-size:.68rem;
    letter-spacing:.19em;
    text-transform:uppercase;
    color:#8d6b39;
    font-weight:600;
    margin-bottom:20px}

/* Шапка и навигация */
.site-header {
    background:var(--cream);
    border-bottom:1px solid var(--line)}
.navbar {
    min-height:100px}
.club-brand {
    display:flex;
    align-items:center;
    gap:12px}
.club-brand img {
    border-radius:50%}
.club-brand small {
    display:block;
    font-size:.58rem;
    letter-spacing:.18em}
.club-brand strong {
    display:block;
    font-family:Georgia,serif;
    font-size:1.9rem;
    font-weight:400;
    line-height:1.1}
.navbar .nav-link {
    font-size:.9rem;
    color:var(--muted);
    position:relative}
.navbar .nav-link.active {
    color:var(--brown)}
.navbar .nav-link.active:after {
    content:'';
    height:2px;
    background:var(--gold);
    position:absolute;
    bottom:0;
    left:8px;
    right:8px}

/* Главная: первый экран */
.hero {
    position:relative;
    overflow:hidden;
    min-height:650px;
    background:#e9decd;
    display:flex;
    align-items:center}
.hero-photo {
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,#eee5d7 0%,rgba(238,229,215,.95) 23%,rgba(238,229,215,.55) 45%,rgba(238,229,215,0) 72%)}
.hero-content {
    position:relative;
    padding-top:70px;
    padding-bottom:85px}
.hero h1 {
    font-size:clamp(5rem,8vw,7.5rem);
    margin-bottom:24px}
.hero h1 span {
    display:block;
    font-size:clamp(1.8rem,3vw,2.8rem);
    margin-bottom:5px}
.hero p {
    font-size:1.05rem;
    line-height:1.9;
    color:#625445;
    margin-bottom:30px}
.hero-note {
    font-size:.72rem;
    margin-top:45px;
    letter-spacing:.07em;
    display:flex;
    align-items:center;
    gap:12px}
.hero-note span {
    width:28px;
    height:1px;
    background:var(--gold)}
.hero-caption {
    position:absolute;
    bottom:30px;
    right:5%;
    color:#fff;
    font-size:.65rem;
    letter-spacing:.12em;
    text-shadow:0 1px 6px #000}

/* Секции и карточки */
.section-space {
    padding-block:90px}
.about-photo {
    position:relative;
    max-width:490px}
.about-photo img {
    width:100%;
    height:470px;
    border-radius:100px 8px 8px 8px;
    object-position:center 53%}
.about-photo>span {
    position:absolute;
    bottom:25px;
    left:25px;
    background:var(--cream);
    padding:13px 23px;
    border-radius:5px;
    font-family:Georgia,serif;
    font-style:italic}
.about-copy {
    padding-left:35px}
.about-copy h2 {
    margin-bottom:25px}
.about-copy em {
    color:#947243;
    font-weight:400}
.about-copy p {
    font-size:.95rem}
.about-values {
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-top:28px;
    padding-top:24px;
    border-top:1px solid var(--line);
    font-size:.72rem}
.about-values span:before {
    content:'✧';
    margin-right:7px;
    color:var(--gold)}
.services-section {
    background:#f1ece2}
.section-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:35px}
.section-heading h2 {
    margin:0}
.section-heading .eyebrow {
    margin-bottom:10px}
.club-card {
    background:var(--paper);
    border:1px solid #e9e1d5;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 6px 20px #49342605;
    display:flex;
    flex-direction:column}
.card-image {
    display:block;
    position:relative;
    overflow:hidden}
.card-image img {
    width:100%;
    height:230px;
    transition:transform .3s ease}
.club-card:hover .card-image img {
    transform:scale(1.035)}
.image-tag {
    position:absolute;
    bottom:16px;
    left:18px;
    background:#fffdf9ee;
    border-radius:4px;
    padding:5px 10px;
    font-size:.65rem;
    color:var(--brown)}
.card-content {
    padding:25px;
    display:flex;
    flex-direction:column;
    flex:1}
.card-content h3 {
    margin:0 0 13px}
.card-content p {
    font-size:.85rem;
    margin-bottom:23px}
.card-content .text-link {
    margin-top:auto}
.card-content time,.detail-heading time {
    display:block;
    color:var(--muted);
    font-size:.73rem;
    margin-bottom:12px}
.invitation-card {
    border:1px solid #d6c7ad;
    border-radius:12px;
    padding:35px;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:#eae1d1}
.invitation-card h3 {
    font-size:2.4rem}
.invitation-card p {
    font-size:.9rem;
    margin:20px 0}

/* Контакты и подвал */
.contact-section {
    padding-top:0}
.contact-panel {
    background:#eee6d9;
    border-radius:12px;
    padding:48px}
.contact-panel h2 {
    font-size:clamp(1.9rem,3vw,2.7rem);
    margin-bottom:22px}
.contact-panel p {
    font-size:.9rem}
.contact-details {
    padding-left:50px;
    border-left:1px solid #d7c8b2}
.contact-details h3 {
    font-size:1.5rem}
.contact-details small {
    font-size:.72rem;
    color:var(--muted)}
.site-footer {
    background:#392c23;
    color:#f5ecdf;
    padding:60px 0 0}
.site-footer p,.site-footer small {
    color:#c4b6a5;
    font-size:.85rem}
.footer-brand {
    font-size:1.4rem;
    margin-bottom:20px}
.footer-brand span {
    display:block;
    font-size:2.4rem}
.footer-title {
    font-family:Arial,sans-serif;
    font-size:.83rem;
    font-weight:600;
    margin-bottom:22px}
.site-footer li {
    font-size:.85rem;
    margin:8px 0;
    color:#d4c8b9}
.site-footer a:hover {
    color:#fff}
.footer-bottom {
    border-top:1px solid #5c4b3d;
    margin-top:38px;
    padding:22px 0;
    display:flex;
    justify-content:space-between;
    font-size:.7rem;
    color:#c4b6a5}

/* Списки и подробные страницы */
.page-intro {
    padding-top:65px;
    padding-bottom:50px;
    text-align:center}
.page-intro p {
    max-width:590px;
    margin:20px auto 0}
.listing-section {
    padding-bottom:80px}
.detail-page {
    padding-top:30px;
    padding-bottom:80px}
.club-breadcrumb {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    color:var(--muted);
    font-size:.75rem}
.detail-heading {
    max-width:850px;
    margin:50px auto 35px;
    text-align:center}
.detail-heading .lead {
    font-size:1.1rem;
    margin-top:24px}
.detail-image {
    width:100%;
    height:480px;
    border-radius:12px;
    object-position:center 45%}
.article-body {
    max-width:760px;
    margin:45px auto 0}
.article-body p {
    margin-bottom:25px}
.article-body h2 {
    font-size:2rem;
    margin:35px 0 20px}
.feature-list {
    line-height:2.2;
    padding-left:20px}

/* Формы личного кабинета */
.login-section {
    padding-top:65px;
    padding-bottom:80px}
.login-shell {
    max-width:950px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1.15fr;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 15px 50px #49342609}
.login-visual {
    padding:50px 35px;
    display:flex;
    flex-direction:column;
    justify-content:end;
    background:linear-gradient(0deg,#382c23e6,#382c2310);
    color:white}
.login-visual .eyebrow,.login-visual p {
    color:#efe1c9}
.login-visual h2 {
    font-size:2.7rem}
.login-visual p {
    font-size:.85rem;
    margin-top:20px}
.login-form-panel {
    padding:45px}
.login-form-panel h1 {
    font-size:2.2rem;
    margin-bottom:15px}
.login-form-panel>p {
    font-size:.85rem;
    margin-bottom:25px}
.form-label,.form-check-label {
    font-size:.85rem}
.form-control {
    padding:13px 14px;
    background:#fffdf9;
    border-color:#dcd2c3}
.form-control:focus {
    border-color:var(--gold);
    box-shadow:0 0 0 .2rem #ab875025}
.form-check-input:checked {
    background-color:#65472f;
    border-color:#65472f}
.demo-note {
    text-align:center;
    font-size:.68rem!important;
    margin:28px 0 0!important}
.demo-feedback {
    font-size:.85rem;
    padding:12px;
    background:#eee6d9;
    border-radius:5px}
.skip-link {
    position:absolute;
    top:-100px;
    left:15px;
    background:white;
    padding:12px;
    z-index:100}
.skip-link:focus {
    top:10px}
main {
    min-height:60vh}


/* Адаптивные состояния */
@media(min-width:1400px) {
    .hero {
    min-height:710px}
}
.social-links { display: flex; gap: 8px; margin-top: 18px; }
.phone-link { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-weight: 600; font-variant-numeric: tabular-nums; white-space: normal; }
.header-phone { order: 3; margin-left: 20px; }
.header-phone .phone-link { gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: .875rem; color: var(--brown); background: #fffdf980; text-decoration: none; transition: background .2s, border-color .2s; }
.header-phone .phone-link::before { content: ''; flex: 0 0 18px; width: 18px; height: 18px; background: currentColor; mask: url('/static/phone.svg') center / contain no-repeat; }
.header-phone .phone-link:hover { background: #eee6d9; border-color: var(--gold); }
.phone-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.contact-phone { margin: 8px 0; }
.contact-phone .phone-link { font-size: 1.15rem; }
.site-footer .phone-link { color: #f5ecdf; }
@media(max-width:991.98px) {
    .navbar .club-brand { margin-right: auto; }
    .header-phone { order: 1; margin: 0 8px 0 4px; }
    .header-phone .phone-link { width: 48px; height: 48px; justify-content: center; padding: 0; gap: 0; font-size: 0; background: #eee6d9; border-color: transparent; }
    .header-phone .phone-link::before { width: 21px; height: 21px; flex-basis: 21px; }
    .navbar-toggler { order: 2; }
    .navbar-collapse { order: 4; }
}
.social-link { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; color: #fff; line-height: 1; }
.social-link:hover { color: #fff; transform: translateY(-1px); }
.social-link.is-disabled { cursor: default; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; }
.social-icon .fa-brands { font-size: 1.5rem; line-height: 1; }
.social-icon-vk { color: #0077ff; }
.social-icon-telegram { color: #229ed9; }
.social-max-icon { display: block; width: 1.5rem; height: 1.5rem; }
.site-footer .social-links { gap: 12px; }
.site-footer .social-link { width: 44px; height: 44px; border: 1px solid #ffffff35; border-radius: 12px; background: #ffffff0a; color: #eee9e2; transition: background .2s, transform .2s; }
.site-footer .social-icon { color: inherit; }
.site-footer .social-max-icon { content: url('/static/max-monochrome.svg'); }
.site-footer .social-link:hover, .site-footer .social-link:focus-visible { color: #fff; background: #ffffff20; border-color: #ffffff80; }
.site-footer .social-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.service-price { font-size: 1.3rem; font-weight: 600; color: var(--brown); margin: 12px 0 20px; }
.card-content .service-price { margin: 0 0 16px; font-size: 1.15rem; }
.service-intro .service-price { font-size: 1.6rem; }
.header-socials .social-links { margin: 0 14px 0 0; }
.header-socials .social-link { color: #76582f; }
.header-socials .social-icon { width: 1.575rem; height: 1.575rem; }
.header-socials .social-icon .fa-brands { font-size: 1.575rem; }
.header-socials .social-max-icon { width: 1.575rem; height: 1.575rem; }

@media(max-width:991px) {
    .section-space {
    padding-block:65px}
.contact-section {
    padding-top:0}
.about-copy {
    padding-left:12px}
.about-photo {
    max-width:none}
.about-photo img {
    height:420px}
.contact-details {
    border-left:0;
    border-top:1px solid #d7c8b2;
    padding:25px 0 0;
    margin-top:20px}
.hero {
    min-height:600px}
.hero-photo {
    background-position:60% center}
.login-form-panel {
    padding:30px}
}

@media(max-width:767px) {
    .navbar {
    min-height:82px}
.club-brand img {
    width:52px;
    height:52px}
.club-brand strong {
    font-size:1.6rem}
.navbar-collapse {
    padding:16px 0}
.navbar .nav-link.active:after {
    right:auto;
    width:25px;
    left:0}
.account-link {
    margin-top:15px}
.hero {
    min-height:670px;
    align-items:flex-start}
.hero-photo {
    background-image:linear-gradient(180deg,#eee5d7 0%,#eee5d7ed 35%,#eee5d7b3 60%,#eee5d700 80%);
    background-position:62% center}
.hero-content {
    padding-top:40px;
    padding-bottom:190px}
.hero h1 {
    font-size:5.1rem;
    margin-bottom:18px}
.hero p {
    font-size:.95rem}
.hero-note {
    margin-top:22px}
.hero-caption {
    bottom:20px;
    right:24px}
.section-space {
    padding-block:50px}
.section-heading {
    align-items:start}
.section-heading>.text-link {
    font-size:.75rem;
    gap:6px;
    white-space:nowrap;
    margin-top:36px}
.section-heading .eyebrow {
    font-size:.58rem}
.contact-section {
    padding-top:0}
.contact-panel {
    padding:28px}
.card-image img {
    height:240px}
.about-photo img {
    height:350px}
.footer-bottom {
    flex-direction:column;
    gap:8px}
.page-intro {
    padding-top:45px;
    padding-bottom:35px}
.detail-image {
    height:280px}
.detail-heading {
    margin-top:35px}
.login-section {
    padding:35px 18px 50px}
.login-shell {
    display:block;
    max-width:480px}
.login-visual {
    display:none}
.login-form-panel {
    padding:30px 24px}
.listing-section {
    padding-bottom:50px}
.site-footer {
    padding-top:40px}
}

@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
    scroll-behavior:auto!important;
    transition:none!important}
}

/* Страница контактов */
.contacts-page {
    padding-bottom: 60px;
}
.contacts-photo {
    width: 100%;
    height: 340px;
    border-radius: 70px 12px 12px 12px;
}
.contacts-info {
    height: 100%;
    padding: 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.contacts-info h2 {
    font-size: 2rem;
}
.contacts-list {
    margin: 28px 0;
}
.contacts-list dt {
    font-size: .8rem;
    margin-bottom: 5px;
}
.contacts-list dd {
    color: var(--muted);
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}
.contacts-list dd span {
    font-size: .85rem;
}
.contacts-page .contact-panel h3 {
    font-size: 1.4rem;
}
@media (min-width: 992px) {
    .contacts-page {
        padding-bottom: 90px;
    }
    .contacts-photo {
        height: 100%;
        min-height: 570px;
    }
    .contacts-info {
        padding: 40px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse {
        padding: 16px 0;
    }
    .navbar .nav-link.active::after {
        right: auto;
        width: 25px;
        left: 0;
    }
    .account-link {
        margin-top: 15px;
    }
}

/* Контейнер для Яндекс Карты; высота сохраняется и до её подключения. */
.boarding-hero { padding: 42px 0 52px; background: #eee8dd; }
.boarding-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.boarding-hero h1 { font-size: clamp(2.4rem, 4.1vw, 4.2rem); line-height: 1.06; margin: 20px 0; }
.boarding-hero-copy > p { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 26px; }
.hero-location { margin: 24px 0 0; font-size: .8rem; }
.boarding-hero-image { margin: 0; }
.boarding-hero-image img { display: block; width: 100%; height: 530px; object-fit: cover; object-position: 40% center; border-radius: 140px 16px 16px 16px; }
.boarding-hero-image figcaption, .service-intro figcaption, .visit-illustration figcaption, .editorial-note { font-size: .72rem; color: var(--muted); margin-top: 12px; }
.editorial-note { line-height: 1.6; }
.service-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; margin: 36px 0 50px; }
.service-intro .detail-heading { margin: 0; }
.service-intro h1 { font-size: clamp(2.3rem, 3.7vw, 3.8rem); line-height: 1.1; }
.service-intro figure { margin: 0; min-width: 0; }
 .service-slider { min-width: 0; }
.service-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.service-slider-track::-webkit-scrollbar { display: none; }
.service-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.service-slide img { display: block; }
.service-slider-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 12px; }
.service-slider-controls[hidden] { display: none; }
.service-slider-controls button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--cream); color: var(--brown); font-size: 1.3rem; }
.service-slider-controls button:hover { background: #eee6d9; }
.service-slider-controls button:focus-visible, .service-slider-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.service-slider-count { min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; font-size: .875rem; color: var(--muted); }
.service-intro img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.service-intro .lead { font-size: 1.05rem; margin: 20px 0 26px; }
.club-card { display: flex; flex-direction: column; }
.club-card .card-content { display: flex; flex-direction: column; flex: 1; }
.club-card .card-content > .text-link { margin-top: auto; padding-top: 12px; }
.service-card-actions { margin-top: auto; }
.service-card-actions .service-price { margin-bottom: 8px; }
.service-card-actions .text-link { margin-top: 0; }
.visit-illustration img { display: block; max-width: 850px; width: 100%; height: auto; border-radius: 14px; margin: auto; }
.visit-illustration figcaption { text-align: center; }
@media (max-width: 991.98px) {
    .boarding-hero-grid, .service-intro { grid-template-columns: 1fr; gap: 28px; }
    .boarding-hero-image img { height: auto; aspect-ratio: 3 / 2; border-radius: 70px 12px 12px 12px; }
    .boarding-hero { padding: 30px 0; }
    .service-intro { margin: 26px 0 36px; }
}

.club-map {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #eee8dd;
}
.club-map-frame {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
}
.club-map-placeholder {
    min-height: 340px;
    padding: 35px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(35deg, transparent 48%, #faf7f170 49%, #faf7f170 51%, transparent 52%);
    background-size: 100px 100px;
}
.club-map-placeholder svg {
    color: var(--gold);
    margin-bottom: 22px;
}
.club-map-placeholder p {
    font-size: .9rem;
    margin: 14px 0 0;
}
@media (min-width: 768px) {
    .club-map-frame { height: 420px; }
    .club-map-placeholder { min-height: 420px; }
}

/* Результат регистрации и макет личного кабинета. */
.registration-result { padding-top: 45px; padding-bottom: 65px; }
.registration-result-card { max-width: 730px; margin: auto; padding: 30px 24px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 45px #49342608; }
.registration-result h1 { font-size: clamp(2rem, 4vw, 3rem); }
.result-icon { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: #eee6d9; color: var(--gold); margin-bottom: 28px; }
.result-lead { margin: 22px auto; max-width: 530px; }
.confirmation-steps { padding: 22px 22px 22px 44px; text-align: left; background: var(--cream); border-radius: 10px; }
.confirmation-steps li { padding-left: 6px; margin: 12px 0; }
.confirmation-steps strong, .confirmation-steps span { display: block; }
.confirmation-steps span { color: var(--muted); font-size: .85rem; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.account-page { padding-top: 45px; padding-bottom: 65px; }
.account-page .section-heading { flex-wrap: wrap; }
.account-page h1 { font-size: clamp(2.3rem, 4vw, 3.4rem); }
.account-preview-badge { background: #eee6d9; color: #78613f; border-radius: 6px; padding: 7px 12px; font-size: .75rem; }
.account-sidebar, .account-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 25px; }
.account-sidebar h2 { font-size: 1.4rem; }
.account-sidebar p { font-size: .8rem; }
.account-avatar { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #eee6d9; font: 28px Georgia, serif; margin-bottom: 18px; }
.account-nav-link { display: block; padding: 10px 12px; border-radius: 6px; font-size: .85rem; margin-top: 5px; }
.account-nav-link:hover, .account-nav-link.active { background: #f1ece2; color: var(--brown); }
.account-welcome { background: #eee6d9; border-radius: 12px; padding: 30px; }
.account-welcome h2 { font-size: 2rem; }
.account-panel h2 { font-size: 1.7rem; }
.account-profile dt { font-size: .8rem; margin-top: 15px; }
.account-profile dd { color: var(--muted); margin-top: 5px; font-size: .9rem; }
.account-empty { text-align: center; padding: 25px 0 10px; }
.account-empty p { font-size: .9rem; max-width: 430px; margin: 15px auto 24px; }
.account-page section[id] { scroll-margin-top: 20px; }

/* Touch layout: keep text readable and controls reachable on narrow screens. */
@media (max-width: 991.98px) {
    .navbar-toggler { min-width: 48px; min-height: 48px; }
    .navbar-collapse { padding: 12px 0; }
    .navbar .nav-link { min-height: 48px; padding: 10px 12px; font-size: 1rem; border-radius: 6px; }
    .navbar .nav-link.active { background: #eee6d9; }
    .navbar .nav-link.active::after { display: none; }
    .header-socials .social-links { gap: 12px; margin: 12px 0 0; }
    .header-socials .social-link { min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; }
    .text-link { min-height: 44px; }
    .site-footer li { margin: 0; }
    .site-footer li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
    summary { min-height: 44px; padding-block: 8px; cursor: pointer; }
    .btn { min-height: 48px; white-space: normal; }
    .card-content p, .about-copy p, .contact-panel p { font-size: 1rem; }
    .card-content .service-price { font-size: 1.3rem; }
    .form-control, .form-select { font-size: 1rem; }
}
@media (max-width: 767.98px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .row:not(.g-0) { --bs-gutter-x: 24px; }
    .contact-details { overflow-wrap: anywhere; }
    h1, h2, h3, .text-link { overflow-wrap: anywhere; }
    .hero h1, .boarding-hero h1, .service-intro h1, .page-intro h1, .detail-heading h1 {
        font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.15;
    }
    .boarding-hero-grid > *, .section-heading > *, .service-intro > * { min-width: 0; }
    .boarding-hero .eyebrow { letter-spacing: .12em; }
    .hero-actions { gap: 12px; }
    .hero-actions .btn { width: 100%; }
    .hero-actions .text-link { justify-content: center; width: 100%; }
    .hero-location { margin-top: 16px; font-size: .875rem; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
    .section-heading > .text-link { margin-top: 0; font-size: 1rem; white-space: normal; }
    .section-heading .eyebrow { font-size: .75rem; }
    .section-space { padding-block: 40px; }
    .contact-section { padding-top: 0; }
    .page-intro { padding-top: 24px; padding-bottom: 28px; text-align: left; }
    .page-intro .eyebrow { margin-top: 20px; }
    .page-intro p { margin-top: 16px; }
    .detail-page { padding-top: 20px; padding-bottom: 44px; }
    .detail-heading, .service-intro .detail-heading { text-align: left; }
    .service-intro .btn { display: flex; justify-content: center; align-items: center; width: 100%; padding-inline: 16px; }
    .service-intro .lead { font-size: 1rem; line-height: 1.7; margin: 16px 0; }
    .service-intro .service-price { margin-bottom: 16px; }
    .club-breadcrumb { gap: 6px 10px; align-items: center; font-size: .875rem; }
    .club-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
    .club-breadcrumb [aria-current] { overflow-wrap: anywhere; }
    .article-body { margin-top: 28px; }
    .article-body h2 { font-size: 1.75rem; margin-top: 30px; }
    .article-body h3 { font-size: 1.4rem; }
    .article-body ul, .article-body ol { padding-left: 24px; }
    .article-body li + li { margin-top: 10px; }
    .article-body a:not(.btn):not(.text-link), .about-copy p a { text-decoration: underline; text-underline-offset: 3px; }
    .article-body p, .site-footer p, .contact-panel p { overflow-wrap: anywhere; }
    .card-content { padding: 20px; }
    .card-content h3 { font-size: 1.5rem; }
    .card-content .text-link { font-size: 1rem; }
    .card-image img { height: auto; aspect-ratio: 3 / 2; }
    .image-tag { max-width: calc(100% - 24px); left: 12px; bottom: 12px; font-size: .75rem; }
    .about-photo img, .contacts-photo { height: auto; aspect-ratio: 3 / 2; border-radius: 40px 10px 10px 10px; }
    .about-photo > span { position: static; display: block; padding: 10px 0 0; font: .8rem/1.5 Arial, sans-serif; background: none; color: var(--muted); }
    .contact-panel, .contacts-info { padding: 24px 20px; }
    .contacts-page > .row > .col-lg-6:first-child { order: 2; }
    .contacts-page > .row > .col-lg-6:last-child { order: 1; }
    .contacts-info h2 { font-size: 1.75rem; }
    .site-footer .row > .col-6 { width: 100%; }
    .site-footer .footer-title { font-size: 1rem; margin-bottom: 12px; }
    .site-footer p { font-size: 1rem; }
    .editorial-note, .boarding-hero-image figcaption, .service-intro figcaption { font-size: .8125rem; line-height: 1.5; }
}
@media (min-width: 768px) {
    .registration-result { padding-top: 70px; padding-bottom: 90px; }
    .registration-result-card { padding: 45px; }
    .account-page { padding-top: 65px; padding-bottom: 90px; }
}
.service-photo-caption { margin: 10px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.service-conditions { margin: 20px 0; padding: 16px 20px; background: #eee6d9; border-radius: 12px; text-align: left; }
.service-conditions > div + div { margin-top: 12px; }
.service-conditions dt { font-size: .8rem; color: var(--muted); }
.service-conditions dd { margin: 4px 0 0; font-size: 1rem; overflow-wrap: anywhere; white-space: pre-line; }
.photo-expand { display: block; margin: 8px auto 0; padding: 10px 16px; min-height: 44px; border: 0; background: transparent; color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.photo-lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 64px 20px 20px; border: 0; color: #fff; background: #211d19; }
.photo-lightbox::backdrop { background: #211d19; }
.photo-lightbox[open] { display: flex; flex-direction: column; }
.photo-lightbox-body { min-height: 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.photo-lightbox-body img { display: block; max-width: 100%; max-height: calc(100dvh - 220px); object-fit: contain; }
.photo-lightbox-caption { margin: 12px 0; max-width: 800px; overflow: auto; overflow-wrap: anywhere; }
.photo-lightbox button { min-width: 48px; min-height: 48px; border: 1px solid #ffffff55; border-radius: 10px; color: white; background: #ffffff12; font-size: 1.4rem; }
.photo-lightbox button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.photo-lightbox-close { position: absolute; right: 16px; top: 12px; }
.photo-lightbox-controls { display: flex; align-items: center; justify-content: center; gap: 24px; padding-top: 12px; }
.photo-lightbox-controls [hidden] { display: none; }

.header-account { order: 4; margin-left: 8px; }
.header-account:empty { display: none; }
.account-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; color: var(--brown); background: #fffdf980; cursor: pointer; list-style: none; }
.account-icon::-webkit-details-marker { display: none; }
.account-icon:hover { color: var(--brown); background: #eee6d9; }
.account-icon:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.account-symbol { display: block; width: 21px; height: 21px; background: currentColor; mask: url('/static/account.svg') center / contain no-repeat; }
.account-menu { position: relative; }
.account-menu-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 230px; max-width: 80vw; z-index: 20; padding: 16px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px #49342618; }
.account-menu-panel p { margin: 0 0 10px; font-size: .875rem; }
.account-signout { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--brown); }
.auth-links { margin-top: 20px; text-align: center; }
.auth-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }
.auth-register { margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.auth-register span { display: block; margin-bottom: 12px; color: var(--muted); font-size: .9rem; }
.auth-help { margin-top: 20px; text-align: left; font-size: .875rem; }
.auth-help summary { min-height: 44px; padding: 10px 0; cursor: pointer; }
.auth-help p { margin: 10px 0 0; }
@media(max-width:991.98px) {
 .header-account { order: 2; margin: 0 8px 0 0; }
 .navbar .navbar-toggler { order: 3; }
 .navbar .navbar-collapse { order: 5; }
}
@media(max-width:400px) {
 .navbar:has(.account-icon) .club-brand { gap: 6px; }
 .navbar:has(.account-icon) .club-brand img { width: 36px; height: 36px; }
 .navbar:has(.account-icon) .club-brand small { display: none; }
 .navbar:has(.account-icon) .club-brand strong { font-size: 1.3rem; }
 .navbar:has(.account-icon) .navbar-toggler { width: 48px; padding: 4px; }
}
.login-section .text-link { min-width: 44px; justify-content: center; }
