:root {
    --bg: #09090c;
    --bg-soft: #111117;
    --bg-panel: rgba(20, 20, 27, 0.88);
    --bg-panel-strong: rgba(24, 24, 33, 0.96);
    --text: #f3ede2;
    --muted: #b9b0a0;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(200, 167, 112, 0.24);
    --accent: #c8a770;
    --accent-dark: #8f6a36;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    --radius: 24px;
    --radius-sm: 18px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(200, 167, 112, 0.14), transparent 26%),
        linear-gradient(180deg, #07070a 0%, #0b0c10 38%, #09090c 100%);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
    z-index: 100;
    padding: 10px 16px;
    background: #fff;
    color: #000;
    border-radius: 10px;
}

.skip-link:focus {
    left: 10px;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(8, 8, 11, 0.68);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: radial-gradient(circle, rgba(200, 167, 112, 0.12), rgba(255, 255, 255, 0.01));
    color: var(--accent);
    flex-shrink: 0;
}

.brand-mark svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.main-nav a,
.header-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.main-nav a {
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.header-cta {
    justify-content: center;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(200, 167, 112, 0.18), rgba(200, 167, 112, 0.08));
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(200, 167, 112, 0.45);
}

.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
        background:
        linear-gradient(90deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.66) 44%, rgba(8, 8, 10, 0.34) 100%),
        url('https://sun9-2.userapi.com/s/v1/ig2/9lzG81BMPCdDEV5tbS8Ty1L-frGsW-P2LBV3yGcOuOEXAsR7KoYj1Cs3G3R0jaOM0lyEunn_dhbKF9gZCAY0BMqO.jpg?quality=95&crop=0,0,2066,2559&as=32x40,48x59,72x89,108x134,160x198,240x297,360x446,480x595,540x669,640x793,720x892,1080x1338,1280x1585,1440x1784,2066x2559&from=bu&u=4HgHbgISt6c8vbWFmYCBf0qgoM9MgzziI48RzTDIzaU&cs=1080x0') center/cover no-repeat;
        filter: grayscale(100%) brightness(0.42) contrast(1.08);
    transform: scale(1.03);
}

.hero-overlay {
background:
        radial-gradient(circle at 78% 28%, rgba(200, 167, 112, 0.2), transparent 20%),
        linear-gradient(180deg, rgba(9, 9, 12, 0.08), rgba(9, 9, 12, 0.78));
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    border: 1px solid #5111; /* чтобы видеть границы */
}

.hero-copy {
    max-width: 760px;
}

.section-kicker {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contacts-section h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 0.95;
}

.hero h1 {
    max-width: 860px;
    font-size: clamp(3rem, 7vw, 6rem);
    margin-bottom: 15px;
}

.hero-text,
.section-lead,
.about-card p,
.about-note p,
.info-card p,
.event-content p,
.review-text,
.contact-main p,
.contact-list,
.quote-band-text {
    color: var(--muted);
}

.hero-text {
    max-width: 340px;
    font-size: 1.08rem;
    margin: 0 0 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.button {
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.button-primary {
    color: #140f08;
    border: 1px solid transparent;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: 0 16px 36px rgba(200, 167, 112, 0.22);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(200, 167, 112, 0.28);
}

.button-secondary {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.button-secondary:hover {
    border-color: rgba(200, 167, 112, 0.38);
    color: var(--accent);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-facts li {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #ddd3c2;
    font-size: 0.92rem;
}

.section {
    padding: 110px 0;
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading h2,
.contacts-section h2 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.section-lead {
    max-width: 720px;
    margin: 0;
}

.about-grid,
.contacts-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow);
}

.about-card, 
.about-note,
.contact-main,
.contact-side,
.quote-band-inner {
    padding: 36px;
}

.about-card p {
    margin: 0 0 18px;
}

.about-card p:last-of-type {
    margin-bottom: 0;
}

.about-card blockquote {
    margin: 26px 0 0;
    padding-left: 22px;
    border-left: 1px solid rgba(200, 167, 112, 0.48);
    color: #e4dac9;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    line-height: 1.35;
}

.about-note {
    background:
        linear-gradient(90deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.66) 44%, rgba(8, 8, 10, 0.34) 100%),
        url('https://sun9-9.userapi.com/s/v1/ig2/C9aSCyTSSaxPvW_WNXGxzoweB8Kv3nqd_XYCAJEtumvapjHDuObKUmjkvTXRTphNNSfFOiJpa0GdT_C0Q4HsQvAA.jpg?quality=95&as=32x44,48x66,72x99,108x148,160x219,240x329,360x493,480x658,540x740,640x877,720x987,864x1184&from=bu&cs=864x0') center/cover no-repeat;
    filter: grayscale(70%) brightness(0.92) contrast(1.08);
    position: relative;
    overflow: hidden;
}

.about-note::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(200, 167, 112, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08));
    pointer-events: none;
}

.about-note-inner {
    position: relative;
    z-index: 1;
}

.mini-label {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.74rem;
letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
}

.about-note h3,
.info-card h3,
.event-content h3 {
    margin: 0 0 14px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.cards-grid,
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card,
.review-card {
    padding: 30px;
}

.card-index {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.82rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.info-card h3 {
    margin-bottom: 12px;
}

.events-list {
    display: grid;
    gap: 18px;
}

.event-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 30px;
}

.event-date {
    color: var(--accent);
    font-size: 0.92rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding-top: 4px;
}

.event-content h3 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.event-content p {
    margin: 0;
}

.event-link-btn {
    background-color: #007bff;
    color: white !important;   /* !important нужен, если есть другие стили */
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
}
.event-link-btn:hover {
    background-color: #0056b3;
}
.quote-band {
    padding-top: 20px;
    padding-bottom: 20px;
}

.quote-band-inner {
    position: relative;
    overflow: hidden;
}

.quote-band-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(200, 167, 112, 0.12), transparent 30%, transparent 70%, rgba(200, 167, 112, 0.08));
    pointer-events: none;
}

.quote-band-text {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.2;
    color: #e8decd;
    text-align: center;
}

.review-card {
    min-height: 100%;
}

.review-text {
    margin: 0 0 18px;
}

.review-name {
    margin: 0;
    color: var(--accent);
    font-size: 0.84rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-main,
.contact-side {
    min-height: 100%;
}

.contact-main p {
    max-width: 520px;
    margin: 0 0 24px;
}

.contact-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-list li {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.socials-block {
        display: flex;
        gap: 16px;
        align-items: center;
    }
.social-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: inherit;
        text-decoration: none;
        transition: opacity 0.2s ease;
    }
.social-link:hover {
        opacity: 0.7;
    }
.social-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
.social-name {
        font-size: 14px;
        line-height: 1.4;
    }

.contact-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-list strong {
    color: var(--text);
    font-weight: 600;
}

.site-footer {
    padding: 28px 0 46px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-inner p {
    margin: 0;
}

@media (max-width: 1100px) {
    .header-inner {
        min-height: auto;
        padding: 18px 0;
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        gap: 16px;
    }

    .cards-grid,
    .reviews-grid,
    .about-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .section {
        padding: 82px 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding: 96px 0 72px;
    }

    .event-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-card,
    .about-note,
    .contact-main,
    .contact-side,
    .quote-band-inner,
    .info-card,
    .review-card {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

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

    .brand-name {
        font-size: 1.45rem;
    }

    .main-nav {
        gap: 10px 16px;
    }

    .main-nav a {
        font-size: 0.76rem;
    }

    .header-cta,
    .button {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .section-heading h2,
    .contacts-section h2 {
        line-height: 0.98;
    }

    .quote-band-text {
        text-align: left;
    }
}

/* Дополнительные стили для страницы восковых отливок */

.wax-section {
    position: relative;
    background: var(--bg);
    color: var(--text);
}

.wax-card,
.wax-info {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow);
    padding: 36px;
}

.wax-info {
    background: 
        linear-gradient(90deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.66) 44%, rgba(8, 8, 10, 0.34) 100%),
        url('https://example.com/wax-background.jpg') center/cover no-repeat;
    filter: grayscale(70%) brightness(0.92) contrast(1.08);
    position: relative;
    overflow: hidden;
}

.wax-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at top right, rgba(200, 167, 112, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08));
    pointer-events: none;
}

.wax-info-inner {
    position: relative;
    z-index: 1;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.result-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.faq-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow);
}

.booking-section {
    background: var(--bg-panel);
    padding: 48px 0;
    text-align: center;
}

.booking-text {
    max-width: 640px;
    margin: 0 auto 24px;
}

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

@media (max-width: 576px) {
    .wax-card,
    .wax-info,
    .result-card,
    .faq-card {
        padding: 24px;
    }
}
.modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.7);
    }

    .modal-content {
        background-color: white;
        margin: 15% auto;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 600px;
    }

    .close-modal {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .close-modal:hover,
    .close-modal:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

    .float-button {
        position: fixed;
        right: 20px;
        bottom: 20px;
        border-radius: 50%;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
          /* Задний фон (затемнение) */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6); /* Полупрозрачный черный */
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        /* Класс для активации окна */
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Сам контейнер всплывающего окна */
        .modal-window {
            background-color: #ffffff;
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            text-align: center;
            max-width: 400px;
            width: 90%;
            transform: scale(0.8);
            transition: transform 0.3s ease;
            position: relative;
        }

        /* Анимация увеличения окна при появлении */
        .modal-overlay.active .modal-window {
            transform: scale(1);
        }

        /* Кнопка "Закрыть" (крестик) */
        .modal-close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 24px;
            background: none;
            border: none;
            color: #aaa;
            cursor: pointer;
            transition: color 0.2s;
        }

        .modal-close-btn:hover {
            color: #333;
        }

        /* Стили текста */
        .modal-window h2 {
            margin-top: 0;
            color: #333;
            font-size: 28px;
        }

        .modal-window p {
            color: #666;
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 30px;
        }

        /* Кнопка-ссылка */
        .modal-action-btn {
            display: inline-block;
            background-color: #007bff; /* Синий цвет */
            color: #ffffff;
            text-decoration: none;
            padding: 12px 30px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            transition: background-color 0.2s, transform 0.1s;
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        }

        .modal-action-btn:hover {
            background-color: #0056b3; /* Темно-синий при наведении */
            transform: translateY(-2px);
        }

        .modal-action-btn:active {
            transform: translateY(0);
        }