* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #FFB6C1;
    --primary-dark: #FF91A4;
    --secondary-cream: #FFF5EE;
    --peach: #FFDAB9;
    --rose: #FFC0CB;
    --text-dark: #5D4E6D;
    --text-muted: #9B8FA6;
    --bg-light: #FFF9F5;
    --border-color: #FFE4E1;
    --shadow: 0 4px 12px rgba(255, 182, 193, 0.15);
    --shadow-lg: 0 8px 24px rgba(255, 182, 193, 0.25);
}

/* Dark Theme */
body.dark-theme {
    --primary-gold: #FF69B4;
    --primary-dark: #FF1493;
    --secondary-cream: #2C2C2C;
    --peach: #3A3A3A;
    --rose: #FF69B4;
    --text-dark: #E8E8E8;
    --text-muted: #B8B8B8;
    --bg-light: #1A1A1A;
    --border-color: #404040;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.7);
}

body.dark-theme {
    background-color: #1A1A1A;
    color: #E8E8E8;
}

body.dark-theme .header {
    background: #2C2C2C;
    border-bottom: 1px solid #404040;
}

body.dark-theme .hero {
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
}

body.dark-theme .service-card,
body.dark-theme .master-card,
body.dark-theme .contact-card,
body.dark-theme .modal-content {
    background: #2C2C2C;
    border-color: #404040;
}

body.dark-theme .location-item {
    background: rgba(44, 44, 44, 0.98);
    border-color: rgba(255, 105, 180, 0.3);
}

body.dark-theme .location-item strong,
body.dark-theme .location-item div {
    color: #E8E8E8;
}

/* Theme Toggle Button */
.theme-toggle {
    position: static;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.4);
    z-index: 1;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-icon {
    font-size: 20px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
}

/* Fixed Logo in top left corner */
.fixed-logo {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 48px;
    height: 48px;
    z-index: 1001;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(255, 182, 193, 0.3);
    overflow: hidden;
    transition: transform 0.3s;
}

.fixed-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fixed-logo:hover {
    transform: scale(1.1);
}

/* Hide animated logo */
.animated-logo {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Telegram Widget - минималистичный квадратный */
.telegram-widget {
    position: fixed;
    bottom: 30px;
    right: 24px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc, #0077b5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.telegram-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.6);
}

/* Animated Logo */
.animated-logo {
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.animated-logo img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 20px rgba(255, 182, 193, 0.5));
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-10px);
    }
}

/* Header */
.header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary-gold);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-family: 'AA Triple', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 2px;
    letter-spacing: 2px;
}

/* Keep the compact fixed mark clear of the wordmark. */
.header .logo {
    padding-left: 58px;
}

.logo .subtitle {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'AA Triple', serif;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-telegram-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0088cc, #0077b5);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-telegram-header:hover {
    background: linear-gradient(135deg, #0077b5, #006699);
    transform: translateY(-2px);
}

.btn-telegram-header svg {
    width: 20px;
    height: 20px;
}

.btn-mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-gold);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4E1 100%);
    color: var(--text-dark);
    padding: 120px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 192, 203, 0.2), transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'AA Triple', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-gold);
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 600px;
}

.hero-locations {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(255, 182, 193, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.location-item strong {
    display: block;
    color: #0a0a0a;
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 900;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 1);
}

.location-item div {
    color: #0a0a0a;
    font-weight: 700;
}

.map-link {
    color: #DC143C;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    font-weight: 900;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 1);
}

.map-link:hover {
    color: #FF1493;
    text-decoration: underline;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark));
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-telegram-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(0, 136, 204, 0.9);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-telegram-hero:hover {
    background: #0088cc;
    transform: translateY(-2px);
}

.btn-telegram-hero svg {
    width: 20px;
    height: 20px;
}

/* Telegram Info Section */
.telegram-info-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0;
}

.telegram-info-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.telegram-info-icon svg {
    width: 80px;
    height: 80px;
}

.telegram-info-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.telegram-info-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.telegram-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.telegram-benefits li {
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 0;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    font-family: 'AA Triple', serif;
    font-size: 42px;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 60px;
}

.service-category {
    margin-bottom: 80px;
}

.category-title {
    font-family: 'AA Triple', serif;
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--peach), var(--rose));
    border-radius: 50%;
    flex-shrink: 0;
}

.service-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-description {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.service-info .price {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-info .duration {
    color: var(--text-muted);
    font-size: 13px;
}

.btn-book {
    width: 100%;
    padding: 10px;
    background: var(--primary-gold);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-book:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Masters Section */
.masters {
    padding: 80px 0;
    background: var(--bg-light);
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.master-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.master-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.master-image {
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--peach), var(--rose));
    border-radius: 50%;
    margin: 0 auto 20px;
}

.master-name {
    font-family: 'AA Triple', serif;
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.master-specialty {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.master-experience {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.master-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag {
    background: var(--secondary-cream);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Gallery */
.gallery {
    padding: 80px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* The gallery stays gently alive without requiring hover.  Motion is limited
   to composited transforms/opacity so it remains smooth on mobile devices. */
.gallery-item {
    position: relative;
    isolation: isolate;
    animation: gallery-card-breathe 6s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: -45% -65%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.34) 50%, transparent 58%);
    transform: translateX(-54%) rotate(8deg);
    animation: gallery-shimmer 8s ease-in-out infinite;
}

.gallery-item > span {
    display: inline-block;
    animation: gallery-icon-float 4.8s ease-in-out infinite;
    filter: drop-shadow(0 7px 9px rgba(22, 14, 34, .24));
    will-change: transform;
}

.gallery-item:nth-child(2n) { animation-delay: -2.2s; }
.gallery-item:nth-child(3n) { animation-delay: -4.1s; }
.gallery-item:nth-child(2n) > span { animation-delay: -1.25s; }
.gallery-item:nth-child(3n) > span { animation-delay: -2.6s; }
.gallery-item:nth-child(2n)::after { animation-delay: -3.4s; }
.gallery-item:nth-child(3n)::after { animation-delay: -5.9s; }

@keyframes gallery-card-breathe {
    0%, 100% { transform: translate3d(0, 0, 0); box-shadow: 0 12px 28px rgba(9, 8, 15, .18); }
    50% { transform: translate3d(0, -6px, 0); box-shadow: 0 20px 36px rgba(9, 8, 15, .28); }
}

@keyframes gallery-icon-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg) scale(1); }
    50% { transform: translate3d(0, -9px, 0) rotate(3deg) scale(1.08); }
}

@keyframes gallery-shimmer {
    0%, 26% { opacity: 0; transform: translateX(-54%) rotate(8deg); }
    42% { opacity: .7; }
    58%, 100% { opacity: 0; transform: translateX(54%) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-item, .gallery-item::after, .gallery-item > span { animation: none; }
}

/* Contacts */
.contacts {
    padding: 80px 0;
    background: var(--bg-light);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.contact-card a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.btn-map {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--primary-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-map:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.footer .security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    letter-spacing: 0.02em;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    margin: 50px auto;
    padding: 40px;
    border-radius: 16px;
    max-width: 900px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close:hover {
    color: var(--text-dark);
}

.modal-title {
    font-family: 'AA Triple', serif;
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.booking-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.booking-method {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.booking-method:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    margin-bottom: 20px;
}

.booking-method h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.booking-method p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.method-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.method-benefits li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 14px;
}

.booking-method button {
    width: 100%;
}

.btn-secondary {
    background: #fff;
    color: var(--text-dark);
    border: 2px solid var(--primary-gold);
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: #fff;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

/* Booking Form */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
}

.booking-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.booking-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .telegram-info-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .telegram-benefits {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }

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

    .booking-methods {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .btn-mobile-menu {
        display: block;
    }

    .modal-content {
        margin: 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .floating-logo,
    .telegram-widget {
        bottom: 20px;
    }

    .floating-logo {
        left: 20px;
        width: 60px;
        height: 60px;
    }

    .telegram-widget {
        right: 20px;
    }

    .hero {
        padding: 80px 0;
    }

    .location-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2C1810 0%, #4A3728 50%, #6B5D52 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,150 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(212,175,55,0.1)"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-locations {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.location-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.location-icon {
    font-size: 24px;
}

.location-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.map-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s;
}

.map-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gold);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-book {
    background: #fff;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-book:hover {
    background: var(--primary-gold);
    color: #fff;
    transform: translateY(-2px);
}

.btn-map {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background: var(--primary-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-map:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 50px;
    font-weight: 300;
}

.categories-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
    overflow-x: auto;
    padding-bottom: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: #fff;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-category {
    display: block;
}

.service-category.hidden {
    display: none;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-gold);
    display: inline-block;
}

.service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
    transform: translateY(-4px);
}

.service-info {
    flex: 1;
}

.service-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.service-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.duration {
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
}

/* Masters Section */
.masters-section {
    padding: 80px 0;
    background: #fff;
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.master-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.master-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.master-photo {
    width: 120px;
    height: 120px;
    background: #fff;
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
}

.master-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.master-specialty {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 14px;
}

.master-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.master-rating .stars {
    color: var(--primary-gold);
    font-size: 16px;
}

.master-experience {
    font-size: 13px;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    gap: 12px;
}

.gallery-icon {
    font-size: 56px;
}

.gallery-placeholder p {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contacts Section */
.contacts-section {
    padding: 80px 0;
    background: #fff;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 12px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item p {
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.text-muted {
    color: var(--text-muted);
    font-size: 14px;
}

.social-section {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 16px;
}

.social-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    padding: 12px 28px;
    background: var(--primary-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: #fff;
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-gold);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 24, 16, 0.7);
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 540px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin: 20px;
    border: 3px solid var(--primary-gold);
}

.close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 32px;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary-gold);
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-dark);
    text-align: center;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group input[readonly] {
    background: var(--bg-light);
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* Success Modal */
.success-modal {
    text-align: center;
}

.success-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    margin: 0 auto 28px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.success-modal h3 {
    color: var(--primary-gold);
    margin-bottom: 16px;
}

.success-details {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.8;
    border: 2px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .btn-mobile-menu {
        display: block;
    }

    .header .logo {
        padding-left: 52px;
    }

    .header-actions {
        gap: 8px;
    }

    .btn-telegram-header {
        padding: 8px 12px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-locations {
        flex-direction: column;
        gap: 16px;
    }

    .service-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .service-action {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

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

    .masters-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .categories-filter {
        justify-content: flex-start;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .floating-logo {
        width: 60px;
        height: 60px;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .fixed-logo {
        top: 12px;
        left: 12px;
        width: 42px;
        height: 42px;
    }

    .theme-toggle {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    .theme-icon {
        font-size: 18px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .modal-content {
        padding: 28px 24px;
    }
}
 /* Static background: the video layer is intentionally disabled for a lighter, faster page. */
 body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(135deg, rgba(255,250,252,.96), rgba(255,233,245,.9)); }

 /* Compact theme palette in the free header space. */
 .theme-picker { position: relative; display: flex; align-items: center; }
 .theme-menu { position: absolute; top: calc(100% + 12px); right: 0; z-index: 1100; display: grid; gap: 6px; min-width: 176px; padding: 8px; border: 1px solid rgba(255,255,255,.65); border-radius: 16px; background: rgba(42,24,48,.94); box-shadow: 0 18px 38px rgba(42,16,54,.28); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
 .theme-picker.is-open .theme-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
 .theme-option { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: #fff; font: 600 12px/1.2 inherit; text-align: left; cursor: pointer; }
 .theme-option:hover, .theme-option.is-active { background: rgba(255,255,255,.14); }
 .theme-dot { width: 14px; height: 14px; flex: 0 0 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
 .theme-dot.rose { background: linear-gradient(135deg,#ff9bc4,#ff4f9b); }
 .theme-dot.lavender { background: linear-gradient(135deg,#c5b5ff,#8b6dff); }
 .theme-dot.graphite { background: linear-gradient(135deg,#46505d,#161a22); }
 .theme-dot.cream { background: linear-gradient(135deg,#ffe6b0,#c88955); }
 body[data-theme="lavender"] { --primary-gold:#b69cff; --primary-dark:#7c5ce5; --secondary-cream:#f5f1ff; --peach:#e5dcff; --rose:#c9b8ff; --text-dark:#423b5e; --text-muted:#81769d; --bg-light:#faf8ff; --border-color:#e5ddff; }
 body[data-theme="graphite"] { --primary-gold:#ff77b7; --primary-dark:#c3488c; --secondary-cream:#252932; --peach:#363b46; --rose:#ff94c8; --text-dark:#f4f4f7; --text-muted:#b7bcc7; --bg-light:#1a1e25; --border-color:#464c58; background-color:#1a1e25; }
 body[data-theme="cream"] { --primary-gold:#c98a54; --primary-dark:#97603a; --secondary-cream:#fff8ee; --peach:#f5dfc8; --rose:#e9b78e; --text-dark:#564033; --text-muted:#927866; --bg-light:#fffaf4; --border-color:#f0d8c0; }
body[data-theme="graphite"]::before { background: linear-gradient(135deg,rgba(22,26,34,.96),rgba(48,38,58,.92)); }
body[data-theme="lavender"]::before { background: linear-gradient(135deg,rgba(250,248,255,.96),rgba(234,226,255,.9)); }
body[data-theme="cream"]::before { background: linear-gradient(135deg,rgba(255,252,246,.97),rgba(250,232,211,.9)); }
/* The hero and content surfaces follow the selected palette as well. */
body[data-theme="rose"] .hero { background: linear-gradient(135deg, #fff0f6 0%, #ffd9e9 100%); }
body[data-theme="rose"] .telegram-info-section,
body[data-theme="rose"] .services,
body[data-theme="rose"] .masters,
body[data-theme="rose"] .gallery,
body[data-theme="rose"] .contacts,
body[data-theme="rose"] .footer { background: #fffafd; }
body[data-theme="lavender"] .hero { background: linear-gradient(135deg, #f4efff 0%, #ddd2ff 100%); }
body[data-theme="lavender"] .telegram-info-section,
body[data-theme="lavender"] .services,
body[data-theme="lavender"] .masters,
body[data-theme="lavender"] .gallery,
body[data-theme="lavender"] .contacts,
body[data-theme="lavender"] .footer { background: #faf8ff; }
body[data-theme="cream"] .hero { background: linear-gradient(135deg, #fff5e8 0%, #efd1b2 100%); }
body[data-theme="cream"] .telegram-info-section,
body[data-theme="cream"] .services,
body[data-theme="cream"] .masters,
body[data-theme="cream"] .gallery,
body[data-theme="cream"] .contacts,
body[data-theme="cream"] .footer { background: #fffaf4; }
body[data-theme="graphite"] .hero { background: linear-gradient(135deg, #2a303b 0%, #141820 100%); }
body[data-theme="graphite"] .telegram-info-section,
body[data-theme="graphite"] .services,
body[data-theme="graphite"] .masters,
body[data-theme="graphite"] .gallery,
body[data-theme="graphite"] .contacts,
body[data-theme="graphite"] .footer { background: #1c212b; }
body[data-theme="graphite"] .hero-overlay { background: radial-gradient(circle at 28% 40%, rgba(255,119,183,.18), transparent 55%); }
body[data-theme="lavender"] .hero-overlay { background: radial-gradient(circle at 28% 40%, rgba(139,109,255,.18), transparent 55%); }
body[data-theme="cream"] .hero-overlay { background: radial-gradient(circle at 28% 40%, rgba(201,138,84,.2), transparent 55%); }

/* Subscriptions */
.subscriptions {
    padding: 80px 0;
    background: var(--bg-light);
}
.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 390px));
    justify-content: start;
    gap: 24px;
}
.subscription-card {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--primary-gold) 24%, var(--border-color));
    border-radius: 22px;
    background: color-mix(in srgb, var(--bg-light) 88%, #fff);
    box-shadow: 0 18px 45px rgba(74, 37, 77, .12);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.subscription-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-gold);
    box-shadow: 0 22px 54px rgba(74, 37, 77, .2);
}
.subscription-art {
    position: relative;
    height: 174px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 16% 92%, rgba(202,255,26,.94) 0 18%, transparent 48%),
        radial-gradient(ellipse at 82% 22%, rgba(160,235,0,.82) 0 22%, transparent 54%),
        linear-gradient(135deg, #5e9d00 0%, #a8d500 46%, #d7f53b 100%);
}
.subscription-art::before,
.subscription-art::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 70%;
    left: -25%;
    border-radius: 50%;
    border-top: 16px solid rgba(235,255,96,.42);
    transform: rotate(-20deg);
}
.subscription-art::before { top: 16%; }
.subscription-art::after { top: 48%; border-top-color: rgba(81,150,0,.34); }
.subscription-art span { position: absolute; right: 22px; top: 16px; color: rgba(255,255,255,.78); font-size: 22px; z-index: 1; }
.subscription-art i, .subscription-art b { position: absolute; display: block; width: 180px; height: 34px; border-radius: 50%; background: rgba(236,255,99,.28); transform: rotate(-20deg); }
.subscription-art i { left: -25px; bottom: 26px; }
.subscription-art b { right: -45px; bottom: 2px; background: rgba(84,154,0,.3); }
.subscription-content { padding: 20px 20px 18px; }
.subscription-kicker { margin: 0 0 7px; color: var(--primary-dark); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.subscription-content h3 { margin: 0 0 13px; color: var(--text-dark); font-size: 18px; line-height: 1.3; }
.subscription-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--text-muted); font-size: 13px; }
.subscription-meta span { padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--primary-gold) 12%, transparent); }
.subscription-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.subscription-footer strong { color: var(--text-dark); font-size: 20px; white-space: nowrap; }
.subscription-action { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 13px; border-radius: 999px; background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark)); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.subscription-action:hover { transform: translateY(-2px); box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-gold) 32%, transparent); }
body[data-theme="graphite"] .subscriptions { background: #1c212b; }
body[data-theme="graphite"] .subscription-card { background: #252c37; border-color: #475161; }
body[data-theme="graphite"] .subscription-content h3,
body[data-theme="graphite"] .subscription-footer strong { color: #f7f8fb; }
body[data-theme="graphite"] .subscription-meta { color: #c5ccd8; }
@media (max-width: 560px) {
    .subscriptions { padding: 58px 0; }
    .subscriptions-grid { grid-template-columns: 1fr; }
    .subscription-footer { align-items: stretch; flex-direction: column; }
    .subscription-action { width: 100%; }
}

/* DIKIDI-like booking flow */
.booking-flow { max-width: 760px; margin: 0 auto; }
.booking-step[hidden] { display: none !important; }
.booking-kicker { margin: 0 0 4px; color: var(--primary-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.booking-step h3 { margin: 0 0 8px; color: var(--text-dark); font-size: 24px; }
.booking-hint, .booking-loading, .booking-empty { color: var(--text-muted); margin: 0 0 18px; }
.master-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.master-choice { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 1px solid var(--border-color); border-radius: 16px; background: var(--bg-light); color: var(--text-dark); text-align: left; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.master-choice:hover { transform: translateY(-3px); border-color: var(--primary-gold); box-shadow: var(--shadow-lg); }
.master-choice-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #eef3fa; font-size: 23px; }
.master-choice-copy { display: grid; gap: 3px; min-width: 0; }
.master-choice-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.master-choice-copy small { color: var(--text-muted); }
.master-choice-action { padding: 8px 11px; border-radius: 999px; background: rgba(0,136,204,.1); color: #087dcc; font-size: 12px; font-weight: 700; white-space: nowrap; }
.date-choices { display: grid; gap: 14px; margin: 20px 0; }
.date-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.date-choices-label { margin: 2px 0 -2px; color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.date-calendar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.date-choice, .time-choice { display: inline-flex; align-items: center; justify-content: center; min-width: 0; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-light); color: var(--text-dark); padding: 11px 10px; cursor: pointer; font: 700 13px/1.15 'Montserrat', sans-serif; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.date-choice:hover, .time-choice:hover, .date-choice:focus-visible, .time-choice:focus-visible { border-color: var(--primary-gold); background: var(--primary-gold); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 16px color-mix(in srgb, var(--primary-gold) 28%, transparent); outline: none; }
.date-choice-featured { flex-direction: column; min-height: 62px; gap: 3px; padding: 10px 12px; color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark)); box-shadow: 0 8px 18px color-mix(in srgb, var(--primary-gold) 28%, transparent); }
.date-choice-featured small { font-size: 10px; font-weight: 600; opacity: .86; }
.time-choices { padding: 18px; border: 1px solid color-mix(in srgb, var(--primary-gold) 25%, var(--border-color)); border-radius: 18px; background: color-mix(in srgb, var(--bg-light) 88%, var(--primary-gold)); margin-bottom: 18px; }
.time-choices .booking-hint { margin-bottom: 12px; font-weight: 700; }
.time-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.time-choice { min-height: 42px; padding: 9px 7px; background: color-mix(in srgb, var(--bg-light) 80%, transparent); }
@media (max-width: 560px) { .date-calendar { grid-template-columns: repeat(3, minmax(0, 1fr)); } .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .date-choice { padding: 11px 7px; font-size: 12px; } }
.booking-summary { padding: 14px 16px; margin: 0 0 18px; border-radius: 14px; background: var(--bg-light); border: 1px solid var(--border-color); color: var(--text-dark); line-height: 1.7; }
.booking-hidden { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 560px) { .master-choice { grid-template-columns: 44px 1fr; } .master-choice-action { grid-column: 2; justify-self: start; } .master-choice-avatar { width: 42px; height: 42px; } }
@media (max-width: 520px) { .theme-menu { right: -34px; min-width: 166px; } }
@media (max-width: 520px) {
    .header-content { gap: 8px; }
    .logo { min-width: 0; }
    .logo h1 { font-size: 27px; }
    .logo .subtitle { font-size: 9px; letter-spacing: 2px; }
    .header-actions { gap: 6px; min-width: 0; }
    .btn-telegram-header { width: 38px; height: 38px; padding: 8px; justify-content: center; gap: 0; font-size: 0; }
    .btn-telegram-header svg { width: 20px; height: 20px; }
    .language-toggle { min-width: 50px; padding: 0 8px; }
    .btn-mobile-menu { padding: 0; }
    .header .logo { padding-left: 36px; }
    .fixed-logo { width: 40px; height: 40px; }
}

/* Soft light-to-pink shimmer for the wordmark. */
.logo h1 {
    background: linear-gradient(110deg, #f08ab8 0%, #fff4fb 38%, #f08ab8 62%, #d46bb3 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: mabelleWordmarkShimmer 5s ease-in-out infinite;
}
@keyframes mabelleWordmarkShimmer {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

/* Branded replacement for native alert dialogs. */
.site-notice[hidden] { display: none; }
.site-notice { position: fixed; inset: 0; z-index: 2600; display: grid; place-items: center; padding: 20px; background: rgba(22, 18, 30, .58); backdrop-filter: blur(10px); opacity: 0; transition: opacity .22s ease; }
.site-notice.is-visible { opacity: 1; }
.site-notice-card { width: min(100%, 430px); padding: 30px 28px 26px; border: 1px solid var(--border-color); border-radius: 24px; background: var(--bg-light); color: var(--text-dark); box-shadow: 0 24px 70px rgba(11, 12, 20, .3); text-align: center; transform: translateY(14px) scale(.98); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.site-notice.is-visible .site-notice-card { transform: translateY(0) scale(1); }
.site-notice-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 15px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-gold), var(--rose)); color: #fff; font-size: 28px; font-weight: 800; box-shadow: 0 10px 26px rgba(255, 119, 183, .28); }
.site-notice-card h2 { margin: 0 0 9px; color: var(--text-dark); font: 700 24px/1.2 'AA Triple', serif; }
.site-notice-card p { margin: 0 auto 22px; max-width: 330px; color: var(--text-muted); font-size: 15px; line-height: 1.55; }
.site-notice-button { min-width: 150px; }
.site-notice.is-error .site-notice-icon { background: linear-gradient(135deg, #e06b87, #a74668); }
body[data-theme="graphite"] .site-notice-card { background: #252c37; border-color: #536075; }
body[data-theme="graphite"] .site-notice-card h2 { color: #f7f8fb; }
body[data-theme="graphite"] .site-notice-card p { color: #c5ccd8; }
@media (max-width: 520px) { .site-notice-card { padding: 26px 20px 22px; border-radius: 20px; } .site-notice-card h2 { font-size: 21px; } }

.telegram-confirm[hidden] { display: none; }
.telegram-confirm { position: fixed; inset: 0; z-index: 2700; display: grid; place-items: center; padding: 20px; background: rgba(17, 14, 25, .62); backdrop-filter: blur(12px); opacity: 0; transition: opacity .22s ease; }
.telegram-confirm.is-visible { opacity: 1; }
.telegram-confirm-card { position: relative; width: min(100%, 440px); padding: 34px 30px 28px; border: 1px solid color-mix(in srgb, var(--primary-gold) 32%, var(--border-color)); border-radius: 26px; background: color-mix(in srgb, var(--bg-light) 95%, #fff); color: var(--text-dark); text-align: center; box-shadow: 0 28px 90px rgba(24, 12, 36, .35), 0 0 0 1px rgba(255,255,255,.35) inset; transform: translateY(16px) scale(.96); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.telegram-confirm.is-visible .telegram-confirm-card { transform: translateY(0) scale(1); }
.telegram-confirm-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 20px; color: #fff; background: linear-gradient(145deg, #23a9e8, #087bb7); box-shadow: 0 12px 26px rgba(8, 123, 183, .28); animation: telegram-icon-pulse 2.6s ease-in-out infinite; }
.telegram-confirm-icon svg { width: 31px; height: 31px; }
.telegram-confirm-kicker { margin: 0 0 8px; color: var(--primary-gold); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.telegram-confirm-card h2 { margin: 0 0 11px; color: var(--text-dark); font: 700 clamp(23px, 4vw, 29px)/1.2 'AA Triple', serif; }
.telegram-confirm-card > p:not(.telegram-confirm-kicker) { max-width: 350px; margin: 0 auto 24px; color: var(--text-muted); font-size: 15px; line-height: 1.58; }
.telegram-confirm-actions { display: grid; gap: 10px; }
.telegram-confirm-actions button { width: 100%; min-height: 47px; }
.telegram-confirm-close { position: absolute; top: 12px; right: 15px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--text-muted); font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.telegram-confirm-close:hover, .telegram-confirm-close:focus-visible { background: color-mix(in srgb, var(--primary-gold) 13%, transparent); color: var(--text-dark); }
@keyframes telegram-icon-pulse { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
body[data-theme="graphite"] .telegram-confirm-card { background: linear-gradient(145deg, #252c37, #202630); border-color: #536075; }
body[data-theme="graphite"] .telegram-confirm-card h2 { color: #f7f8fb; }
body[data-theme="graphite"] .telegram-confirm-card > p:not(.telegram-confirm-kicker) { color: #c5ccd8; }
@media (max-width: 520px) { .telegram-confirm { padding: 12px; } .telegram-confirm-card { padding: 30px 20px 22px; border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .telegram-confirm-icon { animation: none; } }

/* Live promotions card populated by the admin panel. */
.promotions-section[hidden] { display: none; }
.promo-nav-link { color: var(--primary-dark) !important; font-weight: 800; }
.promotions-section { position: relative; padding: 28px 0 12px; overflow: hidden; }
.promotion-card { position: relative; min-height: 220px; display: flex; align-items: center; gap: 28px; overflow: hidden; padding: 30px 34px; border: 1px solid color-mix(in srgb, var(--primary-gold) 35%, var(--border-color)); border-radius: 30px; background: linear-gradient(135deg, color-mix(in srgb, var(--primary-gold) 16%, var(--bg-light)), color-mix(in srgb, #8c4de8 12%, var(--bg-light))); box-shadow: 0 22px 64px rgba(68, 30, 80, .18), inset 0 1px 0 rgba(255,255,255,.42); isolation: isolate; animation: promotion-enter .65s cubic-bezier(.2,.8,.2,1) both; }
.promotion-content { position: relative; z-index: 2; max-width: min(680px, 72%); }
.promotion-badge { position: absolute; top: 18px; right: 24px; z-index: 2; padding: 7px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: var(--text-dark); background: rgba(255,255,255,.32); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.promotion-kicker { margin: 0 0 7px; color: var(--primary-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.promotion-content h2 { margin: 0 0 10px; color: var(--text-dark); font: 700 clamp(24px, 4vw, 38px)/1.08 'AA Triple', serif; }
.promotion-content > p:not(.promotion-kicker) { margin: 0 0 21px; max-width: 620px; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.promotion-action { display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark)); box-shadow: 0 10px 24px color-mix(in srgb, var(--primary-gold) 26%, transparent); font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.promotion-action:hover { transform: translateY(-3px); box-shadow: 0 15px 30px color-mix(in srgb, var(--primary-gold) 34%, transparent); }
.promotion-mark { position: absolute; right: 6%; bottom: -35px; z-index: 1; width: 230px; height: 230px; border: 1px solid color-mix(in srgb, var(--primary-gold) 28%, transparent); border-radius: 50%; transform: rotate(-16deg); animation: promotion-orbit 12s linear infinite; }
.promotion-mark::before { content: ''; position: absolute; inset: 24px; border: 1px dashed color-mix(in srgb, var(--primary-dark) 38%, transparent); border-radius: 50%; }
.promotion-mark span { position: absolute; top: 24px; left: 46%; color: var(--primary-gold); font-size: 28px; animation: promotion-sparkle 2.2s ease-in-out infinite; }
.promotion-mark i, .promotion-mark b { position: absolute; display: block; border-radius: 50%; filter: blur(1px); }
.promotion-mark i { width: 90px; height: 90px; left: 20px; bottom: 28px; background: color-mix(in srgb, var(--primary-gold) 30%, transparent); }
.promotion-mark b { width: 58px; height: 58px; right: 22px; top: 70px; background: color-mix(in srgb, #9b5de5 24%, transparent); }
body[data-theme="graphite"] .promotion-card { background: linear-gradient(135deg, #252c37, #202631); border-color: #566174; }
body[data-theme="graphite"] .promotion-content h2, body[data-theme="graphite"] .promotion-content > p:not(.promotion-kicker) { color: #f5f7fb; }
body[data-theme="graphite"] .promotion-badge { color: #f5f7fb; background: rgba(255,255,255,.12); }
@keyframes promotion-enter { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes promotion-orbit { to { transform: rotate(344deg); } }
@keyframes promotion-sparkle { 0%,100% { opacity: .55; transform: scale(.9) rotate(0); } 50% { opacity: 1; transform: scale(1.18) rotate(14deg); } }
@media (max-width: 720px) { .promotions-section { padding: 20px 0 8px; } .promotion-card { min-height: 240px; padding: 28px 22px; } .promotion-content { max-width: 100%; } .promotion-badge { top: 14px; right: 16px; font-size: 9px; } .promotion-mark { right: -72px; bottom: -58px; opacity: .72; } }
@media (prefers-reduced-motion: reduce) { .promotion-card, .promotion-mark, .promotion-mark span { animation: none; } }

/* Contrast and layout fixes for the graphite theme. */
body[data-theme="graphite"] {
    background: #141820;
    color: #f7f8fb;
}
body[data-theme="graphite"] .header,
body[data-theme="graphite"] .services,
body[data-theme="graphite"] .masters,
body[data-theme="graphite"] .gallery,
body[data-theme="graphite"] .contacts,
body[data-theme="graphite"] .footer,
body[data-theme="graphite"] .telegram-info-section {
    background: #1c212b;
    color: #f7f8fb;
}
body[data-theme="graphite"] .hero {
    background: linear-gradient(135deg, #252b36 0%, #151922 100%);
}
body[data-theme="graphite"] .hero-title,
body[data-theme="graphite"] .section-title,
body[data-theme="graphite"] .category-title,
body[data-theme="graphite"] .telegram-info-text h3,
body[data-theme="graphite"] .footer h3,
body[data-theme="graphite"] .footer p,
body[data-theme="graphite"] .nav-link,
body[data-theme="graphite"] .service-card h4,
body[data-theme="graphite"] .master-name,
body[data-theme="graphite"] .contact-card h3 {
    color: #f7f8fb;
}
body[data-theme="graphite"] .hero-description,
body[data-theme="graphite"] .section-subtitle,
body[data-theme="graphite"] .telegram-info-text p,
body[data-theme="graphite"] .telegram-benefits li,
body[data-theme="graphite"] .service-description,
body[data-theme="graphite"] .master-specialty,
body[data-theme="graphite"] .master-experience,
body[data-theme="graphite"] .contact-card p,
body[data-theme="graphite"] .logo .subtitle {
    color: #c5ccd8;
}
body[data-theme="graphite"] .service-card,
body[data-theme="graphite"] .master-card,
body[data-theme="graphite"] .contact-card,
body[data-theme="graphite"] .modal-content,
body[data-theme="graphite"] .booking-method,
body[data-theme="graphite"] .booking-form input,
body[data-theme="graphite"] .booking-form select,
body[data-theme="graphite"] .booking-form textarea {
    background: #252c37;
    color: #f7f8fb;
    border-color: #475161;
}
/* Booking method cards: keep the benefits panel readable in the dark theme. */
body[data-theme="graphite"] .method-benefits {
    background: #303846;
    border: 1px solid #4c586b;
    color: #f7f8fb;
}
body[data-theme="graphite"] .method-benefits li {
    color: #f7f8fb;
}
body[data-theme="graphite"] .btn-secondary {
    background: #303846;
    color: #f7f8fb;
    border-color: #ff77b7;
}
body[data-theme="graphite"] .btn-secondary:hover {
    background: #ff77b7;
    color: #171a22;
}
/* The three-step form uses an id rather than the legacy .booking-form class. */
body[data-theme="graphite"] #appointmentForm {
    display: grid;
    gap: 12px;
}
body[data-theme="graphite"] #appointmentForm input,
body[data-theme="graphite"] #appointmentForm select,
body[data-theme="graphite"] #appointmentForm textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #536075;
    border-radius: 12px;
    background: #303846;
    color: #f7f8fb;
    caret-color: #ff77b7;
}
body[data-theme="graphite"] #appointmentForm input::placeholder,
body[data-theme="graphite"] #appointmentForm textarea::placeholder {
    color: #c5ccd8;
    opacity: 1;
}
body[data-theme="graphite"] #appointmentForm input:focus,
body[data-theme="graphite"] #appointmentForm select:focus,
body[data-theme="graphite"] #appointmentForm textarea:focus {
    outline: 2px solid rgba(255,119,183,.35);
    border-color: #ff77b7;
}
body[data-theme="graphite"] #appointmentForm .btn-secondary {
    margin-top: 2px;
    background: rgba(48,56,70,.72);
    color: #f7f8fb;
    border: 1px solid #68758b;
}
body[data-theme="graphite"] #appointmentForm .btn-secondary:hover {
    background: #ff77b7;
    border-color: #ff77b7;
    color: #171a22;
}
body[data-theme="graphite"] .booking-form input::placeholder,
body[data-theme="graphite"] .booking-form textarea::placeholder {
    color: #aeb7c5;
}
body[data-theme="graphite"] .location-item {
    background: #252c37;
    color: #f7f8fb;
    border-color: #4d5667;
}
body[data-theme="graphite"] .location-item strong,
body[data-theme="graphite"] .location-item div,
body[data-theme="graphite"] .map-link { color: #f7f8fb; text-shadow: none; }
/* Keep every contact card label and action readable in graphite. */
body[data-theme="graphite"] .contact-card,
body[data-theme="graphite"] .contact-card h3,
body[data-theme="graphite"] .contact-card p,
body[data-theme="graphite"] .contact-card strong {
    color: #f7f8fb;
}
body[data-theme="graphite"] .contact-card p { color: #c5ccd8; }
body[data-theme="graphite"] .contact-card a:not(.btn-map) {
    color: #ff9dca;
}
body[data-theme="graphite"] .contact-card .btn-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 143px;
    color: #171a22 !important;
    background: #ff77b7;
    border: 1px solid #ff9dca;
    text-shadow: none;
}
body[data-theme="graphite"] .contact-card .btn-map:hover {
    color: #171a22 !important;
    background: #ff9dca;
}
body[data-theme="graphite"] .contact-card a:not(.btn-map):hover { color: #ffd1e6; }
body[data-theme="graphite"] .service-masters { color: #d8b4ff; }

/* Mabelle booking card: consistent with the public site and readable on mobile. */
#bookingModal .modal-content {
    width: min(680px, calc(100% - 32px));
    max-width: 680px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid color-mix(in srgb, var(--primary-gold) 34%, transparent);
    background: color-mix(in srgb, var(--bg-light) 94%, #fff);
    box-shadow: 0 24px 80px rgba(55, 25, 70, .24), 0 0 0 1px rgba(255,255,255,.65) inset;
}
#bookingModal .modal-title { margin: 0 24px 24px; color: var(--text-dark); font-size: clamp(25px, 4vw, 34px); letter-spacing: -.02em; }
#bookingModal .booking-step { animation: bookingStepIn .32s ease both; }
@keyframes bookingStepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
#bookingModal .booking-step h3 { font-family: 'AA Triple', 'Montserrat', sans-serif; font-size: clamp(21px, 3vw, 27px); line-height: 1.2; letter-spacing: -.01em; }
#bookingModal .booking-hint { font-size: 14px; line-height: 1.55; }
#appointmentForm { display: grid; gap: 14px; margin-top: 18px; }
.booking-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.booking-field { display: grid; gap: 7px; min-width: 0; color: var(--text-dark); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.booking-field em { color: var(--text-muted); font-size: 10px; font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; }
.booking-field input, .booking-field textarea { width: 100%; margin: 0; min-height: 50px; padding: 14px 15px; border: 1px solid color-mix(in srgb, var(--primary-gold) 27%, var(--border-color)); border-radius: 14px; background: color-mix(in srgb, var(--bg-light) 78%, #fff); color: var(--text-dark); font: 500 15px/1.35 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; box-shadow: 0 5px 18px rgba(103, 49, 99, .06), inset 0 1px 0 rgba(255,255,255,.75); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.booking-field textarea { min-height: 92px; resize: vertical; }
.booking-field input::placeholder, .booking-field textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 82%, transparent); }
.booking-field input:hover, .booking-field textarea:hover { border-color: color-mix(in srgb, var(--primary-gold) 55%, var(--border-color)); }
.booking-field input:focus, .booking-field textarea:focus { outline: none; border-color: var(--primary-gold); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-gold) 17%, transparent), 0 9px 24px rgba(103, 49, 99, .1); transform: translateY(-1px); }
body[data-theme="graphite"] #bookingModal .modal-content { background: linear-gradient(145deg, #252c37, #202630); border-color: rgba(255,119,183,.35); }
body[data-theme="graphite"] .booking-field input, body[data-theme="graphite"] .booking-field textarea { background: #171c24; border-color: #4b5668; color: #f7f8fb; box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 7px 20px rgba(0,0,0,.18); }
body[data-theme="graphite"] .booking-field input:focus, body[data-theme="graphite"] .booking-field textarea:focus { background: #1d2430; }
@media (max-width: 560px) { #bookingModal .modal-content { width: min(100% - 18px, 680px); padding: 24px 18px 20px; } #bookingModal .modal-title { margin-left: 8px; margin-right: 28px; } .booking-field-row { grid-template-columns: 1fr; gap: 12px; } .booking-field input, .booking-field textarea { min-height: 48px; } }

/* Keep the booking dialog centred in the viewport at every screen height. */
#bookingModal.modal { align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
#bookingModal.modal.active { display: flex; }
#bookingModal .modal-content { margin: 0; max-height: calc(100vh - 48px); overflow-y: auto; }
@media (max-width: 560px) {
    #bookingModal.modal { padding: 10px; }
    #bookingModal .modal-content { max-height: calc(100vh - 20px); }
}

/* A quiet service-footer for the available specialists — it stays useful
   without competing with the service title or the booking button. */
.service-masters {
    display: flex;
    align-items: center;
    min-height: 20px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(183, 89, 132, .16);
    color: #a64d75;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: .01em;
}
body[data-theme="lavender"] .service-masters { color: #7651a6; border-top-color: rgba(118, 81, 166, .16); }
body[data-theme="cream"] .service-masters { color: #a6623f; border-top-color: rgba(166, 98, 63, .18); }
body[data-theme="graphite"] .service-masters { color: #ffc3dc; border-top-color: rgba(255, 195, 220, .24); }
.header-actions { margin-left: auto; justify-content: flex-end; }
.fixed-logo { width: 54px; height: 54px; top: 12px; left: 16px; }
.btn-telegram-header { margin-left: 8px; }

/* Bring the wordmark closer to the enlarged fixed mark so the header reads
   as one balanced brand lockup. */
.header .logo { padding-left: 38px; }

/* Language selector: a compact companion to the theme palette. */
.language-picker { position: relative; display: flex; align-items: center; }
.language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 56px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 12px;
    background: linear-gradient(135deg, #f5bb65, #dd8d91 55%, #bf638f);
    box-shadow: 0 8px 20px rgba(157, 72, 107, .22);
    color: #fff;
    font: 800 12px/1 inherit;
    letter-spacing: .06em;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.language-toggle:hover { transform: translateY(-2px); filter: saturate(1.08) brightness(1.03); box-shadow: 0 12px 25px rgba(157, 72, 107, .3); }
.language-toggle:focus-visible, .language-option:focus-visible { outline: 3px solid rgba(221, 125, 183, .42); outline-offset: 3px; }
.language-chevron { margin-top: -2px; font-size: 13px; transition: transform .2s ease; }
.language-picker.is-open .language-chevron { transform: rotate(180deg); }
.language-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1100;
    display: grid;
    min-width: 178px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    background: rgba(33, 29, 42, .96);
    box-shadow: 0 18px 38px rgba(25, 15, 31, .3);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.98);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.language-picker.is-open .language-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.language-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 35px;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: transparent;
    color: rgba(255, 255, 255, .88);
    font: 650 13px/1.25 inherit;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.language-option:last-child { border-bottom: 0; }
.language-option:hover, .language-option.is-active { background: rgba(255, 255, 255, .12); color: #fff; }
.language-option:hover { transform: translateX(2px); }
body[data-theme="graphite"] .language-toggle { background: linear-gradient(135deg, #f27bb3, #a85bb9); border-color: rgba(255, 202, 228, .56); box-shadow: 0 8px 20px rgba(207, 69, 143, .26); }
body[data-theme="graphite"] .language-menu { background: rgba(25, 30, 39, .98); border-color: #566174; }
@media (max-width: 520px) {
    .language-toggle { min-width: 50px; height: 36px; padding: 0 10px; }
    .language-menu { right: -4px; min-width: 164px; }
}
@media (max-width: 768px) {
    .fixed-logo { width: 46px; height: 46px; top: 10px; left: 12px; }
    .header .logo { padding-left: 44px; }
    .btn-telegram-header { margin-left: 0; }
}

/* Cookie consent banner and privacy link. */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 16px 18px 16px 20px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 16px;
    background: rgba(33, 27, 42, .94);
    box-shadow: 0 16px 42px rgba(20, 12, 30, .28);
    color: #fff;
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .22s ease, transform .22s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-copy { min-width: 0; }
.cookie-copy p { margin: 0; color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.45; }
.cookie-copy strong { color: #ffc3df; }
.cookie-details { display: inline-block; margin-top: 5px; color: #ffd2e8; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cookie-details:hover { color: #fff; }
.cookie-accept { flex: 0 0 auto; min-width: 92px; padding: 10px 18px; border: 0; border-radius: 8px; background: #d2ad67; color: #2d2030; font: 800 13px/1 inherit; cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.cookie-accept:hover { transform: translateY(-2px); filter: brightness(1.08); }
body[data-theme="graphite"] .cookie-banner { background: rgba(23, 28, 36, .96); border-color: #566174; }
body[data-theme="graphite"] .cookie-copy p { color: #e9edf4; }
body[data-theme="graphite"] .cookie-copy strong, body[data-theme="graphite"] .cookie-details { color: #ffabd3; }
@media (max-width: 640px) {
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; align-items: stretch; flex-direction: column; gap: 12px; padding: 15px; }
    .cookie-accept { width: 100%; }
}

/* Booking form visual polish: match the Mabelle cards instead of browser-default fields. */
#appointmentForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--bg-light) 94%, var(--primary-gold)), var(--bg-light));
    box-shadow: 0 14px 35px rgba(75, 35, 72, .12);
}
#appointmentForm input:not(.booking-hidden),
#appointmentForm textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    min-height: 48px;
    padding: 13px 15px;
    border: 1px solid color-mix(in srgb, var(--primary-gold) 35%, var(--border-color));
    border-radius: 13px;
    background: color-mix(in srgb, var(--bg-light) 88%, #fff);
    color: var(--text-dark);
    font: 600 14px/1.3 inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#appointmentForm textarea { grid-column: 1 / -1; min-height: 92px; resize: vertical; }
#appointmentForm input::placeholder, #appointmentForm textarea::placeholder { color: var(--text-muted); opacity: .9; }
#appointmentForm input:not(.booking-hidden):focus, #appointmentForm textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-gold) 18%, transparent);
    transform: translateY(-1px);
}
#appointmentForm #clientPhone.field-invalid,
#appointmentForm #clientName.field-invalid {
    border-color: #c83f68;
    box-shadow: 0 0 0 4px rgba(200, 63, 104, .15);
}
#appointmentForm .field-error {
    display: block;
    margin-top: -7px;
    color: #b3244b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
}
body[data-theme="graphite"] #appointmentForm .field-error { color: #ff92ba; }
#appointmentForm .btn-full { grid-column: 1 / -1; margin-top: 0; min-height: 48px; }
body[data-theme="graphite"] #appointmentForm { background: linear-gradient(145deg, #252c37, #202631); box-shadow: 0 16px 35px rgba(0,0,0,.24); }
body[data-theme="graphite"] #appointmentForm input:not(.booking-hidden),
body[data-theme="graphite"] #appointmentForm textarea { background: #303846; border-color: #5c6a7f; color: #f7f8fb; }
body[data-theme="graphite"] #appointmentForm input::placeholder, body[data-theme="graphite"] #appointmentForm textarea::placeholder { color: #c5ccd8; }
@media (max-width: 560px) {
    #appointmentForm { grid-template-columns: 1fr; padding: 15px; }
    #appointmentForm textarea, #appointmentForm .btn-full { grid-column: 1; }
}

/* Client reviews: a calm, animated section that matches the Mabelle glass theme. */
.reviews-section { padding: 18px 0 12px; }
.reviews-panel { margin-top: 0; padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: rgba(255,255,255,.08); box-shadow: 0 24px 70px rgba(9,4,25,.24); backdrop-filter: blur(16px); animation: reviewsReveal .65s ease both; }
.reviews-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:20px; }
.reviews-kicker { margin:0 0 6px; color:#f4a8d0; font-size:11px; letter-spacing:.16em; text-transform:uppercase; }
.reviews-heading h2 { margin:0; color:var(--text-primary, #fff); font-size:28px; }
.reviews-subtitle { margin:5px 0 0; color:var(--text-muted, #cfc5df); font-size:13px; }
.reviews-refresh { border:1px solid rgba(255,255,255,.22); border-radius:999px; padding:10px 16px; color:#fff; background:rgba(255,255,255,.1); cursor:pointer; transition:transform .25s, background .25s; }
.reviews-refresh:hover { transform:translateY(-2px); background:rgba(255,255,255,.18); }
.reviews-layout { display:grid; grid-template-columns:minmax(250px,.42fr) minmax(0,1fr); gap:20px; }
.reviews-summary, .reviews-empty { border:1px solid rgba(255,255,255,.16); border-radius:20px; background:rgba(18,10,38,.38); }
.reviews-summary { padding:22px; }
.reviews-score { display:flex; align-items:baseline; gap:2px; }
.reviews-score strong { font-size:42px; color:var(--text-primary, #fff); }
.reviews-score span { font-size:24px; color:#b8acd0; }
.reviews-count { display:flex; flex-direction:column; gap:2px; float:right; margin-top:-34px; text-align:right; color:var(--text-primary, #fff); font-size:12px; }
.reviews-count span { color:#a99dbb; }
.reviews-divider { height:1px; margin:18px 0 10px; background:rgba(255,255,255,.16); }
.reviews-summary>p { max-width:210px; margin:0 0 16px; color:#a99dbb; font-size:12px; line-height:1.5; }
.rating-bars { display:grid; gap:9px; }
.rating-row { display:flex; align-items:center; gap:10px; }
.rating-row>span { min-width:70px; color:#ffbd4a; letter-spacing:1px; font-size:15px; }
.rating-row em { color:#aaa6b0; font-style:normal; }
.rating-row i { display:block; flex:1; height:5px; overflow:hidden; border-radius:999px; background:rgba(191,186,233,.26); }
.rating-row i b { display:block; width:var(--value); height:100%; border-radius:inherit; background:linear-gradient(90deg,#ff8d00,#ffbd4a); animation:ratingFill 1.1s cubic-bezier(.2,.8,.2,1) both; }
.reviews-auth { margin-top:22px; padding-top:16px; border-top:1px solid rgba(255,255,255,.14); text-align:center; color:#cfc5df; font-size:12px; line-height:1.45; }
.reviews-auth button { margin-top:12px; width:100%; padding:11px 14px; border:0; border-radius:12px; color:#fff; background:linear-gradient(135deg,#ff2e93,#9d5ad6); font-weight:700; cursor:pointer; box-shadow:0 10px 26px rgba(242,72,157,.25); transition:transform .25s, box-shadow .25s; }
.reviews-auth button:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(242,72,157,.4); }
.reviews-auth-link { display:block; margin-top:12px; padding:11px 14px; border-radius:12px; color:#fff; background:linear-gradient(135deg,#ff2e93,#9d5ad6); font-weight:700; text-decoration:none; box-shadow:0 10px 26px rgba(242,72,157,.25); transition:transform .25s, box-shadow .25s; }
.reviews-auth-link:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(242,72,157,.4); }
.reviews-empty { position:relative; display:flex; min-height:300px; align-items:center; justify-content:center; flex-direction:column; overflow:hidden; text-align:center; }
.reviews-empty:before { content:''; position:absolute; width:280px; height:280px; border:1px solid rgba(255,255,255,.08); border-radius:50%; animation:reviewsSpin 18s linear infinite; }
.reviews-empty h3 { position:relative; margin:8px 0; color:var(--text-primary, #fff); font-size:22px; }
.reviews-empty p { position:relative; margin:0; color:#a99dbb; font-size:13px; }
.reviews-orbit { position:relative; width:80px; height:42px; color:#ffc5e5; }
.reviews-orbit span { position:absolute; font-size:18px; animation:reviewsFloat 2.8s ease-in-out infinite; }
.reviews-orbit span:nth-child(1) { left:4px; top:18px; }
.reviews-orbit span:nth-child(2) { left:34px; top:0; animation-delay:.35s; }
.reviews-orbit span:nth-child(3) { right:4px; top:18px; animation-delay:.7s; }
.reviews-empty-line { position:relative; width:90px; height:3px; margin-top:22px; border-radius:99px; background:linear-gradient(90deg,transparent,#f4a8d0,transparent); animation:reviewsPulse 2s ease-in-out infinite; }
@keyframes reviewsReveal { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes ratingFill { from { width:0; } }
@keyframes reviewsFloat { 0%,100% { transform:translateY(0) scale(1); opacity:.65; } 50% { transform:translateY(-7px) scale(1.12); opacity:1; } }
@keyframes reviewsSpin { to { transform:rotate(360deg); } }
@keyframes reviewsPulse { 0%,100% { opacity:.35; transform:scaleX(.7); } 50% { opacity:1; transform:scaleX(1.15); } }
@media (max-width:720px) { .reviews-panel { padding:18px; border-radius:22px; } .reviews-heading { align-items:flex-start; flex-direction:column; } .reviews-layout { grid-template-columns:1fr; } .reviews-empty { min-height:240px; } .reviews-heading h2 { font-size:24px; } }
@media (prefers-reduced-motion: reduce) { .reviews-panel, .reviews-empty:before, .reviews-orbit span, .reviews-empty-line, .rating-row i b { animation:none; } }

.reviews-auth-modal[hidden] { display:none; }
.reviews-auth-modal:target { display:grid; }
.reviews-auth-modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:18px; background:rgba(12,6,25,.62); backdrop-filter:blur(10px); }
.reviews-auth-card { position:relative; width:min(100%,440px); padding:30px; border:1px solid rgba(255,255,255,.2); border-radius:24px; background:linear-gradient(145deg,rgba(48,24,70,.96),rgba(24,16,45,.96)); box-shadow:0 28px 90px rgba(4,1,14,.45); animation:reviewsReveal .35s ease both; }
.reviews-auth-close { position:absolute; top:10px; right:14px; border:0; background:transparent; color:#fff; font-size:28px; cursor:pointer; text-decoration:none; }
.reviews-auth-card h2 { margin:6px 0 8px; color:#fff; font-size:26px; }
.reviews-auth-lead { margin:0 0 20px; color:#d6cbe0; font-size:14px; line-height:1.5; }
.reviews-auth-form { display:grid; gap:14px; }
.reviews-auth-form label { display:grid; gap:7px; color:#fff; font-size:13px; font-weight:600; }
.reviews-auth-form input { min-height:46px; padding:0 13px; border:1px solid rgba(255,255,255,.2); border-radius:12px; color:#fff; background:rgba(255,255,255,.1); font:inherit; }
.reviews-auth-form input:focus { outline:0; border-color:#ff9dd2; box-shadow:0 0 0 4px rgba(255,111,188,.16); }
.reviews-auth-message { margin:0; color:#ffb8d6; font-size:13px; line-height:1.4; }
@media (max-width:520px) { .reviews-auth-card { padding:26px 20px 22px; border-radius:20px; } }
