:root {
    --bg: #f3ebe1;
    --bg-deep: #e8dccf;
    --bg-soft: #faf6f0;
    --ink: #3a2f26;
    --ink-soft: #6b5b4d;
    --bronze: #8b7355;
    --bronze-deep: #6f5a42;
    --olive: #5c6b4a;
    --olive-soft: #7a8a66;
    --line: rgba(58, 47, 38, 0.14);
    --white: #fffdf9;
    --shadow: 0 24px 60px rgba(58, 47, 38, 0.12);
    --radius: 2px;
    --font-serif: "Playfair Display", "Times New Roman", serif;
    --font-sans: "Montserrat", "Segoe UI", sans-serif;
    --container: min(1180px, calc(100% - 2.5rem));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(124, 138, 102, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 45% at 90% 10%, rgba(139, 115, 85, 0.14), transparent 50%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 40%, var(--bg-deep) 100%);
    min-height: 100vh;
    line-height: 1.6;
}

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

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

.container {
    width: var(--container);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(250, 246, 240, 0.82);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(58, 47, 38, 0.12);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--bronze-deep);
}

.brand-tag {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--olive);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

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

.nav a:hover,
.nav a.is-active {
    color: var(--bronze-deep);
}

.nav-cta {
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--bronze);
    color: var(--bronze-deep) !important;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
    background: var(--bronze);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    padding: 0.55rem 0.75rem;
    font: inherit;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--ink);
}

.hero {
    position: relative;
    min-height: clamp(420px, 58vw, 680px);
    max-height: 680px;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media picture,
.hero-media img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-media img {
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
    animation: heroRise 1.4s ease both;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(243, 235, 225, 0.55) 0%, rgba(243, 235, 225, 0.28) 42%, rgba(243, 235, 225, 0.12) 70%, transparent 100%),
        radial-gradient(ellipse at 50% 45%, rgba(250, 246, 240, 0.35), transparent 55%);
}

.hero-content {
    width: var(--container);
    margin: 0 auto;
    padding: 3rem 0;
    color: var(--bronze-deep);
    text-align: center;
    animation: fadeUp 1s ease 0.2s both;
}

.hero-kicker {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.48em;
    text-transform: uppercase;
    color: #5f6b4d;
    margin: 0.15rem 0 1rem;
}

.hero-title {
    --hero-bronze-light: #b08a5c;
    --hero-bronze-mid: #856244;
    --hero-bronze-deep: #6b482c;
    --hero-bronze-dark: #472d16;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(2.8rem, 6.4vw, 5rem);
    line-height: 0.95;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 auto 0.35rem;
    color: var(--hero-bronze-deep);
}

.hero-title-word {
    background: linear-gradient(
        180deg,
        var(--hero-bronze-light) 0%,
        #9a7349 22%,
        var(--hero-bronze-mid) 48%,
        var(--hero-bronze-deep) 72%,
        var(--hero-bronze-dark) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 1px 0 rgba(255, 248, 235, 0.35));
}

.hero-title-divider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.15em;
    color: #5c6b4a;
    flex-shrink: 0;
}

.hero-title-divider svg {
    width: 100%;
    height: 100%;
}

.hero-text {
    max-width: 34rem;
    margin: 0 auto 1.4rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #6b5b4d;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.4rem;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
    background: var(--olive);
    color: #f7f1e8;
}

.btn-primary:hover {
    background: #4d5a3d;
}

.btn-ghost {
    border-color: var(--bronze);
    color: var(--bronze-deep);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(139, 115, 85, 0.1);
}

.hero .btn-primary {
    background: var(--bronze-deep);
    color: #f7f1e8;
}

.hero .btn-primary:hover {
    background: #5a4330;
}

.btn-dark {
    background: var(--bronze-deep);
    color: #f7f1e8;
}

.btn-outline {
    border-color: var(--bronze);
    color: var(--bronze-deep);
    background: transparent;
}

.section {
    padding: 5.5rem 0;
}

.section-head {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    max-width: 40rem;
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--olive);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.08;
    margin: 0;
    color: var(--bronze-deep);
}

.section-text {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.about-nea-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 2rem 2.75rem;
    align-items: stretch;
}

.about-nea-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.about-nea-copy .section-head {
    margin-bottom: 0;
}

.nea-card {
    --nea-ink: #121018;
    --nea-dim: #5c5754;
    --nea-rose: #a67c52;
    --nea-line: #e2ddd6;
    --nea-surface: #fffcfa;
    --nea-surface-2: #f3f1ed;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    min-height: 100%;
    padding: 1.6rem 1.5rem 1.45rem;
    text-decoration: none;
    color: var(--nea-ink);
    background:
        linear-gradient(180deg, var(--nea-surface) 0%, var(--nea-surface-2) 100%);
    border: 1px solid var(--nea-line);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.nea-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1rem;
    bottom: 1.1rem;
    width: 2px;
    background: linear-gradient(180deg, var(--nea-rose), #8570d4);
}

.nea-card:hover {
    transform: translateY(-2px);
    border-color: rgba(166, 124, 82, 0.55);
}

.nea-card-top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.nea-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(166, 124, 82, 0.35);
}

.nea-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nea-rose);
    background: rgba(166, 124, 82, 0.08);
    box-shadow: inset 0 0 0 1px rgba(166, 124, 82, 0.28);
}

.nea-card-title {
    margin: 0.15rem 0 0;
    font-family: var(--font-sans);
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--nea-ink);
}

.nea-card-text {
    margin: 0;
    max-width: 22rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--nea-dim);
}

.nea-card-link {
    margin-top: 0.35rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nea-rose);
}

.nea-card-link::after {
    content: " →";
}

.split-directions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.direction {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    text-align: left;
    padding: 0.85rem 0.35rem;
}

.direction-icon {
    width: 52px;
    height: 52px;
    margin: 0;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.direction-copy {
    min-width: 0;
}

.direction h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.45rem;
    background: linear-gradient(90deg, #5a3d28 0%, #8a6540 55%, #b08a5c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.direction p {
    margin: 0;
    color: #6b5b4d;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.45;
}

.direction-divider {
    width: 1px;
    align-self: stretch;
    background: var(--line);
}

.services-grid,
.works-grid,
.price-grid {
    display: grid;
    gap: 1.5rem;
}

.services-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

.service-item,
.work-item,
.price-item {
    background: rgba(255, 253, 249, 0.55);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-item:hover,
.work-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-item img,
.work-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-body,
.work-body,
.price-body {
    padding: 1.25rem 1.35rem 1.5rem;
}

.service-body h3,
.work-body h3,
.price-body h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    margin: 0 0 0.45rem;
    color: var(--bronze-deep);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    color: var(--olive);
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.7rem;
}

.muted {
    color: var(--ink-soft);
    margin: 0;
}

.price-categories {
    display: grid;
    gap: 3rem;
}

.price-list {
    display: grid;
    gap: 1rem;
}

.price-row {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.2rem;
    align-items: start;
    padding: 1.3rem 0;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

a.price-row:hover {
    background: color-mix(in srgb, var(--bronze-deep) 4%, transparent);
}

a.service-item {
    color: inherit;
    text-decoration: none;
}

.service-lead {
    margin: 0 0 1.25rem;
    font-size: 1.12rem;
    line-height: 1.55;
    color: var(--ink);
}

.price-row:first-child {
    border-top: 1px solid var(--line);
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--bronze-deep);
    text-align: right;
    white-space: nowrap;
}

.page-hero {
    padding: 4.5rem 0 2rem;
}

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 4.5vw, 3.4rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0.4rem 0 0.8rem;
    color: var(--bronze-deep);
}

.prose {
    max-width: 46rem;
    font-size: 1.05rem;
    color: var(--ink-soft);
}

.prose p {
    margin: 0 0 1rem;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 2.5rem 3rem;
    align-items: start;
}

.about-copy .prose {
    max-width: none;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.about-media {
    margin: 0;
    position: sticky;
    top: 5.5rem;
}

.about-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(58, 47, 38, 0.08);
}

.contacts-layout,
.booking-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.info-list {
    display: grid;
    gap: 1.1rem;
    margin: 1.5rem 0 2rem;
}

.info-list dt {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--olive);
}

.info-list dd {
    margin: 0.25rem 0 0;
    font-size: 1.1rem;
}

.map-frame {
    border: 1px solid var(--line);
    min-height: 420px;
    background: rgba(255, 253, 249, 0.5);
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.booking-form {
    background: rgba(255, 253, 249, 0.72);
    border: 1px solid var(--line);
    padding: 1.6rem;
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.4rem;
}

.field label {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    padding: 0.85rem 0.95rem;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--bronze);
}

.alert {
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--olive-soft);
    background: rgba(124, 138, 102, 0.12);
    color: var(--olive);
}

.alert-error {
    border-color: #a05a4a;
    background: rgba(160, 90, 74, 0.1);
    color: #7a3f33;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.modal.is-open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(58, 47, 38, 0.48);
    backdrop-filter: blur(2px);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 2rem 1.75rem 1.75rem;
    text-align: center;
    animation: modal-in 0.28s ease;
}

.modal-close {
    position: absolute;
    top: 0.55rem;
    right: 0.7rem;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.modal-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 0.55rem;
}

.modal-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.65rem;
    color: var(--ink);
}

.modal-text {
    margin: 0 0 1.35rem;
    color: var(--ink-soft);
}

body.modal-open {
    overflow: hidden;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2.5rem 0 2rem;
    margin-top: 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.15rem;
}

.social-links a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.social-links a:hover {
    color: var(--ink);
}

.social-links--footer {
    align-items: center;
    align-self: center;
    gap: 0.7rem;
}

.social-links--icons a {
    text-decoration: none;
}

.social-links__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.55rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-links__btn:hover {
    opacity: 0.86;
    transform: translateY(-1px);
}

.social-links__btn img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.social-links__btn--yandex {
    width: 2.15rem;
    height: 2.15rem;
}

.social-links--contacts {
    margin-top: 1.25rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-size: 0.84rem;
}

.footer-legal a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer-legal a:hover {
    color: var(--ink);
}

.footer-credit {
    margin-top: 1rem;
    padding-top: 0;
    border-top: 0;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

.consent-check input {
    margin-top: 0.2rem;
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    accent-color: var(--bronze);
}

.consent-check a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
    max-width: 640px;
    margin-inline: auto;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 253, 249, 0.96);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(58, 47, 38, 0.16);
    backdrop-filter: blur(10px);
}

.cookie-banner-inner p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

.cookie-banner-inner a {
    color: var(--ink);
    text-decoration: underline;
}

.cookie-banner-accept {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-accept {
        width: 100%;
    }
}


.footer-credit-link {
    display: inline-block;
    color: #a67c52;
    font-size: 0.86rem;
    transition: color 0.2s ease;
}

.footer-credit-link:hover {
    color: #5f45b8;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroRise {
    from {
        transform: scale(1.08);
        opacity: 0.7;
    }
    to {
        transform: scale(1.02);
        opacity: 1;
    }
}

@media (max-width: 960px) {
    .services-grid,
    .works-grid,
    .contacts-layout,
    .booking-layout,
    .about-layout,
    .about-nea-grid,
    .price-row,
    .form-row {
        grid-template-columns: 1fr;
    }

    .about-media {
        position: static;
        order: -1;
        max-width: 28rem;
    }

    .nea-card {
        max-width: 28rem;
    }

    .price-amount {
        text-align: left;
    }

    .split-directions {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .direction-divider {
        width: 100%;
        height: 1px;
    }

    .direction {
        gap: 0.85rem;
        padding: 0.35rem 0;
    }

    .direction-icon {
        width: 48px;
        height: 48px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1rem;
    }

    .nav.is-open {
        display: flex;
    }

    .header-inner {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: clamp(560px, 82vh, 780px);
        max-height: none;
        align-items: end;
    }

    .hero-media img {
        object-position: center 38%;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(250, 246, 240, 0.08) 0%,
                rgba(250, 246, 240, 0.18) 35%,
                rgba(245, 236, 224, 0.72) 62%,
                rgba(243, 235, 225, 0.94) 100%
            );
    }

    .hero-content {
        width: calc(100% - 1.5rem);
        margin: 0 0.75rem 0.85rem;
        padding: 1.25rem 1.1rem 1.35rem;
        text-align: left;
        background: rgba(250, 246, 240, 0.88);
        border: 1px solid rgba(107, 72, 44, 0.12);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 12px 36px rgba(58, 47, 38, 0.12);
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-title {
        justify-content: flex-start;
        flex-wrap: nowrap;
        white-space: nowrap;
        font-size: clamp(1.55rem, 7.2vw, 2.4rem);
        letter-spacing: 0.06em;
        gap: 0.28rem;
        margin-bottom: 0.2rem;
    }

    .hero-title-divider {
        width: 0.85rem;
    }

    .hero-title-word {
        /* На мобилке — более тёмный градиент + тень для читаемости */
        background: linear-gradient(
            180deg,
            #9a7349 0%,
            #7a5532 40%,
            #5a3a22 72%,
            #3d2614 100%
        );
        -webkit-background-clip: text;
        background-clip: text;
        filter: drop-shadow(0 1px 0 rgba(255, 252, 246, 0.9));
    }

    .hero-kicker {
        text-align: left;
        letter-spacing: 0.28em;
        color: #4f5a3f;
        font-weight: 600;
        margin-top: 0.35rem;
        margin-bottom: 0.75rem;
    }

    .hero-text {
        margin-left: 0;
        margin-bottom: 1.1rem;
        color: #4a3b30;
        font-size: 0.92rem;
        line-height: 1.5;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(1180px, calc(100% - 1.5rem));
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero-content {
        padding-bottom: 2.4rem;
    }
}

/* Lightbox gallery */
.work-item {
    cursor: zoom-in;
}

.service-item {
    cursor: pointer;
}

.work-item img,
.service-item img {
    transition: transform 0.4s ease;
}

.work-item:hover img,
.service-item:hover img {
    transform: scale(1.03);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(30, 24, 18, 0.88);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox.is-open {
    display: flex;
    opacity: 1;
}

.lightbox-dialog {
    position: relative;
    width: min(1100px, 100%);
    max-height: calc(100vh - 2rem);
    display: grid;
    gap: 0.85rem;
    touch-action: pan-y;
}

.lightbox-stage {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: min(78vh, 860px);
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(247, 241, 232, 0.18);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform, opacity;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.lightbox-image.is-swiping {
    transition: none;
}

.lightbox-meta {
    color: #f7f1e8;
    text-align: center;
    padding: 0 3rem;
}

.lightbox-title {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 500;
    margin: 0 0 0.25rem;
}

.lightbox-caption {
    margin: 0;
    color: rgba(247, 241, 232, 0.72);
    font-size: 0.95rem;
}

.lightbox-counter {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(247, 241, 232, 0.55);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(247, 241, 232, 0.35);
    background: rgba(58, 47, 38, 0.45);
    color: #f7f1e8;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    z-index: 2;
}

.lightbox-btn:hover {
    background: rgba(92, 107, 74, 0.85);
    border-color: rgba(247, 241, 232, 0.65);
}

.lightbox-prev {
    left: 0.4rem;
}

.lightbox-next {
    right: 0.4rem;
}

.lightbox-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(247, 241, 232, 0.35);
    background: rgba(58, 47, 38, 0.45);
    color: #f7f1e8;
    font-size: 1.35rem;
    cursor: pointer;
    z-index: 3;
}

.lightbox-close:hover {
    background: rgba(160, 90, 74, 0.85);
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .lightbox-btn {
        display: none;
    }

    .lightbox-meta {
        padding: 0 0.5rem;
    }

    .lightbox-image {
        max-height: min(68vh, 720px);
    }
}
