:root {
    --bg: #fbeef1;
    --bg-soft: #f4dde2;
    --surface: #fff6f7;
    --surface-strong: #ffffff;
    --text: #5b3a44;
    --text-soft: #8a6770;
    --accent: #d4b07c;
    --accent-dark: #b08a52;
    --accent-soft: #efd9b6;
    --line: #ecd2c8;
    --shadow: 0 14px 34px rgba(160, 110, 110, 0.14);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", "Segoe UI", Tahoma, sans-serif;
    background:
            radial-gradient(circle at 15% 0%, rgba(255, 240, 235, 0.9), transparent 45%),
            radial-gradient(circle at 90% 10%, rgba(245, 215, 200, 0.55), transparent 50%),
            linear-gradient(180deg, #fdeef0 0%, #f5dee1 55%, #f8e3df 100%);
    color: var(--text);
    line-height: 1.65;
}

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

a {
    color: var(--accent-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.section {
    padding: 88px 0;
}

.section-soft {
    background:
            linear-gradient(180deg, rgba(244, 221, 226, 0.6), rgba(255, 246, 247, 0.85)),
            url("../img/bg-gold-lines.png") center / cover no-repeat;
}

.section-heading {
    text-align: center;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--text);
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.note {
    max-width: 860px;
    margin: 18px auto 0;
    text-align: center;
    color: var(--text-soft);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253, 238, 240, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 176, 124, 0.25);
}

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

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    color: var(--text);
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    letter-spacing: 0.02em;
}

.brand-subtitle {
    font-size: 0.78rem;
    color: var(--accent-dark);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-nav a:hover {
    color: var(--accent-dark);
    text-decoration: none;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-button span {
    width: 18px;
    height: 2px;
    background: var(--text);
    display: block;
    border-radius: 2px;
}

.hero {
    padding: 80px 0 60px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: center;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.05;
    color: var(--text);
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-weight: 600;
    letter-spacing: 0.005em;
}

.lead {
    max-width: 640px;
    margin: 0;
    font-size: 1.08rem;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-soft), var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 12px 24px rgba(176, 138, 82, 0.28);
}

.btn-secondary {
    background: var(--surface-strong);
    color: var(--text);
    border: 1px solid var(--accent);
}

.hero-card,
.about-card,
.image-panel,
.contact-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(212, 176, 124, 0.32);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px;
}

.about-card {
    padding: 36px 38px;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: center;
}

.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-soft), transparent 40%, var(--accent) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.about-photo {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 176, 124, 0.32);
}

.about-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.about-text p {
    margin: 0 0 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.image-panel {
    overflow: hidden;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
}

.image-panel img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 176, 124, 0.28);
    background: rgba(255, 255, 255, 0.5);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

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

.contact-card {
    padding: 30px;
}

.contact-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.35rem;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-weight: 600;
    color: var(--text);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-list li strong {
    color: var(--accent-dark);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.salon-map {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.salon-map:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.salon-map img {
    width: 100%;
    height: auto;
    display: block;
}

.map-link {
    margin: 14px 0 0;
    text-align: right;
}

.map-link a {
    font-weight: 600;
}


.site-footer {
    border-top: 1px solid rgba(212, 176, 124, 0.28);
    background: rgba(253, 238, 240, 0.92);
}

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

.footer-inner p {
    margin: 0;
    color: var(--text-soft);
}

.gallery-item {
    cursor: zoom-in;
}

.packages-intro {
    margin-bottom: 10px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.package-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(212, 176, 124, 0.32);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.package-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.package-body {
    padding: 22px 24px 26px;
}

.package-body h3 {
    margin: 0 0 10px;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--text);
}

.package-copy {
    margin: 0;
    color: var(--text-soft);
}

.package-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 6px;
}

.package-photo {
    grid-column: 1 / -1;
}

.package-photo,
.package-placeholder {
    border-radius: 10px;
    overflow: hidden;
}

.package-photo .gallery-item,
.package-placeholder .gallery-item {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    display: block;
    width: 100%;
    height: 100%;
}

.package-photo .gallery-item img {
    aspect-ratio: 4 / 3;
}

.package-placeholder {
    aspect-ratio: 1 / 1;
}

.package-placeholder .gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(48, 26, 32, 0.86);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: lightbox-fade 0.18s ease;
}

.lightbox[aria-hidden="false"] {
    display: flex;
}

@keyframes lightbox-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-stage {
    margin: 0;
    max-width: min(1400px, calc(100% - 96px));
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    background: rgba(255, 255, 255, 0.04);
}

.lightbox-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.lightbox-close { top: 20px; right: 20px; font-size: 26px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

.lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    font-weight: 600;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .lightbox { padding: 12px; }
    .lightbox-stage { max-width: 100%; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 12px; right: 12px; }
}

@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .menu-button {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 84px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 16px;
        border-radius: 22px;
        background: rgba(253, 238, 240, 0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav a {
        padding: 10px 8px;
    }

    .menu-toggle:checked + .menu-button + .site-nav {
        display: flex;
    }

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

    .about-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-photo {
        max-width: 280px;
        margin: 0 auto;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 72px 0;
    }
}

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

    .header-inner {
        min-height: 76px;
    }

    .hero {
        padding-top: 52px;
    }

    .hero-card img {
        min-height: 280px;
    }

    .about-card,
    .contact-card {
        padding: 22px;
    }

    .btn {
        width: 100%;
    }

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