.expertpress-public-service-catalog,
.expertpress-public-service-detail,
.expertpress-public-specialists,
.expertpress-account-bookings,
.expertpress-booking-host,
.expertpress-onboarding-panel,
.expertpress-onboarding-form {
	color: var(--md-color-text-primary);
	background: var(--md-color-bg-surface);
}

.md-shell {
	width: min(var(--md-content-width), calc(100% - 40px));
	margin-inline: auto;
}

.md-header {
	position: relative;
	background: var(--md-color-bg-surface);
	border-bottom: 1px solid var(--md-color-border-subtle);
	min-height: 63px;
}

.md-header__inner,
.md-footer__top,
.md-section__head,
.md-hero__actions {
	display: flex;
	align-items: center;
	gap: 24px;
}

.md-hero__search {
	max-width: 640px;
	margin: 0 0 28px;
}

.md-header__inner {
	min-height: 63px;
}

.md-brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--md-color-text-primary);
	text-decoration: none;
}

.md-brand__name {
	font-family: var(--md-font-serif);
	font-size: 26px;
	line-height: 26px;
}

.md-nav-list,
.md-card-row,
.md-directions__list,
.md-trust__list,
.md-steps,
.md-help__list,
.md-footer__cols {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.md-nav a,
.md-nav-stub,
.md-footer a,
.md-footer .md-stub {
	color: var(--md-color-text-primary);
	font-size: 14px;
	line-height: 44px;
	min-height: 44px;
	text-decoration: none;
}

.md-header__tools {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 16px;
}

.md-button,
.md-lang,
.md-nav-toggle {
	min-height: 44px;
	min-width: 44px;
	border-radius: var(--md-radius-full);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 22px;
	font: 600 14px/20px var(--md-font-sans);
	text-decoration: none;
}

.md-button--primary {
	background: var(--md-color-action-primary-bg);
	color: var(--md-color-text-on-accent);
}

.md-button--secondary,
.md-lang {
	background: var(--md-color-action-secondary-bg);
	color: var(--md-color-action-secondary-text);
	border: 1.5px solid var(--md-color-border-action);
}

.md-stub,
.md-nav-stub,
.md-text-link.md-stub,
.md-help__stub {
	cursor: default;
}

.md-help__item {
	text-decoration: none;
	color: inherit;
}

.md-nav-toggle {
	display: none;
	border: 1px solid var(--md-color-border-control);
	background: var(--md-color-bg-surface);
	position: relative;
}

.md-nav-toggle__icon,
.md-nav-toggle__icon::before,
.md-nav-toggle__icon::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--md-color-action-primary-bg);
	content: "";
}

.md-nav-toggle__icon::before { transform: translateY(-6px); }
.md-nav-toggle__icon::after { transform: translateY(4px); }
.md-nav-toggle__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.md-hero {
	position: relative;
	min-height: 611px;
	display: grid;
	align-items: center;
	background: var(--md-color-bg-surface);
	overflow: hidden;
}

.md-hero__art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.md-hero__copy {
	position: relative;
	z-index: 1;
	max-width: 571px;
	padding-block: 80px;
}

.md-hero h1,
.md-section h2,
.md-trust h2,
.md-help h2,
.md-booking h2 {
	font-family: var(--md-font-serif);
	font-weight: 400;
	color: var(--md-color-text-primary);
}

.md-hero h1 { font-size: 56px; line-height: 52px; margin: 12px 0; }
.md-section h2,
.md-trust h2,
.md-help h2,
.md-booking h2 { font-size: 36px; line-height: 44px; }

.md-eyebrow {
	font: 700 11px/16px var(--md-font-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--md-color-text-secondary);
}

.md-hero__lead { font-size: 19px; line-height: 26px; max-width: 36rem; }
.md-section { padding-block: 48px; }
.md-trust { background: var(--md-color-action-soft-bg); }
.md-help { background: var(--md-color-bg-section-warm); }
.md-directions { background: var(--md-color-bg-canvas); }
.md-card,
.md-direction,
.md-help__stub,
.md-help__item {
	background: var(--md-color-bg-surface);
	border-radius: var(--md-radius-20);
	box-shadow: var(--md-shadow-card);
	padding: 16px;
}

.md-direction a { color: inherit; text-decoration: none; display: block; min-height: 44px; }
.md-direction--soft { background: var(--md-color-action-soft-bg); }
.md-direction--sand { background: var(--md-color-decor-sand); }
.md-direction--sage { background: var(--md-color-decor-sage); }
.md-direction--rose { background: #f0e0e6; }
.md-direction--peach { background: #f5e4d6; }
.md-direction--mist { background: #e0e6ee; }
.md-direction--pearl { background: #eceef1; }
.md-direction--amber { background: #f0e6d4; }
.md-direction--teal { background: #d9ebea; }
.md-direction--mint { background: #ddeee6; }
.md-direction--indigo { background: #e2e0ef; }
.md-direction--coral { background: #f5e0d8; }
.md-direction--sky { background: #dde9f2; }
.md-direction--amethyst { background: #ebe0ef; }
.md-direction--jade { background: #dde8e0; }
.md-direction--cream { background: #f2ebe0; }
.md-direction__name { font-family: var(--md-font-serif); font-size: 28px; line-height: 30px; display: block; }
.md-steps__num { font-family: var(--md-font-serif); font-size: 48px; line-height: 56px; color: #b59dc4; }
.md-footer { background: var(--md-color-bg-surface); border-top: 1px solid var(--md-color-border-subtle); padding: 55px 0 32px; }
.md-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 19px; flex: 1; }
.md-footer__heading { font-weight: 600; margin: 0 0 12px; }
.md-footer__cols a,
.md-footer__cols .md-stub { display: block; color: var(--md-color-text-on-decor); line-height: 35px; }
.md-footer__bar { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--md-color-border-default); margin-top: 24px; padding-top: 16px; color: var(--md-color-text-secondary); font-size: 12px; }
.md-footer__tagline { color: var(--md-color-text-on-decor); font-size: 12px; }
.md-section__head { justify-content: space-between; }
.md-text-link { color: var(--md-color-action-secondary-text); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.md-eyebrow--mobile { display: none; }
.md-card-row { flex-wrap: wrap; }
.md-card { width: min(100%, 280px); }

a:focus-visible,
button:focus-visible,
.md-stub:focus-visible {
	outline: 2px solid var(--md-color-focus-ring);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.md-section__cta { display: flex; justify-content: center; }
.md-person-row,
.md-service-row,
.md-materials__list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	list-style: none;
	margin: 24px 0;
	padding: 0;
}
.md-person,
.md-service {
	display: flex;
	flex-direction: column;
	width: 224px;
	background: var(--md-color-bg-surface);
	border: 0;
	border-radius: 21px;
	box-shadow: 0 10px 28px rgba(47, 39, 55, 0.06);
	overflow: hidden;
}
.md-service { width: calc((100% - 60px) / 4); min-height: 413px; }
.md-paid-mark {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	border-radius: 6px;
	background: rgba(32, 28, 40, 0.78);
	color: #fff;
	font: 600 11px/22px var(--md-font-sans);
	letter-spacing: 0.02em;
}
.md-section__note,
.md-cat-promo__note {
	margin: 8px 0 0;
	color: var(--md-color-text-secondary);
	font-size: 13px;
	line-height: 18px;
}
.md-person__photo,
.md-service__photo { position: relative; aspect-ratio: 222 / 250; background: linear-gradient(138deg, #eee9f3 7%, #e8ddd0 79%); }
.md-service__photo { aspect-ratio: 302 / 228; }
.md-person__photo img,
.md-service__photo img { width: 100%; height: 100%; object-fit: cover; }
.md-person__star { position: absolute; right: 8%; bottom: 6%; width: 16px; height: 16px; }
.md-person, .md-service { position: relative; }
.md-person .md-saved-form, .md-service .md-saved-form { position: absolute; top: 11px; right: 9px; z-index: 2; margin: 0; }
.md-heart {
	position: absolute;
	top: 11px;
	right: 9px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 15px;
	background: var(--md-color-action-soft-bg);
	font-size: 0;
	min-width: 30px;
	min-height: 30px;
	cursor: pointer;
	display: grid;
	place-items: center;
	z-index: 2;
}
.md-person .md-saved-form .md-heart, .md-service .md-saved-form .md-heart { position: static; }
.md-heart[aria-pressed="true"] { background: var(--md-color-action-primary-bg); }
.md-heart[aria-pressed="true"] img { filter: brightness(0) invert(1); }
.md-person__body { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 14px 14px; text-align: center; }
.md-person__name { margin: 0; font: 600 18px/22px var(--md-font-sans); }
.md-person__directions { margin: 0; min-height: 34px; color: var(--md-color-action-soft-text, #5a4b7a); font-size: 13px; line-height: 18px; }
.md-person__languages { margin: 0; color: var(--md-color-text-secondary); font-size: 12px; line-height: 18px; }
.md-person__profile,
.md-service__open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	border-radius: 22px;
	background: var(--md-color-action-soft-bg);
	color: var(--md-color-action-soft-text, #5a4b7a);
	text-decoration: none;
	font: 600 12px/16px var(--md-font-sans);
}
.md-person__profile { padding: 0 16px 0 18px; gap: 12px; }
.md-service__body { display: flex; flex-direction: column; gap: 12px; padding: 16px; flex: 1; }
.md-service__title { margin: 0; font: 600 18px/22px var(--md-font-sans); }
.md-service__price { margin: 0 0 auto; font: 500 13px/18px var(--md-font-sans); }
.md-service__foot { display: flex; align-items: center; gap: 10px; }
.md-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--md-color-tag-bg, #f2f0ee); color: var(--md-color-tag-text, #5e5962); font-size: 12px; }
.md-service__lang { color: var(--md-color-text-secondary); font-size: 12px; }
.md-direction { position: relative; min-height: 345px; padding: 0; overflow: hidden; border-radius: 25px; }
.md-direction a { position: relative; z-index: 1; min-height: 345px; padding: 24px 27px; }
.md-direction__art { position: absolute; z-index: 0; top: 0; right: 0; width: 271px; height: 345px; object-fit: cover; }
.md-direction__sigil { width: 56px; height: 56px; }
.md-direction__examples { display: block; white-space: pre-line; margin-top: 24px; font-size: 12px; line-height: 18px; }
.md-direction__count { display: block; margin-top: 16px; font-size: 12px; }
.md-direction__open { position: absolute; right: 21px; bottom: 21px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--md-color-bg-surface); }
.md-directions__list { align-items: stretch; }
.md-direction { flex: 1; }
.md-sky img { display: block; width: 100%; height: 160px; object-fit: fill; }
.md-person,
.md-service { border: 0; box-shadow: 0 10px 28px rgba(47, 39, 55, 0.06); }
.md-rating { position: absolute; left: 11px; bottom: 11px; display: flex; gap: 5px; align-items: center; height: 28px; margin: 0; padding: 0 10px 0 8px; border-radius: 14px; background: var(--md-color-bg-surface); box-shadow: 0 2px 8px rgba(28, 27, 35, 0.08); font: 700 12px/16px var(--md-font-sans); }
.md-service__author { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--md-color-text-secondary); font-size: 13px; }
.md-service__author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.md-service__meta { display: flex; justify-content: space-between; margin: 0; color: var(--md-color-text-secondary); font-size: 13px; }
.md-service__group { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--md-color-action-secondary-text); font: 600 13px/18px var(--md-font-sans); }
.md-service__group svg { flex: none; }
.md-booking__grid { display: grid; grid-template-columns: 430px 1fr; min-height: 390px; gap: 0; background: var(--md-color-bg-surface); border-radius: 20px; overflow: hidden; }
.md-booking__art { position: relative; min-height: 390px; padding: 40px 35px; color: var(--md-color-text-primary); }
.md-booking__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.md-booking__art > :not(img) { position: relative; z-index: 1; }
.md-booking__steps { padding: 31px 40px; }
.md-steps { flex-direction: column; gap: 0; }
.md-steps li { display: grid; grid-template-columns: 74px 1fr; align-items: center; min-height: 99px; border-bottom: 1px solid #e8e1e8; }
.md-materials__list { gap: 32px; }
.md-material { display: grid; grid-template-columns: 217px 1fr; width: 470px; min-height: 232px; background: var(--md-color-bg-surface); border-radius: 20px; overflow: hidden; }
.md-material img { width: 100%; height: 180px; object-fit: cover; border-radius: 20px; }
.md-material__type { margin: 18px 16px 0; color: var(--md-color-text-secondary); font-size: 12px; }
.md-material__title { margin: 8px 16px; font: 600 18px/26px var(--md-font-sans); }

/* Shared shell and responsive columns. Intrinsic content may shrink and wrap;
   the document never clips horizontal overflow to conceal a layout defect. */
.md-shell { width: min(1200px, calc(100% - 40px)); min-width: 0; }
.md-header__inner { flex-wrap: nowrap; padding-block: 0; min-width: 0; }
.md-brand { flex-shrink: 0; }
.md-brand__mark { flex: 0 0 23px; }
.md-brand__name { font-weight: 400; letter-spacing: 0; }
.md-header__tools { flex-shrink: 0; }
.md-header__account { display: none; }
.md-lang-switch { position: relative; flex: 0 0 auto; }
.md-lang { cursor: pointer; gap: 4px; padding: 0 6px; border: 0; border-radius: 12px; color: var(--md-color-text-primary); list-style: none; }
.md-lang::-webkit-details-marker { display: none; }
.md-lang-options { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; width: 120px; padding: 8px; border: 1px solid var(--md-color-border-default); border-radius: 12px; background: var(--md-color-bg-surface); box-shadow: var(--md-shadow-card); }
.md-lang-options a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: inherit; text-decoration: none; border-radius: 8px; }
.md-lang-options a[aria-current], .md-lang-options a:hover { background: var(--md-color-action-soft-bg); }
.md-footer .md-lang-options { top: auto; bottom: calc(100% + 8px); }
.md-footer .md-lang { background: transparent; }
.md-hero { padding: 0; min-height: 611px; }
.md-hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.md-hero::before, .md-hero::after { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; pointer-events: none; }
.md-hero::before { left: 0; width: 64.73%; background: linear-gradient(90deg, rgba(255,249,244,.9), rgba(255,249,244,.68) 52%, rgba(255,249,244,.02)); }
.md-hero::after { right: 0; width: 30.8%; background: linear-gradient(90deg, transparent, rgba(255,249,244,.04) 42%, rgba(255,249,244,.72)); }
.md-hero__copy { z-index: 2; max-width: 1200px; padding: 110px 0 26px; }
.md-hero h1 { max-width: 520px; margin: 28px 0 40px; }
.md-hero__lead { max-width: 563px; margin: 0 0 42px; color: var(--md-color-text-primary); }
.md-hero__actions { gap: 18px; }
.md-hero__note { margin: 60px 0 0; font-size: 14px; }
.md-person-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.md-service-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.md-person-row > li, .md-service-row > li, .md-person, .md-service,
.md-person__body, .md-service__body, .md-service__author, .md-service__foot { min-width: 0; }
.md-person, .md-service { position: relative; width: 100%; }
.md-person__body { flex: 1; }
.md-person__name { max-width: 100%; overflow-wrap: anywhere; }
.md-person__directions, .md-service__title, .md-service__author { overflow-wrap: anywhere; }
.md-person__photo > img, .md-service__photo > img { display: block; }
.md-service__author img { flex: 0 0 26px; }
.md-service__meta { flex-wrap: wrap; gap: 4px 8px; }
.md-service__foot { flex-wrap: wrap; margin-top: auto; }
.md-tag { max-width: 100%; height: auto; min-height: 28px; overflow-wrap: anywhere; }
.md-service__open { flex: 0 0 44px; margin-left: auto; }
.md-heart { display: grid; place-items: center; z-index: 2; }
.md-heart img { display: block; width: 16px; height: 16px; }
.md-directions__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.md-direction { min-width: 0; }
.md-direction__art { width: 48%; height: 100%; object-fit: cover; }
.md-direction__name { position: relative; max-width: 70%; font-size: 28px; }
.md-direction__text, .md-direction__examples, .md-direction__count { position: relative; max-width: 62%; }
.md-trust { position: relative; background-image: url('../images/trust-1.svg'), url('../images/trust-5.svg'); background-repeat: no-repeat; background-position: left -210px top -300px, right -200px top 150px; }
.md-trust__inner { position: relative; text-align: center; }
.md-trust h2 { margin: 18px 0 12px; }
.md-trust__inner > p:not(.md-eyebrow) { font-size: 14px; line-height: 21px; }
.md-trust__constellation { position: absolute; top: 194px; left: 6.67%; right: 6.67%; height: 28px; background: url('../images/trust-4.svg') center / 100% 28px no-repeat; }
.md-trust__list { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 70px; }
.md-trust__sign { display: grid; place-items: center; height: 50px; width: 50px; margin: 0 auto 28px; background: var(--md-color-bg-surface) url('../images/trust-3.svg') center no-repeat; border-radius: 50%; box-shadow: 0 0 0 8px rgba(255,253,252,.4); }
.md-trust__list h3 { font: 600 17px/22px var(--md-font-sans); margin: 0 0 12px; }
.md-trust__list p { font-size: 14px; line-height: 21px; margin: 0; color: var(--md-color-text-on-decor); }
.md-booking { background: white; }
.md-booking__grid { grid-template-columns: minmax(0, 430px) minmax(0, 1fr); border-radius: 0; }
.md-booking__art { background: linear-gradient(90deg,rgba(247,243,238,.68),rgba(247,243,238,.28) 58%,rgba(247,243,238,.03)); }
.md-booking__art > img { z-index: -1; }
.md-booking__art { isolation: isolate; }
.md-booking__art > .md-eyebrow:first-of-type { padding-left: 33px; background: url('../images/booking-1.svg') left center no-repeat; }
.md-booking h2 { margin: 26px 0 24px; }
.md-booking__art p:not(.md-eyebrow) { font-size: 14px; line-height: 21px; }
.md-booking__art > .md-eyebrow:last-child { margin-top: 65px; font-size: 10px; }
.md-booking__steps { min-width: 0; background: url('../images/booking-2.svg') right -220px bottom -218px no-repeat; }
.md-steps li { grid-template-columns: 74px minmax(0, 1fr) 48px; gap: 8px; }
.md-steps h3 { font: 600 18px/26px var(--md-font-sans); margin: 8px 0 4px; }
.md-steps p { font-size: 13px; line-height: 18px; margin: 0 0 8px; }
.md-steps__phase { display: grid; place-items: center; width: 48px; height: 48px; background: url('../images/booking-3.svg') center no-repeat; }
.md-help { background-image: url('../images/help-1.svg'); background-repeat: no-repeat; background-position: right 78px top -113px; }
.md-help__grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 104px; align-items: center; }
.md-help__grid > div > .md-eyebrow { padding-left: 30px; background: url('../images/help-2.svg') left center no-repeat; }
.md-help h2 { margin: 26px 0 18px; }
.md-help__grid > div > p:not(.md-eyebrow) { font-size: 14px; line-height: 21px; max-width: 405px; }
.md-help__caption { margin-top: 55px; color: var(--md-color-text-secondary); }
.md-help__list { flex-direction: column; gap: 23px; min-width: 0; }
.md-help__stub,
.md-help__item { display: flex; align-items: center; gap: 16px; min-height: 86px; padding: 18px; border: 1px solid var(--md-color-border-accent-subtle); border-radius: 18px; box-shadow: none; }
.md-help__item:hover { border-color: var(--md-color-action-secondary-text); }
.md-help__list li:nth-child(1) { margin-right: 66px; }
.md-help__list li:nth-child(2) { margin-left: 88px; }
.md-help__list li:nth-child(3) { margin-left: 18px; margin-right: 38px; }
.md-help__sign { display: grid; place-items: center; flex: 0 0 45px; height: 45px; border-radius: 50%; background: var(--md-color-action-soft-bg); }
.md-help__list li:last-child .md-help__sign { background: var(--md-color-decor-sand); }
.md-help__copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.md-help__copy strong { font: 600 16px/20px var(--md-font-sans); }
.md-help__copy > span { font-size: 12px; line-height: 18px; color: var(--md-color-text-secondary); }
.md-help__arrow { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--md-color-action-soft-bg); }
.md-materials { background: var(--md-color-bg-surface); }
.md-materials__list { display: grid; grid-template-columns: minmax(0, 470fr) minmax(0, 349fr) minmax(0, 302fr); gap: 32px; }
.md-material { width: 100%; min-width: 0; grid-template-columns: 46% minmax(0, 1fr); }
.md-material:nth-child(2) { grid-template-columns: 43% minmax(0, 1fr); }
.md-material:nth-child(3) { grid-template-columns: 36% minmax(0, 1fr); }
.md-material > div { min-width: 0; padding-left: 16px; }
.md-material__type { margin: 18px 0 13px; }
.md-material__title { margin: 0 0 18px; }
.md-footer__top { align-items: flex-start; }
.md-footer__cols { min-width: 0; }
body.md-body { padding-bottom: 0 !important; }

@media (max-width: 1199px) {
 .md-shell { width: calc(100% - 64px); }
 .md-header__inner { min-height: 80px; }
 .md-nav { display: none; }
 .md-nav.is-open { display: block; position: absolute; z-index: 10; inset: 80px 0 auto; padding: 16px 32px; background: var(--md-color-bg-surface); border-bottom: 1px solid var(--md-color-border-default); }
 .md-nav-toggle { display: inline-flex; flex: 0 0 44px; width: 44px; padding: 0; border-radius: 12px; margin-left: 0; }
 .md-header .md-lang { width: 44px; padding: 0; border: 1px solid var(--md-color-border-default); }
 .md-person-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
 .md-service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .md-hero h1 { font-size: 48px; line-height: 48px; max-width: 50%; }
 .md-hero__lead { max-width: 48%; font-size: 17px; }
 .md-hero__actions { max-width: 52%; gap: 12px; }
 .md-hero__actions .md-button { padding-inline: 16px; }
 .md-booking__grid { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
 .md-booking__art { padding: 32px 24px; }
 .md-booking__steps { padding: 28px 24px; }
 .md-help__grid { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
 .md-help__list li:nth-child(n) { margin: 0; }
 .md-materials__list { grid-template-columns: 1fr; gap: 24px; }
 .md-material:nth-child(n) { grid-template-columns: 35% minmax(0, 1fr); min-height: 180px; }
 .md-material__title { max-width: 32ch; }
 .md-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
 .md-person-row { grid-template-columns: repeat(3, minmax(0, 224px)); gap: 28px 16px; justify-content: center; }
 .md-hero { display: block; min-height: 0; }
 .md-hero__art { position: relative; height: 300px; object-position: center 18%; }
 .md-hero::before, .md-hero::after { display: none; }
 .md-hero__copy { padding: 32px 0; }
 .md-hero h1, .md-hero__lead, .md-hero__actions { max-width: 100%; }
 .md-hero__note { margin-top: 32px; }
 .md-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
 .md-trust__constellation { display: none; }
 .md-booking__grid { grid-template-columns: minmax(0, 1fr); }
 .md-help__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
 .md-shell { width: calc(100% - 40px); }
 .md-header__inner { min-height: 72px; gap: 6px; }
 .md-brand { gap: 6px; }
 .md-brand__name { font-size: 20px; line-height: 26px; }
 .md-header__tools { gap: 12px; }
 .md-header__login-label { display: none; }
 .md-header__account { display: block; }
 .md-header__login { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
 .md-nav.is-open { top: 72px; }
 .md-nav-list { flex-direction: column; gap: 0; }
 .md-hero { display: block; min-height: 0; }
 .md-hero__art { position: relative; height: 275px; object-position: 70% center; }
 .md-hero::before, .md-hero::after { display: none; }
 .md-hero__copy { padding: 24px 0 32px; }
 .md-hero h1, .md-hero__lead, .md-hero__actions { max-width: 100%; }
 .md-hero h1, .md-section h2, .md-trust h2, .md-help h2, .md-booking h2 { font-size: 32px; line-height: 40px; }
 .md-hero h1 { margin: 12px 0 20px; }
 .md-hero__lead { font-size: 16px; line-height: 24px; margin-bottom: 24px; }
 .md-hero__actions { flex-direction: column; align-items: stretch; }
 .md-hero__actions .md-button { width: 100%; }
 .md-hero__note { margin-top: 24px; font-size: 12px; }
 .md-section__head { flex-wrap: wrap; gap: 8px; }
 .md-section h2 { margin: 0; }
 .md-person-row, .md-service-row, .md-directions__list { grid-template-columns: minmax(0, 1fr); }
 .md-person, .md-service { flex-direction: row; min-height: 178px; border-radius: 16px; }
 .md-service { min-height: 150px; }
 .md-person__photo, .md-service__photo { flex: 0 0 116px; width: 116px; aspect-ratio: auto; align-self: stretch; }
 .md-person__photo > img, .md-service__photo > img { position: absolute; inset: 0; }
 .md-person__body { align-items: flex-start; text-align: left; padding: 12px 12px 10px 17px; }
 .md-person__name { padding-right: 30px; font-size: 17px; line-height: 22px; }
 .md-person__profile { margin-top: auto; align-self: flex-end; }
 .md-service__body { gap: 6px; padding: 12px 12px 10px 14px; }
 .md-service__title { font-size: 16px; line-height: 22px; }
 .md-service__author { font-size: 12px; }
 .md-service__meta { font-size: 12px; }
 .md-service__price { font-size: 13px; }
 .md-service__foot { gap: 4px; }
 .md-heart { top: 12px; right: 12px; }
 .md-direction__name { max-width: 74%; }
 .md-direction__text, .md-direction__examples, .md-direction__count { max-width: 64%; }
 .md-trust__list { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
 .md-trust__constellation { display: none; }
 .md-trust__sign { margin-bottom: 18px; }
 .md-booking__grid { grid-template-columns: minmax(0, 1fr); }
 .md-booking__art { min-height: 300px; padding: 32px 24px; }
 .md-booking__art > .md-eyebrow:last-child { margin-top: 40px; }
 .md-booking__steps { padding: 24px 16px; }
 .md-steps li { grid-template-columns: 44px minmax(0, 1fr) 34px; gap: 8px; padding-block: 16px; }
 .md-steps__num { font-size: 32px; line-height: 40px; }
 .md-steps__phase { width: 34px; height: 34px; background-size: 34px; }
 .md-steps h3 { font-size: 16px; line-height: 22px; }
 .md-help__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
 .md-help__caption { margin-top: 24px; }
 .md-help__stub,
 .md-help__item { gap: 10px; padding: 14px 12px; }
 .md-help__copy strong { font-size: 14px; }
 .md-help__sign { flex-basis: 36px; height: 36px; }
 .md-help__arrow { flex-basis: 30px; height: 30px; }
 .md-material:nth-child(n) { grid-template-columns: 109px minmax(0, 1fr); min-height: 180px; }
 .md-material__title { font-size: 16px; line-height: 22px; }
 .md-material > div { padding-left: 14px; }
 .md-footer__top { flex-direction: column; align-items: stretch; }
 .md-footer { padding: 17px 0 11px; }
 .md-footer__cols { grid-template-columns: minmax(0, 1fr); }
 .md-footer__bar { gap: 12px; }
}
.md-steps li:first-child .md-steps__phase { background-image: url('../images/booking-4.svg'), url('../images/booking-3.svg'); }
.md-trust__sign { background-image: url('../images/trust-3.svg'), url('../images/trust-2.svg'); }

@media (min-width: 1200px) {
 .md-materials__list { grid-template-columns: minmax(0, 517fr) minmax(0, 381fr) minmax(0, 302fr); gap: 0; }
 .md-material:first-child { width: calc(100% - 47px); grid-template-columns: 217px minmax(0, 1fr); }
 .md-material:nth-child(2) { width: calc(100% - 32px); grid-template-columns: 151px minmax(0, 1fr); }
 .md-material:nth-child(3) { grid-template-columns: 109px minmax(0, 1fr); }
 .md-material > div { display: flex; flex-direction: column; }
 .md-material .md-text-link { margin-top: auto; }
 .md-help h2 { max-width: 390px; }
 .md-booking h2 { max-width: 300px; }
}

/* ===== Claude pass 1 (30.09.2026): specialists, services, sky, directions — sizes from Figma 444:5563 ===== */
.md-specialists { position: relative; background: var(--md-color-bg-surface); padding: 32px 0 8px; }
.md-specialists h2, .md-services h2 { margin: 0 0 34px; }
.md-specialists .md-person-row { display: grid; grid-template-columns: repeat(5, 224px); justify-content: space-between; gap: 28px 20px; margin: 0; align-items: stretch; }
.md-person { height: 100%; border: 1px solid var(--md-color-border-subtle); border-radius: 21px; box-shadow: var(--md-shadow-card, 0 10px 28px rgba(47,39,55,.06)); }
.md-person__photo { flex: 0 0 auto; aspect-ratio: 222 / 250; overflow: hidden; }
.md-person__photo > img.md-person__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.md-person__body { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.md-person__head { display: flex; flex-direction: column; gap: 4px; }
.md-person__name { font: 600 18px/22px var(--md-font-sans); min-height: 44px; }
.md-person__name span { display: block; }
.md-person__directions { min-height: 36px; font-size: 13px; line-height: 18px; color: var(--md-color-action-soft-text, #5a4b7a); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.md-person__foot { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; }
.md-person__languages { font-size: 12px; line-height: 18px; }
.md-person__video { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--md-radius-full); background: var(--md-color-action-soft-bg, #f1ecf6); color: var(--md-color-action-primary-bg, #5a4b7a); font: 600 12px/18px var(--md-font-sans); }
.md-person__profile { height: 44px; padding: 0 16px 0 18px; gap: 12px; }
.md-section__cta { flex-direction: column; align-items: center; gap: 10px; margin-top: 34px; padding-top: 6px; }
.md-section__cta .md-button { min-width: 236px; height: 48px; gap: 8px; }
.md-section__count { margin: 0; font-size: 13px; line-height: 18px; color: var(--md-color-text-secondary); }

.md-sky { position: relative; z-index: 0; height: 160px; margin: -56px 0 -104px; pointer-events: none; }
.md-sky img { width: 100%; height: 160px; object-fit: fill; }
.md-sky { z-index: 1; }
.md-services { position: static; background: var(--md-color-bg-surface); padding: 42px 0 37px; }
.md-services .md-shell { position: relative; z-index: 2; }
.md-services .md-service-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; margin: 0; align-items: stretch; }
.md-service { height: 100%; min-height: 413px; border: 1px solid var(--md-color-border-subtle); border-radius: 21px; }
.md-service__photo { flex: 0 0 auto; aspect-ratio: 281 / 212; overflow: hidden; }
.md-service__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.md-service__body { gap: 12px; padding: 16px; }
.md-service__author { font-size: 13px; line-height: 18px; min-height: 26px; }
.md-service__title { min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.md-service__meta { flex-wrap: nowrap; justify-content: space-between; font-size: 13px; line-height: 18px; }
.md-service__price { color: var(--md-color-text-primary); font-weight: 500; margin: 0; }
.md-service__foot { flex-wrap: nowrap; margin-top: auto; }
.md-tag { height: 28px; padding: 5px 10px; font-size: 12px; line-height: 18px; white-space: nowrap; }

.md-directions { padding: 29px 0 40px; }
.md-directions h2 { margin: 0 0 34px; }
.md-directions__list { grid-template-columns: repeat(3, minmax(0, 376px)); justify-content: space-between; gap: 36px; }
.md-direction { flex: none; height: 345px; min-height: 345px; border-radius: 25px; box-shadow: none; --md-dir-tone: var(--md-color-action-soft-bg); background: var(--md-dir-tone); }
.md-direction--soft { --md-dir-tone: #efe8f3; }
.md-direction--sand { --md-dir-tone: #e8ddd0; }
.md-direction--sage { --md-dir-tone: #dde1d7; }
.md-direction--rose { --md-dir-tone: #f0e0e6; }
.md-direction--peach { --md-dir-tone: #f5e4d6; }
.md-direction--mist { --md-dir-tone: #e0e6ee; }
.md-direction--pearl { --md-dir-tone: #eceef1; }
.md-direction--amber { --md-dir-tone: #f0e6d4; }
.md-direction--teal { --md-dir-tone: #d9ebea; }
.md-direction--mint { --md-dir-tone: #ddeee6; }
.md-direction--indigo { --md-dir-tone: #e2e0ef; }
.md-direction--coral { --md-dir-tone: #f5e0d8; }
.md-direction--sky { --md-dir-tone: #dde9f2; }
.md-direction--amethyst { --md-dir-tone: #ebe0ef; }
.md-direction--jade { --md-dir-tone: #dde8e0; }
.md-direction--cream { --md-dir-tone: #f2ebe0; }
.md-direction a { position: relative; display: block; height: 100%; min-height: 0; padding: 0; }
.md-direction__art { position: absolute; z-index: 0; top: 0; left: 34.6%; right: auto; width: 72%; height: 100%; object-fit: cover; }
.md-direction a::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--md-dir-tone) 0%, var(--md-dir-tone) 37%, color-mix(in srgb, var(--md-dir-tone) 93%, transparent) 53%, color-mix(in srgb, var(--md-dir-tone) 45%, transparent) 69%, transparent 85%); }
.md-direction a > :not(.md-direction__art) { position: relative; z-index: 2; }
.md-direction__sigil { position: absolute !important; top: 25px; left: 27px; width: 56px; height: 56px; }
.md-direction__name { position: absolute !important; top: 102px; left: 27px; max-width: 260px; font: 400 28px/30px var(--md-font-serif); }
.md-direction__text { position: absolute !important; top: 146px; left: 27px; max-width: 192px; font-size: 14px; line-height: 21px; color: var(--md-color-text-on-decor); }
.md-direction__examples { position: absolute !important; top: 227px; left: 27px; max-width: 245px; margin: 0; padding-top: 15px; border-top: 1px solid var(--md-color-action-primary-bg); border-image: linear-gradient(90deg, var(--md-color-action-primary-bg) 39px, transparent 39px) 1; font-size: 12px; line-height: 18px; color: var(--md-color-text-on-decor); }
.md-direction__count { position: absolute !important; top: 294px; left: 27px; max-width: 200px; margin: 0; padding-left: 19px; font-size: 12px; line-height: 18px; color: var(--md-color-text-on-decor); background: url('../images/icon-services.svg') left center / 14px no-repeat; }
.md-direction__open { position: absolute !important; right: 21px; bottom: 21px; z-index: 2; width: 44px; height: 44px; color: var(--md-color-action-secondary-text); font-size: 20px; }
.md-directions .md-section__cta { margin-top: 40px; }

@media (max-width: 1199px) {
 .md-specialists .md-person-row { grid-template-columns: repeat(4, minmax(0, 224px)); justify-content: center; }
 .md-directions__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
 .md-specialists .md-person-row { grid-template-columns: repeat(3, 224px); gap: 28px 16px; }
 .md-direction { height: 376px; }
}
@media (max-width: 767px) {
 .md-specialists { padding: 32px 0 8px; }
 .md-specialists .md-person-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .md-person { flex-direction: row; height: auto; min-height: 178px; }
 .md-person__photo { flex: 0 0 116px; width: 116px; aspect-ratio: auto; }
 .md-person__body { padding: 12px 12px 10px 17px; }
 .md-person__name { min-height: 0; padding-right: 30px; font-size: 17px; line-height: 22px; }
 .md-person__foot { align-items: flex-start; padding-top: 8px; }
 .md-person__profile { align-self: flex-end; }
 .md-services .md-service-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .md-service { flex-direction: row; min-height: 150px; height: auto; }
 .md-service__photo { flex: 0 0 116px; width: 116px; aspect-ratio: auto; }
 .md-service__title { min-height: 0; }
 .md-service__meta { flex-wrap: wrap; }
 .md-sky { height: 110px; margin: -30px 0 -60px; }
 .md-sky img { height: 110px; }
 .md-directions__list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
 .md-direction { height: 222px; min-height: 222px; }
 .md-direction__art { left: auto; right: 0; width: 160px; }
 .md-direction__sigil { display: none; }
 .md-direction__name { top: 53px; left: 18px; font-size: 24px; line-height: 32px; }
 .md-direction__text { top: 100px; left: 18px; max-width: 190px; font-size: 14px; }
 .md-direction__examples { display: none; }
 .md-direction__count { top: auto; bottom: 22px; left: 18px; }
 .md-direction__open { right: 20px; bottom: 18px; }
}

/* Footer — Figma 497:9601 */
.md-footer { padding: 55px 0 32px; }
.md-footer__top { display: grid; grid-template-columns: 345px minmax(0, 1fr); gap: 0; align-items: start; }
.md-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 19px; }
.md-footer__heading { font: 600 14px/20px var(--md-font-sans); margin: 0 0 24px; }
.md-footer__cols a, .md-footer__cols .md-stub { font-size: 14px; line-height: 35px; min-height: 35px; }
.md-footer__tagline { margin: 34px 0 0; font-size: 13px; line-height: 18px; }
.md-footer__social { display: flex; gap: 12px; margin: 50px 0 0; color: var(--md-color-action-primary-bg); font-size: 14px; }
.md-footer__bar { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; margin-top: 24px; padding-top: 16px; }
.md-footer__bar > p { margin: 0; text-align: center; font-size: 12px; line-height: 18px; }
.md-footer__bar .md-lang-switch { justify-self: end; }
@media (max-width: 1199px) {
 .md-footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
 .md-footer__social { margin-top: 20px; }
}
@media (max-width: 767px) {
 .md-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .md-footer__bar { grid-template-columns: 1fr auto; }
 .md-footer__spacer { display: none; }
 .md-footer__bar > p { text-align: left; }
}

/* ===== Claude pass 2: mobile 390 per Figma 190:61 ===== */
.md-eyebrow--mobile, .md-direction__num, .md-trust__num { display: none; }
@media (max-width: 767px) {
 .md-eyebrow--desktop { display: none; }
 .md-eyebrow--mobile { display: block; margin: 0 0 12px; color: var(--md-color-action-secondary-text); font: 600 12px/16px var(--md-font-sans); letter-spacing: .02em; }
 /* hero */
 .md-hero { background: var(--md-color-bg-canvas); }
 .md-hero__copy { padding: 16px 0 16px; }
 .md-hero .md-eyebrow { color: var(--md-color-action-secondary-text); }
 .md-hero h1 { margin: 12px 0 13px; }
 .md-hero__lead { color: var(--md-color-text-on-decor); margin-bottom: 39px; }
 .md-hero__actions { gap: 10px; }
 .md-hero__note { margin-top: 8px; text-align: center; font-size: 12px; color: var(--md-color-text-secondary); }
 /* specialists: full-width cards on mobile; count follows placement slots */
 .md-specialists { padding: 24px 0 8px; }
 .md-specialists h2 { margin-bottom: 40px; }
 .md-person { min-height: 180px; border-radius: 16px; }
 .md-person__photo { flex-basis: 116px; width: 116px; }
 .md-person__body { padding: 16px 12px 12px 17px; }
 .md-person__name { font-size: 17px; line-height: 22px; }
 .md-person__directions { min-height: 0; }
 .md-person__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
 .md-person__profile { align-self: auto; }
 /* sky becomes the thin ornament line */
 .md-sky { height: 40px; margin: 24px 20px 0; background: linear-gradient(var(--md-color-border-default), var(--md-color-border-default)) left center / 100% 1px no-repeat; }
 .md-sky img { display: none; }
 .md-sky::after { content: '☾'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 12px; background: var(--md-color-bg-surface); color: var(--md-color-action-secondary-text); font-size: 22px; line-height: 1; }
 .md-services { padding: 24px 0 24px; }
 .md-services h2 { margin-bottom: 40px; }
 /* services: vertical cards, full width */
 .md-service { flex-direction: column; min-height: 0; border-radius: 16px; }
 .md-service__photo { flex: none; width: 100%; aspect-ratio: 350 / 263; }
 .md-service__body { gap: 12px; padding: 16px; }
 .md-service__title { font-size: 18px; line-height: 22px; }
 .md-service__meta { flex-wrap: nowrap; }
 .md-service__foot { margin-top: 18px; }
 /* directions: number, name, text, examples; no sigil/count */
 .md-directions { padding: 0 0 32px; }
 .md-directions h2 { margin-bottom: 20px; }
 .md-direction { height: 222px; min-height: 222px; border-radius: 16px; border: 1px solid rgba(0,0,0,.06); }
 .md-direction a::before { background: linear-gradient(90deg, var(--md-dir-tone) 0, var(--md-dir-tone) 205px, transparent 205px); }
 .md-direction__art { left: auto; right: 0; width: 160px; height: 100%; }
 .md-direction__num { display: block; position: absolute !important; top: 18px; left: 18px; font: 600 13px/20px var(--md-font-sans); color: var(--md-color-action-secondary-text); }
 .md-direction__name { top: 53px; left: 18px; max-width: 190px; font-size: 24px; line-height: 32px; }
 .md-direction__text { top: 100px; left: 18px; max-width: 190px; font-size: 14px; line-height: 21px; }
 .md-direction__examples { display: block; top: 155px; left: 18px; max-width: 190px; padding: 0; border: 0; }
 .md-direction__count { display: none; }
 .md-direction__open { right: 20px; bottom: 34px; }
 .md-directions .md-section__cta .md-button { width: 100%; }
 /* trust: left aligned numbered list on canvas */
 .md-trust { background: var(--md-color-bg-canvas); background-image: none; padding: 32px 0 24px; }
 .md-trust__inner { text-align: left; }
 .md-trust h2 { margin: 0 0 16px; }
 .md-trust__list { display: block; margin-top: 24px; }
 .md-trust__list li { display: grid; grid-template-columns: 52px 1fr; column-gap: 0; padding: 20px 0; border-top: 1px solid var(--md-color-border-default); }
 .md-trust__sign { display: none; }
 .md-trust__num { display: block; grid-row: span 2; font: 500 13px/22px var(--md-font-sans); color: var(--md-color-action-secondary-text); }
 .md-trust__list h3 { margin: 0 0 8px; font-size: 16px; line-height: 22px; }
 .md-trust__list p { font-size: 12px; line-height: 18px; }
 /* booking: image on top, lavender panel, white step cards */
 .md-booking { background: var(--md-color-action-soft-bg); padding: 0 0 24px; }
 .md-booking .md-shell { width: 100%; }
 .md-booking__grid { background: transparent; }
 .md-booking__art { padding: 0; min-height: 0; background: none; }
 .md-booking__art > img { position: relative; z-index: 0; display: block; width: 100%; height: 235px; }
 .md-booking__art > :not(img) { margin-left: 20px; margin-right: 20px; }
 .md-booking__art > .md-eyebrow--mobile { margin-top: 22px; }
 .md-booking__art > .md-eyebrow:last-child { display: none; }
 .md-booking h2 { margin: 0 0 11px; }
 .md-booking__art p:not(.md-eyebrow) { font-size: 15px; line-height: 22px; color: var(--md-color-text-on-decor); }
 .md-booking__steps { padding: 18px 20px 0; background: none; }
 .md-booking__steps > .md-eyebrow { display: none; }
 .md-steps { gap: 8px; }
 .md-steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 13px; min-height: 83px; padding: 11px 10px; border: 0; border-radius: 14px; background: var(--md-color-bg-surface); }
 .md-steps__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--md-color-action-soft-bg); font: 600 13px/16px var(--md-font-sans); color: var(--md-color-action-secondary-text); }
 .md-steps__phase { display: none; }
 .md-steps h3 { margin: 0 0 6px; font-size: 16px; line-height: 20px; }
 .md-steps p { margin: 0; font-size: 12px; line-height: 18px; }
 /* help continues on lavender, plain cards */
 .md-help { background: var(--md-color-action-soft-bg); background-image: none; padding: 32px 0; }
 .md-help__grid > div > .md-eyebrow { padding-left: 0; background: none; color: var(--md-color-action-secondary-text); }
 .md-help h2 { margin: 12px 0 12px; }
 .md-help__caption { display: none; }
 .md-help__list { gap: 12px; }
 .md-help__stub,
 .md-help__item { min-height: 0; padding: 14px 12px; background: var(--md-color-bg-surface); border-radius: 14px; }
 .md-help__sign { display: none; }
 .md-help__arrow { background: none; }
 /* materials: bordered cards, serif titles, link below */
 .md-materials { padding: 28px 0 32px; }
 .md-materials .md-section__head { display: block; }
 .md-materials .md-section__head .md-text-link { display: none; }
 .md-materials__list { gap: 12px; margin-top: 16px; }
 .md-material:nth-child(n) { grid-template-columns: 90px minmax(0, 1fr); min-height: 118px; border: 1px solid var(--md-color-border-default); border-radius: 16px; padding: 0; }
 .md-material img { height: 100%; min-height: 118px; border-radius: 16px 0 0 16px; }
 .md-material__type { margin: 12px 0 6px; font-size: 10px; }
 .md-material__title { margin: 0 0 8px; font: 400 16px/22px var(--md-font-serif); }
 .md-materials::after { content: 'Всі матеріали  →'; display: block; width: calc(100% - 40px); margin: 16px auto 0; color: var(--md-color-action-secondary-text); font: 600 14px/20px var(--md-font-sans); }
 /* footer: heading + inline links per row */
 .md-footer { padding: 24px 0 16px; }
 .md-footer__tagline { margin-top: 8px; }
 .md-footer__social { display: none; }
 .md-footer__cols { gap: 0; border-top: 1px solid var(--md-color-border-default); padding-top: 12px; }
 .md-footer__cols > div { display: grid; grid-template-columns: 78px 1fr; align-items: baseline; column-gap: 0; padding: 8px 0; }
 .md-footer__heading { grid-row: span 3; margin: 0; font-size: 13px; }
 .md-footer__cols a, .md-footer__cols .md-stub { display: inline; font-size: 12px; line-height: 20px; min-height: 0; }
 .md-footer__cols > div > :nth-child(3)::before { content: ' · '; }
 .md-footer__cols > div { display: block; }
 .md-footer__cols > div > .md-footer__heading { display: inline-block; width: 78px; }
 /* 0.1.109 (UI-47): the heading keeps its own column. A long heading («Сотрудничество») no longer runs into the links,
    and a link that wraps stays under the links, not under the heading. */
 .md-footer__cols > div { position: relative; min-height: 36px; padding-left: 124px; }
 .md-footer__cols > div > .md-footer__heading { position: absolute; left: 0; top: 10px; width: 116px; line-height: 20px; }
 .md-footer__bar { border-top: 1px solid var(--md-color-border-default); }
}
/* No canvas band between the last section and the footer (Figma 444:5563) */
.md-footer { margin-top: 0; }
.md-materials { padding-bottom: 72px; }
.md-footer__tagline { font-weight: 400; letter-spacing: 0; }
@media (max-width: 767px) { .md-materials { padding-bottom: 32px; } }

/* ===== Claude pass 3: tablets 1024 (273:234) and 768 (273:235) ===== */
@media (min-width: 768px) and (max-width: 1199px) {
 .md-shell { width: calc(100% - 96px); }
 .md-eyebrow--mobile { display: block; margin: 0 0 8px; color: var(--md-color-action-secondary-text); font: 600 11px/16px var(--md-font-sans); letter-spacing: .04em; }
 .md-trust .md-eyebrow--desktop, .md-booking .md-eyebrow--mobile { display: none; }
 .md-specialists .md-person-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; justify-content: stretch; }
 .md-services .md-service-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
 .md-directions__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
 .md-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
 .md-trust__constellation { display: none; }
 .md-booking__grid { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
 .md-help__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; }
 .md-help__list li:nth-child(n) { margin: 0; }
 .md-materials__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
 .md-material:nth-child(n) { display: flex; flex-direction: column; width: 100%; min-height: 0; background: transparent; }
 .md-material img { width: 100%; height: auto; aspect-ratio: 290 / 175; border-radius: 16px; }
 .md-material > div { padding-left: 0; }
 .md-material__type { margin: 16px 0 6px; }
 .md-material__title { max-width: none; font-size: 16px; line-height: 22px; }
 .md-footer__top { grid-template-columns: minmax(0, 1fr) auto; }
 .md-footer__brand { display: contents; }
 .md-footer__brand .md-brand { grid-column: 1; }
 .md-footer__tagline { grid-column: 2; margin: 0; align-self: center; }
 .md-footer__social { display: none; }
 .md-footer__cols { grid-column: 1 / -1; margin-top: 16px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
 .md-nav { display: block; margin-left: 48px; }
 .md-nav .md-nav-list { gap: 54px; }
 .md-nav .md-nav-list > li:nth-child(n+3) { display: none; }
 .md-nav.is-open .md-nav-list > li:nth-child(n+3) { display: list-item; } /* the opened menu lists every item (Магазин, Про сервіс, Матеріали) */
}
@media (min-width: 768px) and (max-width: 1023px) {
 .md-shell { width: calc(100% - 64px); }
 .md-hero__copy { display: grid; grid-template-columns: minmax(0, 1fr) 244px; column-gap: 40px; align-items: center; padding: 28px 0 24px; }
 .md-hero__copy > .md-eyebrow, .md-hero h1, .md-hero__lead { grid-column: 1; }
 .md-hero__actions { grid-column: 2; grid-row: 2 / span 2; flex-direction: column; align-items: stretch; gap: 12px; }
 .md-hero__actions .md-button { width: 100%; }
 .md-hero__note { grid-column: 2; margin: 0; font-size: 11px; text-align: center; }
 .md-hero { background: var(--md-color-bg-canvas); }
 .md-hero h1 { font-size: 32px; line-height: 38px; margin: 8px 0 12px; }
 .md-hero__lead { font-size: 14px; line-height: 21px; margin: 0; }
 .md-specialists .md-person-row { gap: 20px 16px; }
 .md-directions__list { gap: 16px; }
 .md-direction { height: 376px; }
 .md-direction__art { left: 0; width: 100%; }
 .md-direction a::before { background: linear-gradient(180deg, color-mix(in srgb, var(--md-dir-tone) 85%, transparent) 0%, color-mix(in srgb, var(--md-dir-tone) 70%, transparent) 60%, transparent 100%); }
 .md-direction__name { font-size: 24px; line-height: 28px; max-width: 170px; }
 .md-direction__text { max-width: 170px; font-size: 12px; line-height: 18px; }
 .md-direction__examples { max-width: 170px; }
 .md-direction__count { top: auto; bottom: 30px; }
 .md-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
}

/* Specialist card city (Core city field, 30.09) */
.md-person__city { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 6px 0 0; color: var(--md-color-text-secondary); font-size: 12px; line-height: 18px; }
.md-person__city .md-icon { flex: none; }
@media (max-width: 767px) { .md-person__city { justify-content: flex-start; margin-top: 4px; } }

/* Owner 30.09: brand optically centred with the nav; language chevron as an icon, vertically centred */
.md-header .md-brand__name { position: relative; top: -2px; }
.md-lang__chev { display: inline-flex; align-items: center; }
.md-lang__chev .md-icon { width: 12px; height: 12px; }
.md-lang__chev path { stroke-width: 1.6; }

/* Signed-in header (Figma 549:885 · 549:914): initial + first name, account menu. */
.md-usermenu { position: relative; }
.md-usermenu__pill { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 12px 0 6px; border: 1px solid var(--md-color-border-default); border-radius: 999px; background: var(--md-color-bg-surface); cursor: pointer; list-style: none; font: 600 14px/20px var(--md-font-sans); color: var(--md-color-text-primary); }
.md-usermenu__pill::-webkit-details-marker { display: none; }
.md-usermenu__avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--md-color-action-soft-bg); color: var(--md-color-action-secondary-text); font: 600 13px/1 var(--md-font-sans); }
.md-usermenu__chev { color: var(--md-color-text-secondary); transition: transform 0.15s; }
.md-usermenu[open] .md-usermenu__chev { transform: rotate(180deg); }
.md-usermenu__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 220px; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--md-color-border-default); border-radius: 16px; background: var(--md-color-bg-surface); box-shadow: 0 12px 32px rgba(28, 27, 35, 0.12); }
.md-usermenu__list a, .md-usermenu__list span { display: flex; min-height: 40px; align-items: center; padding: 0 12px; border-radius: 10px; color: var(--md-color-text-primary); font: 500 14px/20px var(--md-font-sans); text-decoration: none; }
.md-usermenu__list a:hover { background: var(--md-color-bg-section-warm); }
.md-usermenu__sep { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--md-color-border-subtle); }
@media (max-width: 767px) {
	.md-usermenu__name, .md-usermenu__chev { display: none; }
	.md-usermenu__pill { padding: 5px; border-color: transparent; background: transparent; }
	.md-usermenu__avatar { width: 34px; height: 34px; }
}

/* 0.1.108: shared form fields. Lived in auth.css, so the review form on the booking page and the decline dialog in the cabinet
   (pages that do not load auth.css) showed a bare browser textarea. */
.md-field { display: flex; flex-direction: column; gap: 6px; }
.md-field__label { font: 600 14px/20px var(--md-font-sans); color: var(--md-color-text-primary); }
.md-field__input {
	box-sizing: border-box; width: 100%; height: 48px; padding: 0 16px;
	border: 1px solid var(--md-color-border-control); border-radius: var(--md-radius-12); background: var(--md-color-bg-surface);
	font: 400 14px/21px var(--md-font-sans); color: var(--md-color-text-primary);
}
.md-field__input::placeholder { color: var(--md-color-text-secondary); }
.md-field__input:focus { outline: 2px solid var(--md-color-focus-ring); outline-offset: 1px; border-color: var(--md-color-border-action); }
.md-field__hint { margin: 0; min-height: 18px; font: 400 12px/18px var(--md-font-sans); color: var(--md-color-text-secondary); }
.md-field.is-error .md-field__input { border-color: var(--md-color-feedback-error); }
.md-field.is-error .md-field__hint { color: var(--md-color-feedback-error); }

/* System pages: 404 (Figma 607:1875 · 607:1951). */
/* Sprint 90 — Про сервіс / Допомога */
.md-info { padding: 64px 0 96px; }
.md-info__article { max-width: 720px; }
.md-info__title { margin: 0 0 16px; font: 400 40px/48px var(--md-font-serif); color: var(--md-color-text-primary); }
.md-info__lead { margin: 0 0 40px; font: 400 18px/28px var(--md-font-sans); color: var(--md-color-text-secondary); }
.md-info__block { margin: 0 0 36px; }
.md-info__block h2 { margin: 0 0 12px; font: 600 20px/28px var(--md-font-sans); color: var(--md-color-text-primary); }
.md-info__block p { margin: 0 0 12px; font: 400 16px/26px var(--md-font-sans); color: var(--md-color-text-secondary); }
.md-info__steps,
.md-info__list { margin: 0; padding-left: 1.25em; font: 400 16px/26px var(--md-font-sans); color: var(--md-color-text-secondary); }
.md-info__steps li,
.md-info__list li { margin-bottom: 8px; }
.md-info__faq { display: flex; flex-direction: column; gap: 28px; }
.md-info__faq-item { scroll-margin-top: 96px; }
.md-info__faq-item h2 { margin: 0 0 8px; font: 600 18px/26px var(--md-font-sans); color: var(--md-color-text-primary); }
.md-info__faq-item p { margin: 0; font: 400 16px/26px var(--md-font-sans); color: var(--md-color-text-secondary); }
.md-info__more { margin: 48px 0 0; font: 600 14px/20px var(--md-font-sans); }
.md-info__more a { color: var(--md-color-action-secondary-text); }
@media (max-width: 767px) {
	.md-info { padding: 40px 0 64px; }
	.md-info__title { font-size: 32px; line-height: 40px; }
}

.md-sys { background: var(--md-color-bg-surface); }
.md-sys__inner { padding-top: 96px; padding-bottom: 120px; }
.md-sys__code { margin: 0; font: 400 120px/1 var(--md-font-serif); color: var(--md-color-action-secondary-text); letter-spacing: -0.02em; }
.md-sys__title { margin: 8px 0 12px; font: 400 44px/52px var(--md-font-serif); color: var(--md-color-text-primary); letter-spacing: 0; }
.md-sys__lead { max-width: 760px; margin: 0 0 32px; font: 400 16px/26px var(--md-font-sans); color: var(--md-color-text-secondary); }
.md-sys__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.md-sys__actions .md-button { min-width: 228px; min-height: 48px; }
.md-sys__link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 12px; color: var(--md-color-action-secondary-text); font: 600 14px/20px var(--md-font-sans); }
@media (max-width: 767px) {
	.md-sys__inner { padding-top: 56px; padding-bottom: 72px; }
	.md-sys__code { font-size: 88px; }
	.md-sys__title { font-size: 32px; line-height: 40px; }
	.md-sys__actions .md-button { width: 100%; }
}

/* Unread messages in the account menu (Sprint 25). */
.md-usermenu__avatar { position: relative; }
.md-usermenu__dot { position: absolute; top: -1px; right: -1px; width: 9px; height: 9px; border: 2px solid var(--md-color-bg-surface); border-radius: 50%; background: var(--md-color-action-primary-bg); }
.md-usermenu__list .md-cab__badge { display: inline-block; min-width: 20px; height: 20px; min-height: 0; margin-left: auto; padding: 0 6px; border-radius: 999px; background: var(--md-color-action-primary-bg); color: #fff; font: 700 11px/20px var(--md-font-sans); text-align: center; }


/* 0.1.315: below 375 px the signed-in header (brand + language + avatar + menu) was 10 px wider than a 320 px screen (Luna). */
@media (max-width: 374px) {
	.md-header__tools { gap: 4px; }
	.md-header__inner { gap: 4px; }
	.md-brand__name { font-size: 18px; line-height: 24px; }
	/* 0.1.427: the currency switcher made four 44 px tools; only the language and currency switches drop to 40 px
	   (account and menu stay 44 px), so 320 px has no side scroll. */
	.md-header .md-lang-switch, .md-header .md-lang-switch > .md-lang { width: 40px; min-width: 40px; height: 40px; min-height: 40px; }
}

/* Second sky divider (services → products): services keep 37px bottom padding vs 8px under specialists,
   so pull the sky up by the difference to get the same overlap under the «N консультацій» line. */
@media (min-width: 768px) {
 .md-services + .md-sky { margin-top: -85px; }
}

/* Sticky header (owner 19.10). --md-header-h is measured by navigation.js (header + admin bar). */
:root { --md-header-h: 64px; }
.md-header { position: sticky; top: 0; z-index: 60; }
body.admin-bar .md-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .md-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .md-header { top: 0; } } /* WP admin bar scrolls away on phones */
html { scroll-padding-top: calc(var(--md-header-h) + 16px); }
body.md-body .md-prof-tabs { top: var(--md-header-h); }
body.md-body .md-cab__side { top: calc(var(--md-header-h) + 16px); }
body.md-body .md-sform__side { top: calc(var(--md-header-h) + 24px); }

/* Back to top: hidden below the screen while scrolling down, slides up when the visitor scrolls up. */
.md-totop { position: fixed; right: 24px; bottom: 30px; z-index: 55; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--md-color-border-subtle); border-radius: 50%; background: #fff; color: var(--md-color-text-primary); box-shadow: 0 8px 24px rgba(44, 32, 72, .18), 0 1px 3px rgba(44, 32, 72, .12); cursor: pointer; opacity: 0; transform: translateY(calc(100% + 40px)); transition: transform .3s ease, opacity .3s ease; }
.md-totop.is-visible { opacity: 1; transform: none; }
.md-totop:hover { color: var(--md-color-action-primary-bg); }
.md-totop:focus-visible { outline: 2px solid var(--md-color-action-primary-bg); outline-offset: 3px; }
@media (max-width: 1023px) { .md-totop { display: none; } } /* desktop only (owner 19.10) */
@media (prefers-reduced-motion: reduce) { .md-totop { transition: none; } }

/* Header menu: bigger click target around each item, same look (owner 19.10). Items are ≥32px apart, so ±14px never overlap. */
@media (min-width: 1024px) {
 .md-nav .md-nav-list > li > a { position: relative; }
 .md-nav .md-nav-list > li > a::before { content: ""; position: absolute; inset: -14px -14px; }
}

/* CUR-1: approximate price in the visitor's currency, next to the exact price. */
.md-price-approx { display: inline-block; margin-left: 4px; color: var(--md-color-text-secondary); font: 500 12px/16px var(--md-font-sans); white-space: nowrap; }
.md-svc-book__price .md-price-approx, .md-prof-facts .md-price-approx { display: block; margin: 2px 0 0; }
.md-cur-switch__note { margin: 6px 0 0 !important; padding: 0 12px 4px; color: var(--md-color-text-secondary); font: 400 11px/15px var(--md-font-sans); }
.md-cur-switch .md-lang-options { width: 180px; }
