/* PAGE: / | PREFIX: dg-home | SCOPE: .dg-home */

.dg-home {
  --dg-home-ink: #252a2d;
  --dg-home-ink-soft: rgba(37, 42, 45, 0.68);
  --dg-home-muted: rgba(37, 42, 45, 0.68);
  --dg-home-canvas: #f4f4f1;
  --dg-home-band: #e5e7e4;
  --dg-home-surface: #fbfaf6;
  --dg-home-white: #ffffff;
  --dg-home-graphite: #202529;
  --dg-home-graphite-deep: #171b1e;
  --dg-home-on-dark: #fffdf9;
  --dg-home-muted-dark: rgba(255, 253, 249, 0.68);
  --dg-home-line: rgba(37, 42, 45, 0.13);
  --dg-home-line-strong: rgba(37, 42, 45, 0.2);
  --dg-home-line-dark: rgba(255, 253, 249, 0.2);
  --dg-home-accent: #670009;
  --dg-home-accent-hover: #7a0110;
  --dg-home-radius-xl: 24px;
  --dg-home-radius-lg: 20px;
  --dg-home-radius-md: 16px;
  color: var(--dg-home-ink);
  background: var(--dg-home-canvas);
  font-family: "Involve", Arial, sans-serif;
}

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

.dg-home img,
.dg-home svg {
  display: block;
  max-width: 100%;
}

.dg-home a {
  color: inherit;
  text-decoration: none;
}

.dg-home button {
  font: inherit;
}

.dg-home h1,
.dg-home h2,
.dg-home h3,
.dg-home p {
  min-width: 0;
}

.dg-home h1,
.dg-home h2,
.dg-home h3 {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.dg-home__shell {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.dg-home__section {
  padding: clamp(76px, 8vw, 120px) 0;
}

.dg-home__section-head {
  display: grid;
  width: 100%;
  max-width: 900px;
  gap: 16px;
  margin-bottom: clamp(36px, 4vw, 58px);
}

.dg-home__section-head--row {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.dg-home__section-head--row > div {
  display: grid;
  max-width: 900px;
  gap: 16px;
}

.dg-home__section-head h2,
.dg-home__founder-copy h2,
.dg-home__commercial-copy h2,
.dg-home__final-box h2 {
  margin: 0;
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 300;
  line-height: 0.98;
  text-wrap: balance;
}

.dg-home__section-head p,
.dg-home__commercial-copy > p,
.dg-home__final-box p {
  max-width: 68ch;
  margin: 0;
  color: var(--dg-home-ink-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.62;
}

.dg-home__section-head--dark h2,
.dg-home__section-head--dark p {
  color: var(--dg-home-on-dark);
}

.dg-home__section-head--dark p {
  color: var(--dg-home-muted-dark);
}

.dg-home__eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--dg-home-line);
  border-radius: 999px;
  color: var(--dg-home-ink);
  background: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dg-home__eyebrow--dark {
  border-color: var(--dg-home-line-dark);
  color: var(--dg-home-on-dark);
  background: rgba(14, 17, 19, 0.42);
  backdrop-filter: blur(14px);
}

.dg-home__button {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.dg-home__button:hover,
.dg-home__button:focus-visible {
  transform: translateY(-2px);
}

.dg-home__button--primary {
  background:
    linear-gradient(var(--dg-home-accent), var(--dg-home-accent)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)) border-box;
}

.dg-home__button--primary:hover,
.dg-home__button--primary:focus-visible {
  background:
    linear-gradient(var(--dg-home-accent-hover), var(--dg-home-accent-hover)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.08)) border-box;
}

.dg-home__button--ghost {
  border-color: var(--dg-home-line-dark);
  background: rgba(33, 38, 42, 0.58);
  backdrop-filter: blur(14px);
}

.dg-home__button--outline {
  border-color: var(--dg-home-line-strong);
  color: var(--dg-home-ink);
  background: transparent;
}

.dg-home__text-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.dg-home__text-link--light {
  color: var(--dg-home-on-dark);
}

.dg-home .dg-home__inline-link {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgba(103, 0, 9, 0.48);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.dg-home .dg-home__inline-link:hover,
.dg-home .dg-home__inline-link:focus-visible {
  color: var(--dg-home-accent);
  text-decoration-color: currentColor;
}

.dg-home__text-link span {
  transition: transform 160ms ease;
}

.dg-home__text-link:hover span,
.dg-home__text-link:focus-visible span {
  transform: translateX(3px);
}

.dg-home__button:focus-visible,
.dg-home__text-link:focus-visible,
.dg-home__control-step:focus-visible,
.dg-home__location-list button:focus-visible,
.dg-home__location-list a:focus-visible,
.dg-home summary:focus-visible,
.dg-home a:focus-visible {
  outline: 3px solid rgba(181, 130, 135, 0.86);
  outline-offset: 4px;
}

/* Hero */
.dg-home__hero {
  position: relative;
  display: grid;
  min-height: min(920px, 100svh);
  align-items: end;
  overflow: hidden;
  padding: clamp(154px, 16vh, 208px) 0 clamp(30px, 5vh, 52px);
  color: var(--dg-home-on-dark);
  background: #111518;
}

.dg-home__hero-media,
.dg-home__hero-shade {
  position: absolute;
  inset: 0;
}

.dg-home__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.025);
  transform-origin: 62% 48%;
  animation: dg-home-hero-arrival 2.8s cubic-bezier(0.2, 0.74, 0.24, 1) both;
}

@keyframes dg-home-hero-arrival {
  from {
    opacity: 0.72;
    transform: scale(1.09);
  }

  to {
    opacity: 1;
    transform: scale(1.025);
  }
}

.dg-home__hero-shade {
  background:
    linear-gradient(180deg, rgba(7, 9, 10, 0.08), rgba(7, 9, 10, 0.18) 40%, rgba(7, 9, 10, 0.8)),
    linear-gradient(90deg, rgba(7, 9, 10, 0.74), rgba(7, 9, 10, 0.38) 56%, rgba(7, 9, 10, 0.03));
}

.dg-home__object-label {
  position: absolute;
  z-index: 2;
  top: clamp(110px, 12vh, 148px);
  right: max(24px, calc((100vw - 1320px) / 2));
  margin: 0;
  padding: 9px 13px;
  border: 1px solid var(--dg-home-line-dark);
  border-radius: 999px;
  background: rgba(14, 17, 19, 0.54);
  color: rgba(255, 253, 249, 0.86);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.dg-home__hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(34px, 5vh, 58px);
}

.dg-home__hero-copy {
  display: grid;
  max-width: 1020px;
  gap: 22px;
}

.dg-home__open-village {
  display: flex;
  width: fit-content;
  min-height: 44px;
  max-width: 100%;
  gap: 12px;
  align-items: center;
  opacity: 0.9;
  color: var(--dg-home-on-dark);
}

.dg-home__open-village-mark {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: stretch;
  filter: drop-shadow(0 8px 20px rgba(7, 9, 10, 0.2));
}

.dg-home__open-village-open,
.dg-home__open-village-name {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  font-family: "Involve", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dg-home__open-village-open {
  min-width: 90px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #3524e8 0%, #a51ee8 48%, #fb32d1 100%);
}

.dg-home__open-village-name {
  min-width: 132px;
  margin-left: -8px;
  padding: 0 16px;
  border: 2px solid #c526e8;
  border-radius: 999px;
  color: #b91cdb;
  background: rgba(255, 255, 255, 0.96);
}

.dg-home__open-village-caption {
  display: grid;
  gap: 1px;
  color: rgba(255, 253, 249, 0.82);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.dg-home__open-village-caption strong {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.dg-home__hero h1 {
  max-width: 1010px;
  margin: 0;
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: clamp(48px, 5.8vw, 70px);
  font-weight: 300;
  line-height: 0.93;
  text-wrap: balance;
  color: var(--dg-home-on-dark);
}

.dg-home__hero-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 253, 249, 0.82);
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.5;
}

.dg-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.dg-home__alternate-routes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  color: rgba(255, 253, 249, 0.58);
  font-size: 14px;
  line-height: 1.45;
}

.dg-home__alternate-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 9px;
}

.dg-home__alternate-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 253, 249, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 249, 0.32);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.dg-home__alternate-links a + a::before {
  margin-right: 9px;
  color: rgba(255, 253, 249, 0.38);
  content: "·";
  text-decoration: none;
}

.dg-home__alternate-links a:hover,
.dg-home__alternate-links a:focus-visible {
  color: var(--dg-home-on-dark);
  text-decoration-color: currentColor;
}

.dg-home__hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--dg-home-line-dark);
  border-radius: var(--dg-home-radius-lg);
  background: rgba(20, 24, 27, 0.64);
  list-style: none;
  backdrop-filter: blur(16px);
}

.dg-home__hero-proof li {
  display: grid;
  min-height: 116px;
  align-content: center;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 22px 26px;
}

.dg-home__hero-proof li + li {
  border-left: 1px solid var(--dg-home-line-dark);
}

.dg-home__hero-proof span {
  grid-row: 1 / 3;
  color: rgba(255, 253, 249, 0.45);
  font-size: 12px;
  font-weight: 700;
}

.dg-home__hero-proof strong {
  font-size: 17px;
}

.dg-home__hero-proof small {
  color: var(--dg-home-muted-dark);
  font-size: 13px;
  line-height: 1.45;
}

/* Founder */
.dg-home__founder {
  background: var(--dg-home-canvas);
}

.dg-home__founder-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(46px, 7vw, 112px);
  align-items: center;
}

.dg-home__founder-photo {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  border-radius: var(--dg-home-radius-xl);
  background: var(--dg-home-band);
}

.dg-home__founder-photo img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  object-position: center 28%;
}

.dg-home__founder-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  border: 1px solid var(--dg-home-line-dark);
  border-radius: var(--dg-home-radius-md);
  color: var(--dg-home-on-dark);
  background: rgba(20, 24, 27, 0.68);
  backdrop-filter: blur(16px);
}

.dg-home__founder-caption strong {
  color: var(--dg-home-on-dark);
  font-size: 17px;
}

.dg-home__founder-caption span {
  color: var(--dg-home-muted-dark);
  font-size: 13px;
}

.dg-home__founder-copy {
  display: grid;
  gap: 22px;
}

.dg-home__founder-copy h2 {
  max-width: 830px;
}

.dg-home__founder-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--dg-home-ink-soft);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.58;
}

.dg-home__founder-principles {
  display: grid;
  margin-top: 6px;
  border-top: 1px solid var(--dg-home-line);
}

.dg-home__founder-principles article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--dg-home-line);
}

.dg-home__founder-principles span {
  color: var(--dg-home-accent);
  font-size: 12px;
  font-weight: 700;
}

.dg-home__founder-principles p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.dg-home__founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.dg-home__founder-video {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 92px);
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--dg-home-line);
  border-radius: var(--dg-home-radius-xl);
  color: var(--dg-home-text);
  background: #fffdf9;
}

.dg-home__founder-video-copy {
  display: grid;
  gap: 18px;
}

.dg-home__founder-video-copy h3 {
  margin: 0;
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 300;
  line-height: 1;
  text-wrap: balance;
  color: var(--dg-home-text);
}

.dg-home__founder-video-copy p {
  margin: 0;
  color: var(--dg-home-muted);
  line-height: 1.6;
}

.dg-home__founder-video-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dg-home__founder-video-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--dg-home-line);
  border-radius: var(--dg-home-radius-md);
  background: var(--dg-home-soft);
}

.dg-home__video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--dg-home-line-dark);
  border-radius: var(--dg-home-radius-lg);
  background: #0e1113;
}

.dg-home__video-frame--short {
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 0;
}

.dg-home__video-frame--short .dg-home__short-video-bg {
  position: absolute;
  inset: 0;
  filter: saturate(0.72) brightness(0.62);
  transform: scale(1.05);
}

.dg-home__video-frame--short .dg-home__short-video-person {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  width: 108%;
  height: auto;
  max-height: 84%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 28px rgba(4, 6, 7, 0.3));
  transform: translateX(-50%);
}

.dg-home__video-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.05), rgba(7, 9, 10, 0.52));
  content: "";
  pointer-events: none;
}

.dg-home__video-frame img,
.dg-home__video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.dg-home__video-frame iframe {
  position: relative;
  z-index: 3;
}

.dg-home__short-video-format {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(14, 17, 19, 0.62);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.dg-home__short-video-duration {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(14, 17, 19, 0.66);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.dg-home__short-video-copy {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px 14px 16px;
}

.dg-home__short-video-copy > span {
  color: var(--dg-home-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dg-home__short-video-copy h4 {
  min-height: 3.54em;
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.18;
}

.dg-home__short-video-copy p {
  margin: 0;
  color: var(--dg-home-muted);
  font-size: 12px;
  line-height: 1.5;
}

.dg-home__video-play {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  background: rgba(14, 17, 19, 0.76);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.dg-home__video-play span {
  font-size: 12px;
}

/* Directions */
.dg-home__directions {
  background: var(--dg-home-band);
}

.dg-home__direction-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.92fr 0.92fr;
  gap: 16px;
}

.dg-home__direction-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid var(--dg-home-line);
  border-radius: var(--dg-home-radius-lg);
  background: rgba(255, 255, 255, 0.66);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.dg-home__direction-card--primary {
  color: var(--dg-home-on-dark);
  background:
    radial-gradient(circle at 90% 10%, rgba(103, 0, 9, 0.44), transparent 22rem),
    var(--dg-home-graphite);
}

.dg-home__direction-card:hover,
.dg-home__direction-card:focus-visible {
  border-color: rgba(103, 0, 9, 0.38);
  transform: translateY(-4px);
}

.dg-home__direction-card > div {
  display: grid;
  gap: 14px;
}

.dg-home__direction-index,
.dg-home__direction-card small {
  color: var(--dg-home-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dg-home__direction-card--primary .dg-home__direction-index,
.dg-home__direction-card--primary small {
  color: rgba(255, 253, 249, 0.58);
}

.dg-home__direction-card h3 {
  margin: 0;
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: clamp(26px, 2vw, 30px);
  font-weight: 300;
  line-height: 1;
  text-wrap: balance;
}

.dg-home__direction-card p {
  margin: 0;
  color: var(--dg-home-ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.dg-home__direction-card--primary p {
  color: var(--dg-home-muted-dark);
}

.dg-home__direction-card--primary h3,
.dg-home__direction-card--primary > strong {
  color: var(--dg-home-on-dark);
}

.dg-home__direction-card > strong {
  font-size: 14px;
}

/* Interactive control */
.dg-home__control {
  color: var(--dg-home-on-dark);
  background: var(--dg-home-graphite);
}

.dg-home__control-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.dg-home__house {
  position: sticky;
  top: 110px;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--dg-home-line-dark);
  border-radius: var(--dg-home-radius-xl);
  background:
    radial-gradient(circle at 50% 40%, rgba(103, 0, 9, 0.22), transparent 18rem),
    linear-gradient(145deg, #292f33, #171b1e);
}

.dg-home__house::before,
.dg-home__house::after {
  position: absolute;
  background: rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

.dg-home__house::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.dg-home__house-svg {
  position: absolute;
  inset: 20px 28px 70px;
  width: calc(100% - 56px);
  height: calc(100% - 90px);
  overflow: visible;
}

.dg-home__house-outline {
  fill: rgba(255, 255, 255, 0.018);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2;
}

.dg-home__house-layer {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  opacity: 0.3;
  transition: opacity 340ms ease, stroke 340ms ease, stroke-width 340ms ease;
}

.dg-home__house-layer.is-active {
  stroke: #b65a63;
  stroke-width: 5;
  opacity: 1;
  filter: drop-shadow(0 0 9px rgba(182, 90, 99, 0.42));
}

.dg-home__house-node {
  fill: rgba(255, 255, 255, 0.14);
  opacity: 0.35;
  transition: fill 340ms ease, opacity 340ms ease, transform 340ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.dg-home__house[data-active-stage="engineering"] .dg-home__house-node--one,
.dg-home__house[data-active-stage="hidden"] .dg-home__house-node--two,
.dg-home__house[data-active-stage="finish"] .dg-home__house-node--three {
  fill: #d27a82;
  opacity: 1;
  transform: scale(1.45);
}

.dg-home__house-status {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 17px 19px;
  border: 1px solid var(--dg-home-line-dark);
  border-radius: var(--dg-home-radius-md);
  background: rgba(14, 17, 19, 0.72);
  backdrop-filter: blur(14px);
}

.dg-home__house-status span {
  color: rgba(255, 253, 249, 0.5);
  font-size: 12px;
  font-weight: 700;
}

.dg-home__house-status strong {
  font-size: 15px;
}

.dg-home__control-steps {
  display: grid;
  gap: 12px;
}

.dg-home__control-step {
  display: grid;
  width: 100%;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--dg-home-line-dark);
  border-radius: var(--dg-home-radius-md);
  color: var(--dg-home-on-dark);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.dg-home__control-step:hover,
.dg-home__control-step.is-active {
  border-color: rgba(210, 122, 130, 0.62);
  background: rgba(103, 0, 9, 0.2);
  transform: translateX(-5px);
}

.dg-home__control-step > span {
  color: rgba(255, 253, 249, 0.46);
  font-size: 12px;
  font-weight: 700;
}

.dg-home__control-step div {
  display: grid;
  gap: 7px;
}

.dg-home__control-step strong {
  font-size: 17px;
}

.dg-home__control-step p {
  margin: 0;
  color: var(--dg-home-muted-dark);
  font-size: 14px;
  line-height: 1.52;
}

.dg-home__control-steps > .dg-home__text-link {
  margin-top: 10px;
}

.dg-home__reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dg-home__reassurance-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 52px;
  padding: clamp(24px, 2.7vw, 36px);
  border: 1px solid var(--dg-home-line-dark);
  border-radius: var(--dg-home-radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.dg-home__reassurance-card > span {
  color: rgba(210, 122, 130, 0.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dg-home__reassurance-card > div {
  display: grid;
  gap: 12px;
}

.dg-home__reassurance-card h3 {
  margin: 0;
  color: var(--dg-home-on-dark);
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 300;
  line-height: 1.02;
  text-wrap: balance;
}

.dg-home__reassurance-card p {
  margin: 0;
  color: var(--dg-home-muted-dark);
  line-height: 1.52;
}

.dg-home__reassurance-card p {
  font-size: 14px;
}

@media (min-width: 769px) {
  .dg-home__reassurance-card h3 {
    min-height: 3.06em;
  }
}

/* Geography */
.dg-home__geography {
  background: var(--dg-home-canvas);
}

.dg-home__map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, 0.58fr);
  height: 680px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--dg-home-line);
  border-radius: var(--dg-home-radius-xl);
  background: var(--dg-home-surface);
}

.dg-home__map-stage {
  position: relative;
  min-width: 0;
  min-height: 680px;
  scroll-margin-top: 76px;
  background: #eceeeb;
}

.dg-home__map {
  position: relative;
  z-index: 1;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f4f1, #e3e6e2);
}

.dg-home__yandex-map {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  background: #edf0ed;
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.dg-home__map.is-yandex-ready .dg-home__yandex-map {
  opacity: 1;
  visibility: visible;
}

.dg-home__map.is-yandex-ready .dg-home__map-art,
.dg-home__map.is-yandex-ready .dg-home__map-markers {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dg-home__map-live-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body.dg-home-map-in-view .scroll-to-up-site {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.dg-home__map-zoom {
  position: absolute;
  z-index: 8;
  top: 88px;
  right: 18px;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(37, 42, 45, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(37, 42, 45, 0.12);
  backdrop-filter: blur(12px);
}

.dg-home__map-zoom[hidden] {
  display: none;
}

.dg-home__map-zoom button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  color: var(--dg-home-ink);
  background: transparent;
  font: 500 24px/1 "Involve", Arial, sans-serif;
  cursor: pointer;
}

.dg-home__map-zoom button + button {
  border-top: 1px solid var(--dg-home-line);
}

.dg-home__map-zoom button:hover,
.dg-home__map-zoom button:focus-visible {
  color: var(--dg-home-white);
  background: var(--dg-home-graphite);
}

.dg-home__map-view-switch {
  position: absolute;
  z-index: 8;
  top: 18px;
  left: 18px;
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(37, 42, 45, 0.1);
  backdrop-filter: blur(12px);
}

.dg-home__map-view-switch button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: var(--dg-home-ink-soft);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.dg-home__map-view-switch button:hover,
.dg-home__map-view-switch button:focus-visible,
.dg-home__map-view-switch button.is-active {
  color: var(--dg-home-white);
  background: var(--dg-home-graphite);
  box-shadow: 0 4px 12px rgba(37, 42, 45, 0.16);
}

.dg-home__map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(37, 42, 45, 0.045);
}

.dg-home__map-grid {
  opacity: 0.75;
}

.dg-home__map-art-view {
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.dg-home__map-art-view.is-active {
  opacity: 1;
  visibility: visible;
}

.dg-home__map-glow {
  fill: rgba(255, 255, 255, 0.88);
}

.dg-home__map-land {
  fill: #f8f8f5;
  stroke: rgba(37, 42, 45, 0.24);
  stroke-width: 2;
}

.dg-home__map-land--moscow {
  fill: #f5f5f2;
  stroke: rgba(103, 0, 9, 0.28);
  stroke-width: 3;
}

.dg-home__map-water {
  fill: #d5dcda;
  stroke: rgba(37, 42, 45, 0.12);
  stroke-width: 2;
}

.dg-home__map-region-line,
.dg-home__map-road,
.dg-home__map-river,
.dg-home__map-route,
.dg-home__map-mkad,
.dg-home__map-capital-ring {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dg-home__map-region-line {
  stroke: rgba(37, 42, 45, 0.13);
  stroke-dasharray: 7 10;
  stroke-width: 2;
}

.dg-home__map-road {
  stroke: rgba(37, 42, 45, 0.1);
  stroke-width: 5;
}

.dg-home__map-river {
  stroke: #bdcdca;
  stroke-width: 8;
}

.dg-home__map-route {
  stroke: rgba(103, 0, 9, 0.38);
  stroke-dasharray: 3 9;
  stroke-width: 3;
}

.dg-home__map-mkad,
.dg-home__map-capital-ring {
  stroke: rgba(103, 0, 9, 0.34);
  stroke-width: 5;
}

.dg-home__map-city-core {
  fill: rgba(103, 0, 9, 0.18);
  stroke: rgba(103, 0, 9, 0.5);
  stroke-width: 2;
}

.dg-home__map-label,
.dg-home__map-scale-label {
  fill: rgba(37, 42, 45, 0.42);
  font-family: "Involve", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.dg-home__map-label--strong {
  fill: rgba(37, 42, 45, 0.64);
  font-size: 14px;
  font-weight: 700;
}

.dg-home__map-label--water {
  fill: rgba(37, 42, 45, 0.33);
}

.dg-home__map-scale-label {
  fill: rgba(37, 42, 45, 0.3);
  font-size: 10px;
}

.dg-home__map-markers {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}

.dg-home__custom-marker {
  position: absolute;
  display: grid;
  min-width: 44px;
  min-height: 44px;
  justify-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: var(--dg-home-ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.dg-home__custom-marker-core {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 3px solid var(--dg-home-white);
  border-radius: 50% 50% 50% 13px;
  color: var(--dg-home-white);
  background: var(--dg-home-accent);
  box-shadow: 0 8px 20px rgba(37, 42, 45, 0.2);
  transform: rotate(-45deg);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.dg-home__custom-marker-core svg,
.dg-home__custom-marker-core > span {
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
}

.dg-home__custom-marker-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--dg-home-white);
  border-radius: 999px;
  color: var(--dg-home-white);
  background: var(--dg-home-graphite);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(45deg) translate(2px, -2px);
}

.dg-home__custom-marker-label {
  max-width: 150px;
  padding: 5px 8px;
  border: 1px solid rgba(37, 42, 45, 0.12);
  border-radius: 8px;
  color: var(--dg-home-ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 14px rgba(37, 42, 45, 0.08);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.15;
  opacity: 0;
  white-space: nowrap;
  transform: translateY(-3px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dg-home__custom-marker:hover .dg-home__custom-marker-core,
.dg-home__custom-marker:focus-visible .dg-home__custom-marker-core,
.dg-home__custom-marker.is-active .dg-home__custom-marker-core {
  background: #85030f;
  box-shadow: 0 11px 26px rgba(103, 0, 9, 0.3);
  transform: rotate(-45deg) scale(1.13);
}

.dg-home__custom-marker:hover .dg-home__custom-marker-label,
.dg-home__custom-marker:focus-visible .dg-home__custom-marker-label,
.dg-home__custom-marker.is-active .dg-home__custom-marker-label,
.dg-home__custom-marker--overview .dg-home__custom-marker-label {
  opacity: 1;
  transform: translateY(0);
}

.dg-home__custom-marker--place .dg-home__custom-marker-core {
  border-color: var(--dg-home-graphite);
  color: var(--dg-home-graphite);
  background: var(--dg-home-white);
  box-shadow: 0 7px 18px rgba(37, 42, 45, 0.15);
}

.dg-home__custom-marker--place:hover .dg-home__custom-marker-core,
.dg-home__custom-marker--place:focus-visible .dg-home__custom-marker-core,
.dg-home__custom-marker--place.is-active .dg-home__custom-marker-core {
  color: var(--dg-home-white);
  background: var(--dg-home-graphite);
}

.dg-home__custom-marker--overview .dg-home__custom-marker-core {
  width: 50px;
  height: 50px;
  border-width: 4px;
}

.dg-home__custom-marker--overview .dg-home__custom-marker-label {
  padding: 7px 10px;
  font-size: 10px;
}

.dg-home__custom-marker--overview.dg-home__custom-marker--compact .dg-home__custom-marker-core {
  width: 34px;
  height: 34px;
  border-width: 3px;
}

.dg-home__custom-marker--overview.dg-home__custom-marker--compact .dg-home__custom-marker-label {
  padding: 5px 8px;
  font-size: 9px;
  opacity: 0;
  transform: translateY(-3px);
}

.dg-home__custom-marker--overview.dg-home__custom-marker--compact:hover .dg-home__custom-marker-label,
.dg-home__custom-marker--overview.dg-home__custom-marker--compact:focus-visible .dg-home__custom-marker-label,
.dg-home__custom-marker--overview.dg-home__custom-marker--compact.is-active .dg-home__custom-marker-label {
  opacity: 1;
  transform: translateY(0);
}

.dg-home__ymap-marker {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: var(--dg-home-ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transform: translate(-50%, -100%);
}

.dg-home__ymap-marker-core {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid var(--dg-home-white);
  border-radius: 50% 50% 50% 13px;
  color: var(--dg-home-white);
  background: var(--dg-home-accent);
  box-shadow: 0 8px 22px rgba(37, 42, 45, 0.24);
  transform: rotate(-45deg);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.dg-home__ymap-marker-core svg,
.dg-home__ymap-marker-core > span {
  width: 17px;
  height: 17px;
  transform: rotate(45deg);
}

.dg-home__ymap-marker-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--dg-home-white);
  border-radius: 999px;
  color: var(--dg-home-white);
  background: var(--dg-home-graphite);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(45deg) translate(2px, -2px);
}

.dg-home__ymap-marker-label {
  max-width: 160px;
  padding: 6px 9px;
  border: 1px solid rgba(37, 42, 45, 0.12);
  border-radius: 8px;
  color: var(--dg-home-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 16px rgba(37, 42, 45, 0.12);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.15;
  opacity: 0;
  white-space: nowrap;
  transform: translateY(-3px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dg-home__ymap-marker:hover .dg-home__ymap-marker-core,
.dg-home__ymap-marker:focus-visible .dg-home__ymap-marker-core,
.dg-home__ymap-marker.is-active .dg-home__ymap-marker-core {
  background: #85030f;
  box-shadow: 0 12px 28px rgba(103, 0, 9, 0.3);
  transform: rotate(-45deg) scale(1.13);
}

.dg-home__ymap-marker:hover .dg-home__ymap-marker-label,
.dg-home__ymap-marker:focus-visible .dg-home__ymap-marker-label,
.dg-home__ymap-marker.is-active .dg-home__ymap-marker-label,
.dg-home__ymap-marker--overview .dg-home__ymap-marker-label {
  opacity: 1;
  transform: translateY(0);
}

.dg-home__ymap-marker--place .dg-home__ymap-marker-core {
  border-color: var(--dg-home-graphite);
  color: var(--dg-home-graphite);
  background: var(--dg-home-white);
}

.dg-home__ymap-marker--place:hover .dg-home__ymap-marker-core,
.dg-home__ymap-marker--place:focus-visible .dg-home__ymap-marker-core,
.dg-home__ymap-marker--place.is-active .dg-home__ymap-marker-core {
  color: var(--dg-home-white);
  background: var(--dg-home-graphite);
}

.dg-home__ymap-marker--overview .dg-home__ymap-marker-core {
  width: 48px;
  height: 48px;
  border-width: 4px;
}

.dg-home__ymap-marker--overview .dg-home__ymap-marker-label {
  padding: 7px 10px;
  font-size: 10px;
}

.dg-home__ymap-cluster {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 0;
  border: 4px solid var(--dg-home-white);
  border-radius: 50%;
  color: var(--dg-home-white);
  background: var(--dg-home-accent);
  box-shadow: 0 10px 28px rgba(37, 42, 45, 0.24);
  font: 700 13px/1 "Involve", Arial, sans-serif;
  cursor: pointer;
  transform: translate(var(--dg-home-cluster-shift-x, 0), var(--dg-home-cluster-shift-y, 0));
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.dg-home__ymap-cluster::after {
  position: absolute;
  z-index: -1;
  inset: -8px;
  border: 1px solid rgba(103, 0, 9, 0.2);
  border-radius: 50%;
  content: "";
}

.dg-home__ymap-cluster:hover,
.dg-home__ymap-cluster:focus-visible {
  background: #85030f;
  box-shadow: 0 14px 34px rgba(103, 0, 9, 0.3);
  transform: translate(var(--dg-home-cluster-shift-x, 0), var(--dg-home-cluster-shift-y, 0)) scale(1.08);
}

.dg-home__map-popover {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  width: min(380px, calc(100% - 32px));
  max-height: 430px;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  color: var(--dg-home-ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(37, 42, 45, 0.2);
  transform: translate(20px, -50%);
  backdrop-filter: blur(14px);
}

.dg-home__map-popover[hidden] {
  display: none;
}

.dg-home__map-popover.is-left {
  transform: translate(calc(-100% - 20px), -50%);
}

.dg-home__map-popover.is-yandex-anchor {
  top: 0 !important;
  right: auto;
  bottom: auto;
  left: 0 !important;
  transform: translate3d(
    var(--dg-home-popover-left, 16px),
    var(--dg-home-popover-top, 16px),
    0
  );
  will-change: transform;
}

.dg-home__map-stage.is-map-moving .dg-home__map-popover.is-yandex-anchor {
  pointer-events: none;
}

.dg-home__map-popover-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dg-home-line);
}

.dg-home__map-popover-head > div {
  display: grid;
  gap: 5px;
}

.dg-home__map-popover-head strong {
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.dg-home__map-popover-head span,
.dg-home__map-popover-status {
  color: var(--dg-home-ink-soft);
  font-size: 10px;
  line-height: 1.35;
}

.dg-home__map-popover-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--dg-home-line);
  border-radius: 9px;
  color: var(--dg-home-ink);
  background: var(--dg-home-white);
  font-size: 18px;
  cursor: pointer;
}

.dg-home__map-popover-previews {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.dg-home__map-popover-preview {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 94px;
  overflow: hidden;
  border: 1px solid var(--dg-home-line);
  border-radius: 12px;
  color: var(--dg-home-ink);
  background: var(--dg-home-white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dg-home__map-popover-preview:hover,
.dg-home__map-popover-preview:focus-visible {
  border-color: rgba(103, 0, 9, 0.36);
  box-shadow: 0 10px 24px rgba(37, 42, 45, 0.1);
  transform: translateY(-2px);
}

.dg-home__map-popover-preview.is-text-only {
  grid-template-columns: 1fr;
}

.dg-home__map-popover-preview-media {
  display: block;
  min-height: 94px;
  overflow: hidden;
  background: var(--dg-home-surface);
}

.dg-home__map-popover-preview-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.dg-home__map-popover-preview:hover .dg-home__map-popover-preview-media img,
.dg-home__map-popover-preview:focus-visible .dg-home__map-popover-preview-media img {
  transform: scale(1.04);
}

.dg-home__map-popover-preview-copy {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 10px 12px;
}

.dg-home__map-popover-preview-copy small {
  overflow: hidden;
  color: var(--dg-home-ink-soft);
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dg-home__map-popover-preview-copy strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.dg-home__map-popover-preview-copy > span {
  color: var(--dg-home-accent);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.dg-home__map-popover-previews.is-single .dg-home__map-popover-preview {
  grid-template-columns: 1fr;
}

.dg-home__map-popover-previews.is-single .dg-home__map-popover-preview-media {
  height: 148px;
}

.dg-home__map-popover-action {
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--dg-home-white);
  background: var(--dg-home-graphite);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.dg-home__map-summary {
  position: absolute;
  z-index: 7;
  top: 18px;
  right: 18px;
  display: grid;
  justify-items: end;
  gap: 3px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(37, 42, 45, 0.12);
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.dg-home__map-summary span:first-child {
  color: var(--dg-home-ink);
  font-size: 13px;
}

.dg-home__map-summary strong {
  color: var(--dg-home-accent);
  font-size: 18px;
}

.dg-home__map-summary i {
  font-style: normal;
}

.dg-home__map-summary span:last-child {
  color: var(--dg-home-ink-soft);
  font-size: 10px;
}

.dg-home__map-note {
  position: absolute;
  z-index: 7;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-width: 610px;
  margin: 0;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--dg-home-ink-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 7px 20px rgba(37, 42, 45, 0.1);
  font-size: 10px;
  line-height: 1.4;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.dg-home__map-legend {
  position: absolute;
  z-index: 7;
  bottom: 68px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dg-home__map-stage.is-popover-open .dg-home__map-note,
.dg-home__map-stage.is-popover-open .dg-home__map-legend {
  opacity: 0;
  visibility: hidden;
}

.dg-home__map-stage.is-yandex-ready .dg-home__map-note {
  opacity: 0;
  visibility: hidden;
}

.dg-home__map-stage.is-yandex-ready .dg-home__map-legend {
  display: none;
}

.dg-home__map-legend > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 9px;
  color: var(--dg-home-ink-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 14px rgba(37, 42, 45, 0.08);
  font-size: 9px;
  backdrop-filter: blur(10px);
}

.dg-home__legend-marker {
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--dg-home-white);
  border-radius: 50% 50% 50% 4px;
  background: var(--dg-home-accent);
  box-shadow: 0 0 0 1px rgba(103, 0, 9, 0.2);
  transform: rotate(-45deg);
}

.dg-home__legend-marker--place {
  border-color: var(--dg-home-graphite);
  background: var(--dg-home-white);
  box-shadow: none;
}

.dg-home__location-panel {
  display: grid;
  height: 100%;
  min-width: 0;
  max-height: 680px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: #f7f7f5;
}

.dg-home__location-tools {
  position: relative;
  z-index: 2;
  display: grid;
  padding: 16px 20px;
  border-bottom: 1px solid var(--dg-home-line);
  background: rgba(255, 255, 255, 0.92);
}

.dg-home__location-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: #f0f1ef;
}

.dg-home__location-filters button {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  color: var(--dg-home-ink-soft);
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.dg-home__location-filters button:hover,
.dg-home__location-filters button:focus-visible,
.dg-home__location-filters button.is-active {
  color: var(--dg-home-ink);
  background: var(--dg-home-white);
  box-shadow: 0 4px 12px rgba(37, 42, 45, 0.08);
}

.dg-home__location-list {
  min-height: 0;
  overflow: auto;
  padding: 8px 10px 16px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(103, 0, 9, 0.28) transparent;
  scrollbar-width: thin;
}

.dg-home__location-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: stretch;
  border-bottom: 1px solid var(--dg-home-line);
  border-radius: 10px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.dg-home__location-list article[hidden] {
  display: none;
}

.dg-home__location-list article:hover,
.dg-home__location-list article:focus-within,
.dg-home__location-list article.is-active {
  background: var(--dg-home-white);
  transform: translateX(-3px);
}

.dg-home__location-list button {
  display: grid;
  min-width: 0;
  min-height: 82px;
  align-content: center;
  gap: 5px;
  padding: 14px 8px 14px 12px;
  border: 0;
  color: var(--dg-home-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.dg-home__location-list button span,
.dg-home__location-list button small,
.dg-home__case-feature span {
  color: var(--dg-home-ink-soft);
  font-size: 10px;
  line-height: 1.35;
}

.dg-home__location-list button small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: rgba(103, 0, 9, 0.72);
}

.dg-home__location-list button small svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.dg-home__location-list article[data-project-kind="place"] button small {
  color: var(--dg-home-ink-soft);
}

.dg-home__location-list button strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
}

.dg-home__location-list article > a {
  display: grid;
  place-items: center;
  min-width: 44px;
  color: var(--dg-home-accent);
  font-size: 17px;
}

.dg-home__location-status {
  display: grid;
  min-width: 44px;
  place-items: center;
  color: var(--dg-home-ink-soft);
  font-size: 17px;
  font-style: normal;
}

.dg-home__location-list article > a:hover,
.dg-home__location-list article > a:focus-visible {
  color: var(--dg-home-white);
  background: var(--dg-home-accent);
}

.dg-home__location-empty {
  margin: 0;
  padding: 22px;
  color: var(--dg-home-ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.dg-home__case-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.dg-home__case-feature {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--dg-home-radius-lg);
  color: var(--dg-home-on-dark);
  background: var(--dg-home-graphite);
}

.dg-home__case-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.06) 30%, rgba(7, 9, 10, 0.9));
  content: "";
}

.dg-home__case-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.dg-home__case-feature:hover img,
.dg-home__case-feature:focus-visible img {
  transform: scale(1.035);
}

.dg-home__case-feature > div {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  gap: 10px;
}

.dg-home__case-feature span {
  color: rgba(255, 253, 249, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dg-home__case-feature h3 {
  margin: 0;
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: clamp(24px, 2vw, 29px);
  font-weight: 300;
  line-height: 1;
  color: var(--dg-home-on-dark);
}

.dg-home__case-feature strong {
  margin-top: 5px;
  color: var(--dg-home-on-dark);
  font-size: 13px;
}

/* Collaboration and related routes */
.dg-home__collaboration {
  overflow: hidden;
  color: var(--dg-home-on-dark);
  background: var(--dg-home-graphite-deep);
}

.dg-home__collaboration-head {
  display: grid;
  max-width: none;
  gap: 16px;
  margin-bottom: clamp(42px, 5vw, 64px);
}

.dg-home__collaboration-head h2 {
  max-width: 920px;
  margin: 0;
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 300;
  line-height: 0.98;
  text-wrap: balance;
}

.dg-home__collaboration-head p {
  max-width: 65ch;
  margin: 0;
  color: var(--dg-home-muted-dark);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.62;
}

/* Commercial summary */
.dg-home__commercial {
  background: var(--dg-home-band);
}

.dg-home__commercial-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(38px, 6vw, 88px);
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid var(--dg-home-line);
  border-radius: var(--dg-home-radius-xl);
  background: var(--dg-home-surface);
}

.dg-home__commercial-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.dg-home__commercial-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dg-home__commercial-prices article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--dg-home-line);
  border-radius: var(--dg-home-radius-lg);
  background: var(--dg-home-white);
}

.dg-home__commercial-prices article > span {
  min-height: 42px;
  color: var(--dg-home-ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.dg-home__commercial-prices strong {
  display: grid;
  gap: 5px;
  margin: 25px 0 18px;
  color: var(--dg-home-accent);
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 300;
  line-height: 0.94;
}

.dg-home__price-value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  white-space: nowrap;
}

.dg-home__commercial-prices .dg-home__price-value .dg-home__price-from {
  color: inherit;
  font: inherit;
}

.dg-home__price-number {
  white-space: nowrap;
}

.dg-home__commercial-prices small {
  font-family: "Involve", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.dg-home__commercial-prices p {
  margin: auto 0 0;
  color: var(--dg-home-ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.dg-home__commercial-action {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--dg-home-line);
}

.dg-home__commercial-action p {
  max-width: 62ch;
  margin: 0;
  color: var(--dg-home-ink-soft);
  line-height: 1.55;
}

/* FAQ and final */
.dg-home__faq {
  background: var(--dg-home-canvas);
}

.dg-home__faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
}

.dg-home__section-head--sticky {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.dg-home__faq-list {
  display: grid;
  gap: 12px;
}

.dg-home__faq-layout .dg-home__section-head h2 {
  font-size: clamp(34px, 3.5vw, 44px);
}

.dg-home__faq-list details {
  position: relative;
  overflow: clip;
  border: 1px solid var(--dg-home-line);
  border-radius: var(--dg-home-radius-md);
  background: rgba(255, 255, 255, 0.58);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.dg-home__faq-list details::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--dg-home-accent);
  content: "";
  opacity: 0;
  transform: scaleY(0.35);
  transform-origin: center;
  transition: opacity 220ms ease, transform 260ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .dg-home__faq-list details:hover {
    border-color: rgba(103, 0, 9, 0.3);
    background: var(--dg-home-white);
    box-shadow: 0 16px 42px rgba(37, 42, 45, 0.07);
    transform: translateX(6px);
  }

  .dg-home__faq-list details:hover summary {
    color: var(--dg-home-accent);
    padding-left: 27px;
  }

  .dg-home__faq-list details:hover summary::after {
    border-color: var(--dg-home-accent);
    background: rgba(103, 0, 9, 0.08);
    transform: translateY(-50%) rotate(90deg);
  }
}

.dg-home__faq-list summary {
  position: relative;
  min-height: 78px;
  padding: 26px 72px 26px 22px;
  color: var(--dg-home-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color 200ms ease, padding-left 220ms ease;
}

.dg-home__faq-list summary::-webkit-details-marker {
  display: none;
}

.dg-home__faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--dg-home-line-strong);
  border-radius: 50%;
  color: var(--dg-home-accent);
  content: "+";
  font-size: 20px;
  font-weight: 400;
  transform: translateY(-50%);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 260ms ease;
}

.dg-home__faq-list details[open] {
  border-color: rgba(103, 0, 9, 0.4);
  background: var(--dg-home-white);
  box-shadow: 0 22px 56px rgba(37, 42, 45, 0.09);
}

.dg-home__faq-list details[open]::before {
  opacity: 1;
  transform: scaleY(1);
}

.dg-home__faq-list details[open] summary {
  color: var(--dg-home-accent);
  padding-left: 27px;
}

.dg-home__faq-list details[open] summary::after {
  content: "−";
  color: var(--dg-home-on-dark);
  background: var(--dg-home-accent);
  border-color: var(--dg-home-accent);
  transform: translateY(-50%) rotate(180deg);
}

.dg-home__faq-answer {
  overflow: hidden;
}

.dg-home__faq-list details p {
  max-width: 72ch;
  margin: 0;
  padding: 16px 72px 28px 27px;
  border-top: 1px solid rgba(103, 0, 9, 0.14);
  color: var(--dg-home-ink-soft);
  line-height: 1.62;
}

.dg-home__final {
  padding-top: 0;
  background: var(--dg-home-canvas);
}

.dg-home__final-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  padding: clamp(36px, 6vw, 84px);
  border-radius: var(--dg-home-radius-xl);
  color: var(--dg-home-on-dark);
  background:
    radial-gradient(circle at 88% 16%, rgba(103, 0, 9, 0.56), transparent 27rem),
    var(--dg-home-graphite-deep);
}

.dg-home__final-box > div {
  display: grid;
  max-width: 840px;
  gap: 18px;
}

.dg-home__final-box p {
  color: var(--dg-home-muted-dark);
}

/* Progressive reveal */
.dg-home.js-enabled .dg-home__reveal {
  transform: translateY(12px);
  transition: transform 560ms ease;
}

.dg-home.js-enabled .dg-home__reveal.is-visible {
  transform: none;
}

@media (max-width: 1300px) {
  .dg-home__direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dg-home__direction-card--primary {
    grid-column: 1 / -1;
    min-height: 330px;
  }

  .dg-home__control-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  }

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

@media (max-width: 1180px) {
  .dg-home__reassurance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dg-home__reassurance-card {
    min-height: 250px;
  }

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

  .dg-home__case-feature {
    min-height: 470px;
  }

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

  .dg-home__section-head--sticky {
    position: relative;
    top: auto;
  }
}

@media (max-width: 1024px) {
  .dg-home__hero {
    min-height: 880px;
  }

  .dg-home__founder-grid,
  .dg-home__founder-video,
  .dg-home__faq-layout {
    grid-template-columns: 1fr;
  }

  .dg-home__founder-photo {
    min-height: 620px;
  }

  .dg-home__founder-photo img {
    min-height: 620px;
    object-position: center 23%;
  }

  .dg-home__founder-video-copy {
    max-width: 720px;
  }

  .dg-home__founder-video-list {
    max-width: 720px;
  }

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

  .dg-home__house,
  .dg-home__section-head--sticky {
    position: relative;
    top: auto;
  }

  .dg-home__house {
    min-height: 570px;
  }

  .dg-home__map-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .dg-home__map {
    min-height: 560px;
  }

  .dg-home__map-stage {
    min-height: 560px;
  }

  .dg-home__location-panel {
    height: 480px;
  }

  .dg-home__case-feature {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .dg-home__shell {
    width: calc(100% - 32px);
  }

  .dg-home__section {
    padding: clamp(52px, 12vw, 76px) 0;
  }

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

  .dg-home__section-head--row > .dg-home__text-link {
    margin-top: -8px;
  }

  .dg-home__section-head h2,
  .dg-home__founder-copy h2,
  .dg-home__commercial-copy h2,
  .dg-home__final-box h2,
  .dg-home__collaboration-head h2 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1;
    text-wrap: pretty;
  }

  .dg-home__button {
    min-height: 56px;
    padding: 0 25px;
  }

  .dg-home__hero {
    min-height: 760px;
    padding: 116px 0 28px;
  }

  .dg-home__hero-media img {
    object-position: 58% center;
    transform-origin: 68% 50%;
  }

  .dg-home__hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 9, 10, 0.18), rgba(7, 9, 10, 0.38) 42%, rgba(7, 9, 10, 0.86)),
      linear-gradient(90deg, rgba(7, 9, 10, 0.66), rgba(7, 9, 10, 0.12));
  }

  .dg-home__object-label {
    display: none;
  }

  .dg-home__hero-shell {
    gap: 28px;
  }

  .dg-home__hero-copy {
    gap: 17px;
  }

  .dg-home__hero h1 {
    font-size: 26px;
    line-height: 0.96;
    text-wrap: pretty;
  }

  .dg-home__hero-lead {
    font-size: 17px;
    line-height: 1.5;
  }

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

  .dg-home__alternate-routes {
    align-items: flex-start;
    gap: 2px;
    font-size: 13px;
  }

  .dg-home__alternate-routes > span {
    width: 100%;
  }

  .dg-home__alternate-links {
    margin-top: -2px;
  }

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

  .dg-home__hero-proof li {
    min-height: 82px;
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 15px 18px;
  }

  .dg-home__hero-proof li + li {
    border-top: 1px solid var(--dg-home-line-dark);
    border-left: 0;
  }

  .dg-home__founder-grid {
    gap: 34px;
  }

  .dg-home__founder-photo,
  .dg-home__founder-photo img {
    min-height: 520px;
  }

  .dg-home__founder-photo img {
    object-position: center 20%;
  }

  .dg-home__founder-video {
    margin-top: 46px;
    padding: 20px;
  }

  .dg-home__founder-video-copy h3 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .dg-home__direction-grid,
  .dg-home__commercial-prices,
  .dg-home__case-strip {
    grid-template-columns: 1fr;
  }

  .dg-home__direction-card--primary {
    grid-column: auto;
  }

  .dg-home__direction-card {
    min-height: 330px;
  }

  .dg-home__house {
    min-height: 480px;
  }

  .dg-home__house-svg {
    inset: 15px 12px 74px;
    width: calc(100% - 24px);
    height: calc(100% - 89px);
  }

  .dg-home__control-step:hover,
  .dg-home__control-step.is-active {
    transform: none;
  }

  .dg-home__map-layout {
    min-height: 0;
  }

  .dg-home__map {
    min-height: 490px;
  }

  .dg-home__map-stage {
    min-height: 490px;
  }

  .dg-home__map-view-switch {
    top: 12px;
    right: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dg-home__map-view-switch button {
    padding: 0 8px;
  }

  .dg-home__map-summary {
    top: 70px;
    right: 12px;
  }

  .dg-home__map-summary span:last-child {
    display: none;
  }

  .dg-home__map-legend {
    right: 12px;
    bottom: 67px;
    left: 12px;
    gap: 5px;
  }

  .dg-home__map-stage.is-yandex-ready .dg-home__map-legend {
    display: none;
  }

  .dg-home__map-zoom {
    top: 126px;
    right: 12px;
  }

  .dg-home__map-legend > span {
    min-height: 27px;
    padding: 0 8px;
    font-size: 8px;
  }

  .dg-home__map-popover,
  .dg-home__map-popover.is-left {
    top: auto !important;
    right: 12px;
    bottom: 12px;
    left: 12px !important;
    width: auto;
    max-height: 300px;
    transform: none;
  }

  .dg-home__map-stage.is-yandex-ready .dg-home__map-popover,
  .dg-home__map-stage.is-yandex-ready .dg-home__map-popover.is-left {
    top: 150px !important;
    bottom: auto;
    max-height: 270px;
  }

  .dg-home__map-stage.is-yandex-ready .dg-home__map-popover.is-yandex-anchor,
  .dg-home__map-stage.is-yandex-ready .dg-home__map-popover.is-yandex-anchor.is-left {
    top: 0 !important;
    right: auto;
    bottom: auto;
    left: 0 !important;
    width: min(380px, calc(100% - 24px));
    transform: translate3d(
      var(--dg-home-popover-left, 12px),
      var(--dg-home-popover-top, 12px),
      0
    );
  }

  .dg-home__map-popover-previews.is-single .dg-home__map-popover-preview-media {
    height: 104px;
  }

  .dg-home__map-popover-preview {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 82px;
  }

  .dg-home__map-popover-preview-media {
    min-height: 82px;
  }

  .dg-home__map-popover-preview-copy {
    gap: 4px;
    padding: 8px 10px;
  }

  .dg-home__custom-marker-core {
    width: 32px;
    height: 32px;
  }

  .dg-home__custom-marker--overview .dg-home__custom-marker-core {
    width: 46px;
    height: 46px;
  }

  .dg-home__ymap-marker-core {
    width: 34px;
    height: 34px;
  }

  .dg-home__ymap-marker--overview .dg-home__ymap-marker-core {
    width: 44px;
    height: 44px;
  }

  .dg-home__ymap-marker-label {
    max-width: 110px;
    font-size: 8px;
  }

  .dg-home__ymap-marker--summary .dg-home__ymap-marker-label {
    margin-top: 6px;
  }

  .dg-home__custom-marker-label {
    max-width: 110px;
    font-size: 8px;
  }

  .dg-home__map-label {
    font-size: 11px;
  }

  .dg-home__location-panel {
    height: 440px;
  }

  .dg-home__case-feature {
    min-height: 380px;
  }

  .dg-home__commercial-box {
    padding: 24px;
  }

  .dg-home__commercial-action,
  .dg-home__final-box {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dg-home__commercial-action .dg-home__button,
  .dg-home__final-box .dg-home__button {
    width: 100%;
  }

  .dg-home__final {
    padding-top: 0;
  }
}

@media (max-width: 360px) {
  .dg-home__alternate-links {
    display: grid;
    gap: 0;
  }

  .dg-home__alternate-links a + a::before {
    content: none;
  }
}

@media (max-width: 600px) {
  .dg-home__founder-video-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .dg-home__founder-video-card {
    flex: 0 0 min(63vw, 240px);
    scroll-snap-align: start;
  }
}

@media (max-width: 430px) {
  .dg-home__section {
    padding: 54px 0;
  }

  .dg-home__eyebrow {
    min-height: 32px;
    padding: 0 12px;
    font-size: 9px;
  }

  .dg-home__hero {
    min-height: 730px;
    padding-top: 104px;
  }

  .dg-home__hero h1 {
    font-size: clamp(28px, 8vw, 32px);
  }

  .dg-home__hero-lead {
    font-size: 16px;
  }

  .dg-home__hero-proof strong {
    font-size: 15px;
  }

  .dg-home__founder-photo,
  .dg-home__founder-photo img {
    min-height: 465px;
  }

  .dg-home__founder-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 17px;
  }

  .dg-home__founder-principles article {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
  }

  .dg-home__founder-video {
    padding: 16px;
    border-radius: var(--dg-home-radius-lg);
  }

  .dg-home__video-play {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: center;
  }

  .dg-home__direction-card {
    min-height: 300px;
    padding: 25px;
  }

  .dg-home__direction-card h3 {
    font-size: clamp(23px, 6.8vw, 28px);
  }

  .dg-home__case-feature h3 {
    font-size: clamp(19px, 5.5vw, 24px);
  }

  .dg-home__house {
    min-height: 390px;
  }

  .dg-home__house-status {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .dg-home__control-step {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }

  .dg-home__map {
    min-height: 430px;
  }

  .dg-home__map-stage {
    min-height: 430px;
  }

  .dg-home__location-list {
    padding: 6px 8px 12px;
  }

  .dg-home__location-tools {
    padding: 16px;
  }

  .dg-home__location-list button {
    min-height: 76px;
  }

  .dg-home__map-summary {
    top: 70px;
    right: 12px;
  }

  .dg-home__map-note {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .dg-home__case-feature {
    min-height: 330px;
  }

  .dg-home__commercial-box {
    width: calc(100% - 24px);
    padding: 20px;
  }

  .dg-home__commercial-prices article {
    min-height: 220px;
    padding: 23px;
  }

  .dg-home__final-box {
    width: calc(100% - 24px);
    padding: 28px 22px;
  }
}

@media (max-width: 350px) {
  .dg-home__section-head h2,
  .dg-home__founder-copy h2,
  .dg-home__commercial-copy h2,
  .dg-home__final-box h2,
  .dg-home__collaboration-head h2 {
    font-size: 30px;
  }

  .dg-home__hero h1 {
    font-size: 26px;
  }

  .dg-home__hero-lead {
    font-size: 15px;
  }

  .dg-home__founder-photo,
  .dg-home__founder-photo img {
    min-height: 420px;
  }

  .dg-home__map-summary span:last-child {
    display: none;
  }

  .dg-home__map-summary {
    padding: 9px 12px;
  }

  .dg-home__map-note {
    font-size: 9px;
  }

  .dg-home__location-panel {
    height: 420px;
  }
}

@media (min-width: 769px) and (max-height: 760px) {
  .dg-home__hero {
    min-height: 760px;
    padding-top: 130px;
  }

  .dg-home__hero-proof li {
    min-height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-home *,
  .dg-home *::before,
  .dg-home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .dg-home.js-enabled .dg-home__reveal {
    transform: none;
  }

  .dg-home__hero-media img {
    animation: none !important;
    transform: none !important;
  }

}

@media (max-width: 768px) {
  .dg-home__open-village {
    gap: 8px;
  }

  .dg-home__open-village-open,
  .dg-home__open-village-name {
    min-height: 30px;
    font-size: 18px;
  }

  .dg-home__open-village-open {
    min-width: 78px;
    padding-inline: 11px;
  }

  .dg-home__open-village-name {
    min-width: 112px;
    margin-left: -7px;
    padding-inline: 13px;
    border-width: 2px;
  }

  .dg-home__open-village-caption {
    font-size: 9px;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 350px) {
  .dg-home__open-village-open,
  .dg-home__open-village-name {
    min-height: 30px;
    font-size: 18px;
  }

  .dg-home__open-village-open {
    min-width: 78px;
    padding-inline: 11px;
  }

  .dg-home__open-village-name {
    min-width: 112px;
    padding-inline: 13px;
  }

  .dg-home__open-village-caption {
    font-size: 9px;
  }
}

/* Homepage strategy refresh: question route, evidence and collaboration models */
.dg-home__question-nav {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid var(--dg-home-line);
  background: rgba(255, 255, 255, 0.94);
}

.dg-home__question-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dg-home__question-track a {
  display: grid;
  min-height: 102px;
  align-content: center;
  gap: 9px;
  padding: 18px 20px;
  border-right: 1px solid var(--dg-home-line);
  color: var(--dg-home-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  transition: color 180ms ease, background-color 180ms ease;
}

.dg-home__question-track a:first-child {
  border-left: 1px solid var(--dg-home-line);
}

.dg-home__question-track a:hover,
.dg-home__question-track a:focus-visible {
  color: var(--dg-home-accent);
  background: var(--dg-home-surface);
}

.dg-home__question-track span {
  color: var(--dg-home-accent);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.dg-home__trust {
  background: var(--dg-home-surface);
}

.dg-home__trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dg-home__trust-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--dg-home-line);
  border-radius: var(--dg-home-radius-lg);
  color: var(--dg-home-ink);
  background: var(--dg-home-white);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dg-home__trust-card:hover,
.dg-home__trust-card:focus-visible {
  border-color: rgba(103, 0, 9, 0.35);
  outline: none;
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(30, 35, 38, 0.07);
}

.dg-home__trust-card > span,
.dg-home__collaboration-card > span {
  color: var(--dg-home-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dg-home__trust-card small,
.dg-home__collaboration-card small {
  margin-top: 34px;
  color: var(--dg-home-ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dg-home__trust-card h3,
.dg-home__collaboration-card h3 {
  margin: 12px 0 14px;
  font-family: "Haval", "Involve", Arial, sans-serif;
  font-size: clamp(24px, 2.15vw, 31px);
  font-weight: 300;
  line-height: 1.02;
  text-wrap: balance;
}

.dg-home__trust-card p,
.dg-home__collaboration-card p {
  margin: 0;
  color: var(--dg-home-ink-soft);
  font-size: 15px;
  line-height: 1.58;
}

.dg-home__trust-card strong {
  margin-top: auto;
  padding-top: 28px;
  color: var(--dg-home-accent);
  font-size: 13px;
}

.dg-home__case-feature p {
  max-width: 38ch;
  margin: 0;
  color: rgba(255, 253, 249, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.dg-home__collaboration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.dg-home__collaboration-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--dg-home-line-dark);
  border-radius: var(--dg-home-radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.dg-home__collaboration-card > span {
  color: rgba(255, 253, 249, 0.5);
}

.dg-home__collaboration-card small,
.dg-home__collaboration-card p {
  color: var(--dg-home-muted-dark);
}

.dg-home__collaboration-card h3 {
  color: var(--dg-home-on-dark);
}

.dg-home__marquee {
  display: grid;
  gap: 12px;
  width: 100%;
}

.dg-home__marquee--support {
  opacity: 0.74;
}

.dg-home__marquee-row {
  display: flex;
  width: max-content;
}

.dg-home__marquee-track {
  display: flex;
  flex: none;
  gap: 12px;
  padding-right: 12px;
  animation: dg-home-marquee-forward 34s linear infinite;
}

.dg-home__marquee-row--reverse .dg-home__marquee-track {
  animation-name: dg-home-marquee-reverse;
  animation-duration: 38s;
}

.dg-home__marquee:hover .dg-home__marquee-track,
.dg-home__marquee:focus-within .dg-home__marquee-track {
  animation-play-state: paused;
}

.dg-home__marquee-track a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding-inline: 28px;
  border: 1px solid var(--dg-home-line-dark);
  border-radius: 999px;
  color: rgba(255, 253, 249, 0.88);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.dg-home__marquee-track a:hover,
.dg-home__marquee-track a:focus-visible {
  border-color: rgba(210, 122, 130, 0.7);
  color: var(--dg-home-on-dark);
  background: rgba(255, 255, 255, 0.09);
}

.dg-home__marquee-track a:focus-visible {
  outline: 3px solid rgba(210, 122, 130, 0.9);
  outline-offset: 3px;
}

@keyframes dg-home-marquee-forward {
  to { transform: translateX(-50%); }
}

@keyframes dg-home-marquee-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .dg-home__marquee-row {
    width: 100%;
    overflow-x: auto;
  }

  .dg-home__marquee-track {
    animation: none !important;
  }
}

.dg-home__collaboration-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--dg-home-line-dark);
}

.dg-home__collaboration-action p {
  max-width: 62ch;
  margin: 0;
  color: var(--dg-home-muted-dark);
  line-height: 1.58;
}

.dg-home__button--light {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--dg-home-graphite);
  background: var(--dg-home-on-dark);
}

.dg-home__faq-list details p a {
  color: var(--dg-home-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.dg-home__final-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.dg-home__final-checklist li {
  padding: 9px 13px;
  border: 1px solid var(--dg-home-line-dark);
  border-radius: 999px;
  color: rgba(255, 253, 249, 0.82);
  font-size: 12px;
}

.dg-home__final-action {
  display: grid;
  max-width: 310px;
  gap: 12px;
}

.dg-home__final-action small {
  color: var(--dg-home-muted-dark);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 1100px) {
  .dg-home__question-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .dg-home__question-track a {
    flex: 0 0 190px;
    scroll-snap-align: start;
  }

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

  .dg-home__collaboration-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dg-home__collaboration-card {
    min-width: 0;
    min-height: 0;
  }

}

@media (max-width: 768px) {
  .dg-home__question-track {
    width: 100%;
    padding-inline: 16px;
  }

  .dg-home__question-track a {
    min-height: 86px;
    flex-basis: 176px;
    padding: 15px 16px;
  }

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

  .dg-home__trust-card {
    min-height: 270px;
  }

  .dg-home__collaboration-action {
    align-items: stretch;
    flex-direction: column;
  }

  .dg-home__collaboration-action .dg-home__button {
    width: 100%;
  }

  .dg-home__marquee-track a {
    min-height: 50px;
    padding-inline: 22px;
  }

  .dg-home__final-action {
    max-width: none;
  }

  .dg-home__faq-list {
    gap: 9px;
  }

  .dg-home__faq-list summary {
    min-height: 72px;
    padding: 21px 66px 21px 18px;
    font-size: 16px;
  }

  .dg-home__faq-list summary::after {
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .dg-home__faq-list details[open] summary {
    padding-left: 22px;
  }

  .dg-home__faq-list details p {
    padding: 15px 22px 24px;
  }
}

@media (max-width: 430px) {
  .dg-home__trust-card,
  .dg-home__collaboration-card {
    padding: 24px;
  }

  .dg-home__trust-card {
    min-height: 250px;
  }

  .dg-home__trust-card small,
  .dg-home__collaboration-card small {
    margin-top: 24px;
  }

  .dg-home__case-feature p {
    font-size: 12px;
  }

  .dg-home__final-checklist {
    gap: 6px;
  }

  .dg-home__faq-list summary {
    padding-right: 62px;
  }
}

/* Mobile density pass: keep the full story, reduce one-card-per-screen scrolling. */
@media (max-width: 768px) {
  .dg-home__section {
    padding: 42px 0;
  }

  .dg-home__section-head,
  .dg-home__section-head--row,
  .dg-home__collaboration-head {
    gap: 10px;
    margin-bottom: 26px;
  }

  .dg-home__section-head h2,
  .dg-home__founder-copy h2,
  .dg-home__commercial-copy h2,
  .dg-home__final-box h2,
  .dg-home__collaboration-head h2,
  .dg-home__faq-layout .dg-home__section-head h2 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.03;
  }

  .dg-home__section-head p,
  .dg-home__commercial-copy > p,
  .dg-home__final-box p,
  .dg-home__collaboration-head p {
    font-size: 15px;
    line-height: 1.48;
  }

  .dg-home__eyebrow {
    min-height: 30px;
  }

  .dg-home__hero {
    min-height: 0;
    padding: 96px 0 20px;
  }

  .dg-home__hero-shell {
    gap: 18px;
  }

  .dg-home__hero-copy {
    gap: 11px;
  }

  .dg-home__hero-lead {
    font-size: 15px;
    line-height: 1.42;
  }

  .dg-home__actions {
    gap: 8px;
    padding-top: 0;
  }

  .dg-home__button {
    min-height: 52px;
  }

  .dg-home__alternate-routes {
    line-height: 1.3;
  }

  .dg-home__hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: var(--dg-home-radius-md);
  }

  .dg-home__hero-proof li {
    min-height: 132px;
    align-content: start;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 9px;
  }

  .dg-home__hero-proof li + li {
    border-top: 0;
    border-left: 1px solid var(--dg-home-line-dark);
  }

  .dg-home__hero-proof span {
    grid-row: auto;
    font-size: 10px;
  }

  .dg-home__hero-proof strong {
    font-size: 12px;
    line-height: 1.2;
  }

  .dg-home__hero-proof small {
    font-size: 10px;
    line-height: 1.3;
  }

  .dg-home__question-track a {
    min-height: 72px;
    flex-basis: 158px;
    gap: 5px;
    padding: 11px 14px;
    font-size: 13px;
  }

  .dg-home__direction-grid {
    gap: 10px;
  }

  .dg-home__direction-card,
  .dg-home__direction-card--primary {
    display: grid;
    min-height: 0;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px 12px;
    justify-content: stretch;
    padding: 18px;
    border-radius: var(--dg-home-radius-md);
  }

  .dg-home__direction-index {
    grid-row: 1 / 3;
  }

  .dg-home__direction-card > div,
  .dg-home__direction-card > strong {
    grid-column: 2;
  }

  .dg-home__direction-card > div {
    gap: 7px;
  }

  .dg-home__direction-card h3 {
    font-size: clamp(22px, 6.2vw, 25px);
    line-height: 1.03;
  }

  .dg-home__direction-card p {
    font-size: 14px;
    line-height: 1.42;
  }

  .dg-home__direction-card small {
    font-size: 9px;
    line-height: 1.35;
  }

  .dg-home__direction-card > strong {
    font-size: 13px;
  }

  .dg-home__founder-grid {
    gap: 22px;
  }

  .dg-home__founder-photo {
    height: 240px;
    min-height: 0;
  }

  .dg-home__founder-photo img {
    height: 100%;
    min-height: 0;
    object-position: center 27%;
  }

  .dg-home__founder-caption {
    right: 8px;
    bottom: 8px;
    left: 8px;
    gap: 2px;
    padding: 10px 12px;
  }

  .dg-home__founder-caption strong {
    font-size: 14px;
  }

  .dg-home__founder-caption span {
    font-size: 10px;
  }

  .dg-home__founder-copy {
    gap: 13px;
  }

  .dg-home__founder-lead {
    font-size: 16px;
    line-height: 1.48;
  }

  .dg-home__founder-principles {
    margin-top: 0;
  }

  .dg-home__founder-principles article {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px;
    padding: 11px 0;
  }

  .dg-home__founder-principles p {
    font-size: 14px;
    line-height: 1.4;
  }

  .dg-home__founder-links {
    gap: 0 18px;
  }

  .dg-home__founder-video {
    gap: 18px;
    margin-top: 30px;
    padding: 16px;
  }

  .dg-home__founder-video-copy {
    gap: 9px;
  }

  .dg-home__founder-video-copy h3 {
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.03;
  }

  .dg-home__founder-video-copy p {
    font-size: 14px;
    line-height: 1.45;
  }

  .dg-home__founder-video-card {
    flex-basis: min(52vw, 190px);
  }

  .dg-home__video-frame--short {
    aspect-ratio: 4 / 5;
  }

  .dg-home__short-video-copy {
    gap: 6px;
    padding: 11px 11px 13px;
  }

  .dg-home__short-video-copy h4 {
    min-height: 0;
    font-size: 15px;
  }

  .dg-home__short-video-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .dg-home__trust-grid,
  .dg-home__collaboration-grid {
    gap: 10px;
  }

  .dg-home__trust-card,
  .dg-home__collaboration-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 24px minmax(0, 1fr);
    align-content: start;
    padding: 16px;
    border-radius: var(--dg-home-radius-md);
  }

  .dg-home__trust-card > span,
  .dg-home__collaboration-card > span {
    grid-row: 1 / 5;
  }

  .dg-home__trust-card small,
  .dg-home__trust-card h3,
  .dg-home__trust-card p,
  .dg-home__trust-card strong,
  .dg-home__collaboration-card small,
  .dg-home__collaboration-card h3,
  .dg-home__collaboration-card p {
    grid-column: 2;
  }

  .dg-home__trust-card small,
  .dg-home__collaboration-card small {
    margin-top: 0;
  }

  .dg-home__trust-card h3,
  .dg-home__collaboration-card h3 {
    margin: 7px 0 8px;
    font-size: 22px;
    line-height: 1.05;
  }

  .dg-home__trust-card p,
  .dg-home__collaboration-card p {
    font-size: 13px;
    line-height: 1.42;
  }

  .dg-home__trust-card strong {
    padding-top: 11px;
  }

  .dg-home__house {
    min-height: 310px;
  }

  .dg-home__control-step {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 9px;
    padding: 14px;
  }

  .dg-home__control-step p {
    font-size: 13px;
    line-height: 1.4;
  }

  .dg-home__reassurance-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dg-home__reassurance-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--dg-home-radius-md);
  }

  .dg-home__reassurance-card > div {
    gap: 7px;
  }

  .dg-home__reassurance-card h3 {
    font-size: clamp(21px, 5.8vw, 24px);
    line-height: 1.04;
    text-wrap: pretty;
  }

  .dg-home__reassurance-card p {
    font-size: 13px;
    line-height: 1.42;
  }

  .dg-home__map,
  .dg-home__map-stage {
    min-height: 350px;
  }

  .dg-home__location-panel {
    height: 310px;
  }

  .dg-home__custom-marker {
    min-width: 44px;
  }

  .dg-home__location-list article {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .dg-home__location-list article > a,
  .dg-home__location-status {
    min-width: 44px;
  }

  .dg-home__case-strip {
    gap: 10px;
  }

  .dg-home__case-feature {
    min-height: 180px;
  }

  .dg-home__case-feature > div {
    right: 16px;
    bottom: 14px;
    left: 16px;
    gap: 5px;
  }

  .dg-home__case-feature h3 {
    font-size: 21px;
  }

  .dg-home__case-feature p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dg-home__collaboration-action {
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .dg-home__commercial-box {
    gap: 20px;
    padding: 18px;
    border-radius: var(--dg-home-radius-lg);
  }

  .dg-home__commercial-copy {
    gap: 10px;
  }

  .dg-home__commercial-prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dg-home__commercial-prices article {
    min-height: 210px;
    padding: 14px;
    border-radius: var(--dg-home-radius-md);
  }

  .dg-home__commercial-prices article > span {
    min-height: 0;
    font-size: 11px;
  }

  .dg-home__commercial-prices strong {
    margin: 16px 0 12px;
    font-size: clamp(27px, 7vw, 34px);
  }

  .dg-home__commercial-prices p {
    font-size: 12px;
    line-height: 1.4;
  }

  .dg-home__commercial-action {
    gap: 14px;
    padding-top: 18px;
  }

  .dg-home__faq-layout {
    gap: 26px;
  }

  .dg-home__faq-list {
    gap: 7px;
  }

  .dg-home__faq-list summary {
    min-height: 60px;
    padding: 14px 58px 14px 16px;
    font-size: 15px;
    line-height: 1.34;
  }

  .dg-home__faq-list summary::after {
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .dg-home__faq-list details[open] summary {
    padding-left: 19px;
  }

  .dg-home__faq-list details p {
    padding: 13px 18px 18px;
    font-size: 14px;
    line-height: 1.48;
  }

  .dg-home__final-box {
    gap: 22px;
    padding: 24px 18px;
  }

  .dg-home__final-checklist li {
    padding: 7px 10px;
  }
}

@media (max-width: 360px) {
  .dg-home__hero-proof li {
    min-height: 142px;
    padding-inline: 7px;
  }

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

  .dg-home__commercial-prices article {
    min-height: 170px;
  }
}

@media (min-width: 361px) and (max-width: 768px) {
  .dg-home__commercial-prices {
    grid-template-columns: 1fr;
  }

  .dg-home__commercial-prices article {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label price"
      "description description";
    align-items: start;
    gap: 12px 14px;
  }

  .dg-home__commercial-prices article > span {
    grid-area: label;
    align-self: center;
  }

  .dg-home__commercial-prices strong {
    grid-area: price;
    display: flex;
    align-items: baseline;
    justify-self: end;
    gap: 5px;
    margin: 0;
    font-size: clamp(28px, 5vw, 34px);
    white-space: nowrap;
  }

  .dg-home__price-value {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2em;
  }

  .dg-home__commercial-prices .dg-home__price-value .dg-home__price-from {
    font-family: "Involve", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
  }

  .dg-home__price-number {
    font-size: inherit;
    line-height: 1;
  }

  .dg-home__commercial-prices strong > small {
    font-size: 11px;
  }

  .dg-home__commercial-prices article p {
    grid-area: description;
    margin: 0;
  }
}

@media (min-width: 1301px) {
  .dg-home__price-value {
    display: grid;
    gap: 4px;
  }

  .dg-home__commercial-prices .dg-home__price-value .dg-home__price-from {
    font-family: "Involve", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
  }

  .dg-home__price-number {
    font-size: clamp(38px, 3vw, 44px);
    line-height: 1;
  }
}

@media (min-width: 600px) and (max-width: 768px) {
  .dg-home__founder-photo {
    height: 340px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .dg-home__section {
    padding: 64px 0;
  }

  .dg-home__hero {
    min-height: 760px;
  }

  .dg-home__founder-grid {
    gap: 32px;
  }

  .dg-home__founder-photo,
  .dg-home__founder-photo img {
    height: 420px;
    min-height: 0;
  }

  .dg-home__founder-photo img {
    object-position: center 27%;
  }

  .dg-home__direction-card,
  .dg-home__direction-card--primary {
    min-height: 300px;
  }
}

/* Light architectural surfaces: replace solid dark content bands without
   flattening the page into one continuous sheet. Photo-led surfaces retain
   their protective overlays for text contrast. */
.dg-home__direction-card--primary {
  border-color: rgba(103, 0, 9, 0.28);
  color: var(--dg-home-ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(103, 0, 9, 0.1), transparent 20rem),
    var(--dg-home-surface);
  box-shadow: inset 0 4px 0 rgba(103, 0, 9, 0.72);
}

.dg-home__direction-card--primary .dg-home__direction-index,
.dg-home__direction-card--primary small,
.dg-home__direction-card--primary h3,
.dg-home__direction-card--primary p,
.dg-home__direction-card--primary > strong {
  color: inherit;
}

.dg-home__direction-card--primary .dg-home__direction-index,
.dg-home__direction-card--primary > strong {
  color: var(--dg-home-accent);
}

.dg-home__direction-card--primary small,
.dg-home__direction-card--primary p {
  color: var(--dg-home-ink-soft);
}

.dg-home__control {
  color: var(--dg-home-ink);
  background: var(--dg-home-band);
}

.dg-home__control .dg-home__section-head--dark h2 {
  color: var(--dg-home-ink);
}

.dg-home__control .dg-home__section-head--dark p {
  color: var(--dg-home-ink-soft);
}

.dg-home__control .dg-home__eyebrow--dark,
.dg-home__collaboration .dg-home__eyebrow--dark,
.dg-home__final .dg-home__eyebrow--dark {
  border-color: var(--dg-home-line);
  color: var(--dg-home-ink);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(14px);
}

.dg-home__reassurance-card {
  border-color: var(--dg-home-line);
  background: var(--dg-home-surface);
  box-shadow: 0 16px 44px rgba(37, 42, 45, 0.055);
}

.dg-home__reassurance-card > span {
  color: var(--dg-home-accent);
}

.dg-home__reassurance-card h3 {
  color: var(--dg-home-ink);
}

.dg-home__reassurance-card p {
  color: var(--dg-home-ink-soft);
}

.dg-home__house {
  border-color: var(--dg-home-line);
  background:
    radial-gradient(circle at 50% 40%, rgba(103, 0, 9, 0.1), transparent 18rem),
    linear-gradient(145deg, #fbfaf6, #e8eae7);
}

.dg-home__house::before,
.dg-home__house::after {
  background: rgba(37, 42, 45, 0.035);
}

.dg-home__house::before {
  background-image:
    linear-gradient(rgba(37, 42, 45, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 42, 45, 0.045) 1px, transparent 1px);
}

.dg-home__house-outline {
  fill: rgba(255, 255, 255, 0.34);
  stroke: rgba(37, 42, 45, 0.24);
}

.dg-home__house-layer {
  stroke: rgba(37, 42, 45, 0.18);
}

.dg-home__house-node {
  fill: rgba(37, 42, 45, 0.18);
}

.dg-home__house-status,
.dg-home__control-step {
  border-color: var(--dg-home-line);
  color: var(--dg-home-ink);
  background: rgba(255, 255, 255, 0.7);
}

.dg-home__house-status span,
.dg-home__control-step > span {
  color: var(--dg-home-accent);
}

.dg-home__control-step p {
  color: var(--dg-home-ink-soft);
}

.dg-home__control-step:hover,
.dg-home__control-step.is-active {
  border-color: rgba(103, 0, 9, 0.36);
  background: rgba(103, 0, 9, 0.075);
}

.dg-home__collaboration {
  color: var(--dg-home-ink);
  background: var(--dg-home-surface);
  border-block: 1px solid var(--dg-home-line);
}

.dg-home__collaboration-head p {
  color: var(--dg-home-ink-soft);
}

.dg-home__collaboration-card {
  border-color: var(--dg-home-line);
  background: var(--dg-home-band);
}

.dg-home__collaboration-card > span {
  color: var(--dg-home-accent);
}

.dg-home__collaboration-card small,
.dg-home__collaboration-card p {
  color: var(--dg-home-ink-soft);
}

.dg-home__collaboration-card h3 {
  color: var(--dg-home-ink);
}

.dg-home__marquee--support {
  opacity: 1;
}

.dg-home__marquee-track a {
  border-color: var(--dg-home-line);
  color: var(--dg-home-ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(37, 42, 45, 0.035);
}

.dg-home__marquee-track a:hover,
.dg-home__marquee-track a:focus-visible {
  border-color: rgba(103, 0, 9, 0.38);
  color: var(--dg-home-accent);
  background: var(--dg-home-white);
}

.dg-home__marquee-track a:focus-visible {
  outline-color: rgba(103, 0, 9, 0.5);
}

.dg-home__collaboration-action {
  border-top-color: var(--dg-home-line);
}

.dg-home__collaboration-action p {
  color: var(--dg-home-ink-soft);
}

.dg-home__button--light {
  border-color: var(--dg-home-line-strong);
  color: var(--dg-home-ink);
  background: var(--dg-home-white);
}

.dg-home__button--light:hover,
.dg-home__button--light:focus-visible {
  border-color: rgba(103, 0, 9, 0.36);
  color: var(--dg-home-accent);
}

.dg-home__final-box {
  border: 1px solid var(--dg-home-line);
  color: var(--dg-home-ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(103, 0, 9, 0.13), transparent 24rem),
    linear-gradient(135deg, var(--dg-home-surface), #e8eae7);
  box-shadow: 0 22px 60px rgba(37, 42, 45, 0.07);
}

.dg-home__final-box p,
.dg-home__final-action small {
  color: var(--dg-home-ink-soft);
}

.dg-home__final-checklist li {
  border-color: var(--dg-home-line-strong);
  color: var(--dg-home-ink);
  background: rgba(255, 255, 255, 0.56);
}

/* Narrow-phone text safety: long Russian headings keep their full glyphs. */
@media (max-width: 350px) {
  .dg-home__section-head h2,
  .dg-home__founder-copy h2,
  .dg-home__commercial-copy h2,
  .dg-home__final-box h2,
  .dg-home__collaboration-head h2,
  .dg-home__faq-layout .dg-home__section-head h2 {
    font-size: 26px;
  }

  .dg-home__direction-card h3,
  .dg-home__case-feature h3 {
    font-size: 20px;
  }
}

/* Responsive QA: keep the hero story visible on short and unusual screens.
   The content remains complete; only vertical rhythm changes by available space. */
@media (max-width: 768px) {
  .dg-home__hero {
    padding: 64px 0 14px;
  }

  .dg-home__hero-shell {
    gap: 12px;
  }

  .dg-home__hero-copy {
    gap: 8px;
  }

  .dg-home__hero-proof li {
    min-height: 114px;
    padding-block: 10px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .dg-home__hero {
    min-height: 0;
    padding: 44px 0 14px;
  }

  .dg-home__hero-shell {
    gap: 12px;
  }

  .dg-home__hero-copy {
    gap: 8px;
  }

  .dg-home__hero h1 {
    font-size: clamp(40px, 5.4vw, 52px);
    line-height: 0.94;
  }

  .dg-home__hero-lead {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.36;
  }

  .dg-home__hero-proof li {
    min-height: 88px;
    gap: 4px 12px;
    padding: 12px 16px;
  }

  .dg-home__hero-proof strong {
    font-size: 15px;
  }

  .dg-home__hero-proof small {
    font-size: 11px;
    line-height: 1.35;
  }
}

@media (min-width: 1025px) {
  .dg-home__hero {
    min-height: min(920px, calc(100svh - 90px));
    padding: clamp(64px, 8vh, 92px) 0 clamp(16px, 2.5vh, 26px);
  }

  .dg-home__hero-shell {
    gap: clamp(16px, 2vh, 24px);
  }

  .dg-home__hero-copy {
    gap: 14px;
  }

  .dg-home__hero-proof li {
    min-height: 96px;
    padding: 16px 22px;
  }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .dg-home__hero {
    min-height: 0;
    padding: 34px 0 12px;
  }

  .dg-home__hero-shell {
    gap: 10px;
  }

  .dg-home__hero-copy {
    gap: 7px;
  }

  .dg-home__hero h1 {
    font-size: clamp(46px, 4.4vw, 56px);
    line-height: 0.94;
  }

  .dg-home__hero-lead {
    max-width: 820px;
    font-size: 16px;
    line-height: 1.34;
  }

  .dg-home__actions {
    gap: 8px;
    padding-top: 0;
  }

  .dg-home__button {
    min-height: 48px;
  }

  .dg-home__hero-proof li {
    min-height: 82px;
    gap: 3px 12px;
    padding: 10px 16px;
  }

  .dg-home__hero-proof strong {
    font-size: 15px;
  }

  .dg-home__hero-proof small {
    font-size: 11px;
    line-height: 1.3;
  }
}

/* Foldable/tablet boundary: keep balanced headings inside their card tracks. */
@media (min-width: 769px) and (max-width: 850px) {
  .dg-home__reassurance-card h3 {
    min-height: 3.3em;
  }

  .dg-home__final-box > div {
    min-width: 0;
  }

  .dg-home__final-box h2 {
    max-width: 100%;
    font-size: clamp(32px, 4.7vw, 40px);
  }
}
