/* ==========================================================================
   DN Nail Studio — внутренние страницы (макеты Usluga, Cenovnik, Članak,
   Kontakt + страницы без макета в том же стиле). Общие стили — base.css.
   ========================================================================== */

:root { --dn-header-h: 77px; }

/* --- Типографика и общие блоки ------------------------------------------ */
.dn-h1 {
	margin: 0; font-family: var(--dn-serif); font-weight: 500;
	font-size: clamp(42px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.005em; color: var(--dn-text);
	overflow-wrap: break-word;
}
.dn-h1--article { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.06; }
.dn-h3 { margin: 0; font-family: var(--dn-serif); font-weight: 500; font-size: 36px; line-height: 1.1; }
.dn-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--dn-muted); max-width: 640px; }
.dn-lead p { margin: 0; }
.dn-narrow { max-width: 860px; }
.dn-center { text-align: center; }
.dn-link--sm { font-size: 14px; }
.dn-btn--block { display: flex; width: 100%; padding: 16px; font-size: 16px; font-weight: 700; }
.dn-section--first { padding-top: 32px; }
.dn-section--tight { padding: 0 0 88px; }
.dn-section--white + .dn-section--tight, .dn-section--rose + .dn-section--tight { padding-top: 88px; }
.dn-block { display: flex; flex-direction: column; gap: 24px; }
.dn-site .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.dn-page-head { padding-top: 28px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.dn-page-head .dn-crumbs { margin-bottom: 20px; }

/* Чипсы */
.dn-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dn-chips li, .dn-chips > a, .dn-chips > button {
	background: #fff; border: 1px solid var(--dn-line); border-radius: 999px; padding: 9px 16px;
	font: 600 14px var(--dn-sans); color: var(--dn-text);
}
.dn-chips--links li { padding: 0; border: 0; background: none; }
.dn-site .dn-chips--links a {
	display: inline-block; background: var(--dn-rose); border-radius: 999px; padding: 11px 16px;
	font-weight: 600; font-size: 14px; color: var(--dn-text); text-decoration: none;
}
.dn-site .dn-chips--links a:hover { background: #EBDAD7; }
.dn-chips--filter > a, .dn-chips--filter > button { background: var(--dn-rose); border: 0; padding: 12px 18px; cursor: pointer; text-decoration: none; }
.dn-site .dn-chips--filter > a { color: var(--dn-text); }
.dn-chips--filter > a:hover, .dn-chips--filter > button:hover { background: #EBDAD7; }
.dn-site .dn-chips--filter > [aria-current], .dn-chips--filter > [aria-pressed="true"] { background: var(--dn-text); color: #fff; }

/* --- Первый экран услуги ------------------------------------------------- */
.dn-page-hero { padding-top: 28px; padding-bottom: 80px; }
.dn-page-hero__grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 56px; align-items: center; padding-top: 40px;
}
.dn-page-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.dn-page-hero__copy .dn-lead { max-width: 520px; }
.dn-page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 4px; }
.dn-page-hero__actions .dn-btn--primary { font-weight: 700; padding: 18px 32px; }
.dn-page-hero__photo { height: 480px; border-radius: 28px; overflow: hidden; background: var(--dn-ph); }
.dn-page-hero__photo .dn-img { width: 100%; height: 100%; object-fit: cover; }

/* Šta rešavamo */
.dn-problems { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.dn-problem {
	background: var(--dn-bg); border-radius: 20px; padding: 24px; min-height: 170px;
	display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--dn-text) !important;
	transition: transform .15s, box-shadow .15s;
}
.dn-problem--white { background: #fff; }
a.dn-problem:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(74,32,48,0.08); }
.dn-problem__n {
	width: 40px; height: 40px; border-radius: 12px; background: #F1DFE4; color: var(--dn-accent);
	display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.dn-problem__t { font-size: 18px; font-weight: 700; }
.dn-problem__d { font-size: 14px; line-height: 1.5; color: var(--dn-muted); }
.dn-problem__more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--dn-accent-dark); }

/* Колонка + боковая карточка */
.dn-with-aside { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.dn-with-aside__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.dn-with-aside__side { flex: 1 1 300px; position: sticky; top: calc(var(--dn-header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.admin-bar .dn-with-aside__side { top: calc(var(--dn-header-h) + 56px); }

/* Шаги */
.dn-steps { margin: 0; padding: 0; list-style: none; }
.dn-steps li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--dn-line); }
.dn-steps__n {
	flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--dn-accent); color: var(--dn-accent);
	display: flex; align-items: center; justify-content: center; font-family: var(--dn-serif); font-size: 20px; font-weight: 600;
}
.dn-steps li > div { display: flex; flex-direction: column; gap: 6px; }
.dn-steps__t { font-size: 18px; font-weight: 700; }
.dn-steps__d { font-size: 15px; line-height: 1.55; color: var(--dn-muted); }

/* Строки цен */
.dn-price-card { background: #fff; border-radius: 22px; padding: 8px 24px; }
.dn-price-row {
	display: grid; grid-template-columns: minmax(0, 1fr) auto 120px auto; align-items: center; gap: 16px;
	padding: 15px 0; border-bottom: 1px solid #F1E6E3;
}
.dn-price-row:last-child { border-bottom: 0; }
.dn-price-row[hidden] { display: none; }
.dn-price-row__name { font-size: 16px; font-weight: 600; line-height: 1.35; }
.dn-price-row__time { font-size: 13px; color: var(--dn-muted-2); white-space: nowrap; }
.dn-price-row__price { text-align: right; font-family: var(--dn-serif); font-size: 22px; font-weight: 600; white-space: nowrap; }
.dn-price-row__book { font-size: 14px; font-weight: 600; padding: 10px 0 10px 8px; }

/* Карточка записи */
.dn-book-card {
	background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
	box-shadow: 0 16px 40px rgba(74,32,48,0.10);
}
.dn-book-card--sm { padding: 22px; gap: 10px; border-radius: 22px; }
.dn-book-card__master { display: flex; gap: 14px; align-items: center; }
.dn-book-card__avatar { width: 64px; height: 64px; flex: none; border-radius: 999px; overflow: hidden; background: #E3CCD1; }
.dn-book-card__avatar .dn-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.dn-book-card__avatar .dn-ph { font-size: 10px; padding: 0; }
.dn-book-card__master > div { display: flex; flex-direction: column; gap: 2px; }
.dn-book-card__name { font-size: 17px; font-weight: 700; }
.dn-book-card__role { font-size: 14px; color: var(--dn-muted); }
.dn-book-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.dn-book-card__headline { font-family: var(--dn-serif); font-size: 28px; font-weight: 600; line-height: 1.1; }
.dn-book-card__text { font-size: 14px; line-height: 1.55; color: var(--dn-muted); }
.dn-book-card__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--dn-muted); }
.dn-book-card__line strong { font-size: 15px; color: var(--dn-text); text-align: right; }
.dn-book-card__line--price { border-top: 1px solid var(--dn-line); padding-top: 16px; }
.dn-book-card__line--price strong { font-family: var(--dn-serif); font-size: 30px; font-weight: 600; line-height: 1.1; }
.dn-book-card__price { font-family: var(--dn-serif); font-size: 28px; font-weight: 600; line-height: 1.1; }
.dn-book-card__meta { font-size: 13px; color: var(--dn-muted-2); }
.dn-site .dn-book-card__tel { text-align: center; font-weight: 600; font-size: 15px; padding: 4px; }
.dn-book-card__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--dn-muted-2); }
.dn-site .dn-book-card__more { font-size: 13px; font-weight: 600; text-align: center; }

.dn-promo-card {
	background: var(--dn-text); color: var(--dn-bg) !important; border-radius: 24px; padding: 24px;
	display: flex; flex-direction: column; gap: 6px; text-decoration: none;
}
.dn-promo-card__label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #E7A9BE; font-weight: 700; }
.dn-promo-card__title { font-size: 17px; font-weight: 700; }
.dn-promo-card__price { font-family: var(--dn-serif); font-size: 30px; font-weight: 600; }
.dn-promo-card__text { font-size: 14px; line-height: 1.5; color: #E9DCE0; }
.dn-promo-card__link { font-size: 14px; font-weight: 700; color: #E7A9BE; }

/* Pre i posle */
.dn-ba { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dn-ba figure { margin: 0; height: 260px; border-radius: 20px; overflow: hidden; background: #E8D3D8; }
.dn-ba .dn-img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.dn-faq { display: flex; flex-direction: column; }
.dn-faq__item { border-top: 1px solid var(--dn-line); }
.dn-faq__item:last-child { border-bottom: 1px solid var(--dn-line); }
.dn-faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 0; font-size: 18px; font-weight: 600; line-height: 1.4;
}
.dn-faq__item summary::-webkit-details-marker { display: none; }
.dn-faq__icon { flex: none; position: relative; width: 16px; height: 16px; }
.dn-faq__icon::before, .dn-faq__icon::after {
	content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--dn-accent); transition: transform .15s;
}
.dn-faq__icon::after { transform: rotate(90deg); }
.dn-faq__item[open] .dn-faq__icon::after { transform: rotate(0); }
.dn-faq__answer { padding: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--dn-muted); }
.dn-faq__answer p { margin: 0 0 10px; }
.dn-faq__answer > :last-child { margin-bottom: 0; }

/* CTA-полоса */
.dn-cta-band {
	background: var(--dn-accent); color: #fff; border-radius: 32px; padding: 48px 56px;
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.dn-cta-band__title { margin: 0 0 8px; font-family: var(--dn-serif); font-weight: 500; font-size: 42px; line-height: 1.05; color: #fff !important; }
.dn-cta-band p { margin: 0; font-size: 16px; color: #FBE9EF; }
.dn-cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dn-messengers { display: flex; gap: 10px; }
.dn-site .dn-messenger {
	width: 52px; height: 52px; border-radius: 999px; flex: none; display: flex; align-items: center; justify-content: center;
	border: 2px solid rgba(255,255,255,0.75); color: #fff !important; text-decoration: none; transition: background-color .15s, color .15s;
}
.dn-site .dn-messenger:hover { background: #fff; color: var(--dn-accent) !important; }
.dn-site .dn-messenger:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.dn-messenger svg { display: block; }
.dn-messenger__cut { stroke: var(--dn-accent); }
.dn-messenger:hover .dn-messenger__cut { stroke: #fff; }

/* --- Текст из редактора (the_content) -------------------------------------- */
.dn-prose { font-size: 17px; line-height: 1.7; color: #3A2D33; }
.dn-prose > * { margin-top: 0; margin-bottom: 20px; }
.dn-prose > :last-child { margin-bottom: 0; }
.dn-prose h2, .dn-prose h3, .dn-prose h4 { color: var(--dn-text); font-family: var(--dn-serif); font-weight: 500; line-height: 1.15; }
.dn-prose h2 { font-size: 36px; margin-top: 40px; scroll-margin-top: calc(var(--dn-header-h) + 16px); }
.dn-prose h3 { font-size: 26px; margin-top: 28px; }
.dn-prose h4 { font-size: 21px; margin-top: 24px; }
.dn-prose > h2:first-child, .dn-prose > h3:first-child { margin-top: 0; }
.dn-prose .has-text-align-center { text-align: center; }
.dn-prose ul, .dn-prose ol { padding-left: 22px; }
.dn-prose li { margin-bottom: 8px; }
.dn-prose strong { color: var(--dn-text); }
.dn-prose img { border-radius: 18px; }
.dn-prose figure { margin-left: 0; margin-right: 0; }
.dn-prose figcaption { font-size: 13px; color: var(--dn-muted-2); text-align: center; margin-top: 8px; }
.dn-prose .wp-block-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.dn-prose .wp-block-gallery > figure { width: auto !important; margin: 0 !important; aspect-ratio: 1; overflow: hidden; border-radius: 16px; }
.dn-prose .wp-block-gallery img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 16px; }
.dn-prose .wp-block-columns .wp-block-gallery { margin-bottom: 0; }
.dn-prose .wp-block-columns { gap: 24px; margin-bottom: 20px; }
.dn-prose blockquote, .dn-prose .wp-block-quote {
	margin: 0 0 20px; background: var(--dn-rose); border: 0; border-radius: 20px; padding: 24px 28px;
	font-size: 17px; color: var(--dn-text);
}
.dn-prose blockquote p:last-child { margin-bottom: 0; }
.dn-prose hr, .dn-prose .wp-block-separator { border: 0; border-top: 1px solid var(--dn-line); margin: 32px 0; }
.dn-prose table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 16px; overflow: hidden; }
.dn-prose th, .dn-prose td { padding: 12px 14px; border-bottom: 1px solid #F1E6E3; text-align: left; }
.dn-prose .wp-block-button__link, .dn-prose .button-dn {
	display: inline-flex; align-items: center; gap: 6px; background: var(--dn-accent); color: #fff !important;
	border-radius: 999px; padding: 14px 26px; font-weight: 600; text-decoration: none;
}
.dn-prose .wp-block-button__link:empty { display: none; }
.dn-prose .wp-block-spacer { height: 12px !important; }
.dn-prose iframe { max-width: 100%; border: 0; border-radius: 18px; }
.dn-prose .fas { display: none; }

.dn-prose--article { font-size: 18px; line-height: 1.75; max-width: 720px; }
.dn-prose--article > p:first-child { font-size: 21px; line-height: 1.65; color: var(--dn-text); }
.dn-prose--article h2 { font-size: 38px; margin-top: 44px; }

/* --- Статья ---------------------------------------------------------------- */
.dn-article-head { max-width: 860px; padding-top: 32px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.dn-site .dn-badge {
	background: #F1DFE4; color: var(--dn-accent-dark); border-radius: 999px; padding: 6px 14px;
	font-size: 13px; font-weight: 700; text-decoration: none;
}
.dn-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--dn-muted-2); }
.dn-article-meta strong { color: var(--dn-text); }
.dn-article-meta__avatar {
	width: 40px; height: 40px; border-radius: 999px; background: #E3CCD1; color: var(--dn-accent-dark);
	display: flex; align-items: center; justify-content: center; font-family: var(--dn-serif); font-weight: 600; font-size: 15px;
}
.dn-article-photo { height: 440px; border-radius: 28px; overflow: hidden; background: var(--dn-ph); }
.dn-article-photo .dn-img { width: 100%; height: 100%; object-fit: cover; }
.dn-article-photo--narrow { height: auto; max-height: 460px; margin-bottom: 8px; }
.dn-article-layout { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-top: 56px; padding-bottom: 80px; }
.dn-article-aside { flex: 1 1 240px; position: sticky; top: calc(var(--dn-header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.admin-bar .dn-article-aside { top: calc(var(--dn-header-h) + 56px); }
.dn-article-body { flex: 999 1 560px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 40px; }

.dn-toc { display: flex; flex-direction: column; gap: 2px; }
.dn-toc__title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dn-muted-2); font-weight: 700; padding-bottom: 8px; }
.dn-site .dn-toc a {
	color: var(--dn-muted); text-decoration: none; font-size: 15px; line-height: 1.35;
	padding: 8px 0 8px 14px; border-left: 2px solid var(--dn-line); transition: color .15s, border-color .15s;
}
.dn-site .dn-toc a:hover { color: var(--dn-accent-dark); }
.dn-site .dn-toc a.is-current { color: var(--dn-accent); font-weight: 600; border-left-color: var(--dn-accent); }

.dn-inline-cta {
	background: var(--dn-accent); color: #fff; border-radius: 24px; padding: 28px 32px; margin: 12px 0 32px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.dn-inline-cta > div { display: flex; flex-direction: column; gap: 4px; }
.dn-inline-cta__title { font-family: var(--dn-serif); font-size: 28px; font-weight: 600; line-height: 1.15; }
.dn-inline-cta__text { font-size: 15px; color: #FBE9EF; line-height: 1.5; }
.dn-inline-cta .dn-btn { padding: 14px 26px; font-size: 15px; font-weight: 700; }
.dn-article-faq h2 { margin: 0 0 12px; font-family: var(--dn-serif); font-weight: 500; font-size: 38px; scroll-margin-top: calc(var(--dn-header-h) + 16px); }
.dn-article-faq .dn-faq__item summary { font-size: 17px; }

/* Карточки статей */
.dn-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px 24px; }
.dn-card-article { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--dn-text) !important; }
.dn-card-article__photo { height: 220px; border-radius: 20px; overflow: hidden; background: var(--dn-ph); display: block; }
.dn-card-article__photo .dn-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dn-card-article:hover .dn-img { transform: scale(1.03); }
.dn-card-article__cat { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dn-accent-dark); font-weight: 700; }
.dn-card-article__title { font-family: var(--dn-serif); font-size: 26px; font-weight: 600; line-height: 1.2; }
.dn-card-article:hover .dn-card-article__title { color: var(--dn-accent-dark); }
.dn-card-article__meta { font-size: 13px; color: var(--dn-muted-2); }

.dn-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 8px; }
.dn-pagination a, .dn-pagination span {
	display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 999px; background: var(--dn-rose); font-weight: 600; text-decoration: none; color: var(--dn-text) !important;
}
.dn-pagination .current { background: var(--dn-text); color: #fff !important; }

/* Сетка услуг в архивах — фон карточек на молочном фоне */
.dn-kategorija .dn-service { background: #fff; }

/* --- Прайс ---------------------------------------------------------------- */
.dn-price-bar { position: sticky; top: var(--dn-header-h); z-index: 40; background: var(--dn-bg); border-bottom: 1px solid var(--dn-line); }
.admin-bar .dn-price-bar { top: calc(var(--dn-header-h) + 32px); }
.dn-price-bar__inner { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.dn-price-search {
	display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #DCCBC7; border-radius: 999px;
	padding: 0 18px; height: 48px; flex: 1 1 260px; max-width: 360px; color: var(--dn-muted-2);
}
.dn-price-search:focus-within { border-color: var(--dn-accent); }
.dn-price-search input { border: 0; outline: none; background: transparent; font: 500 15px var(--dn-sans); color: var(--dn-text); flex-grow: 1; min-width: 0; height: 100%; }
.dn-price-tabs { flex: 1 1 auto; }
.dn-price-tabs button { padding: 11px 16px; }
.dn-price-lang { display: flex; gap: 4px; background: var(--dn-rose); border-radius: 999px; padding: 4px; margin-left: auto; }
.dn-price-lang button { border: 0; background: transparent; border-radius: 999px; padding: 8px 12px; font: 700 12px var(--dn-sans); cursor: pointer; color: var(--dn-text); }
.dn-price-lang button[aria-pressed="true"] { background: #fff; box-shadow: 0 2px 6px rgba(74,32,48,0.10); }
.dn-pricelist { gap: 40px; }
.dn-price-group { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: calc(var(--dn-header-h) + 90px); }
.dn-price-group[hidden] { display: none; }
.dn-price-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.dn-price-empty { background: #fff; border-radius: 22px; padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.dn-price-empty[hidden] { display: none; }
.dn-price-empty strong { font-size: 18px; }

/* --- Контакты ------------------------------------------------------------- */
.dn-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; padding-bottom: 48px; }
.dn-quick__item {
	background: #fff; color: var(--dn-text) !important; text-decoration: none; border-radius: 22px; padding: 26px;
	display: flex; flex-direction: column; gap: 10px; min-height: 150px; transition: transform .15s;
}
.dn-quick__item svg { color: var(--dn-accent); }
.dn-quick__item:hover { transform: translateY(-2px); }
.dn-quick__item--accent { background: var(--dn-accent); color: #fff !important; }
.dn-quick__item--accent svg { color: #fff; }
.dn-quick__title { font-size: 19px; font-weight: 700; }
.dn-quick__text { font-size: 14px; color: var(--dn-muted); }
.dn-quick__item--accent .dn-quick__text { color: #FBE9EF; }
.dn-map-info { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; padding-bottom: 64px; }
.dn-map-info__map { flex: 999 1 560px; min-width: 0; min-height: 460px; border-radius: 28px; overflow: hidden; background: var(--dn-ph); }
.dn-map-info__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.dn-map-info__card { flex: 1 1 320px; background: #fff; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.dn-info { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.55; color: #3A2D33; }
.dn-info__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dn-accent-dark); font-weight: 700; }
.dn-info__value { font-size: 17px; font-weight: 600; color: var(--dn-text); }
.dn-info__row { display: flex; justify-content: space-between; gap: 12px; }
.dn-info__link { font-size: 14px; font-weight: 600; padding: 4px 0; }
.dn-find { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; }
.dn-find__copy { display: flex; flex-direction: column; gap: 20px; }
.dn-find__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dn-find__photos figure { margin: 0; height: 200px; border-radius: 18px; overflow: hidden; background: var(--dn-ph); }
.dn-find__photos .dn-img { width: 100%; height: 100%; object-fit: cover; }
.dn-find__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--dn-muted); }
.dn-contact-form { background: var(--dn-bg); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.dn-contact-form__note { font-size: 13px; color: var(--dn-muted-2); text-align: center; }

/* Kali Forms в стиле макета */
.dn-contact-form form { margin: 0; }
.dn-contact-form .row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.dn-contact-form .row > [class*="col-"] { padding: 0 8px; margin-bottom: 14px; box-sizing: border-box; width: 100%; flex: 0 0 100%; max-width: 100%; }
.dn-contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--dn-text); }
.dn-contact-form input[type="text"], .dn-contact-form input[type="tel"], .dn-contact-form input[type="email"],
.dn-contact-form select, .dn-contact-form textarea {
	width: 100%; height: 50px; border: 1px solid #DCCBC7; border-radius: 14px; padding: 0 16px;
	font: 500 15px var(--dn-sans); background: #fff; color: var(--dn-text); box-sizing: border-box;
}
.dn-contact-form textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.dn-contact-form input:focus, .dn-contact-form select:focus, .dn-contact-form textarea:focus { outline: 2px solid var(--dn-accent); outline-offset: 1px; border-color: var(--dn-accent); }
.dn-contact-form .checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--dn-muted); margin: 0 !important; }
.dn-contact-form .checkbox-label input { width: 20px; height: 20px; margin: 0; accent-color: var(--dn-accent); flex: none; }
.dn-contact-form .checkbox-label:first-child:not(:has(input)) { display: none !important; }
.dn-contact-form .row .row { margin: 0; }
.dn-contact-form .row .row > span { padding: 0; flex: 0 0 100%; max-width: 100%; }
.dn-contact-form [type="submit"], .dn-contact-form button.kaliforms-submit, .dn-contact-form .btn {
	width: 100%; height: 54px; border: 0; border-radius: 999px; background: var(--dn-accent); color: #fff;
	font: 700 16px var(--dn-sans); cursor: pointer;
}
.dn-contact-form [type="submit"]:hover { background: var(--dn-accent-dark); }
.dn-contact-form .kaliforms-required-mark, .dn-contact-form .required { color: var(--dn-accent); }

/* --- Галерея ---------------------------------------------------------------- */
.dn-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.dn-gallery__item { display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--dn-ph); }
.dn-gallery__item[hidden] { display: none; }
.dn-gallery__item .dn-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dn-gallery__item:hover .dn-img { transform: scale(1.04); }
.dn-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.dn-lightbox::backdrop { background: rgba(42,31,36,0.92); }
.dn-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.dn-lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(90vw, 1000px); }
.dn-lightbox img { max-width: 100%; max-height: 80vh; border-radius: 16px; object-fit: contain; }
.dn-lightbox__caption { color: #F5ECEA; font-size: 14px; text-align: center; }
.dn-lightbox button {
	position: absolute; width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
	background: rgba(42,31,36,.5); color: #fff; font-size: 22px; cursor: pointer;
}
.dn-lightbox__close { top: 20px; right: 20px; font-size: 28px !important; }
.dn-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.dn-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* --- Поиск и 404 ------------------------------------------------------------ */
.dn-searchform {
	display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #DCCBC7; border-radius: 999px;
	padding: 6px 6px 6px 18px; max-width: 560px; color: var(--dn-muted-2);
}
.dn-searchform:focus-within { border-color: var(--dn-accent); }
.dn-searchform input { border: 0; outline: none; background: transparent; font: 500 15px var(--dn-sans); color: var(--dn-text); flex: 1; min-width: 0; height: 40px; }
.dn-notfound__inner { padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.dn-notfound__code { font-family: var(--dn-serif); font-size: 120px; line-height: .9; color: var(--dn-accent); font-weight: 600; }
.dn-notfound__links { display: flex; flex-direction: column; gap: 12px; }
.dn-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.dn-results li { background: #fff; border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.dn-results__type { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dn-accent-dark); font-weight: 700; }
.dn-site .dn-results__title { font-family: var(--dn-serif); font-size: 26px; font-weight: 600; color: var(--dn-text); text-decoration: none; }
.dn-results p { margin: 0; color: var(--dn-muted); font-size: 15px; }
.dn-search .pagination, .dn-search .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }

/* Текстовая страница */
.dn-tekst__inner { padding-top: 28px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.dn-tekst__inner .dn-crumbs { margin-bottom: 4px; }
.dn-tekst .dn-prose--article { max-width: none; }

/* --- Планшет ------------------------------------------------------------- */
@media (max-width: 960px) {
	.dn-page-hero__photo { height: 400px; }
	.dn-article-layout { flex-direction: column-reverse; gap: 40px; }
	.dn-article-aside, .dn-with-aside__side { position: static; }
	.dn-article-aside { width: 100%; }
	.dn-article-aside .dn-toc { display: none; }
	.dn-article-body { max-width: none; }
	.dn-price-lang { margin-left: 0; }
}

/* --- Телефон (макет UslugaMobile.dc.html, 390px) --------------------------- */
@media (max-width: 768px) {
	:root { --dn-header-h: 71px; }
	.dn-h1 { font-size: 38px; }
	.dn-h1--article { font-size: 36px; }
	.dn-h3 { font-size: 28px; }
	.dn-lead { font-size: 15px; line-height: 1.55; }
	.dn-section--tight { padding-bottom: 36px; }
	.dn-section--white + .dn-section--tight, .dn-section--rose + .dn-section--tight { padding-top: 36px; }
	.dn-page-head { padding-top: 16px; padding-bottom: 20px; gap: 12px; }
	.dn-page-head .dn-crumbs { margin-bottom: 4px; }
	.dn-chips { gap: 8px; }
	.dn-chips li { padding: 7px 12px; font-size: 13px; }
	.dn-chips--filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px; scrollbar-width: none; }
	.dn-chips--filter::-webkit-scrollbar { display: none; }
	.dn-chips--filter > a, .dn-chips--filter > button { flex: none; font-size: 13px; padding: 11px 16px; }

	/* Услуга */
	.dn-page-hero { padding-top: 16px; padding-bottom: 28px; }
	.dn-page-hero__grid { padding-top: 16px; gap: 16px; }
	.dn-page-hero__copy { gap: 16px; }
	.dn-page-hero__actions { display: none; }
	.dn-page-hero__photo { height: 220px; border-radius: 20px; }
	.dn-problems { display: flex; flex-wrap: wrap; gap: 8px; }
	.dn-problem { min-height: 0; padding: 11px 14px; border-radius: 999px; background: var(--dn-rose); flex-direction: row; }
	.dn-problem--white { background: #fff; border-radius: 16px; flex-direction: column; padding: 16px; width: 100%; }
	.dn-problem__n, .dn-problem__more { display: none; }
	.dn-problem:not(.dn-problem--white) .dn-problem__d { display: none; }
	.dn-problem__t { font-size: 14px; font-weight: 600; }
	.dn-problem--white .dn-problem__t { font-size: 16px; font-weight: 700; }
	.dn-with-aside { gap: 32px; }
	.dn-with-aside__main { gap: 36px; }
	.dn-block { gap: 14px; }
	.dn-price-card { border-radius: 18px; padding: 4px 16px; }
	.dn-price-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 12px; padding: 14px 0; }
	.dn-price-row__name { grid-column: 1; grid-row: 1; font-size: 14px; }
	.dn-price-row__time { grid-column: 1; grid-row: 2; font-size: 12px; }
	.dn-price-row__price { grid-column: 2; grid-row: 1 / span 2; font-size: 20px; }
	.dn-price-row__book { display: none; }
	.dn-book-card { padding: 22px; }
	.dn-ba { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dn-ba figure { height: 160px; border-radius: 16px; }
	.dn-faq__item summary { font-size: 16px; padding: 16px 0; }
	.dn-faq__answer { font-size: 14px; }
	.dn-cta-band { padding: 28px 20px; border-radius: 24px; }
	.dn-cta-band__title { font-size: 32px; }

	/* Текст */
	.dn-prose { font-size: 16px; }
	.dn-prose h2 { font-size: 30px; margin-top: 32px; }
	.dn-prose h3 { font-size: 23px; }
	.dn-prose .wp-block-columns { gap: 12px; }
	.dn-prose--article { font-size: 17px; }
	.dn-prose--article > p:first-child { font-size: 19px; }
	.dn-prose--article h2 { font-size: 30px; }

	/* Статья */
	.dn-article-head { padding-top: 16px; padding-bottom: 24px; gap: 14px; }
	.dn-article-photo { height: 240px; border-radius: 20px; }
	.dn-article-layout { padding-top: 32px; padding-bottom: 48px; }
	.dn-inline-cta { padding: 22px 20px; border-radius: 20px; }
	.dn-inline-cta__title { font-size: 24px; }
	.dn-article-faq h2 { font-size: 30px; }
	.dn-card-article__photo { height: 200px; }
	.dn-card-article__title { font-size: 23px; }

	/* Прайс */
	.dn-price-bar__inner { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
	.dn-price-search { flex: 1 1 0; min-width: 0; max-width: none; height: 44px; }
	.dn-price-tabs { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px; scrollbar-width: none; }
	.dn-price-tabs::-webkit-scrollbar { display: none; }
	.dn-price-tabs button { flex: none; padding: 10px 14px; font-size: 13px; }
	.dn-price-lang { order: 2; flex: none; }
	.dn-price-lang button { padding: 8px 9px; }
	.dn-pricelist { gap: 28px; }

	/* Контакты */
	.dn-quick { gap: 10px; padding-bottom: 28px; }
	.dn-quick__item { min-height: 0; padding: 20px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
	.dn-quick__item svg { grid-row: span 2; }
	.dn-quick__title { font-size: 17px; }
	.dn-quick__text { flex-basis: 100%; padding-left: 42px; font-size: 13px; }
	.dn-map-info { padding-bottom: 36px; gap: 16px; }
	.dn-map-info__map, .dn-map-info__map iframe { min-height: 260px; border-radius: 20px; }
	.dn-map-info__card { padding: 22px; border-radius: 20px; }
	.dn-find { gap: 32px; }
	.dn-find__photos figure { height: 150px; }
	.dn-contact-form { padding: 22px; border-radius: 22px; }

	/* Галерея */
	.dn-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.dn-gallery__item { border-radius: 14px; }
	.dn-lightbox__prev, .dn-lightbox__next { top: auto; bottom: 24px; transform: none; }
	.dn-lightbox__prev { left: calc(50% - 64px); }
	.dn-lightbox__next { right: calc(50% - 64px); }

	.dn-notfound__inner { padding-top: 36px; padding-bottom: 48px; }
	.dn-notfound__code { font-size: 84px; }
	.dn-tekst__inner { padding-top: 16px; padding-bottom: 48px; gap: 20px; }
}
.dn-card-article__meta--price { font-family: var(--dn-serif); font-size: 20px; font-weight: 600; color: var(--dn-text); }

/* Ссылка на политику приватности у призывов прислать CV. */
.dn-privacy-note { display: block; margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--dn-muted-2); }
.dn-site .dn-privacy-note a { color: inherit !important; text-decoration: underline; }
.dn-privacy-note--light { color: #FBE9EF; opacity: .85; }
