.dommoy-max-assistant {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  height: 42px;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 4px 11px 4px 5px;
  color: #171a2b;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px -14px rgba(0, 132, 255, 0.88);
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
  animation: dommoy-max-float 4.6s ease-in-out infinite;
}

.dommoy-max-assistant::after {
  position: absolute;
  inset: -70% -35%;
  content: "";
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.82) 50%, transparent 62%);
  transform: translateX(-90%) rotate(8deg);
  animation: dommoy-max-sheen 5.2s ease-in-out infinite;
  pointer-events: none;
}

.dommoy-max-assistant:hover,
.dommoy-max-assistant:focus-visible {
  transform: translateY(-3px) scale(1.03);
  filter: saturate(1.12);
  box-shadow: 0 0 0 5px rgba(37, 164, 255, 0.13), 0 15px 34px -12px rgba(0, 132, 255, 0.95);
}

.dommoy-max-assistant img {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
}

.dommoy-max-assistant span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}

.dommoy-max-assistant strong,
.dommoy-max-assistant small {
  display: block;
  margin: 0;
  padding: 0;
  font: inherit;
  line-height: 1;
}

.dommoy-max-assistant strong {
  font-size: 11px;
  font-weight: 800;
}

.dommoy-max-assistant small {
  font-size: 9px;
  font-weight: 600;
  color: rgba(23, 26, 43, 0.72);
}

.dommoy-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 76px;
  z-index: 79;
  width: 44px;
  height: 54px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #f7f8fb;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 7px rgba(255, 255, 255, 0.14));
  transform: translateY(10px);
  transition: opacity 240ms ease, visibility 240ms ease, transform 240ms ease, filter 240ms ease;
}

.dommoy-scroll-top.is-visible {
  opacity: 0.94;
  visibility: visible;
  transform: translateY(0);
}

.dommoy-scroll-top svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: dommoy-scroll-top-float 2.8s ease-in-out infinite;
}

.dommoy-scroll-top path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dommoy-scroll-top:hover,
.dommoy-scroll-top:focus-visible {
  color: #fff;
  outline: none;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.86)) drop-shadow(0 0 9px rgba(239, 23, 23, 0.7));
  transform: translateY(-3px) scale(1.06);
}

html.light .dommoy-scroll-top {
  color: #252a33;
  filter: drop-shadow(0 2px 1px rgba(255, 255, 255, 0.9)) drop-shadow(0 4px 5px rgba(15, 23, 42, 0.28));
}

.dommoy-concept-hub {
  width: min(1180px, calc(100% - 32px));
  margin: 72px auto 20px;
}

.dommoy-concept-intro {
  max-width: 850px;
  margin: 0 auto 36px;
  text-align: center;
}

.dommoy-concept-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #ef1717;
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
}

.dommoy-concept-intro h2 {
  margin: 0 0 16px;
  color: #d9dde1;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  background: linear-gradient(180deg, #fff 0%, #d8dde1 22%, #7d858d 48%, #f1f3f4 68%, #8a9198 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .35px rgba(255, 255, 255, .42);
  filter: drop-shadow(0 2px 0 #363b41) drop-shadow(0 7px 10px rgba(0, 0, 0, .72));
  text-shadow: none;
}

.dommoy-concept-intro p {
  margin: 0;
  color: rgba(228, 232, 239, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.dommoy-concept-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  padding: 24px;
}

.dommoy-concept-card {
  position: relative;
  display: flex;
  min-height: 190px;
  grid-column: span 2;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  color: #eef1f5;
  background: linear-gradient(145deg, hsl(var(--card)) 0%, hsl(220 20% 13%) 100%);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.dommoy-concept-card:nth-child(4) { grid-column: 2 / span 2; }
.dommoy-concept-card:nth-child(5) { grid-column: 4 / span 2; }

.dommoy-concept-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, transparent, #ef1717 28%, #9e0000 72%, transparent);
  opacity: 0.78;
}

.dommoy-concept-number {
  margin-bottom: 22px;
  color: rgba(239, 23, 23, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.dommoy-concept-card strong {
  margin-bottom: 9px;
  color: #d9dde1;
  font-size: 21px;
  line-height: 1.15;
  background: linear-gradient(180deg, #fff 0%, #d8dde1 24%, #858c94 52%, #f0f2f4 72%, #9299a1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .25px rgba(255, 255, 255, .34);
  filter: drop-shadow(0 2px 0 rgba(44, 49, 55, .9)) drop-shadow(0 5px 7px rgba(0, 0, 0, .5));
}

.dommoy-concept-card small {
  max-width: 250px;
  color: rgba(228, 232, 239, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.dommoy-concept-arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: #ef1717;
  font-size: 24px;
  transition: transform 260ms ease;
}

.dommoy-concept-card:hover,
.dommoy-concept-card:focus-visible {
  border-color: rgba(239, 23, 23, 0.48);
  outline: none;
  box-shadow: 15px 18px 36px rgba(4, 8, 15, 0.7), -7px -7px 20px rgba(47, 57, 72, 0.34), 0 0 22px rgba(239, 23, 23, 0.1);
  transform: translateY(-4px);
}

.dommoy-concept-card:hover .dommoy-concept-arrow,
.dommoy-concept-card:focus-visible .dommoy-concept-arrow { transform: translateX(4px); }

html.light .dommoy-concept-intro h2 {
  color: #30353a;
  background: linear-gradient(180deg, #11161c 0%, #515a64 38%, #20262d 68%, #606a74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .45px rgba(21, 25, 29, .46);
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .9)) drop-shadow(0 7px 10px rgba(15, 23, 42, .3));
  text-shadow: none;
}

html.light .dommoy-concept-intro p { color: rgba(23, 27, 34, 0.68); }

html.light .dommoy-concept-card {
  color: #171b22;
  border-color: rgba(15, 23, 42, 0.08);
  background: #edf1f6;
  background: linear-gradient(145deg, hsl(var(--card)) 0%, hsl(var(--card) / .96) 100%);
  box-shadow: var(--shadow-card);
}

html.light .dommoy-concept-card small { color: rgba(23, 27, 34, 0.62); }

html.light .dommoy-concept-card strong {
  color: #30353a;
  background: linear-gradient(180deg, #11161c 0%, #515a64 38%, #20262d 68%, #606a74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .35px rgba(21, 25, 29, .4);
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .86)) drop-shadow(0 5px 7px rgba(15, 23, 42, .24));
}

.dommoy-team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
}

.dommoy-oborina-mobile {
  margin-top: 1.25rem;
}

.dommoy-agent-page {
  min-height: 100vh;
  padding: 110px 16px 48px;
  color: hsl(var(--foreground));
}

.dommoy-agent-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.dommoy-agent-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  text-decoration: none;
}

.dommoy-agent-back:hover { color: hsl(var(--accent)); }

.dommoy-agent-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  padding: 28px;
}

.dommoy-agent-photo {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  object-fit: cover;
  object-position: top center;
}

.dommoy-agent-copy { align-self: center; }
.dommoy-agent-copy h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; }
.dommoy-agent-role { margin: 0 0 20px; color: hsl(var(--accent)); font-size: 18px; font-weight: 700; }
.dommoy-agent-intro { margin: 0 0 16px; font-size: 20px; font-weight: 600; }
.dommoy-agent-bio { margin: 0 0 24px; color: hsl(var(--muted-foreground)); font-size: 16px; line-height: 1.7; }
.dommoy-agent-contacts { display: grid; gap: 10px; }
.dommoy-agent-contact { color: hsl(var(--foreground)); text-decoration: none; overflow-wrap: anywhere; }
.dommoy-agent-contact:hover { color: hsl(var(--accent)); }
.dommoy-agent-sections { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; margin-top: 28px; }
.dommoy-agent-section { padding: 28px; }
.dommoy-agent-section h2 { margin: 0 0 18px; font-size: 26px; }
.dommoy-agent-section h3 { margin: 20px 0 8px; font-size: 17px; }
.dommoy-agent-section ul { margin: 0; padding-left: 20px; color: hsl(var(--muted-foreground)); line-height: 1.65; }
.dommoy-agent-section li + li { margin-top: 7px; }

@keyframes dommoy-max-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes dommoy-max-sheen {
  0%, 58% { transform: translateX(-90%) rotate(8deg); }
  78%, 100% { transform: translateX(90%) rotate(8deg); }
}

@keyframes dommoy-scroll-top-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 1023px) {
  .dommoy-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .dommoy-concept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dommoy-concept-card,
  .dommoy-concept-card:nth-child(4),
  .dommoy-concept-card:nth-child(5) { grid-column: auto; }
  .dommoy-concept-card:last-child { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .dommoy-oborina-mobile { display: none !important; }
}

@media (max-width: 760px) {
  .dommoy-max-assistant { right: 12px; bottom: 16px; height: 39px; padding-right: 9px; }
  .dommoy-scroll-top { right: 12px; bottom: 67px; width: 40px; height: 48px; }
  .dommoy-max-assistant img { width: 29px; height: 29px; flex-basis: 29px; }
  .dommoy-max-assistant span { gap: 1px; }
  .dommoy-max-assistant strong { font-size: 10px; }
  .dommoy-max-assistant small { font-size: 8px; }
  .dommoy-agent-page { padding-top: 92px; }
  .dommoy-agent-hero { grid-template-columns: 1fr; gap: 24px; padding: 18px; }
  .dommoy-agent-photo { max-height: 640px; }
  .dommoy-agent-copy h1 { font-size: 36px; }
  .dommoy-agent-sections { grid-template-columns: 1fr; }
  .dommoy-agent-section { padding: 22px; }
  .dommoy-concept-hub { width: calc(100% - 28px); margin-top: 52px; }
  .dommoy-concept-intro { margin-bottom: 28px; }
  .dommoy-concept-intro p { font-size: 15px; line-height: 1.62; }
  .dommoy-concept-grid { grid-template-columns: 1fr; gap: 16px; }
  .dommoy-concept-grid { padding: 20px 14px 30px; }
  .dommoy-concept-card,
  .dommoy-concept-card:last-child { min-height: 156px; grid-column: auto; padding: 21px; border-radius: 20px; }
  .dommoy-concept-number { margin-bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .dommoy-max-assistant,
  .dommoy-max-assistant::after,
  .dommoy-scroll-top svg { animation: none; }
}

/* Premium homepage hero: live HTML over theme-specific architectural imagery. */
#home.dommoy-premium-hero {
  min-height: 108vh;
  background: #07090d;
}

#home.dommoy-premium-hero > picture {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #05070b;
}

html.light #home.dommoy-premium-hero > picture { background: #e9f1f6; }

#home .dommoy-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 520ms cubic-bezier(.22, 1, .36, 1);
}

@media (min-width: 761px) {
  #home .dommoy-hero-bg {
    left: 6%;
    right: 6%;
    width: 88%;
    object-position: center top;
  }
}

#home .dommoy-hero-bg--day { opacity: 0; }
html.light #home .dommoy-hero-bg--night { opacity: 0; }
html.light #home .dommoy-hero-bg--day { opacity: 1; }

#home.dommoy-premium-hero .hero-vignette {
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,.12), rgba(0,0,0,.06) 48%, rgba(0,0,0,.38));
}

html.light #home.dommoy-premium-hero .hero-vignette {
  background: linear-gradient(to bottom, rgba(255,255,255,.12), rgba(255,255,255,.22) 52%, rgba(255,255,255,.48));
}

#home.dommoy-premium-hero > .relative.container {
  padding-top: 148px;
}

#home.dommoy-premium-hero .glass-hero {
  position: absolute;
  top: 92px;
  right: 0;
  left: 0;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  transform: none !important;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,10,14,.64);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  backdrop-filter: blur(16px);
}

html.light #home.dommoy-premium-hero .glass-hero {
  border-color: rgba(15,23,42,.12);
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
}

#home.dommoy-premium-hero .glass-hero {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

html.light #home.dommoy-premium-hero .glass-hero {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#home.dommoy-premium-hero .glass-hero span:first-child {
  box-shadow: 0 0 7px rgba(239,28,28,.9), 0 2px 5px rgba(0,0,0,.48);
}

#home.dommoy-premium-hero .glass-hero span:last-child {
  color: #f4f5f7 !important;
  text-align: center;
  text-shadow: 0 1px 0 #aeb3bb, 0 2px 0 #555b64, 0 6px 10px rgba(0,0,0,.68) !important;
}

html.light #home.dommoy-premium-hero .glass-hero span:last-child {
  color: #17191d !important;
  text-shadow: 0 1px 0 #fff, 0 2px 0 #aeb4bd, 0 6px 10px rgba(15,23,42,.24) !important;
}

#home .dommoy-metal-logo {
  width: min(760px, 88vw) !important;
  height: auto !important;
  max-height: none !important;
  filter: drop-shadow(0 8px 5px rgba(0,0,0,.5)) drop-shadow(0 20px 30px rgba(0,0,0,.34));
}

html.light #home .dommoy-metal-logo {
  filter: drop-shadow(0 8px 5px rgba(15,23,42,.24)) drop-shadow(0 20px 30px rgba(15,23,42,.16));
}

#home.dommoy-premium-hero h1 {
  color: #d9dde1 !important;
  background: linear-gradient(180deg, #fff 0%, #d8dde1 22%, #7d858d 48%, #f1f3f4 68%, #8a9198 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .35px rgba(255,255,255,.42);
  filter: drop-shadow(0 2px 0 #363b41) drop-shadow(0 7px 10px rgba(0,0,0,.72));
  text-shadow: none !important;
}

#home.dommoy-premium-hero p {
  color: #e2e5e8 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.46), 0 2px 0 rgba(83,90,98,.84), 0 5px 12px rgba(0,0,0,.62) !important;
}

html.light #home.dommoy-premium-hero h1 {
  color: #30353a !important;
  background: linear-gradient(180deg, #11161c 0%, #515a64 38%, #20262d 68%, #606a74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .45px rgba(21,25,29,.46);
  filter: drop-shadow(0 2px 0 rgba(255,255,255,.9)) drop-shadow(0 7px 10px rgba(15,23,42,.3));
  text-shadow: none !important;
}

html.light #home.dommoy-premium-hero p {
  color: #24292f !important;
  text-shadow: 0 1px 0 #fff, 0 2px 0 rgba(93,101,110,.42), 0 5px 10px rgba(15,23,42,.18) !important;
}

#home.dommoy-premium-hero .mb-6.flex button {
  min-width: 260px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.34), inset 0 -4px 8px rgba(0,0,0,.26), 0 12px 24px rgba(0,0,0,.28);
}

html.light #home.dommoy-premium-hero .mb-6.flex button:first-child {
  color: #fff;
  border-color: rgba(110,0,0,.36);
  background: linear-gradient(180deg, #e12626 0%, #b30707 62%, #8b0202 100%);
}

html.light #home.dommoy-premium-hero .mb-6.flex button:last-child {
  color: #111317;
  border-color: rgba(15,23,42,.3);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(235,238,242,.94));
  box-shadow: inset 0 2px 2px #fff, inset 0 -4px 8px rgba(15,23,42,.13), 0 12px 24px rgba(15,23,42,.2);
}

header nav a,
header a[href^="tel:"]:not(:has(button)) {
  color: #f5f6f8 !important;
  text-shadow: 0 1px 0 #b9bec6, 0 2px 0 #626872, 0 5px 9px rgba(0,0,0,.72) !important;
  filter: drop-shadow(0 5px 7px rgba(0,0,0,.22));
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

header nav a:hover,
header a[href^="tel:"]:not(:has(button)):hover {
  color: #ef1c1c !important;
  text-shadow: 0 1px 0 #ff8b8b, 0 2px 0 #8f0000, 0 5px 9px rgba(0,0,0,.68), 0 0 12px rgba(239,28,28,.5) !important;
  filter: drop-shadow(0 7px 9px rgba(80,0,0,.34));
  transform: translateY(-1px);
}

html.light header nav a,
html.light header a[href^="tel:"]:not(:has(button)) {
  color: #11161d !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .96), 0 3px 5px rgba(15, 23, 42, .24) !important;
  filter: drop-shadow(0 4px 5px rgba(15, 23, 42, .14));
}

html.light header nav a:hover,
html.light header a[href^="tel:"]:not(:has(button)):hover {
  color: #c70b0b !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .92), 0 3px 6px rgba(120, 0, 0, .24) !important;
}

header a[href^="tel:"] button {
  border: 1px solid rgba(110,0,0,.48) !important;
  background: linear-gradient(180deg, #f02b2b 0%, #c70b0b 58%, #920202 100%) !important;
  box-shadow: inset 0 2px 1px rgba(255,255,255,.38), inset 0 -5px 9px rgba(71,0,0,.44), 0 11px 20px rgba(44,0,0,.34) !important;
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.36), 0 2px 0 rgba(91,0,0,.78), 0 5px 8px rgba(0,0,0,.42);
}

header button[aria-label*="тёмную тему"],
header button[aria-label*="светлую тему"] {
  border: 1px solid rgba(255,255,255,.32) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(18,23,31,.22)) !important;
  box-shadow: inset 2px 2px 2px rgba(255,255,255,.42), inset -4px -4px 7px rgba(0,0,0,.24), 0 10px 18px rgba(0,0,0,.3) !important;
}

html.light header button[aria-label*="тёмную тему"],
html.light header button[aria-label*="светлую тему"] {
  border-color: rgba(88,96,108,.32) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(188,198,209,.78)) !important;
  box-shadow: inset 2px 2px 2px #fff, inset -4px -4px 8px rgba(76,87,101,.28), 0 10px 20px rgba(15,23,42,.24) !important;
}

#home.dommoy-premium-hero .hero-stat-card {
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, #2b313c 0%, #202631 58%, #171c25 100%);
  box-shadow: inset 3px 3px 3px rgba(255,255,255,.1), inset -7px -7px 12px rgba(0,0,0,.34), 0 18px 30px rgba(0,0,0,.42) !important;
}

html.light #home.dommoy-premium-hero .hero-stat-card {
  border-color: rgba(126,136,149,.28);
  background: linear-gradient(145deg, #f1f3f7 0%, #dfe3ea 58%, #cdd3dc 100%);
  box-shadow: inset 3px 3px 3px rgba(255,255,255,.96), inset -7px -7px 12px rgba(91,101,115,.2), 0 18px 30px rgba(15,23,42,.24) !important;
}

#home.dommoy-premium-hero .hero-stat-card > div:first-child {
  color: #ef1717 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #ef1717 !important;
  text-shadow: 0 1px 0 #ff6969, 0 2px 0 #9d0000, 0 3px 0 #730000, 0 7px 11px rgba(0,0,0,.44) !important;
}

#home.dommoy-premium-hero .hero-stat-label {
  color: #f1f3f6 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.28), 0 2px 0 rgba(0,0,0,.62), 0 5px 9px rgba(0,0,0,.42) !important;
}

/* Match offers and reviews to the framed cards used by projects, services and team. */
.dommoy-unified-card-frame {
  border: 1px solid rgba(112,122,136,.2) !important;
  background: linear-gradient(145deg, hsl(var(--card)) 0%, hsl(var(--card) / .96) 100%) !important;
  box-shadow: 12px 14px 28px rgba(99,112,130,.16), -8px -8px 22px rgba(255,255,255,.82), inset 1px 1px 0 rgba(255,255,255,.72) !important;
}

.dommoy-unified-card-frame:hover {
  border-color: rgba(239,28,28,.22) !important;
  box-shadow: 15px 18px 34px rgba(91,104,124,.22), -9px -9px 24px rgba(255,255,255,.9), inset 1px 1px 0 rgba(255,255,255,.78) !important;
  transform: translateY(-2px);
}

html.dark .dommoy-unified-card-frame {
  border-color: rgba(255,255,255,.1) !important;
  background: linear-gradient(145deg, hsl(var(--card)) 0%, hsl(220 20% 13%) 100%) !important;
  box-shadow: 14px 16px 32px rgba(0,0,0,.48), -7px -7px 18px rgba(74,83,98,.16), inset 1px 1px 0 rgba(255,255,255,.08) !important;
}

html.dark .dommoy-unified-card-frame:hover {
  border-color: rgba(239,28,28,.32) !important;
  box-shadow: 17px 20px 38px rgba(0,0,0,.56), -7px -7px 18px rgba(74,83,98,.2), inset 1px 1px 0 rgba(255,255,255,.1) !important;
}

.dommoy-volumetric-section-heading {
  color: #30353a !important;
  background: linear-gradient(180deg, #11161c 0%, #515a64 38%, #20262d 68%, #606a74 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .45px rgba(21,25,29,.46);
  filter: drop-shadow(0 2px 0 rgba(255,255,255,.9)) drop-shadow(0 7px 10px rgba(15,23,42,.3));
  text-shadow: none !important;
}

.dommoy-volumetric-section-copy {
  color: #333944 !important;
  text-shadow: 0 1px 0 #fff, 0 2px 0 rgba(93,101,110,.42), 0 5px 10px rgba(15,23,42,.18) !important;
}

html.dark .dommoy-volumetric-section-heading {
  color: #d9dde1 !important;
  background: linear-gradient(180deg, #fff 0%, #d8dde1 22%, #7d858d 48%, #f1f3f4 68%, #8a9198 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .35px rgba(255,255,255,.42);
  filter: drop-shadow(0 2px 0 #363b41) drop-shadow(0 7px 10px rgba(0,0,0,.72));
  text-shadow: none !important;
}

html.dark .dommoy-volumetric-section-copy {
  color: #e7e9ed !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.46), 0 2px 0 rgba(83,90,98,.84), 0 5px 12px rgba(0,0,0,.62) !important;
}

.dommoy-section-metal-chip {
  border: 1px solid rgba(104,114,126,.28) !important;
  background: linear-gradient(145deg, #f8f9fa 0%, #d9dee3 52%, #b9c0c7 100%) !important;
  box-shadow: inset 2px 2px 2px rgba(255,255,255,.96), inset -4px -4px 7px rgba(79,88,99,.2), 0 9px 17px rgba(44,53,65,.2) !important;
  color: #b9161e !important;
  text-shadow: none !important;
}

html.dark .dommoy-section-metal-chip {
  border-color: rgba(255,255,255,.16) !important;
  background: linear-gradient(145deg, #3a414a 0%, #252b33 52%, #151a21 100%) !important;
  box-shadow: inset 2px 2px 2px rgba(255,255,255,.13), inset -4px -4px 8px rgba(0,0,0,.48), 0 10px 19px rgba(0,0,0,.48) !important;
  color: #e83b43 !important;
  text-shadow: none !important;
}

.dommoy-contact-metal-icon {
  border: 1px solid rgba(104,114,126,.3) !important;
  background: linear-gradient(145deg, #f8f9fa 0%, #d7dce1 50%, #b7bec6 100%) !important;
  box-shadow: inset 3px 3px 3px rgba(255,255,255,.96), inset -5px -5px 9px rgba(73,83,95,.22), 0 10px 18px rgba(44,53,65,.22) !important;
}

.dommoy-contact-metal-icon svg {
  color: #bd1921 !important;
  filter: none !important;
}

html.dark .dommoy-contact-metal-icon {
  border-color: rgba(255,255,255,.16) !important;
  background: linear-gradient(145deg, #3b424b 0%, #252b33 50%, #141920 100%) !important;
  box-shadow: inset 3px 3px 3px rgba(255,255,255,.12), inset -5px -5px 9px rgba(0,0,0,.5), 0 11px 20px rgba(0,0,0,.5) !important;
}

html.dark .dommoy-contact-metal-icon svg {
  color: #ea4148 !important;
  filter: none !important;
}

.dommoy-premium-red-action {
  border: 1px solid rgba(110,0,0,.48) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #f02b2b 0%, #c70b0b 58%, #920202 100%) !important;
  box-shadow: inset 0 2px 1px rgba(255,255,255,.38), inset 0 -5px 9px rgba(71,0,0,.44), 0 11px 20px rgba(44,0,0,.34) !important;
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.36), 0 2px 0 rgba(91,0,0,.78), 0 5px 8px rgba(0,0,0,.42) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease !important;
}

.dommoy-premium-red-action:hover {
  box-shadow: inset 0 2px 1px rgba(255,255,255,.46), inset 0 -5px 9px rgba(71,0,0,.48), 0 15px 25px rgba(70,0,0,.42) !important;
  filter: brightness(1.06);
  transform: translateY(-1px) scale(1.01);
}

.dommoy-premium-red-action:active {
  box-shadow: inset 0 3px 7px rgba(71,0,0,.46), 0 7px 13px rgba(44,0,0,.3) !important;
  transform: translateY(1px);
}

@media (min-width: 1024px) {
  .dommoy-desktop-third-slide {
    flex: 0 0 33.333333%;
    min-width: 0;
    display: flex;
    padding-inline: 6px;
  }

  .dommoy-desktop-quarter-slide {
    flex: 0 0 25%;
    min-width: 0;
    display: flex;
    padding-inline: 6px;
  }

  .dommoy-desktop-third-slide > *,
  .dommoy-desktop-quarter-slide > * {
    width: 100%;
    height: 100%;
  }

  .dommoy-desktop-third-slide > button,
  .dommoy-desktop-quarter-slide > div {
    display: flex;
    flex-direction: column;
  }

  .dommoy-desktop-third-slide > button > div:last-child {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .dommoy-desktop-third-slide > button > div:last-child > div:last-child {
    margin-top: auto;
  }

  .dommoy-desktop-quarter-slide > div > div:last-child {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .dommoy-desktop-quarter-slide > div > div:last-child > .space-y-2 {
    margin-top: auto;
  }
}

#cases [aria-roledescription="slide"],
#team [aria-roledescription="slide"] {
  box-sizing: border-box;
  padding-inline: 6px;
}

#cases [aria-roledescription="slide"] > *,
#team [aria-roledescription="slide"] > * {
  width: 100%;
}

.dommoy-shadow-carousel-section [aria-roledescription="slide"] {
  box-sizing: border-box;
  display: flex;
  padding: 18px 16px 40px;
}

.dommoy-shadow-carousel-section [role="region"] > div:first-child {
  overflow: clip !important;
  overflow-clip-margin: 48px;
}

.dommoy-shadow-carousel-section [aria-roledescription="slide"] > * {
  flex: 1;
  width: 100%;
  height: auto;
}

.dommoy-shadow-carousel-section .dommoy-unified-card-frame {
  box-shadow: var(--shadow-card) !important;
}

html.dark .dommoy-shadow-carousel-section .dommoy-unified-card-frame {
  box-shadow: var(--shadow-card) !important;
}

.dommoy-shadow-carousel-section .dommoy-unified-card-frame:hover {
  box-shadow: var(--shadow-card) !important;
}

html.dark .dommoy-shadow-carousel-section .dommoy-unified-card-frame:hover {
  box-shadow: var(--shadow-card) !important;
}

@media (max-width: 767px) {
  .dommoy-shadow-carousel-section [aria-roledescription="slide"] {
    position: relative;
    isolation: isolate;
    padding: 38px 36px 58px;
  }

  .dommoy-shadow-carousel-section [aria-roledescription="slide"]::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 38px 36px 58px;
    border-radius: 2rem;
    background: hsl(var(--card) / .94);
    box-shadow: 12px 12px 28px hsla(220,18%,68%,.32), -10px -10px 24px hsla(0,0%,100%,.72);
    pointer-events: none;
  }

  .dommoy-shadow-carousel-section [aria-roledescription="slide"] > * {
    position: relative;
    z-index: 1;
  }

  .dommoy-shadow-carousel-section .dommoy-unified-card-frame,
  .dommoy-shadow-carousel-section .dommoy-unified-card-frame:hover {
    box-shadow: none !important;
  }

  html.dark .dommoy-shadow-carousel-section [aria-roledescription="slide"]::before {
    background: hsl(var(--card) / .94);
    box-shadow: 12px 12px 24px hsla(220,32%,8%,.6), -10px -10px 22px hsla(220,16%,22%,.78);
  }
}

#cases [role="region"] > button:disabled,
#team [role="region"] > button:disabled,
.dommoy-reviews-section [role="region"] > button:disabled {
  opacity: 0 !important;
  pointer-events: none !important;
}

html.light #home.dommoy-premium-hero .hero-stat-label {
  color: #22262d !important;
  text-shadow: 0 1px 0 #fff, 0 2px 0 rgba(104,112,124,.34), 0 5px 9px rgba(15,23,42,.16) !important;
}

@media (max-width: 760px) {
  #home.dommoy-premium-hero > picture {
    background-color: #05070b;
    background-image: linear-gradient(to bottom, #05070b 68%, #0b1018);
  }
  html.light #home.dommoy-premium-hero > picture {
    background-color: #e9f1f6;
    background-image: linear-gradient(to bottom, #e9f1f6 68%, #d9e6ee);
  }
  #home.dommoy-premium-hero > picture::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 177.68vw;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(to bottom, rgba(5,7,11,.12), rgba(5,7,11,.72)), url('/images/dommoy-hero-night.jpg?v=20260712-v1');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    filter: blur(1px);
    transform: scaleY(-1);
  }
  html.light #home.dommoy-premium-hero > picture::after {
    background-image: linear-gradient(to bottom, rgba(233,241,246,.1), rgba(233,241,246,.62)), url('/images/dommoy-hero-day.jpg?v=20260712-v1');
  }
  #home.dommoy-premium-hero > .relative.container { padding-top: 166px; }
  #home.dommoy-premium-hero .glass-hero { top: 102px; left: 16px; right: 16px; width: auto; max-width: none; justify-content: center; padding: 9px 14px; transform: none !important; }
  #home.dommoy-premium-hero .glass-hero span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
  #home .dommoy-metal-logo { width: min(790px, 92vw) !important; }
  #home.dommoy-premium-hero h1 { font-size: 34px !important; line-height: 1.12; letter-spacing: 0 !important; }
  #home.dommoy-premium-hero p { font-size: 17px !important; line-height: 1.52; }
  #home.dommoy-premium-hero .mb-6.flex button { width: 100%; min-width: 0; height: 58px; }
  #home .dommoy-hero-bg { object-fit: contain; object-position: center top; }
}
