:root {
    --bg-main: #040305;
    --bg-card: #0c0710;
    --bg-card-hover: #130b1a;
    --accent: #9b1bc7;
    --accent-hover: #b83be3;
    --accent-glow: rgba(155, 27, 199, 0.25);
    --text-main: #eae4ee;
    --text-muted: #95869e;
    --border-color: rgba(155, 27, 199, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.script-font {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === АТМОСФЕРНЫЙ МНОГОСЛОЙНЫЙ ФОН === */
.bg-grid-pattern {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(155, 27, 199, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(155, 27, 199, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
    pointer-events: none;
    z-index: -2;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -25px) scale(1.08); }
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(95px);
    pointer-events: none;
    z-index: -1;
    animation: floatOrb 14s ease-in-out infinite;
}

.orb-1 {
    width: 460px;
    height: 460px;
    top: -100px;
    right: -80px;
    background: rgba(155, 27, 199, 0.18);
}

.orb-2 {
    width: 420px;
    height: 420px;
    bottom: 5%;
    left: -120px;
    background: rgba(112, 16, 150, 0.15);
    animation-delay: -7s;
}

/* === КНОПКИ === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #8714b0 0%, #b32ce0 100%);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(184, 59, 227, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(155, 27, 199, 0.14);
    transform: translateY(-2px);
}

.btn-xs {
    padding: 8px 16px;
    font-size: 13px;
}

.full-width-btn {
    width: 100%;
    margin-top: 8px;
}

/* === ШАПКА И ЛОГОТИП === */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(4, 3, 5, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo-img {
    height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: contrast(1.25) brightness(1.08) drop-shadow(0 0 8px rgba(184, 59, 227, 0.35));
}

nav {
    display: flex;
    gap: 26px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-hover);
}

/* === ПЕРВЫЙ ЭКРАН (HERO) === */
.hero {
    padding: 75px 0 85px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 560px;
    height: 560px;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(184, 59, 227, 0.14);
    box-shadow: 0 0 0 45px rgba(155, 27, 199, 0.03), 0 0 0 95px rgba(155, 27, 199, 0.02);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 45px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(155, 27, 199, 0.12);
    border: 1px solid var(--border-color);
    color: var(--accent-hover);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent-hover);
}

.hero p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-card {
    background: linear-gradient(145deg, #100816 0%, #07040a 100%);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.75);
}

.hero-logo-img {
    width: 100%;
    max-width: 310px;
    height: auto;
    display: block;
    margin: 0 auto 22px;
    mix-blend-mode: screen;
    filter: contrast(1.28) brightness(1.1) drop-shadow(0 0 18px rgba(184, 59, 227, 0.45));
}

.hero-card-list {
    list-style: none;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}

.hero-card-list li {
    padding: 7px 0;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-card-list li::before {
    content: "✦";
    color: var(--accent-hover);
}
/* === ОБЩИЕ ЗАГОЛОВКИ СЕКЦИЙ === */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-script {
    font-size: 46px;
    color: var(--accent-hover);
    line-height: 1;
    margin-bottom: 6px;
}

.section-header h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 15px;
}

/* === ПРЕМИАЛЬНЫЙ ДИЗАЙН ПРАЙС-ЛИСТА === */
.price-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    background: rgba(12, 7, 16, 0.7);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 50px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
}

.p-tab {
    padding: 11px 22px;
    border-radius: 50px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.p-tab:hover {
    color: var(--text-main);
}

.p-tab.active {
    background: linear-gradient(135deg, #8714b0 0%, #b83be3 100%);
    color: #fff;
    box-shadow: 0 4px 18px rgba(155, 27, 199, 0.45);
}

.price-panel {
    display: none;
    animation: fadePanel 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-panel.active {
    display: block;
}

@keyframes fadePanel {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Двухколоночная сетка карточек услуг */
.price-rows {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.p-row {
    position: relative;
    background: linear-gradient(145deg, rgba(19, 11, 28, 0.9) 0%, rgba(10, 6, 14, 0.95) 100%);
    border: 1px solid rgba(155, 27, 199, 0.25);
    border-radius: 22px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Светящаяся полоска сверху при наведении */
.p-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-hover), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.p-row:hover {
    transform: translateY(-4px);
    border-color: var(--accent-hover);
    box-shadow: 0 12px 32px rgba(155, 27, 199, 0.18);
}

.p-row:hover::before {
    opacity: 1;
}

.p-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    line-height: 1.35;
}

.p-info span {
    font-size: 13.5px;
    color: var(--text-muted);
    display: block;
    line-height: 1.5;
}

.p-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 12px;
}

.p-cost {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 18px rgba(184, 59, 227, 0.45);
    letter-spacing: 0.3px;
}

.btn-xs {
    padding: 9px 20px;
    font-size: 13px;
    background: rgba(155, 27, 199, 0.12);
    border: 1px solid var(--accent);
    color: var(--text-main);
}

.btn-xs:hover {
    background: linear-gradient(135deg, #8714b0, #b83be3);
    color: #fff;
    border-color: transparent;
}

/* Стильный блок дополнений (длина и дизайн) */
.addons-box {
    margin-top: 22px;
    background: linear-gradient(135deg, rgba(155, 27, 199, 0.1) 0%, rgba(12, 7, 16, 0.9) 100%);
    border: 1px solid rgba(184, 59, 227, 0.35);
    border-radius: 20px;
    padding: 20px 26px;
    font-size: 14px;
    color: var(--text-main);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.addon-col {
    background: rgba(4, 3, 5, 0.55);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.addons-box strong {
    color: var(--accent-hover);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Сетка зон депиляции */
.depil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.depil-group {
    background: linear-gradient(145deg, rgba(19, 11, 28, 0.9) 0%, rgba(10, 6, 14, 0.95) 100%);
    border: 1px solid rgba(155, 27, 199, 0.25);
    border-radius: 22px;
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.depil-group:hover {
    transform: translateY(-4px);
    border-color: var(--accent-hover);
}

.depil-group h4 {
    color: var(--accent-hover);
    font-size: 18px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(155, 27, 199, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

.depil-group h4::before {
    content: '✦';
    font-size: 14px;
}

.d-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 8px 0;
    color: var(--text-muted);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    gap: 10px;
}

.d-item:last-child {
    border-bottom: none;
}

.d-item strong {
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .price-rows {
        grid-template-columns: 1fr;
    }

    .price-tabs {
        border-radius: 20px;
    }
}

/* === ПОРТФОЛИО (ФОТО И ВИДЕО) === */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.g-tab {
    padding: 9px 20px;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}

.g-tab.active,
.g-tab:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    cursor: pointer;
}

.gallery-card img,
.gallery-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-card:hover img,
.gallery-card:hover video {
    transform: scale(1.06);
}

.video-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(155, 27, 199, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 3, 5, 0.92) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.gallery-overlay span {
    font-size: 11px;
    color: var(--accent-hover);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 600;
}
/* === МАСТЕРА СТУДИИ === */
.masters-section {
    background: linear-gradient(180deg, #060408 0%, #0a060f 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.master-profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.master-profile-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(155, 27, 199, 0.14);
}

.master-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #120b1a;
    border-bottom: 1px solid var(--border-color);
}

.master-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.master-info {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.master-name {
    font-size: 46px;
    color: var(--accent-hover);
    line-height: 1;
}

.master-role {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin: 6px 0 14px;
}

.master-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

/* === КОНТАКТЫ И ФОРМА ЗАПИСИ === */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 26px;
    padding: 42px;
}

.contact-script {
    text-align: left;
    font-size: 42px;
    margin-bottom: 4px;
}

.contact-info h3 {
    font-size: 26px;
    margin-bottom: 24px;
}

.info-item {
    margin-bottom: 18px;
}

.info-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-item span,
.info-item a {
    font-size: 16px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}

.info-item a:hover {
    color: var(--accent-hover);
}

.map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.booking-form h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: #060408;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--accent-hover);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    margin: 10px 0 18px;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 3px;
    accent-color: var(--accent);
}

/* === МОДАЛЬНЫЕ ОКНА И ЛАЙТБОКС === */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 3, 5, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 24px;
    padding: 36px 28px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 15px 50px rgba(155, 27, 199, 0.35);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.3s ease;
}

.modal-backdrop.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8714b0, #b32ce0);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 0 25px rgba(184, 59, 227, 0.5);
}

.modal-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.modal-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.modal-card strong {
    color: var(--accent-hover);
}

.lightbox-box {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(4, 3, 5, 0.8);
    border: 1px solid var(--accent);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-content img,
#lightbox-content video {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    background: #000;
}

/* === ПОДВАЛ, ПЛАВАЮЩАЯ КНОПКА И АНИМАЦИЯ === */
footer {
    border-top: 1px solid var(--border-color);
    padding: 36px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8714b0, #b32ce0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 6px 20px rgba(155, 27, 199, 0.45);
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === АДАПТАЦИЯ ПОД СМАРТФОНЫ === */
@media (max-width: 900px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }

    .contact-grid {
        padding: 26px 20px;
    }
}

@media (max-width: 640px) {
    .form-row-two {
        grid-template-columns: 1fr;
    }

    .p-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .p-right {
        width: 100%;
        justify-content: space-between;
    }
}
/* === ПРЕМИУМ-ФОН И ЖИВЫЕ АНИМАЦИИ === */

/* Холст для плавающих мерцающих частиц */
#sparkle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Углубленный многослойный фон */
body {
    background:
        radial-gradient(circle at 15% 15%, rgba(155, 27, 199, 0.14) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(112, 16, 150, 0.14) 0%, transparent 45%),
        #040305;
}

/* Плавное невесомое парение логотипа на главном экране */
@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px);
        filter: contrast(1.25) brightness(1.08) drop-shadow(0 0 18px rgba(184, 59, 227, 0.4));
    }
    50% {
        transform: translateY(-7px);
        filter: contrast(1.28) brightness(1.14) drop-shadow(0 6px 26px rgba(212, 107, 255, 0.65));
    }
}

.hero-logo-img {
    animation: floatLogo 5s ease-in-out infinite;
}

/* Световой блик, пробегающий по кнопкам */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.32),
        transparent
    );
    transform: skewX(-25deg);
    animation: btnShine 4.5s infinite;
}

@keyframes btnShine {
    0%, 65% { left: -100%; }
    100% { left: 160%; }
}

/* Интерактивный неоновый прожектор (Spotlight) на карточках */
.p-row,
.depil-group,
.master-profile-card,
.hero-card,
.contact-grid {
    position: relative;
}

.p-row::after,
.depil-group::after,
.master-profile-card::after,
.hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        320px circle at var(--mx, 50%) var(--my, 50%),
        rgba(196, 77, 240, 0.14),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.p-row:hover::after,
.depil-group:hover::after,
.master-profile-card:hover::after,
.hero-card:hover::after {
    opacity: 1;
}

/* Мягкая пульсация плавающей кнопки звонка */
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(184, 59, 227, 0.55); }
    70% { box-shadow: 0 0 0 14px rgba(184, 59, 227, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 59, 227, 0); }
}

.float-btn {
    animation: pulseRing 2.5s infinite;
}
/* === СТИЛИ ОКНА «ПАМЯТКА ПЕРЕД ВИЗИТОМ» === */
.memo-card {
    max-width: 460px;
    text-align: left;
    position: relative;
    padding: 32px 26px;
}

.memo-script {
    font-size: 38px;
    text-align: center;
    margin-bottom: 2px;
}

.memo-card h3 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.memo-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.memo-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 16px;
}

.memo-item strong {
    display: block;
    font-size: 14px;
    color: var(--accent-hover);
    margin-bottom: 4px;
}

.memo-item span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
    display: block;
}
/* === ИНТЕРАКТИВНАЯ СХЕМА ДЛИНЫ НОГТЕЙ И ДИЗАЙНА === */
.nail-guide-box {
    margin-top: 24px;
    background: linear-gradient(145deg, rgba(19, 11, 28, 0.92) 0%, rgba(10, 6, 14, 0.96) 100%);
    border: 1px solid rgba(184, 59, 227, 0.35);
    border-radius: 24px;
    padding: 28px;
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 32px;
}

.nail-visual {
    display: flex;
    justify-content: center;
    background: rgba(4, 3, 5, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 14px 10px;
}

.nail-svg {
    width: 185px;
    height: auto;
    overflow: visible;
}

.nail-zone {
    cursor: pointer;
    transition: all 0.25s ease;
}

.nail-zone .zone-fill {
    fill: rgba(155, 27, 199, 0.08);
    transition: fill 0.25s ease;
}

.nail-zone:hover .zone-fill,
.nail-zone.active .zone-fill {
    fill: rgba(184, 59, 227, 0.42);
}

.zone-letter {
    fill: #fff;
    font-size: 13px;
    font-weight: 700;
    text-anchor: middle;
}

.zone-sub {
    fill: var(--text-muted);
    font-size: 8.5px;
    text-anchor: middle;
}

.nail-zone.active .zone-sub {
    fill: #fff;
}

.ruler-line {
    stroke: rgba(184, 59, 227, 0.6);
    stroke-width: 1.2;
}

.ruler-line-sm {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1;
    stroke-dasharray: 2 2;
}

.ruler-num {
    fill: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
}

.nail-controls {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.nail-block h4 {
    font-size: 16px;
    color: var(--accent-hover);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nail-block h4 small {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.length-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.len-pill {
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(4, 3, 5, 0.7);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}

.len-pill span {
    color: var(--accent-hover);
    margin-right: 4px;
}

.len-pill.active,
.len-pill:hover {
    background: linear-gradient(135deg, #8714b0, #b83be3);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(155, 27, 199, 0.4);
}

.len-pill.active span,
.len-pill:hover span {
    color: #fff;
}

.design-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.design-item {
    background: rgba(4, 3, 5, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.design-item strong {
    color: #fff;
    font-size: 15px;
}

@media (max-width: 720px) {
    .nail-guide-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nail-block h4,
    .length-pills {
        justify-content: center;
    }
}
/* === УЛУЧШЕННЫЙ ГЛУБОКИЙ ФОН И ЗАПОЛНЕНИЕ БОКОВЫХ ПОЛЕЙ === */

/* 1. Расширяем основной контейнер на больших экранах */
.container {
    max-width: 1320px;
}

/* 2. Многослойный фон с диагональными неоновыми лучами и текстурой */
body {
    background-color: #040305;
    background-image:
        radial-gradient(ellipse 60% 45% at 10% 20%, rgba(155, 27, 199, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 55% 50% at 90% 55%, rgba(184, 59, 227, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 65% 45% at 20% 90%, rgba(112, 16, 150, 0.22) 0%, transparent 65%),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.012) 0px,
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px,
            transparent 28px
        );
    background-attachment: fixed;
}

/* Делаем сетку и плавающие сферы чуть заметнее */
.bg-grid-pattern {
    background-image:
        linear-gradient(to right, rgba(184, 59, 227, 0.09) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(184, 59, 227, 0.09) 1px, transparent 1px);
    background-size: 56px 56px;
}

.orb-1 {
    width: 560px;
    height: 560px;
    background: rgba(155, 27, 199, 0.24);
}

.orb-2 {
    width: 520px;
    height: 520px;
    background: rgba(130, 20, 175, 0.2);
}

/* 3. Вертикальные неоновые направляющие по бокам экрана */
.side-decor {
    position: fixed;
    top: 90px;
    bottom: 30px;
    width: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}

.side-left {
    left: 16px;
}

.side-right {
    right: 16px;
}

.side-line {
    width: 1px;
    flex-grow: 1;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(184, 59, 227, 0.35),
        transparent
    );
}

.side-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    letter-spacing: 3.5px;
    color: rgba(201, 94, 255, 0.45);
    font-weight: 600;
    padding: 18px 0;
    white-space: nowrap;
}

.side-right .side-text {
    transform: none;
}

/* Скрываем боковые линии на ноутбуках и телефонах, чтобы не мешали */
@media (max-width: 1440px) {
    .side-decor {
        display: none;
    }
}
/* === РАСШИРЕННАЯ ШАПКА И ПОЛОСКА ПРОГРЕССА === */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-addr {
    font-size: 11.5px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s;
}

.header-addr:hover {
    color: var(--accent-hover);
}

.header-phone {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.25s;
}

.header-phone:hover {
    color: var(--accent-hover);
}

/* Тонкая неоновая линия прогресса прокрутки внизу шапки */
.scroll-progress {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #8714b0, #d46bff);
    box-shadow: 0 0 10px rgba(212, 107, 255, 0.8);
    transition: width 0.1s linear;
}

@media (max-width: 1080px) {
    .header-meta {
        display: none;
    }
}
/* === СТИЛИ ПРАЙСА НАДЕЖДЫ В СТИЛЕ STUDIO CARAMEL === */
.nadezhda-section {
  padding: 70px 20px;
  position: relative;
}
.nadezhda-container {
  max-width: 1180px;
  margin: 0 auto;
}
.nadezhda-header {
  text-align: center;
  margin-bottom: 42px;
}
.nadezhda-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(155, 27, 199, 0.14);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #d8b4fe;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.nadezhda-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.nadezhda-subtitle {
  color: #a1a1aa;
  font-size: 15px;
  margin: 0 auto;
  max-width: 560px;
}
.nadezhda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .nadezhda-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .nadezhda-grid {
    grid-template-columns: 1fr;
  }
}
.nadezhda-item {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(18, 12, 24, 0.85) 100%);
  border: 1px solid rgba(192, 132, 252, 0.22);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(10px);
}
.nadezhda-item:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 132, 252, 0.65);
  box-shadow: 0 12px 32px rgba(155, 27, 199, 0.22);
}
.nadezhda-item-body h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.35;
}
.nadezhda-item-body p {
  color: #a1a1aa;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.nadezhda-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.nadezhda-cost {
  font-size: 21px;
  font-weight: 700;
  color: #e9d5ff;
  text-shadow: 0 0 16px rgba(192, 132, 252, 0.35);
}
.nadezhda-select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9b1bc7 0%, #c026d3 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(155, 27, 199, 0.35);
}
.nadezhda-select-btn:hover {
  opacity: 0.92;
  transform: scale(1.03);
  box-shadow: 0 6px 22px rgba(192, 38, 211, 0.55);
}
