/*
Theme Name: Dwie Gęsi (Astra Child)
Theme URI: https://dwiegesi.pl
Description: Дочерняя тема Astra для одностраничного сайта ресторана Dwie Gęsi Street Food. Тёмный bold street-food стиль.
Author: Dwie Gęsi
Template: astra
Version: 1.0.0
Text Domain: dwiegesi
*/

/* ==========================================================================
   Шрифты (self-hosted — без обращений к Google, важно для GDPR в ЕС)
   ========================================================================== */

@font-face {
	font-family: 'Bebas Neue';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/bebas-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Bebas Neue';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/bebas-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/inter-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Токены и база
   ========================================================================== */

:root {
	--dg-bg: #0D0D0D;
	--dg-surface: #1A1A1A;
	--dg-surface-2: #242424;
	--dg-accent: #F5A200;
	--dg-accent-light: #FFD166;
	--dg-text: #FFFFFF;
	--dg-muted: rgba(255, 255, 255, 0.64);
	--dg-line: rgba(255, 255, 255, 0.12);

	--dg-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', Impact, sans-serif;
	--dg-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

	--dg-max: 1200px;
	--dg-gap: clamp(16px, 3vw, 32px);
	--dg-radius: 14px;
	--dg-nav-h: 68px;
}

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

.dg {
	background: var(--dg-bg);
	color: var(--dg-text);
	font-family: var(--dg-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.dg img {
	max-width: 100%;
	height: auto;
	display: block;
}

.dg a {
	color: var(--dg-accent);
	text-decoration: none;
	transition: color 0.18s ease;
}

.dg a:hover {
	color: var(--dg-accent-light);
}

.dg p {
	margin: 0 0 1em;
}

.dg__wrap {
	width: 100%;
	max-width: var(--dg-max);
	margin: 0 auto;
	padding: 0 clamp(16px, 5vw, 32px);
}

/* Прокрутка по якорям не должна прятать заголовок под липкой шапкой */
.dg [id] {
	scroll-margin-top: calc(var(--dg-nav-h) + 12px);
}

/* ==========================================================================
   Типографика
   ========================================================================== */

.dg h1,
.dg h2,
.dg h3,
.dg .dg-display {
	font-family: var(--dg-display);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0 0 0.35em;
}

.dg h1 {
	font-size: clamp(44px, 9vw, 104px);
}

.dg h2 {
	font-size: clamp(34px, 6vw, 60px);
}

.dg h3 {
	font-size: clamp(22px, 3vw, 30px);
}

.dg-eyebrow {
	display: inline-block;
	font-family: var(--dg-body);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dg-accent);
	margin-bottom: 14px;
}

.dg-lead {
	font-size: clamp(17px, 2vw, 20px);
	color: var(--dg-muted);
	max-width: 62ch;
}

.dg-section {
	padding: clamp(64px, 10vw, 120px) 0;
}

.dg-section--alt {
	background: var(--dg-surface);
}

.dg-section__head {
	margin-bottom: clamp(32px, 5vw, 56px);
}

/* ==========================================================================
   Кнопки
   ========================================================================== */

/* Селекторы намеренно с двумя классами: иначе общее правило `.dg a`
   оказывается специфичнее и красит текст кнопки в оранжевый на оранжевом. */
.dg .dg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 30px;
	border: 2px solid var(--dg-accent);
	background: var(--dg-accent);
	color: #0D0D0D;
	font-family: var(--dg-body);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.dg .dg-btn:hover {
	background: var(--dg-accent-light);
	border-color: var(--dg-accent-light);
	color: #0D0D0D;
	transform: translateY(-2px);
}

.dg .dg-btn--ghost {
	background: transparent;
	color: var(--dg-text);
}

.dg .dg-btn--ghost:hover {
	background: var(--dg-accent);
	color: #0D0D0D;
}

.dg .dg-btn--sm {
	padding: 10px 20px;
	font-size: 13px;
}

/* ==========================================================================
   Шапка
   ========================================================================== */

.dg-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--dg-nav-h);
	display: flex;
	align-items: center;
	background: rgba(13, 13, 13, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.dg-nav.is-stuck {
	border-bottom-color: var(--dg-line);
	background: rgba(13, 13, 13, 0.96);
}

.dg-nav__inner {
	width: 100%;
	max-width: var(--dg-max);
	margin: 0 auto;
	padding: 0 clamp(16px, 5vw, 32px);
	display: flex;
	align-items: center;
	gap: 20px;
}

.dg-nav__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.dg-nav__logo img {
	height: 46px;
	width: 46px;
	border-radius: 50%;
	object-fit: cover;
}

.dg-nav__name {
	font-family: var(--dg-display);
	font-size: 24px;
	line-height: 1;
	color: var(--dg-text);
	letter-spacing: 0.02em;
}

.dg-nav__links {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 28px);
	margin-left: auto;
}

.dg-nav__links a {
	color: var(--dg-text);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.dg-nav__links a:hover {
	color: var(--dg-accent);
}

.dg-nav__side {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: 8px;
}

.dg-lang {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.dg-lang a,
.dg-lang span {
	color: var(--dg-muted);
	padding: 4px 6px;
	border-radius: 6px;
	text-transform: uppercase;
}

.dg-lang a:hover {
	color: var(--dg-text);
	background: rgba(255, 255, 255, 0.08);
}

.dg-lang .is-active {
	color: #0D0D0D;
	background: var(--dg-accent);
}

.dg-burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
}

.dg-burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--dg-text);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.dg-burger.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.dg-burger.is-open span:nth-child(2) {
	opacity: 0;
}

.dg-burger.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.dg-hero {
	position: relative;
	min-height: min(88vh, 780px);
	display: flex;
	align-items: center;
	padding: clamp(48px, 8vw, 80px) 0;
	overflow: hidden;
}

.dg-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.dg-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.dg-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 13, 13, 0.72) 0%, rgba(13, 13, 13, 0.78) 45%, var(--dg-bg) 100%),
		radial-gradient(60% 60% at 30% 40%, rgba(13, 13, 13, 0.35) 0%, rgba(13, 13, 13, 0.85) 100%);
}

.dg-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(24px, 5vw, 56px);
}

.dg-hero__logo {
	width: clamp(150px, 20vw, 260px);
	border-radius: 50%;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.dg-hero h1 {
	margin-bottom: 18px;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.dg-hero h1 .dg-accent {
	color: var(--dg-accent);
	display: block;
}

.dg-hero__text {
	font-size: clamp(17px, 2vw, 20px);
	color: rgba(255, 255, 255, 0.82);
	max-width: 54ch;
	margin-bottom: 30px;
}

.dg-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ==========================================================================
   Полоса с рейтингом
   ========================================================================== */

.dg-strip {
	background: var(--dg-accent);
	color: #0D0D0D;
	padding: 20px 0;
}

.dg-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 26px;
	text-align: center;
	font-weight: 700;
	font-size: clamp(15px, 2vw, 19px);
}

.dg-strip a {
	color: #0D0D0D;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dg-strip a:hover {
	color: #0D0D0D;
	opacity: 0.75;
}

.dg-stars {
	letter-spacing: 2px;
}

/* ==========================================================================
   USP
   ========================================================================== */

.dg-usp {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: var(--dg-gap);
}

.dg-usp__item {
	background: var(--dg-surface);
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius);
	padding: clamp(24px, 3vw, 34px);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.dg-usp__item:hover {
	transform: translateY(-4px);
	border-color: rgba(245, 162, 0, 0.5);
}

.dg-usp__icon {
	font-size: 34px;
	line-height: 1;
	margin-bottom: 14px;
}

.dg-usp__item h3 {
	margin-bottom: 10px;
	color: var(--dg-accent);
}

.dg-usp__item p {
	margin: 0;
	color: var(--dg-muted);
	font-size: 16px;
}

/* ==========================================================================
   Меню — карточки хитов
   ========================================================================== */

.dg-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: var(--dg-gap);
	margin-bottom: clamp(48px, 7vw, 76px);
}

.dg-card {
	background: var(--dg-surface);
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.22s ease, border-color 0.22s ease;
}

.dg-card:hover {
	transform: translateY(-5px);
	border-color: rgba(245, 162, 0, 0.55);
}

.dg-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--dg-surface-2);
	cursor: zoom-in;
	display: block;
	width: 100%;
	border: 0;
	padding: 0;
	font: inherit;
	text-align: left;
}

.dg-card__media:focus-visible {
	outline: 2px solid var(--dg-accent);
	outline-offset: -2px;
}

.dg-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.dg-card:hover .dg-card__media img {
	transform: scale(1.05);
}

.dg-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--dg-accent);
	color: #0D0D0D;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
}

.dg-card__body {
	padding: clamp(20px, 2.4vw, 26px);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.dg-card__title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
}

.dg-card__title h3 {
	margin: 0;
	color: var(--dg-text);
}

.dg-price {
	font-family: var(--dg-display);
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1;
	color: var(--dg-accent);
	white-space: nowrap;
}

.dg-card__body p {
	color: var(--dg-muted);
	font-size: 15.5px;
	margin: 0 0 14px;
}

.dg-quote {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--dg-line);
	font-size: 14px;
	font-style: italic;
	color: rgba(255, 255, 255, 0.55);
}

.dg-allergens {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	letter-spacing: 0.04em;
}

/* ==========================================================================
   Меню — списки категорий
   ========================================================================== */

.dg-cat {
	margin-bottom: clamp(40px, 6vw, 64px);
}

.dg-cat__title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 22px;
}

.dg-cat__title h3 {
	margin: 0;
	color: var(--dg-accent);
	white-space: nowrap;
}

.dg-cat__title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--dg-line);
}

.dg-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 4px clamp(24px, 4vw, 48px);
}

.dg-row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.dg-row__name {
	font-weight: 700;
	font-size: 16.5px;
}

.dg-row__desc {
	display: block;
	font-weight: 400;
	font-size: 14.5px;
	color: var(--dg-muted);
	margin-top: 3px;
}

.dg-row__price {
	font-family: var(--dg-display);
	font-size: 22px;
	line-height: 1;
	color: var(--dg-accent);
	white-space: nowrap;
}

.dg-note {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.45);
	border-top: 1px solid var(--dg-line);
	padding-top: 20px;
	margin-top: 8px;
}

/* ==========================================================================
   Промо
   ========================================================================== */

.dg-promo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	background: linear-gradient(135deg, rgba(245, 162, 0, 0.14), rgba(245, 162, 0, 0.03));
	border: 1px solid rgba(245, 162, 0, 0.35);
	border-radius: var(--dg-radius);
	padding: clamp(28px, 4vw, 52px);
}

.dg-promo__big {
	font-family: var(--dg-display);
	font-size: clamp(64px, 12vw, 128px);
	line-height: 0.85;
	color: var(--dg-accent);
	margin-bottom: 10px;
}

.dg-promo ul {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	color: var(--dg-muted);
	font-size: 15.5px;
}

.dg-promo li {
	padding-left: 24px;
	position: relative;
	margin-bottom: 8px;
}

.dg-promo li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--dg-accent);
	font-weight: 800;
}

.dg-promo__img img {
	border-radius: var(--dg-radius);
	width: 100%;
}

/* ==========================================================================
   Галерея
   ========================================================================== */

.dg-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 12px;
}

.dg-gallery__item {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 10px;
	cursor: zoom-in;
	background: var(--dg-surface);
	border: 0;
	padding: 0;
}

.dg-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease, opacity 0.25s ease;
}

.dg-gallery__item:hover img {
	transform: scale(1.07);
	opacity: 0.85;
}

.dg-gallery__item--wide {
	grid-column: span 2;
	aspect-ratio: 2 / 1;
}

/* Лайтбокс */
.dg-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(5, 5, 5, 0.94);
	padding: 20px;
}

.dg-lightbox.is-open {
	display: flex;
}

.dg-lightbox img {
	max-width: 94vw;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 8px;
}

.dg-lightbox__close {
	position: absolute;
	top: 18px;
	right: 20px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid var(--dg-line);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.dg-lightbox__close:hover {
	background: var(--dg-accent);
	color: #0D0D0D;
}

.dg-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1px solid var(--dg-line);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dg-lightbox__nav:hover {
	background: var(--dg-accent);
	color: #0D0D0D;
}

/* .dg-lightbox__nav задаёт display:flex безусловно — без этого правила
   атрибут [hidden] перебивался бы им и стрелка оставалась видимой. */
.dg-lightbox__nav[hidden] {
	display: none;
}

.dg-lightbox__prev {
	left: 12px;
}

.dg-lightbox__next {
	right: 12px;
}

.dg-lightbox__counter {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	background: rgba(255, 255, 255, 0.08);
	padding: 6px 14px;
	border-radius: 999px;
}

@media (max-width: 560px) {
	.dg-lightbox__nav {
		width: 42px;
		height: 42px;
	}

	.dg-lightbox__prev {
		left: 6px;
	}

	.dg-lightbox__next {
		right: 6px;
	}
}

/* ==========================================================================
   Отзывы
   ========================================================================== */

.dg-reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
	gap: var(--dg-gap);
}

.dg-review {
	background: var(--dg-surface);
	border: 1px solid var(--dg-line);
	border-radius: var(--dg-radius);
	padding: clamp(22px, 3vw, 30px);
	display: flex;
	flex-direction: column;
}

.dg-review--featured {
	border-color: rgba(245, 162, 0, 0.5);
	background: linear-gradient(160deg, rgba(245, 162, 0, 0.1), var(--dg-surface) 60%);
}

.dg-review__stars {
	color: var(--dg-accent);
	letter-spacing: 2px;
	margin-bottom: 12px;
}

.dg-review__text {
	font-size: 15.5px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 18px;
}

.dg-review__author {
	margin-top: auto;
	font-size: 14px;
	font-weight: 700;
	color: var(--dg-text);
}

.dg-review__meta {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
	font-weight: 400;
}

/* ==========================================================================
   Контакты
   ========================================================================== */

.dg-contact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: clamp(28px, 4vw, 56px);
}

.dg-info__row {
	display: flex;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--dg-line);
}

.dg-info__row:last-of-type {
	border-bottom: 0;
}

.dg-info__icon {
	font-size: 22px;
	line-height: 1.3;
	flex-shrink: 0;
}

.dg-info__label {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dg-accent);
	margin-bottom: 4px;
}

.dg-info__value {
	font-size: 16.5px;
	color: var(--dg-text);
}

.dg-info__value a {
	color: var(--dg-text);
	border-bottom: 1px solid rgba(245, 162, 0, 0.5);
}

.dg-info__value a:hover {
	color: var(--dg-accent);
}

.dg-hours {
	font-size: 16.5px;
	color: var(--dg-text);
}

.dg-hours strong {
	color: var(--dg-accent);
}

.dg-map {
	position: relative;
	min-height: 340px;
	height: 100%;
	border-radius: var(--dg-radius);
	overflow: hidden;
	border: 1px solid var(--dg-line);
}

.dg-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.35) contrast(1.05);
}

/* Заглушка вместо карты: iframe подставляется по клику (см. main.js) */
.dg-map__consent {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: clamp(22px, 4vw, 36px);
	text-align: center;
	background: var(--dg-surface);
	background-image: radial-gradient(circle at 30% 25%, rgba(245, 162, 0, 0.09), transparent 55%);
}

.dg-map__consent-icon {
	font-size: 34px;
	line-height: 1;
}

.dg-map__consent-text {
	max-width: 44ch;
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.6);
}

.dg-map__consent-link {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.45);
	text-decoration: underline;
}

.dg-map__consent-link:hover {
	color: var(--dg-accent);
}

/* ==========================================================================
   Подвал
   ========================================================================== */

.dg-footer {
	background: #080808;
	border-top: 1px solid var(--dg-line);
	padding: clamp(40px, 6vw, 64px) 0 28px;
}

.dg-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
}

.dg-footer__brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.dg-footer__brand img {
	width: 62px;
	height: 62px;
	border-radius: 50%;
}

.dg-footer__social {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.dg-footer__bottom {
	border-top: 1px solid var(--dg-line);
	padding-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	justify-content: space-between;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.42);
}

/* ==========================================================================
   Адаптив
   ========================================================================== */

@media (max-width: 900px) {
	.dg-nav__links {
		position: fixed;
		top: var(--dg-nav-h);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: rgba(13, 13, 13, 0.98);
		backdrop-filter: blur(12px);
		border-bottom: 1px solid var(--dg-line);
		padding: 8px 0 16px;
		transform: translateY(-140%);
		transition: transform 0.28s ease;
		max-height: calc(100vh - var(--dg-nav-h));
		overflow-y: auto;
	}

	.dg-nav__links.is-open {
		transform: translateY(0);
	}

	.dg-nav__links a {
		padding: 15px clamp(16px, 5vw, 32px);
		font-size: 16px;
		border-bottom: 1px solid var(--dg-line);
	}

	.dg-nav__side {
		margin-left: auto;
	}

	.dg-nav__side .dg-btn {
		display: none;
	}

	.dg-burger {
		display: flex;
	}

	.dg-hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}

	.dg-hero__logo {
		order: -1;
		margin-bottom: 10px;
	}

	.dg-hero__text {
		margin-left: auto;
		margin-right: auto;
	}

	.dg-hero__cta {
		justify-content: center;
	}

	.dg-lead {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.dg {
		font-size: 16px;
	}

	.dg-nav__name {
		display: none;
	}

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

	.dg-gallery__item--wide {
		grid-column: span 2;
	}

	.dg-row {
		grid-template-columns: 1fr;
	}

	.dg-row__price {
		margin-top: 4px;
	}

	.dg-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dg *,
	.dg *::before,
	.dg *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* Печать: тёмный фон на бумаге не нужен */
@media print {
	.dg {
		background: #fff;
		color: #000;
	}

	.dg-nav,
	.dg-hero__bg,
	.dg-gallery,
	.dg-map,
	.dg-lightbox {
		display: none !important;
	}
}
