:root {
    --bg: #f7f7f4;
    --paper: #ffffff;
    --ink: #0b0b0b;
    --muted: #666666;
    --line: #d9d9d2;
    --soft: #ededdf;
    --accent: #c8ff3d;
    --accent-ink: #101400;
    --radius: 8px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
    --font-body: "Manrope", "Segoe UI", Arial, Helvetica, sans-serif;
    --font-display: "Space Grotesk", "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 247, 244, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus {
    border-bottom-color: var(--ink);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    min-height: 42px;
    padding: 0 16px;
    font-weight: 800;
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.hero__media {
    position: absolute;
    inset: 0;
    opacity: 0.36;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.22));
}

.photo-stack,
.photo-stack img {
    width: 100%;
    height: 100%;
}

.photo-stack img {
    object-fit: cover;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 44px;
    align-items: end;
    padding: 88px 0 72px;
}

.hero__content {
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.7);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
}

h1 {
    margin-bottom: 8px;
    font-size: clamp(56px, 8vw, 118px);
    line-height: 0.92;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(36px, 4.8vw, 64px);
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h3 {
    font-size: 21px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero__lead {
    font-size: clamp(23px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero__text {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.55;
}

.hero__actions,
.contact-list,
.contact-panel {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--light {
    background: #fff;
    color: var(--ink);
}

.button--dark {
    background: var(--ink);
    color: #fff;
}

.hero-card {
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.hero-card__logo {
    width: 128px;
    height: 128px;
    margin: 0 auto 22px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.hero-card span,
.hero-card label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1;
    margin: 10px 0 22px;
}

.city-select select,
.request-form input,
.request-form select,
.request-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    min-height: 46px;
    padding: 11px 13px;
    font: inherit;
}

.city-select {
    margin-bottom: 16px;
}

.strip {
    background: var(--accent);
    color: var(--accent-ink);
}

.strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.strip__grid div {
    padding: 24px 20px;
    border-right: 1px solid rgba(16, 20, 0, 0.18);
}

.strip__grid div:last-child {
    border-right: 0;
}

.strip strong {
    display: block;
    font-family: var(--font-display);
    font-size: 27px;
    line-height: 1;
}

.strip span {
    display: block;
    margin-top: 6px;
    font-weight: 700;
}

.section {
    padding: 92px 0;
}

.section--ink {
    background: var(--ink);
    color: #fff;
}

.section--soft {
    background: var(--soft);
}

.section__head {
    max-width: 760px;
    margin-bottom: 36px;
}

.section__head p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

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

.service-card {
    min-height: 248px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.service-card span {
    display: inline-flex;
    margin-bottom: 28px;
    padding: 5px 9px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-card p,
.steps p,
.price-layout p,
.contacts-grid p,
.site-footer p {
    color: var(--muted);
}

.service-card p,
.steps p,
.price-layout p,
.contacts-grid p {
    font-size: 15px;
    line-height: 1.65;
}

.section--ink .price-layout p,
.section--ink .contacts-grid p {
    color: rgba(255, 255, 255, 0.72);
}

.price-layout,
.request-grid,
.contacts-grid,
.reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
    gap: 52px;
    align-items: start;
}

.reviews-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 42px;
}

.reviews-list {
    display: grid;
    gap: 12px;
    max-height: 560px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f0f0e9;
    overscroll-behavior-y: contain;
    scrollbar-color: var(--ink) #e8e8e2;
}

.reviews-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 12px;
}

.reviews-toolbar label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.reviews-toolbar select {
    min-height: 42px;
    padding: 9px 36px 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.reviews-loader {
    min-height: 2px;
    padding: 8px 14px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.reviews-list[aria-busy="true"] .reviews-loader {
    min-height: 34px;
}

.review-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.review-card:last-child {
    border-bottom: 1px solid var(--line);
}

.review-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.review-card h3 {
    margin-bottom: 7px;
    font-size: 20px;
}

.review-card time {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.review-card p {
    margin-bottom: 0;
    color: #2a2a2a;
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-line;
}

.empty-reviews {
    padding: 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.empty-reviews p {
    margin: 0;
}

.review-form {
    position: sticky;
    top: 96px;
}

.review-form__note {
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.rating-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.rating-fieldset legend {
    margin-bottom: 7px;
    font-weight: 800;
}

.rating-options {
    display: flex;
    gap: 4px;
}

.rating-option {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.rating-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.rating-option > span:first-of-type {
    color: #cfcfc5;
    font-size: 30px;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.rating-option:hover > span:first-of-type,
.rating-option.is-selected > span:first-of-type {
    color: #a2c900;
    transform: scale(1.06);
}

.rating-option input:focus-visible + span {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
}

.request-form input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

.file-note {
    display: block;
    margin-top: -2px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.price-table {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
}

.price-column {
    display: grid;
    gap: 16px;
}

.price-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}

.mini-price {
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: var(--radius);
    padding: 22px;
}

.mini-price h3 {
    margin-bottom: 14px;
    text-transform: uppercase;
}

.mini-price__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mini-price__items span {
    min-width: 78px;
    border: 1px solid rgba(16, 20, 0, 0.28);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    font-weight: 900;
    text-align: center;
}

.price-row:last-child {
    border-bottom: 0;
}

.price-row strong {
    white-space: nowrap;
}

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

.steps article {
    border-top: 3px solid var(--ink);
    padding-top: 18px;
}

.steps article span {
    display: block;
    margin-bottom: 26px;
    color: var(--muted);
    font-weight: 900;
}

.city-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.city-pills a {
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 9px 14px;
    background: #fff;
    font-weight: 800;
}

.city-pills a.is-active,
.city-pills a:hover {
    background: var(--ink);
    color: #fff;
}

.works-section {
    background: #fff;
}

.works-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 18px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-color: var(--ink) #e8e8e2;
}

.work-card {
    position: relative;
    display: block;
    flex: 0 0 clamp(190px, 18vw, 230px);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
    outline: 1px solid var(--line);
    outline-offset: -1px;
}

.work-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.work-card:hover img,
.work-card:focus-visible img {
    transform: scale(1.035);
}

.work-card:hover::after,
.work-card:focus-visible::after {
    opacity: 1;
}

.work-lightbox {
    width: min(92vw, 960px);
    max-width: none;
    max-height: 92vh;
    padding: 18px;
    border: 0;
    border-radius: var(--radius);
    background: #111;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.work-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.84);
}

.work-lightbox img {
    width: 100%;
    max-height: calc(92vh - 36px);
    object-fit: contain;
}

.work-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font: 28px/1 Arial, sans-serif;
    cursor: pointer;
}

.contact-list {
    margin-top: 24px;
}

.contact-list a,
.contact-list button,
.contact-panel a,
.contact-panel button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.request-form,
.notice {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.request-form {
    display: grid;
    gap: 16px;
}

.request-form label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.request-form textarea {
    resize: vertical;
}

.checkbox {
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 400;
}

.checkbox input {
    width: 18px;
    min-height: 18px;
    margin-top: 4px;
}

.notice {
    grid-column: 2;
    box-shadow: none;
    font-weight: 800;
}

.notice--success {
    border-color: #7abf43;
}

.notice--error {
    border-color: #d24b4b;
}

.contact-panel {
    justify-content: flex-start;
}

.section--ink .contact-panel a,
.section--ink .contact-panel button {
    background: #fff;
    color: var(--ink);
}

.contact-copy-status {
    flex-basis: 100%;
    min-height: 1.4em;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
}

.request-copy-status {
    flex-basis: 100%;
    min-height: 1.4em;
    margin: 0;
    color: #3b6900;
    font-size: 12px;
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0;
    background: #fff;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer-grid div:last-child {
    display: grid;
    gap: 6px;
    text-align: right;
    font-weight: 800;
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.admin-page {
    min-height: 70vh;
    background: #f4f4ef;
}

.admin-section {
    padding: 54px 0 90px;
}

.admin-container {
    max-width: 980px;
}

.admin-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.admin-head h1 {
    margin: 0;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1;
    text-transform: none;
}

.admin-count {
    min-width: 112px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    text-align: center;
}

.admin-count span {
    display: block;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.admin-count small {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 800;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: -10px 0 22px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.admin-toolbar a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 0 12px;
    color: var(--ink);
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.admin-primary-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.admin-primary-tabs a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    padding: 0 15px;
    font-weight: 800;
}

.admin-primary-tabs a.is-active {
    background: var(--ink);
    color: #fff;
}

.admin-primary-tabs span {
    min-width: 24px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 2px 7px;
    font-size: 12px;
    text-align: center;
}

.admin-tabs a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 0 14px;
    font-weight: 900;
}

.admin-tabs a.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.admin-tabs span {
    min-width: 24px;
    border-radius: 999px;
    background: #f0f0e9;
    color: var(--ink);
    padding: 2px 7px;
    font-size: 12px;
    text-align: center;
}

.admin-tabs a.is-active span {
    background: var(--accent);
}

.empty-admin,
.lead-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.empty-admin {
    padding: 28px;
}

.empty-admin h2 {
    margin-bottom: 8px;
    font-size: 28px;
    text-transform: none;
}

.empty-admin p {
    margin-bottom: 0;
    color: var(--muted);
}

.lead-list {
    display: grid;
    gap: 14px;
}

.review-admin-list {
    display: grid;
    gap: 14px;
}

.review-admin-card--pending {
    border-left: 5px solid var(--accent);
}

.review-admin-card--approved {
    border-left: 5px solid #7abf43;
}

.review-admin-card--rejected {
    border-left: 5px solid #b9b9b0;
    opacity: 0.82;
}

.lead-card {
    padding: 22px;
}

.lead-card--new {
    border-left: 5px solid var(--accent);
}

.lead-card--unread {
    border-left: 5px solid #111;
}

.lead-card--processed {
    opacity: 0.82;
}

.lead-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.lead-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.lead-card__top h2 {
    margin-bottom: 4px;
    font-size: 25px;
    line-height: 1.1;
    text-transform: none;
}

.lead-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.lead-status--new {
    background: var(--accent);
    color: var(--accent-ink);
}

.lead-status--unread {
    background: var(--ink);
    color: #fff;
}

.lead-status--processed {
    background: #e8e8df;
    color: var(--muted);
}

.lead-card__top p,
.lead-card__top time {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.review-stars {
    color: #a2c900;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.lead-card__top time {
    white-space: nowrap;
}

.lead-message {
    margin: 18px 0;
    padding: 18px;
    border-radius: var(--radius);
    background: #f6f6f2;
    color: #1b1b1b;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.lead-attachments {
    display: flex;
    gap: 10px;
    margin: -6px 0 18px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.lead-attachments a {
    flex: 0 0 86px;
    height: 86px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f6f6f2;
}

.lead-attachments img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-attachments {
    margin-top: 16px;
}

.lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.lead-actions a,
.lead-actions span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    padding: 0 13px;
    font-weight: 800;
}

.lead-actions a {
    background: var(--ink);
    color: #fff;
}

.lead-actions span {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
}

.lead-status-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.lead-status-form button,
.pagination a {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    padding: 0 12px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.lead-status-form button:hover,
.lead-status-form button.is-active,
.pagination a:hover,
.pagination a.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.pagination a {
    min-width: 40px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
}

.login-container {
    max-width: 430px;
}

.login-card {
    display: grid;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 28px;
    box-shadow: var(--shadow);
}

.login-card img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
}

.login-card h1 {
    margin: 0 0 6px;
    font-size: 40px;
    line-height: 1;
    text-transform: none;
}

.login-card label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.login-card input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 11px 13px;
    font: inherit;
}

.login-error {
    border: 1px solid #d24b4b;
    border-radius: var(--radius);
    padding: 12px;
    color: #9d2323;
    font-weight: 800;
}

.quick-contact {
    position: fixed;
    right: 24px;
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    justify-items: end;
    gap: 12px;
}

.quick-contact__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.quick-contact__toggle:hover {
    transform: translateY(-2px);
    background: var(--accent);
    color: var(--ink);
}

.quick-contact__toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.quick-contact__panel {
    width: min(360px, calc(100vw - 32px));
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.quick-contact__panel[hidden] {
    display: none;
}

.quick-contact__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.quick-contact__head .eyebrow {
    margin-bottom: 4px;
}

.quick-contact__head h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.15;
    text-transform: none;
}

.quick-contact__close {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.quick-contact__intro {
    margin: 10px 0 14px;
    color: var(--muted);
    font-size: 13px;
}

.quick-contact__links {
    display: grid;
    gap: 5px;
}

.quick-contact__link {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 58px;
    padding: 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.quick-contact__link:hover,
.quick-contact__link:focus-visible {
    outline: none;
    background: #f0f0e9;
}

.quick-contact__badge {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    font-size: 11px;
    font-weight: 900;
}

.quick-contact__link > span:nth-child(2) {
    display: grid;
    min-width: 0;
}

.quick-contact__link strong,
.quick-contact__link small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-contact__link strong {
    font-size: 14px;
    line-height: 1.35;
}

.quick-contact__link small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.quick-contact__arrow {
    color: var(--muted);
    font-size: 16px;
    text-align: center;
}

.quick-contact__status {
    min-height: 0;
    margin: 0;
    color: #3b6900;
    font-size: 12px;
    font-weight: 700;
}

.quick-contact__status:empty {
    display: none;
}

@media (max-width: 980px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        padding: 0 0 18px;
        justify-content: flex-start;
    }

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

    .hero {
        min-height: auto;
    }

    .hero__grid,
    .price-layout,
    .request-grid,
    .contacts-grid,
    .reviews-layout {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        padding-top: 70px;
    }

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

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

    .notice {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

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

    .quick-contact {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .quick-contact__toggle {
        min-height: 50px;
        padding: 0 16px;
    }

    .quick-contact__panel {
        width: min(360px, calc(100vw - 24px));
        padding: 16px;
    }

    .hero__grid {
        padding: 56px 0 44px;
        gap: 28px;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 34px;
    }

    .hero__text {
        font-size: 17px;
    }

    .hero__actions,
    .button {
        width: 100%;
    }

    .strip__grid,
    .services-grid,
    .steps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .works-grid {
        gap: 8px;
    }

    .work-card {
        flex-basis: min(67vw, 230px);
    }

    .strip__grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(16, 20, 0, 0.18);
    }

    .section {
        padding: 62px 0;
    }

    .footer-grid {
        display: grid;
    }

    .footer-grid div:last-child {
        text-align: left;
    }

    .review-form {
        position: static;
    }

    .reviews-list {
        max-height: 460px;
    }

    .admin-head,
    .admin-toolbar,
    .lead-card__top {
        display: grid;
    }

    .lead-card__top time {
        white-space: normal;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.quick-contact {
    right: 24px;
    bottom: calc(90px + env(safe-area-inset-bottom));
}

.support-chat {
    position: fixed;
    right: 24px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 82;
    display: grid;
    justify-items: end;
    gap: 12px;
}

.support-chat__toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 1px solid var(--ink);
    border-radius: 18px;
    background: var(--accent);
    color: var(--ink);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.support-chat__toggle:hover {
    transform: translateY(-2px);
    background: #d8ff7d;
}

.support-chat__toggle svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.support-chat__online,
.support-chat__identity p span {
    width: 11px;
    height: 11px;
    border: 2px solid var(--paper);
    border-radius: 50%;
    background: #5e9f00;
}

.support-chat__online {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
}

.support-chat__panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto auto;
    width: min(380px, calc(100vw - 32px));
    height: min(560px, calc(100dvh - 122px));
    min-height: 330px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.24);
}

.support-chat__panel[hidden],
.support-chat__new[hidden],
.support-chat__composer[hidden] {
    display: none;
}

.support-chat__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
    padding: 12px 16px;
    background: var(--ink);
    color: #fff;
}

.support-chat__identity {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.support-chat__identity img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
}

.support-chat__identity h2 {
    margin: 0;
    color: inherit;
    font-size: 18px;
    line-height: 1.25;
    text-transform: none;
}

.support-chat__identity p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 3px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.3;
}

.support-chat__identity p span {
    width: 8px;
    height: 8px;
    border: 0;
}

.support-chat__close {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.support-chat__close:hover,
.support-chat__close:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.support-chat__messages {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 14px;
    background: #f2f2ec;
    overscroll-behavior: contain;
}

.support-chat__message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: fit-content;
    max-width: 92%;
    min-width: 0;
}

.support-chat__message--visitor {
    align-self: flex-end;
    align-items: flex-end;
}

.support-chat__bubble {
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px 12px 12px 4px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.support-chat__bubble--visitor {
    border-color: var(--ink);
    border-radius: 12px 12px 4px 12px;
    background: var(--ink);
    color: #fff;
}

.support-chat__time {
    padding: 0 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.2;
}

.support-chat__attachments,
.admin-chat__attachments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 264px);
    gap: 6px;
}

.support-chat__attachments--single {
    grid-template-columns: minmax(0, 220px);
    width: min(100%, 220px);
}

.support-chat__attachments a,
.admin-chat__attachments a {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.support-chat__attachments img,
.admin-chat__attachments img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-chat__attachments--visitor {
    justify-content: end;
}

.support-chat__composer {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 40px;
    align-items: end;
    gap: 8px;
    min-height: 68px;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.support-chat__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.support-chat__attach {
    display: grid;
    place-items: center;
    width: 34px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.support-chat__attach:hover,
.support-chat__attach:focus-visible {
    background: #f0f0e9;
    color: var(--ink);
}

.support-chat__attach svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.support-chat__composer textarea {
    width: 100%;
    min-height: 42px;
    max-height: 100px;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 10px 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.support-chat__composer textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.support-chat__send {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
}

.support-chat__send:hover {
    background: #303030;
}

.support-chat__send:disabled,
.support-chat__attach:disabled {
    opacity: 0.5;
    cursor: wait;
}

.support-chat__send svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.support-chat__status,
.support-chat__file-summary,
.support-chat__error {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.support-chat__status {
    padding: 4px 12px;
    text-align: center;
}

.support-chat__file-summary:empty,
.support-chat__error:empty,
.support-chat__status:empty {
    display: none;
}

.support-chat__error {
    color: #a32222;
}

.support-chat__new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    justify-self: center;
    margin: 8px 12px 12px;
    padding: 8px 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.support-chat__new:hover {
    background: var(--accent);
}

@media (max-width: 620px) {
    .quick-contact {
        right: 12px;
        bottom: calc(82px + env(safe-area-inset-bottom));
    }

    .support-chat {
        right: 12px;
        bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .support-chat__panel {
        width: min(380px, calc(100vw - 24px));
        height: min(560px, calc(100dvh - 112px));
        min-height: min(330px, calc(100dvh - 112px));
    }
}

.quick-contact.quick-contact--solo {
    bottom: max(18px, env(safe-area-inset-bottom));
}

@media (max-width: 620px) {
    .quick-contact.quick-contact--solo {
        bottom: calc(14px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-chat__toggle {
        transition: none;
    }
}

.admin-chat {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    height: min(72vh, 760px);
    min-height: min(520px, 72vh);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.admin-chat__sidebar {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
    border-right: 1px solid var(--line);
}

.admin-chat__sidebar-head {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

.admin-chat__sidebar-head h2,
.admin-chat__empty h2,
.admin-chat__thread-head h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    text-transform: none;
}

.admin-chat__filters {
    display: flex;
    gap: 6px;
}

.admin-chat__filters button {
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.admin-chat__filters button.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.admin-chat__list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.admin-chat__item {
    position: relative;
    display: grid;
    gap: 4px;
    width: 100%;
    min-height: 84px;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    background: #fff;
    color: var(--ink);
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.admin-chat__item:hover,
.admin-chat__item.is-active {
    background: #f3f3ed;
}

.admin-chat__item-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding-right: 28px;
}

.admin-chat__item-top strong {
    font-size: 13px;
}

.admin-chat__item-top time,
.admin-chat__item-city {
    color: var(--muted);
    font-size: 11px;
}

.admin-chat__item-preview {
    overflow: hidden;
    padding-right: 22px;
    color: #333;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-chat__unread {
    position: absolute;
    top: 34px;
    right: 14px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    padding: 0 5px;
    background: var(--accent);
    color: var(--ink);
    font-size: 11px;
    font-weight: 900;
}

.admin-chat__list-empty {
    margin: 0;
    padding: 22px 16px;
    color: var(--muted);
    font-size: 13px;
}

.admin-chat__thread {
    display: grid;
    min-width: 0;
    min-height: 0;
    background: #f7f7f4;
}

.admin-chat__empty {
    align-self: center;
    justify-self: center;
    max-width: 360px;
    padding: 28px;
    text-align: center;
}

.admin-chat__empty p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.admin-chat__active[hidden],
.admin-chat__empty[hidden],
.admin-chat__reply[hidden] {
    display: none;
}

.admin-chat__active {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    min-height: 0;
    height: 100%;
}

.admin-chat__thread-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 72px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.admin-chat__thread-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.admin-chat__thread-head button {
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 11px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.admin-chat__thread-head button:hover {
    border-color: var(--ink);
}

.admin-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    padding: 18px;
    overscroll-behavior: contain;
}

.admin-chat__message {
    width: fit-content;
    max-width: min(78%, 600px);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 12px;
    background: #fff;
}

.admin-chat__message--operator {
    align-self: flex-end;
    border-color: var(--line);
    background: #f2f2ec;
    color: var(--ink);
}

.admin-chat__message-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 10px;
}

.admin-chat__message--operator .admin-chat__message-meta {
    color: var(--muted);
}

.admin-chat__message p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.admin-chat__attachments {
    margin-top: 8px;
}

.admin-chat__attachments--single {
    grid-template-columns: minmax(0, 220px);
    width: min(100%, 220px);
}

.admin-chat__reply {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.admin-chat__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.admin-chat__attach {
    display: grid;
    place-items: center;
    width: 36px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.admin-chat__attach:hover,
.admin-chat__attach:focus-visible {
    background: #f0f0e9;
    color: var(--ink);
}

.admin-chat__attach svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.admin-chat__reply textarea {
    width: 100%;
    min-height: 44px;
    max-height: 140px;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 9px 11px;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.admin-chat__file-summary {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.admin-chat__file-summary:empty {
    display: none;
}

.admin-chat__reply button {
    min-height: 42px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    padding: 0 15px;
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.admin-chat__reply .admin-chat__attach {
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: var(--muted);
    font-size: inherit;
    font-weight: inherit;
}

.admin-chat__reply .admin-chat__attach:hover,
.admin-chat__reply .admin-chat__attach:focus-visible {
    background: #f0f0e9;
    color: var(--ink);
}

.admin-chat__reply button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.admin-chat__attach:disabled {
    opacity: 0.6;
    cursor: wait;
}

.admin-chat__error {
    margin: 0;
    padding: 0 14px 8px;
    color: #a32222;
    font-size: 12px;
}

.admin-chat__error:empty {
    display: none;
}

@media (max-width: 760px) {
    .admin-chat {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 180px minmax(0, 1fr);
        height: min(78vh, 760px);
        min-height: min(560px, 78vh);
    }

    .admin-chat__sidebar {
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-chat__thread {
        min-height: 0;
    }

    .admin-chat__message {
        max-width: 90%;
    }

    .admin-chat__thread-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}
