:root {
    color-scheme: light;
    --bg: #f5f5f3;
    --surface: #fff;
    --text: #242527;
    --text-muted: #66696d;
    --border: #dedfdf;
    --accent: #bd3b20;
    --accent-hover: #9f2c16;
    --dark: #242527;
    --radius: 6px;
    --container: 1320px;
    --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Arial, Helvetica, sans-serif; }
body.is-menu-open { overflow: hidden; }
img, iframe { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { letter-spacing: 0; }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.section { padding: 72px 0; }
.section-heading { margin-bottom: 28px; }
.section-heading h2, .cta-card h2, .contacts-map h2 {
    max-width: 760px; margin: 0; font-size: 34px; font-weight: 600; line-height: 1.2;
}
.eyebrow, .section-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.section-kicker { margin-bottom: 12px; }
.eyebrow::before, .section-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow > span { display: none; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 16px;
    min-height: 50px; padding: 12px 22px; border: 1px solid transparent;
    border-radius: 4px; font-size: 14px; font-weight: 700; text-align: center;
    transition: background 160ms, border-color 160ms;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: #b4b5b6; }
.btn-secondary:hover { background: #e6e6e3; border-color: var(--text); }

/* The header has its own container; its navigation switches before it can wrap. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 1 280px; min-width: 0; }
.brand > span { min-width: 0; }
.brand-logo { width: 78px; height: 54px; object-fit: contain; flex-shrink: 0; }
.brand-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 29px/1 var(--font-display); }
.brand-name span { color: var(--accent); }
.brand small { display: block; margin-top: 5px; font-size: 11px; color: var(--text-muted); }
.site-menu { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.nav { display: flex; justify-content: center; gap: 26px; flex: 1; }
.nav a { font-size: 14px; font-weight: 600; white-space: nowrap; padding-block: 12px; }
.nav a:hover, .header-phone:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.header-phone { white-space: nowrap; font-size: 15px; font-weight: 700; }
.header-cta { min-height: 44px; padding: 10px 20px; }
.menu-toggle {
    display: none; flex-shrink: 0; width: 44px; height: 44px;
    padding: 10px; border: 1px solid var(--border); border-radius: 4px; background: white;
}
.menu-toggle span { display: block; height: 2px; width: 22px; margin: 4px 0; background: var(--text); }
.messages { width: min(var(--container), calc(100% - 32px)); margin: 16px auto; }
.message { padding: 16px; border-left: 3px solid #32724e; background: #e9f3eb; color: #245b39; }

.hero-section { background: #272a2b; color: #fff; }
.hero-layout { min-height: 580px; display: flex; align-items: center; padding-block: 64px; }
.hero-copy { width: 55%; max-width: 720px; }
.hero-copy .eyebrow { color: #f4b09b; }
.hero-brand { margin: 18px 0 0; color: #fff; font: 600 24px/1.2 var(--font-display); }
.hero-copy h1 { margin: 16px 0 24px; font: 500 62px/1.1 var(--font-display); color: #fff; }
.hero-lead { margin: 0; max-width: 530px; color: #edeff0; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-section .btn-secondary { color: white; border-color: #a6a8a9; background: rgba(20,23,24,.2); }
.hero-section .btn-secondary:hover { background: #373a3c; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; margin: 32px 0 0; list-style: none; font-size: 12px; color: #eee; }
.hero-assurances li::before { content: "✓"; color: #ee9a73; margin-right: 8px; }
.location-strip { background: #fff; border-bottom: 1px solid var(--border); }
.location-strip__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--text-muted); }
.location-strip strong { color: var(--text); margin-right: 12px; }
.location-strip a { color: var(--text); font-weight: 600; }
.location-strip a span { color: var(--accent); margin-left: 12px; }
.directions-section { padding-top: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.feature-card { border-top: 1px solid #bcbebf; padding-top: 20px; }
.feature-card > span, .process-list article > span { color: var(--accent); font: 500 20px var(--font-display); }
.feature-card h3, .process-list h3 { font-size: 19px; line-height: 1.3; margin: 12px 0; }
.feature-card p, .process-list p { color: var(--text-muted); margin: 0; font-size: 14px; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .section-kicker { color: #edaa92; }
.process-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; }
.process-list article { padding-top: 22px; border-top: 1px solid #56585a; }
.process-list article > span { color: #edaa92; }
.process-list p { color: #c8c9ca; }
.cta-band { padding: 56px 0; background: #eaeae7; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-card h2 { max-width: 750px; font-size: 28px; }
.cta-card > .btn { flex-shrink: 0; }

/* Interior pages share light, unframed headings and restrained surfaces. */
.page-hero { padding: 56px 0 40px; background: var(--bg); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 64px; align-items: center; }
.page-hero__grid > * { min-width: 0; }
.page-hero .eyebrow { display: block; overflow-wrap: anywhere; }
.page-hero .eyebrow::before { display: inline-block; vertical-align: middle; margin-right: 10px; }
.page-hero h1 { margin: 14px 0 18px; font: 500 48px/1.16 var(--font-display); }
.page-hero h1 strong { font-weight: 500; }
.page-hero p { max-width: 620px; margin: 0; color: var(--text-muted); font-size: 16px; }
.page-hero--compact { text-align: center; }
.page-hero--compact p { margin-inline: auto; }
.search-panel { border-left: 2px solid var(--accent); padding-left: 24px; }
.search-panel label { font-size: 14px; font-weight: 600; }
.search-panel span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.search-panel input, .form input, .form select, .form textarea {
    display: block; width: 100%; min-width: 0; min-height: 46px; margin-top: 8px;
    border: 1px solid #c9cbcc; border-radius: 4px; padding: 10px 12px; background: #fff; color: var(--text); font-size: 16px;
}
.search-panel input:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.services-filter { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 20px 24px; border-top: 1px solid var(--border); }
.services-filter__button { padding: 10px 18px; min-height: 44px; font-size: 14px; border: 1px solid var(--border); border-radius: 4px; color: var(--text); background: transparent; }
.services-filter__button:hover { border-color: var(--text); }
.services-filter__button.is-active { color: #fff; background: var(--dark); border-color: var(--dark); }
.services-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 20px; padding-bottom: 64px; }
.service-row { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.service-row:hover { border-color: #a8aaac; }
.service-row__index { font: 500 22px var(--font-display); color: var(--accent); }
.service-row__main { flex: 1; }
.service-row__title h2 { margin: 22px 0 12px; font-size: 22px; line-height: 1.25; font-weight: 600; }
.service-row__title > span { display: none; }
.service-row--popular::before { content: "Часто выбирают"; position: absolute; top: 28px; right: 24px; font-size: 11px; color: var(--accent); }
.service-row p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.service-row__details { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 18px; }
.service-row__details ol { margin: 0; padding-left: 20px; font-size: 14px; color: var(--text-muted); }
.service-row__details li + li { margin-top: 8px; }
.service-row__actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--border); }
.service-row__actions button, .service-row__actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); font-size: 14px; font-weight: 600; }
.service-row__actions a { color: var(--accent); }
.service-row__actions a::after { content: "↗"; margin-left: 10px; }
.service-row__actions button:hover, .service-row__actions a:hover { text-decoration: underline; }
.services-empty { grid-column: 1 / -1; padding: 36px; border: 1px dashed var(--border); text-align: center; color: var(--text-muted); }
.service-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 18px; }
.service-gallery__item { margin: 0; }
.service-gallery__button { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; border-radius: 4px; background: #eee; }
.service-gallery__button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-gallery figcaption { margin-top: 6px; font-size: 12px; color: var(--text-muted); }

.appointment-booking { padding-bottom: 64px; }
.appointment-booking__layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; align-items: start; gap: 40px; max-width: 1120px; }
.appointment-booking__form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.appointment-booking__section + .appointment-booking__section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.appointment-booking__section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.appointment-booking__section-head span { color: var(--accent); font: 500 21px var(--font-display); }
.appointment-booking__section-head h2 { font-size: 18px; margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-grid p { margin: 0; min-width: 0; }
.wide-field { grid-column: 1 / -1; }
.form label { font-size: 13px; font-weight: 600; }
.form textarea { min-height: 110px; resize: vertical; }
.field-error { display: block; margin-top: 8px; color: #ae291d; font-size: 13px; }
.appointment-booking__submit { margin-top: 24px; width: 100%; }
.appointment-booking__summary { position: sticky; top: 110px; padding: 28px; border-radius: var(--radius); background: var(--dark); color: #fff; overflow-wrap: anywhere; }
.appointment-booking__summary-head { margin-bottom: 22px; }
.appointment-booking__summary-head span { color: #edaa92; font: 500 18px var(--font-display); }
.appointment-booking__summary-head h3 { font-size: 26px; margin: 8px 0 0; }
.appointment-booking__summary-box, .appointment-booking__summary-note { padding-block: 18px; border-top: 1px solid #515355; }
.appointment-booking__summary-box span { color: #bcbec0; font-size: 12px; }
.appointment-booking__summary-box strong, .appointment-booking__summary-note strong { display: block; margin-top: 5px; font-size: 15px; font-weight: 500; }
.appointment-booking__summary-box p, .appointment-booking__summary-note p { font-size: 13px; line-height: 1.65; margin: 8px 0 0; color: #bfc1c3; }
.summary-phone { display: inline-block; margin-top: 8px; font-size: 18px; font-weight: 600; }
.contact-panel { display: grid; gap: 12px; padding-left: 28px; border-left: 2px solid var(--accent); }
.contact-panel a { font-size: 28px; font-weight: 600; }
.contact-panel span { color: var(--text-muted); font-size: 14px; }
.contacts-section { padding-top: 20px; }
.contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.contact-card { padding: 24px 0; border-top: 1px solid var(--border); }
.contact-card > span { color: var(--text-muted); font-size: 12px; }
.contact-card > a, .contact-card > strong { display: block; margin: 12px 0 10px; font-size: 22px; font-weight: 600; line-height: 1.3; }
.contact-card p { color: var(--text-muted); margin: 0; font-size: 14px; }
.contacts-map { margin-top: 36px; }
.contacts-map__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.contacts-map__header p { color: var(--text-muted); margin: 10px 0 0; }
.contacts-map__frame { height: 400px; background: #e4e5e3; }
.contacts-map__frame iframe { display: block; border: 0; }
.site-footer { padding: 48px 0 22px; background: #202123; color: #bfc1c3; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid h2 { color: #fff; font-size: 14px; margin: 0 0 18px; }
.footer-brand strong { display: block; color: #fff; font: 600 28px var(--font-display); margin-bottom: 12px; }
.footer-brand strong, .hero-brand { overflow-wrap: anywhere; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 10px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #47494b; font-size: 12px; }
.footer-bottom > span { min-width: 0; overflow-wrap: anywhere; }

.gallery-lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 32px; background: rgba(0,0,0,.85); }
.gallery-lightbox__dialog { position: relative; width: min(980px,100%); }
.gallery-lightbox__image-wrap { background: #161616; border-radius: 4px; overflow: hidden; }
.gallery-lightbox__image { display: block; width: 100%; max-height: 76vh; object-fit: contain; }
.gallery-lightbox__close, .gallery-lightbox__nav { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 4px; background: #fff; color: var(--text); font-size: 28px; }
.gallery-lightbox__close { top: -20px; right: -20px; }
.gallery-lightbox__nav { top: 50%; transform: translateY(-50%); }
.gallery-lightbox__nav--prev { left: -22px; }
.gallery-lightbox__nav--next { right: -22px; }
.gallery-lightbox__caption { text-align: center; color: #fff; font-size: 14px; }

@media (min-width: 1600px) {
    .hero-layout { min-height: 650px; }
    .hero-copy h1 { font-size: 68px; }
}
@media (max-width: 1200px) {
    .header-inner { gap: 22px; }
    .nav { gap: 18px; }
    .header-actions { gap: 16px; }
    .hero-copy h1 { font-size: 54px; }
}
@media (max-width: 1100px) {
    .menu-toggle { display: block; }
    .site-menu {
        position: absolute; top: 100%; left: 0; right: 0;
        display: none; max-height: calc(100svh - 82px); overflow-y: auto;
        background: #fff; padding: 24px 40px; border-bottom: 1px solid var(--border);
    }
    .site-menu.is-open { display: grid; gap: 24px; }
    .nav { display: grid; justify-content: stretch; gap: 0; }
    .nav a { min-height: 48px; border-bottom: 1px solid var(--border); }
    .header-actions { justify-content: space-between; }
    .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 32px; }
    .services-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .page-hero__grid { gap: 32px; }
    .appointment-booking__layout { gap: 24px; grid-template-columns: minmax(0,1fr) 310px; }
    .process-list { gap: 18px; }
    .process-list h3 { font-size: 17px; }
}
@media (max-width: 800px) {
    .container { width: calc(100% - 40px); }
    .hero-copy { width: 75%; }
    .hero-copy h1 { font-size: 50px; }
    .page-hero__grid, .appointment-booking__layout { grid-template-columns: minmax(0,1fr); }
    .appointment-booking__summary { position: static; }
    .page-hero h1 { font-size: 42px; }
    .process-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
    .contact-grid { grid-template-columns: 1fr; gap: 0; }
    .cta-card, .contacts-map__header { align-items: start; flex-direction: column; gap: 24px; }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .location-strip__inner { flex-wrap: wrap; padding-block: 20px; gap: 10px 24px; }
}
@media (max-width: 540px) {
    .container { width: calc(100% - 32px); }
    .header-inner { min-height: 70px; }
    .brand-logo { width: 64px; height: 44px; }
    .brand { gap: 8px; }
    .brand-name { font-size: 26px; }
    .brand small { font-size: 10px; }
    .site-menu { padding: 16px; max-height: calc(100svh - 70px); }
    .header-actions { flex-direction: column; align-items: stretch; text-align: center; }
    .header-phone { padding: 12px; }
    .hero-layout { min-height: 580px; padding-block: 40px; align-items: flex-start; }
    .hero-copy { width: 100%; }
    .hero-copy h1 { font-size: 42px; margin-block: 16px 20px; max-width: 380px; }
    .hero-brand { font-size: 21px; margin-top: 18px; }
    .hero-lead { font-size: 15px; max-width: 350px; }
    .hero-actions { gap: 10px; margin-top: 24px; }
    .hero-actions .btn { width: 100%; }
    .hero-assurances { margin-top: 24px; gap: 8px; flex-direction: column; }
    .location-strip__inner { font-size: 12px; }
    .location-strip__inner > span:first-child { width: 100%; }
    .section { padding: 44px 0; }
    .section-heading h2, .contacts-map h2 { font-size: 28px; }
    .feature-grid { gap: 24px 18px; }
    .feature-card h3 { font-size: 17px; }
    .feature-card p { font-size: 13px; }
    .cta-card h2 { font-size: 25px; }
    .cta-card .btn { width: 100%; }
    .page-hero { padding-block: 36px 28px; }
    .page-hero h1 { font-size: 36px; }
    .page-hero p { font-size: 15px; }
    .search-panel { padding-left: 16px; }
    .search-panel input { font-size: 14px; }
    .services-filter { gap: 6px; }
    .services-filter__button { font-size: 13px; padding: 8px 12px; }
    .services-list { grid-template-columns: 1fr; gap: 12px; padding-bottom: 36px; }
    .service-row { padding: 20px; min-height: 260px; }
    .service-row__title h2 { font-size: 21px; }
    .service-row--popular::before { right: 20px; top: 25px; }
    .form-grid { grid-template-columns: 1fr; gap: 14px; }
    .appointment-booking__form, .appointment-booking__summary { padding: 20px; }
    .appointment-booking { padding-bottom: 40px; }
    .contact-panel { padding-left: 16px; }
    .contact-panel a { font-size: 23px; }
    .contacts-map { margin-top: 24px; }
    .contacts-map__frame { height: 320px; }
    .contacts-map__header .btn { width: 100%; }
    .footer-grid { gap: 28px 20px; }
    .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 360px) {
    .hero-copy h1 { font-size: 38px; }
    .hero-layout { min-height: 600px; }
    .feature-grid, .process-list { grid-template-columns: 1fr; }
    .brand-logo { width: 52px; }
    .brand-name { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

.gallery-section { padding-top: 20px; }
.public-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.public-gallery figure { margin:0; }
.public-gallery img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:4px; }
.public-gallery figcaption { padding-top:8px; color:var(--text-muted); font-size:14px; }
@media (max-width:800px) { .public-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:480px) { .public-gallery { grid-template-columns:1fr; } }

/* Public pages */
:root {
    --bg: #f7f8f6;
    --surface: #fff;
    --text: #222628;
    --text-muted: #687072;
    --border: #e0e4e1;
    --accent: #b8472c;
    --accent-hover: #94371f;
    --container: 1280px;
    --font-display: Arial, Helvetica, sans-serif;
}
body { font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
.site-header { background:#fff; }
.header-inner { min-height:80px; }
.brand { gap:10px; flex-basis:220px; }
.brand-logo { width:78px; height:50px; }
.brand-name { font:800 23px/1 Arial,Helvetica,sans-serif; }
.brand small { font-size:11px; }
.nav a { font-size:14px; font-weight:600; }
.btn { min-height:50px; border-radius:4px; }
.btn-primary { background:var(--accent); }
.btn-primary:hover { background:var(--accent-hover); }

.home-intro { background:#f1f3f0; border-bottom:1px solid var(--border); }
.home-intro__inner { display:grid; grid-template-columns:minmax(0,1fr) 280px; align-items:end; gap:80px; min-height:480px; padding-block:72px; }
.home-intro__copy { max-width:760px; min-width:0; }
.intro-kicker,.home-label { margin:0 0 20px; color:var(--accent); font-size:11px; font-weight:700; }
.intro-kicker { display:flex; align-items:center; gap:10px; }
.intro-kicker span { width:25px; height:2px; background:var(--accent); }
.home-intro h1 { max-width:760px; margin:0; font:700 60px/1.08 Arial,Helvetica,sans-serif; }
.home-intro__lead { max-width:590px; margin:24px 0 0; color:var(--text-muted); font-size:17px; }
.home-intro__actions { display:flex; align-items:center; gap:28px; flex-wrap:wrap; margin-top:30px; }
.home-text-link { display:inline-flex; align-items:center; gap:18px; color:var(--text); font-size:14px; font-weight:700; }
.home-text-link span { color:var(--accent); }
.home-text-link:hover { color:var(--accent); }
.home-intro__details { display:grid; gap:20px; padding-left:24px; border-left:1px solid #cdd3cf; }
.home-intro__details div { display:grid; gap:5px; min-width:0; }
.home-intro__details span { color:var(--text-muted); font-size:12px; }
.home-intro__details strong,.home-intro__details a { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.home-section { padding:82px 0; }
.home-section__heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:30px; }
.home-section__heading h2,.home-about h2,.home-contact h2 { margin:0; font:700 34px/1.2 Arial,Helvetica,sans-serif; }
.home-label { margin-bottom:12px; }
.home-services__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.home-service { display:flex; flex-direction:column; min-width:0; min-height:225px; padding:22px; border:1px solid var(--border); border-radius:6px; background:#fff; }
.home-service__number { color:var(--accent); font-size:12px; font-weight:700; }
.home-service h3 { margin:22px 0 10px; font-size:19px; line-height:1.3; }
.home-service p { margin:0; color:var(--text-muted); font-size:14px; }
.home-service a { display:flex; justify-content:space-between; gap:12px; margin-top:auto; padding-top:20px; color:var(--text); font-size:13px; font-weight:700; }
.home-service a span { color:var(--accent); }
.home-empty { color:var(--text-muted); }
.home-about { padding-block:72px; background:#edf0ed; }
.home-about__inner { display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.home-about__copy p { max-width:590px; margin:0 0 24px; font-size:17px; color:#505759; }
.home-work__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.home-work__grid figure,.public-gallery figure { margin:0; min-width:0; }
.home-work__grid img { display:block; width:100%; height:260px; object-fit:contain; background:#e9ece9; border-radius:4px; }
.home-work__grid figcaption { padding-top:9px; color:var(--text-muted); font-size:13px; }
.home-contact { padding:54px 0; background:#25292a; color:#fff; }
.home-contact__inner { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.home-contact .home-label { color:#e2a18c; }
.home-contact h2 { font-size:28px; }
.home-contact p:not(.home-label) { margin:10px 0 0; color:#d0d4d1; }
.home-contact .btn { flex-shrink:0; }

.page-hero { background:#f1f3f0; padding:72px 0 54px; }
.page-hero h1 { margin:14px 0 16px; font:700 48px/1.12 Arial,Helvetica,sans-serif; }
.page-hero p { max-width:580px; font-size:16px; }
.eyebrow,.section-kicker { font-size:11px; }
.search-panel { padding:0; border:0; }
.search-panel label { font-size:13px; }
.search-panel input { min-height:52px; border:1px solid #d2d8d4; border-radius:4px; }
.services-list { padding-top:42px; gap:16px; }
.service-row { min-height:270px; padding:24px; }
.service-row__index { font:700 13px Arial,Helvetica,sans-serif; }
.service-row__title h2 { margin-top:28px; font-size:20px; }
.service-row--popular::before { top:24px; font-size:11px; }
.service-row__actions button,.service-row__actions a { min-height:44px; }
.service-row__details p { white-space:normal; }
.gallery-heading p { margin-top:0; }
.gallery-section { padding:42px 0 82px; }
.public-gallery { gap:20px; }
.public-gallery figure a { display:block; background:#eef0ee; }
.public-gallery img { height:280px; aspect-ratio:auto; object-fit:contain; }
.public-gallery figcaption { padding-top:10px; }
.gallery-empty { grid-column:1/-1; padding:48px 0; border-top:1px solid var(--border); }
.gallery-empty span { color:var(--accent); font-size:11px; font-weight:700; }
.gallery-empty h2 { margin:12px 0 20px; font-size:24px; }
.work-dialog { position:fixed; inset:0; max-width:none; max-height:none; width:100%; height:100%; margin:0; padding:30px; border:0; background:transparent; color:#fff; }
.work-dialog::backdrop { background:rgba(18,21,22,.9); }
.work-dialog__inner { position:relative; width:min(100%,1000px); margin:auto; }
.work-dialog__inner > img { display:block; width:100%; height:calc(100vh - 130px); object-fit:contain; }
.work-dialog__inner > p { margin:12px 0; text-align:center; }
.work-dialog button { width:44px; height:44px; border:1px solid rgba(255,255,255,.4); border-radius:4px; background:#25292a; color:#fff; font-size:22px; }
.work-dialog__close { position:absolute; right:0; top:0; }
.work-dialog__nav { display:flex; justify-content:center; gap:10px; }
.work-dialog__nav[hidden] { display:none; }
.appointment-booking > .page-hero { background:transparent; }
.appointment-booking__form { box-shadow:none; }
.appointment-booking__summary { background:#2b3030; }
.contact-panel { border-left:1px solid #cdd3cf; }
.site-footer { background:#25292a; }
.footer-brand strong { font:800 24px/1.2 Arial,Helvetica,sans-serif; }
.footer-grid a:hover { color:#f2b09a; }

@media (max-width:1100px) {
    .home-services__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .home-intro__inner { gap:40px; }
}
@media (max-width:800px) {
    .home-intro__inner { grid-template-columns:minmax(0,1fr); gap:38px; min-height:0; padding-block:58px; }
    .home-intro h1 { font-size:46px; }
    .home-intro__details { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; padding:22px 0 0; border-left:0; border-top:1px solid #cdd3cf; }
    .home-about__inner { gap:26px; }
    .home-work__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:540px) {
    .header-inner { min-height:70px; }
    .brand-logo { width:64px; height:44px; }
    .brand-name { font-size:21px; }
    .home-intro__inner { padding-block:46px 38px; gap:30px; }
    .home-intro h1 { font-size:37px; line-height:1.12; }
    .home-intro__lead { font-size:15px; margin-top:20px; }
    .home-intro__actions { gap:20px; margin-top:24px; }
    .home-intro__actions .btn { width:100%; }
    .home-intro__details { grid-template-columns:1fr 1fr; gap:18px 14px; }
    .home-intro__details div:first-child { grid-column:1/-1; }
    .home-section { padding:48px 0; }
    .home-section__heading { align-items:start; flex-direction:column; gap:15px; margin-bottom:24px; }
    .home-section__heading h2,.home-about h2 { font-size:28px; }
    .home-services__grid { grid-template-columns:1fr; gap:10px; }
    .home-service { min-height:180px; padding:20px; }
    .home-service h3 { margin:14px 0 8px; }
    .home-about__inner { grid-template-columns:1fr; gap:18px; }
    .home-about__copy p { font-size:15px; }
    .home-work__grid { grid-template-columns:1fr; gap:16px; }
    .home-work__grid img { height:240px; }
    .home-contact { padding:42px 0; }
    .home-contact__inner { align-items:start; flex-direction:column; gap:24px; }
    .home-contact h2 { font-size:25px; }
    .home-contact .btn { width:100%; }
    .page-hero { padding:42px 0 36px; }
    .page-hero h1 { font-size:34px; }
    .services-list { padding-top:26px; gap:10px; }
    .service-row { min-height:230px; padding:20px; }
    .service-row__title h2 { margin-top:22px; }
    .gallery-section { padding:24px 0 48px; }
    .public-gallery { gap:18px; }
    .public-gallery img { height:260px; }
    .work-dialog { padding:16px; }
    .work-dialog__inner > img { height:calc(100vh - 125px); }
}
