/* Final contemporary visual layer. Loaded last so legacy themes cannot override it. */
:root {
    --v6-gold: #d8b46b;
    --v6-gold-light: #efd69d;
    --v6-wine: #713747;
    --v6-wine-soft: #9a5365;
}

html { scroll-padding-top: 138px; }
body { padding-top: 132px; }

.site-header {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1300;
    min-height: 76px;
    background: radial-gradient(circle at 82% -80%, rgba(119,53,70,.25), transparent 48%), linear-gradient(90deg, rgba(4,12,8,.98), rgba(8,24,17,.98) 54%, rgba(10,15,12,.98)) !important;
    border-bottom: 1px solid rgba(218,180,108,.22);
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
    backdrop-filter: blur(18px);
    transition: min-height .28s ease, box-shadow .28s ease;
}

.navbar, .brand-logo, .site-dock.site-section-nav, .site-dock.site-section-nav a {
    transition: min-height .28s ease, height .28s ease, width .28s ease, top .28s ease, padding .28s ease;
}

body.is-scrolled .site-header { min-height: 62px; box-shadow: 0 12px 34px rgba(0,0,0,.4); }
body.is-scrolled .navbar { min-height: 62px; }
body.is-scrolled .brand-logo { width: 40px; height: 40px; }

.site-dock.site-section-nav {
    position: fixed;
    right: 0;
    left: 0;
    top: 76px !important;
    z-index: 1290;
    min-height: 56px;
    background: linear-gradient(90deg, rgba(7,20,14,.97), rgba(12,29,21,.96) 50%, rgba(16,18,14,.97)) !important;
    border: 0;
    border-bottom: 1px solid rgba(218,180,108,.18);
    border-radius: 0;
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

body.is-scrolled .site-dock.site-section-nav { top: 62px !important; min-height: 48px; }
body.is-scrolled .site-dock.site-section-nav a { min-height: 48px; }
.site-nav-caption { color: #b09c76; }
.site-dock.site-section-nav .site-dock-staff { border-color: rgba(154,83,101,.48); background: rgba(113,55,71,.12) !important; }
.site-dock.site-section-nav .site-dock-staff.is-active { color: #fff3dc; border-color: rgba(218,180,108,.58); background: linear-gradient(135deg,#6f3343,#45242d) !important; }
.back-to-top { display: none !important; }

.header-booking-button, .home-button, .home-map-button, .home-contact-action,
.recruitment-contact-link, .recruitment-application-button, .vacancy-submit,
.callback-submit-button, .booking-button, .book-booking-button, .staff-recruitment-button {
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 10px 19px;
    border: 1px solid rgba(216,180,107,.34) !important;
    border-radius: 11px !important;
    color: #f7f0e4 !important;
    background: linear-gradient(180deg,#173024,#0b1912) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.06), 0 8px 20px rgba(0,0,0,.22) !important;
    filter: none !important;
    text-shadow: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.header-booking-button, .home-button-primary, .home-contact-booking, .vacancy-submit,
.callback-submit-button, .booking-button, .book-booking-button {
    color: #11170f !important;
    border-color: #e1c17e !important;
    background: linear-gradient(180deg,#efd28f,#c99b4d) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.42), 0 10px 24px rgba(169,119,45,.18) !important;
}

.recruitment-application-button {
    color: #fff3ee !important;
    border-color: rgba(218,135,155,.72) !important;
    background: linear-gradient(180deg,#99536a,#693344) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.12), 0 10px 28px rgba(113,55,71,.28) !important;
}
.recruitment-contact-primary { color: #f7f0e4 !important; background: linear-gradient(180deg,#173024,#0b1912) !important; }

.header-booking-button:hover, .home-button:hover, .home-map-button:hover, .home-contact-action:hover,
.recruitment-contact-link:hover, .recruitment-application-button:hover, .vacancy-submit:hover,
.callback-submit-button:hover, .booking-button:hover, .book-booking-button:hover, .staff-recruitment-button:hover {
    transform: translateY(-2px);
    border-color: var(--v6-gold-light) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.1), 0 13px 28px rgba(0,0,0,.3) !important;
}

body.page-home #about {
    background: linear-gradient(105deg,rgba(4,14,9,.92),rgba(4,14,9,.62)), url('/images/decor/about-calm-v6.png') center/cover no-repeat !important;
}
.home-about-atmosphere {
    overflow: hidden;
    border: 1px solid rgba(216,180,107,.24);
    border-left: 3px solid var(--v6-wine-soft);
    border-radius: 18px;
    background: linear-gradient(135deg,rgba(10,29,20,.96),rgba(8,19,14,.9));
    box-shadow: 0 22px 46px rgba(0,0,0,.25);
}
body.page-home .home-about-atmosphere .home-about-note,
body.page-home .home-about-atmosphere .home-about-benefits li { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.page-home .home-about-atmosphere .home-about-note { padding: 22px 22px 18px; }
.home-about-atmosphere .home-about-benefits { display: grid; gap: 0; margin: 0; padding: 0 22px 8px; }
.home-about-atmosphere .home-about-benefits li { border-top: 1px solid rgba(216,180,107,.14) !important; padding: 13px 0; }

body.page-home .salon-gallery-stage, body.page-home .home-hero-visual,
body.page-home .home-map-wrapper, body.page-home .home-recruitment-banner {
    box-shadow: 9px 11px 0 rgba(113,55,71,.46), 0 30px 68px rgba(0,0,0,.4) !important;
}
.salon-gallery-slide.is-active img { animation: v6GalleryIn .65s ease both; }

body.page-home .home-price-section {
    background: linear-gradient(105deg,rgba(3,12,8,.91),rgba(4,13,9,.7)), url('/images/decor/menu-calm-v6.png') center/cover no-repeat !important;
}
body.page-home .program-showcase {
    border-color: rgba(216,180,107,.3);
    background-image: linear-gradient(90deg,rgba(3,10,7,.98) 0,rgba(3,10,7,.9) 31%,rgba(3,10,7,.34) 64%,rgba(3,9,6,.58) 100%), var(--program-image);
    box-shadow: 0 30px 68px rgba(0,0,0,.32);
}
body.page-home .program-choice {
    margin-block: 4px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(90deg,rgba(20,45,32,.55),rgba(8,20,14,.2));
    box-shadow: inset 0 1px rgba(255,255,255,.025);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
body.page-home .program-choice:hover { transform: translateX(4px); border-color: rgba(216,180,107,.2); }
body.page-home .program-choice.is-active {
    border-color: rgba(218,180,108,.48);
    background: linear-gradient(90deg,rgba(126,60,78,.58),rgba(20,48,34,.72));
    box-shadow: inset 3px 0 var(--v6-gold), 0 10px 24px rgba(0,0,0,.18);
}
body.page-home .program-panel-heading > div {
    position: relative;
    min-width: 148px;
    padding: 14px 18px 12px;
    overflow: hidden;
    border: 1px solid rgba(229,198,135,.48);
    border-radius: 16px 4px 16px 4px;
    background: linear-gradient(135deg,rgba(116,51,69,.82),rgba(10,28,19,.94) 64%);
    box-shadow: inset 0 1px rgba(255,255,255,.08), 0 14px 34px rgba(0,0,0,.32);
}
body.page-home .program-panel-heading > div::before { content:""; position:absolute; top:0; left:14px; width:42px; height:2px; background:var(--v6-gold-light); }
body.page-home .program-panel-heading > div strong { display:block; color:#fff5df; font-size:clamp(30px,3vw,42px); line-height:.95; }
body.page-home .program-panel-heading > div strong small { color:var(--v6-gold-light); font-size:.42em; letter-spacing:.08em; }
body.page-home .program-panel-heading > div span { display:block; margin-top:7px; color:#d5c7b1; font-size:11px; letter-spacing:.09em; text-transform:uppercase; }
.program-display-actions { display: none !important; }
.program-panel .program-card-copy,
body.page-home .program-panel .program-card-copy {
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}
.program-panel .program-card-copy::after,
body.page-home .program-panel .program-card-copy::after,
.program-showcase::after { display: none !important; }
.program-panel .program-card-copy p { background: transparent !important; box-shadow: none !important; }
.is-program-changing .program-panel.is-active { animation: v6ProgramIn .55s ease both; }

body.page-home .home-location-section {
    background: linear-gradient(100deg,rgba(3,11,7,.9) 0,rgba(3,11,7,.63) 52%,rgba(4,13,9,.72)), url('/images/decor/contact-calm-v6.png') center/cover no-repeat !important;
}
body.page-home .home-location-item { background:rgba(7,22,15,.92); border-color:rgba(216,180,107,.14); }

.booking-popup, .vacancy-dialog {
    background: linear-gradient(155deg,#0c2017,#06110c) !important;
    border-color: rgba(216,180,107,.3) !important;
}
.booking-popup.is-open, .vacancy-modal.is-open .vacancy-dialog,
.vacancy-modal[aria-hidden="false"] .vacancy-dialog { animation:v6DialogIn .34s cubic-bezier(.2,.8,.2,1) both; }

.profile-card, .profile-card:nth-child(even) { box-shadow:7px 9px 0 rgba(113,55,71,.42),0 28px 62px rgba(0,0,0,.42); }
.profile-card:hover { transform:translateY(-5px); box-shadow:9px 12px 0 rgba(132,64,82,.46),0 36px 76px rgba(0,0,0,.5); }
.profile-card-image, .profile-card:hover .profile-card-image { filter:none !important; }
.profile-book { box-shadow:9px 11px 0 rgba(113,55,71,.48),0 44px 104px rgba(0,0,0,.74); }
.profile-book-overlay[aria-hidden="false"] .profile-book { animation:v6DialogIn .38s cubic-bezier(.2,.8,.2,1) both; }

@keyframes v6GalleryIn { from { opacity:.35; transform:scale(1.025); } to { opacity:1; transform:scale(1); } }
@keyframes v6ProgramIn { from { opacity:.2; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes v6DialogIn { from { opacity:0; transform:translateY(18px) scale(.97); } to { opacity:1; transform:none; } }

@media (max-width: 900px) {
    html { scroll-padding-top:120px; }
    body { padding-top:120px; }
    .site-header { min-height:68px; }
    .site-dock.site-section-nav { top:68px !important; }
    body.is-scrolled .site-header, body.is-scrolled .navbar { min-height:60px; }
    body.is-scrolled .site-dock.site-section-nav { top:60px !important; }
    body.page-home .program-panel-heading > div { min-width:132px; }
}

@media (max-width: 560px) {
    html { scroll-padding-top:112px; }
    body { padding-top:112px; }
    .site-nav-links { gap:16px; }
    .site-dock.site-section-nav .site-dock-staff { padding-inline:8px; }
    body.page-home .program-panel-heading > div { min-width:108px; padding:12px 11px 10px; }
    body.page-home .program-panel-heading > div strong { font-size:28px; }
    body.page-home .home-hero-visual, body.page-home .salon-gallery-stage,
    body.page-home .home-map-wrapper, body.page-home .home-recruitment-banner {
        box-shadow:5px 7px 0 rgba(113,55,71,.4),0 22px 48px rgba(0,0,0,.36) !important;
    }
    .profile-card, .profile-card:nth-child(even) { box-shadow:5px 7px 0 rgba(113,55,71,.38),0 22px 48px rgba(0,0,0,.42); }
}

@media (prefers-reduced-motion: reduce) {
    .salon-gallery-slide.is-active img, .is-program-changing .program-panel.is-active,
    .booking-popup.is-open, .vacancy-modal.is-open .vacancy-dialog,
    .vacancy-modal[aria-hidden="false"] .vacancy-dialog,
    .profile-book-overlay[aria-hidden="false"] .profile-book { animation:none !important; }
    .site-header, .navbar, .brand-logo, .site-dock.site-section-nav, .site-dock.site-section-nav a { transition:none !important; }
}

/* V7: staff gallery transitions and refined controls. */
.photo-viewer-content { perspective: 1200px; }
.photo-viewer-image {
    border: 1px solid rgba(232, 201, 139, .42) !important;
    border-radius: 18px !important;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .72), 0 0 0 1px rgba(255,255,255,.025) !important;
    transform-origin: center;
    will-change: transform, opacity;
}

.photo-viewer-content.is-changing-next .photo-viewer-image { animation: staffPhotoNext .42s cubic-bezier(.4,0,.2,1) both; }
.photo-viewer-content.is-changing-previous .photo-viewer-image { animation: staffPhotoPrevious .42s cubic-bezier(.4,0,.2,1) both; }

@keyframes staffPhotoNext {
    0% { opacity:1; transform:translateX(0) rotateY(0) scale(1); }
    45% { opacity:0; transform:translateX(-34px) rotateY(3deg) scale(.985); }
    46% { opacity:0; transform:translateX(34px) rotateY(-3deg) scale(.985); }
    100% { opacity:1; transform:translateX(0) rotateY(0) scale(1); }
}

@keyframes staffPhotoPrevious {
    0% { opacity:1; transform:translateX(0) rotateY(0) scale(1); }
    45% { opacity:0; transform:translateX(34px) rotateY(-3deg) scale(.985); }
    46% { opacity:0; transform:translateX(-34px) rotateY(3deg) scale(.985); }
    100% { opacity:1; transform:translateX(0) rotateY(0) scale(1); }
}

.photo-viewer-arrow,
.profile-book-close,
.photo-viewer-close {
    display:grid !important;
    place-items:center;
    width:50px !important;
    height:50px !important;
    padding:0 !important;
    border:1px solid rgba(232,201,139,.5) !important;
    border-radius:50% !important;
    color:#f6dfaa !important;
    background:linear-gradient(145deg,rgba(21,48,34,.96),rgba(7,19,13,.96)) !important;
    box-shadow:inset 0 1px rgba(255,255,255,.08),0 12px 30px rgba(0,0,0,.38) !important;
    backdrop-filter:blur(14px);
    line-height:1;
    text-shadow:none;
    transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease !important;
}

.photo-viewer-arrow { font-size:36px !important; }
.photo-viewer-previous { transform:translateY(-50%); }
.photo-viewer-next { transform:translateY(-50%); }
.photo-viewer-arrow:hover {
    border-color:#efd69d !important;
    background:linear-gradient(145deg,#82485a,#46252e) !important;
    box-shadow:0 14px 34px rgba(0,0,0,.45),0 0 0 5px rgba(216,180,107,.07) !important;
}
.photo-viewer-previous:hover { transform:translateY(-50%) translateX(-3px); }
.photo-viewer-next:hover { transform:translateY(-50%) translateX(3px); }
.profile-book-close:hover,.photo-viewer-close:hover { transform:rotate(90deg); border-color:#efd69d !important; background:#633343 !important; }

.photo-viewer-counter {
    right:auto !important;
    bottom:8px !important;
    left:50% !important;
    width:auto;
    padding:7px 13px;
    border:1px solid rgba(216,180,107,.3);
    border-radius:999px;
    color:#eadfca !important;
    background:rgba(5,16,11,.82);
    box-shadow:0 8px 22px rgba(0,0,0,.3);
    backdrop-filter:blur(12px);
    transform:translateX(-50%);
}

.profile-card-arrow {
    width:42px !important;
    height:42px !important;
    border:1px solid rgba(230,197,132,.48) !important;
    border-radius:50% !important;
    color:#f8e5b6 !important;
    background:linear-gradient(145deg,rgba(20,48,34,.92),rgba(7,19,13,.94)) !important;
    box-shadow:0 10px 25px rgba(0,0,0,.34) !important;
    transition:transform .22s ease,background .22s ease,border-color .22s ease !important;
}
.profile-card:hover .profile-card-arrow {
    transform:translate(2px,-2px);
    border-color:#efd69d !important;
    background:linear-gradient(145deg,#8e4b5f,#572b38) !important;
}

.book-profile-thumbnail {
    border-radius:14px !important;
    border-color:rgba(216,180,107,.25) !important;
    box-shadow:0 10px 24px rgba(0,0,0,.24);
}
.book-profile-thumbnail:hover {
    transform:translateX(-4px) scale(1.025);
    border-color:#ddb974 !important;
    box-shadow:0 14px 30px rgba(0,0,0,.34),0 0 0 3px rgba(113,55,71,.16);
}

.book-booking-button {
    position:relative;
    min-height:50px !important;
    padding:12px 24px !important;
    border-radius:13px !important;
    color:#15170f !important;
    background:linear-gradient(180deg,#f1d694,#c99a4d) !important;
    box-shadow:inset 0 1px rgba(255,255,255,.45),0 12px 28px rgba(177,127,48,.2) !important;
}
.book-booking-button:hover { transform:translateY(-2px); box-shadow:inset 0 1px rgba(255,255,255,.5),0 16px 34px rgba(177,127,48,.28) !important; }

@media (max-width:720px) {
    .photo-viewer-arrow { width:44px !important;height:44px !important;font-size:31px !important; }
    .book-profile-thumbnail:hover { transform:translateY(-3px) scale(1.02); }
}

@media (prefers-reduced-motion:reduce) {
    .photo-viewer-content.is-changing-next .photo-viewer-image,
    .photo-viewer-content.is-changing-previous .photo-viewer-image { animation:none !important; }
}

.vacancy-form select {
    width:100%;
    min-height:46px;
    padding:11px 40px 11px 13px;
    border:1px solid rgba(216,180,107,.2);
    border-radius:11px;
    color:#f4ede1;
    background:#050d09;
    font:inherit;
}
.vacancy-form select:focus {
    outline:2px solid rgba(216,180,107,.28);
    outline-offset:2px;
    border-color:rgba(216,180,107,.55);
}
[data-vacancy-contact]:not([hidden]) { animation:vacancyContactIn .25s ease both; }
[data-vacancy-contact][hidden] { display:none !important; }
@keyframes vacancyContactIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { [data-vacancy-contact]:not([hidden]) { animation:none; } }

.legal-page {
    min-height:70vh;
    padding:clamp(130px,16vw,190px) 24px 90px;
}
.legal-page-inner {
    width:min(900px,100%);
    margin:0 auto;
    padding:clamp(28px,5vw,64px);
    border:1px solid rgba(216,180,107,.24);
    border-radius:24px;
    background:linear-gradient(145deg,rgba(8,22,15,.98),rgba(4,12,8,.98));
    box-shadow:0 30px 70px rgba(0,0,0,.28);
}
.legal-page h1 {
    margin:8px 0 18px;
    color:#f3eee4;
    font:600 clamp(42px,7vw,72px)/.98 "Cormorant Garamond",serif;
}
.legal-page h2 {
    margin:34px 0 10px;
    color:#ddb867;
    font:600 25px/1.15 "Cormorant Garamond",serif;
}
.legal-page p { color:#c8c5bc; line-height:1.75; }
.legal-page a { color:#e1bd6d; text-underline-offset:3px; }
.legal-lead { max-width:680px; font-size:18px; }
.legal-back-link,.legal-contact-link {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    margin-top:30px;
    padding:10px 18px;
    border:1px solid rgba(216,180,107,.42);
    border-radius:12px;
    text-decoration:none;
    background:#0b1d14;
}
.error-page-actions { display:flex; flex-wrap:wrap; gap:12px; }
.callback-consent a,.vacancy-consent a { color:#d9b45f; }

.home-map-consent {
    position:absolute;
    inset:0;
    z-index:2;
    display:grid;
    place-content:center;
    justify-items:center;
    gap:14px;
    padding:28px;
    color:#d7d3c8;
    text-align:center;
    background:linear-gradient(145deg,rgba(5,18,12,.94),rgba(3,10,7,.9));
}
.home-map-consent[hidden] { display:none; }
.home-map-consent button {
    min-height:44px;
    padding:10px 20px;
    border:1px solid rgba(216,180,107,.48);
    border-radius:12px;
    color:#17150e;
    background:linear-gradient(180deg,#ecd087,#c99b50);
    font:700 14px/1 "Manrope",sans-serif;
    cursor:pointer;
}
