:root {
  --mdh-bg: #f8f7ff;
  --mdh-surface: rgba(255, 255, 255, 0.78);
  --mdh-surface-strong: #ffffff;
  --mdh-ink: #0f0a1e;
  --mdh-ink-soft: #3d3558;
  --mdh-muted: #73688f;
  --mdh-line: rgba(107, 33, 212, 0.12);
  --mdh-line-strong: rgba(107, 33, 212, 0.2);
  --mdh-purple: #6b21d4;
  --mdh-blue: #2563eb;
  --mdh-orange: #e8540a;
  --mdh-grad: linear-gradient(135deg, #6b21d4 0%, #2563eb 100%);
  --mdh-grad-soft: linear-gradient(135deg, rgba(107, 33, 212, 0.08), rgba(37, 99, 235, 0.08));
  --mdh-shadow: 0 16px 50px rgba(15, 10, 30, 0.12);
}

html {
  overflow-x: hidden;
}

body.home-template-body {
  background: var(--mdh-bg);
  color: var(--mdh-ink);
}

.home-template {
  position: relative;
}

#pip-w {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 500;
  transition: opacity 0.4s;
}

.pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(107, 33, 212, 0.18);
  border: 1.5px solid rgba(107, 33, 212, 0.25);
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.pip::before {
  content: attr(data-label);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: #fff;
  border: 1px solid var(--mdh-line);
  border-radius: 12px;
  padding: 3px 9px;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--mdh-ink-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
  box-shadow: 0 1px 3px rgba(15, 10, 30, 0.06), 0 1px 2px rgba(15, 10, 30, 0.04);
}

.pip:hover::before,
.pip.act::before {
  opacity: 1;
}

.pip.act {
  background: var(--mdh-orange);
  border-color: var(--mdh-orange);
  transform: scale(1.5);
  box-shadow: 0 0 8px rgba(232, 84, 10, 0.4);
}

.pip.done {
  background: var(--mdh-purple);
  border-color: var(--mdh-purple);
}

#shhint {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 100;
  transition: opacity 0.5s;
  pointer-events: none;
}

.shm-light {
  width: 20px;
  height: 30px;
  border: 1.5px solid rgba(107, 33, 212, 0.3);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.shw-light {
  width: 2.5px;
  height: 6px;
  background: var(--mdh-purple);
  border-radius: 2px;
  opacity: 0.6;
  animation: shW 1.9s ease infinite;
}

@keyframes shW {
  0% { opacity: 0.6; transform: translateY(0); }
  75% { opacity: 0; transform: translateY(9px); }
  100% { opacity: 0; }
}

.sht-light {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mdh-muted);
}

#btt {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 400;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--mdh-line);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--mdh-ink-soft);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(15, 10, 30, 0.06), 0 1px 2px rgba(15, 10, 30, 0.04);
}

#btt.show {
  opacity: 1;
  transform: translateY(0);
}

#btt:hover {
  background: var(--mdh-purple);
  color: #fff;
  border-color: var(--mdh-purple);
  box-shadow: 0 4px 16px rgba(107, 33, 212, 0.3);
}

#hero-outer {
  position: relative;
  height: 500vh;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--mdh-bg);
  /* Prevent browser from claiming the touch gesture on mobile so our
     passive:false touchmove listener can call preventDefault() */
  touch-action: none;
}

#sky-cvs,
#mt-cvs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#mt-cvs {
  pointer-events: none;
}

#raki-el {
  position: absolute;
  z-index: 30;
  pointer-events: none;
  transform: translate(-50%, -85%);
  filter: drop-shadow(0 6px 20px rgba(107, 33, 212, 0.18));
}

#raki-el svg {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes rbob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }
@keyframes rll  { 0%,100%{transform:rotate(-18deg)} 50%{transform:rotate(18deg)} }
@keyframes rlr  { 0%,100%{transform:rotate(18deg)} 50%{transform:rotate(-18deg)} }
@keyframes ral  { 0%,100%{transform:rotate(-12deg)} 50%{transform:rotate(12deg)} }
@keyframes rar  { 0%,100%{transform:rotate(12deg)} 50%{transform:rotate(-12deg)} }
@keyframes rtw  { 0%,100%{transform:rotate(-8deg)} 50%{transform:rotate(8deg)} }

.wlk #rbody, .wlk #rhead { animation: rbob .42s ease-in-out infinite; }
.wlk #rlegl { animation: rll .42s ease-in-out infinite; }
.wlk #rlegr { animation: rlr .42s ease-in-out infinite; }
.wlk #rarml { animation: ral .42s ease-in-out infinite; }
.wlk #rarmr { animation: rar .42s ease-in-out infinite; }
.wlk #rtail { animation: rtw .55s ease-in-out infinite; }

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(107, 33, 212, 0.1);
  border-radius: 18px;
  padding: 20px 22px;
  width: clamp(220px, 32vw, 290px);
  box-sizing: border-box;
  box-shadow: 0 16px 38px rgba(15, 10, 30, 0.08);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition:
    opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-card[data-side="left"] {
  left: 3%;
  top: 50%;
  transform: translateY(-50%) translateX(-24px);
}

.hero-card[data-side="right"] {
  right: 3%;
  left: auto;
  top: 50%;
  transform: translateY(-50%) translateX(24px);
}

.hero-card.on {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0) !important;
}

.hero-card:hover {
  border-color: rgba(107, 33, 212, 0.22);
  box-shadow: 0 24px 64px rgba(107, 33, 212, 0.16), 0 8px 24px rgba(107, 33, 212, 0.08);
}

.hc-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mdh-purple);
  margin-bottom: 8px;
  display: block;
}

.hc-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.hc-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.0625rem;
  line-height: 1.2;
  color: var(--mdh-ink);
  margin-bottom: 6px;
}

.hc-desc {
  font-size: 0.6875rem;
  line-height: 1.78;
  color: var(--mdh-ink-soft);
  margin-bottom: 12px;
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mdh-purple);
  text-decoration: none;
  transition: gap 0.2s;
}

.hc-btn:hover {
  gap: 9px;
}

.hc-btn::after {
  content: '→';
}

#hc-intro {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  width: min(400px, 84vw);
  box-sizing: border-box;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(107, 33, 212, 0.1);
  border-radius: 18px;
  padding: 32px 32px;
  box-shadow: 0 16px 38px rgba(15, 10, 30, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s, transform 0.6s;
  z-index: 25;
}

#hc-intro.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

#hc-intro h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  line-height: 1.15;
  color: var(--mdh-ink);
  margin-bottom: 8px;
}

#hc-intro p {
  font-size: 0.8125rem;
  color: var(--mdh-ink-soft);
  line-height: 1.7;
  margin-bottom: 14px;
}

.scroll-hint-light {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mdh-ink-soft);
  font-weight: 500;
}

.sh-arrow {
  animation: shA 1.6s ease-in-out infinite;
  display: inline-block;
}

@keyframes shA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

#hc-summit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.88);
  width: min(480px, 90vw);
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(107, 33, 212, 0.14);
  border-radius: 26px;
  padding: 48px 40px;
  box-shadow: 0 24px 64px rgba(107, 33, 212, 0.16), 0 8px 24px rgba(107, 33, 212, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s, transform 0.7s;
  z-index: 40;
}

#hc-summit.on {
  opacity: 1;
  transform: translate(-50%, -52%) scale(1);
  pointer-events: auto;
}

.summit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mdh-purple);
  background: rgba(107, 33, 212, 0.07);
  border: 1px solid rgba(107, 33, 212, 0.15);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.summit-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--mdh-ink);
  margin-bottom: 12px;
}

.summit-sub {
  font-size: 0.8125rem;
  color: var(--mdh-ink-soft);
  line-height: 1.72;
  margin-bottom: 24px;
}

.summit-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mdh-line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--mdh-line);
}

.ss-item {
  background: var(--mdh-bg);
  padding: 14px 8px;
  text-align: center;
}

.ss-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5625rem;
  background: var(--mdh-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}

.ss-lbl {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mdh-ink-soft);
}

.summit-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mdh-ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(15, 10, 30, 0.2);
}

.summit-cta:hover {
  background: var(--mdh-purple);
  transform: translateY(-2px);
  box-shadow: 0 24px 64px rgba(107, 33, 212, 0.16), 0 8px 24px rgba(107, 33, 212, 0.08);
}

#cfw {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 26px;
  pointer-events: none;
}

@keyframes ccF {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--cx), 260px) rotate(480deg); }
}


.mdh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.mdh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mdh-btn-primary {
  background: var(--mdh-grad);
  color: #fff;
  box-shadow: 0 14px 40px rgba(107, 33, 212, 0.24);
}

.mdh-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(107, 33, 212, 0.3);
}

.mdh-btn-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--mdh-ink);
  border-color: var(--mdh-line);
}

.mdh-btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 10, 30, 0.08);
}

.mdh-section {
  position: relative;
  padding: 86px 24px;
}

.mdh-section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.mdh-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--mdh-purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mdh-section-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--mdh-purple);
  border-radius: 999px;
}

.mdh-section-title {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--mdh-ink);
  max-width: 18ch;
}

.mdh-section-lead {
  margin: 0;
  max-width: 760px;
  color: var(--mdh-ink-soft);
  line-height: 1.75;
  font-size: 1rem;
}

.mdh-band {
  background: var(--mdh-surface);
  border-top: 1px solid var(--mdh-line);
  border-bottom: 1px solid var(--mdh-line);
}

.mdh-marquee {
  overflow: hidden;
  background: linear-gradient(90deg, rgba(248,247,255,.96), rgba(255,255,255,.98), rgba(248,247,255,.96));
  border-top: 1px solid rgba(107,33,212,.08);
  border-bottom: 1px solid rgba(107,33,212,.08);
}

.mdh-marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 18px 0;
  animation: mdh-marquee 32s linear infinite;
  opacity: 1;
}

.mdh-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-size: clamp(1.28rem, 1.75vw, 1.9rem) !important;
  font-weight: 400 !important;
  letter-spacing: .025em !important;
  text-transform: none !important;
  font-style: italic !important;
  color: rgba(15,10,30,.68) !important;
  line-height: 1.2;
}

.mdh-marquee-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6B21D4, #2563EB) !important;
  opacity: .55;
  box-shadow: 0 0 18px rgba(107,33,212,.26);
  flex-shrink: 0;
}

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

.mdh-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mdh-stat {
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--mdh-line);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(15, 10, 30, 0.05);
  text-align: center;
}

.mdh-stat strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--mdh-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mdh-stat span {
  display: block;
  margin-top: 8px;
  color: var(--mdh-ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.mdh-metric-tone-purple strong,
.mdh-metric-tone-purple span {
  color: #9c32e6;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.mdh-metric-tone-blue strong,
.mdh-metric-tone-blue span {
  color: #3084e2;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.ss-item.mdh-metric-tone-purple .ss-num,
.ss-item.mdh-metric-tone-purple .ss-lbl {
  color: #9c32e6;
}

.ss-item.mdh-metric-tone-purple .ss-num {
  background: none;
  -webkit-text-fill-color: currentColor;
}

.ss-item.mdh-metric-tone-blue .ss-num,
.ss-item.mdh-metric-tone-blue .ss-lbl {
  color: #3084e2;
}

.ss-item.mdh-metric-tone-blue .ss-num {
  background: none;
  -webkit-text-fill-color: currentColor;
}

.mdh-scope-tone-purple {
  color: #9c32e6 !important;
}

.mdh-scope-tone-blue {
  color: #3084e2 !important;
}

.mdh-service-grid,
.mdh-ref-grid,
.mdh-blog-grid,
.mdh-faq-grid {
  display: grid;
  gap: 16px;
}

.mdh-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.mdh-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--mdh-line);
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(15, 10, 30, 0.05);
}

.mdh-service-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.mdh-service-card::after {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--mdh-muted);
}

.mdh-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--mdh-grad-soft);
  color: var(--mdh-purple);
  font-size: 1.4rem;
}

.mdh-service-card h3,
.mdh-ref-card h3,
.mdh-blog-card h3,
.mdh-faq-q {
  margin: 0;
  color: var(--mdh-ink);
}

.mdh-service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.mdh-service-card p,
.mdh-ref-card p,
.mdh-blog-card p,
.mdh-faq-a {
  margin: 0;
  color: var(--mdh-ink-soft);
  line-height: 1.72;
  font-size: 0.95rem;
}

.mdh-ref-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.mdh-ref-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.mdh-ref-logo {
  width: 100%;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--mdh-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(15, 10, 30, 0.04);
}

.mdh-ref-logo img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.mdh-ref-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--mdh-ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mdh-ref-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.mdh-ref-card {
  padding: 20px;
  min-height: 240px;
}

.mdh-ref-card .mdh-ref-thumb {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: var(--mdh-grad-soft);
  border: 1px solid rgba(107, 33, 212, 0.08);
}

.mdh-ref-card .mdh-ref-thumb img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.mdh-ref-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--mdh-purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mdh-blog-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.mdh-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mdh-blog-grid-three {
  align-items: stretch;
}

.mdh-blog-featured,
.mdh-blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mdh-blog-featured-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  min-height: 100%;
}

.mdh-blog-featured {
  margin-bottom: 18px;
}

.service-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: 24px;
  align-items: center;
}

.service-story__media {
  margin: 0;
}

.service-story__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(15, 10, 30, 0.1);
}

.service-highlights {
  margin: 18px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--mdh-ink-soft);
}

.service-highlights li {
  line-height: 1.62;
}

.mdh-blog-featured-media,
.mdh-blog-media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--mdh-line);
  aspect-ratio: 16 / 10;
}

.mdh-blog-featured-media img,
.mdh-blog-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.mdh-blog-featured:hover img,
.mdh-blog-card:hover img {
  transform: scale(1.04);
}

.mdh-blog-featured-body,
.mdh-blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mdh-blog-featured h3,
.mdh-blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.mdh-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  color: var(--mdh-muted);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: auto;
}

.mdh-faq-grid {
  grid-template-columns: 1fr 1fr;
}

.mdh-faq-item {
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid var(--mdh-line);
  background: rgba(255, 255, 255, 0.84);
}

.mdh-faq-q {
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
}

.mdh-faq-a {
  padding-top: 12px;
}

.mdh-cta {
  border-radius: 34px;
  padding: 34px 28px;
  background: var(--mdh-ink);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 20px 60px rgba(15, 10, 30, 0.18);
}

.mdh-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.mdh-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.mdh-cta .mdh-btn {
  white-space: nowrap;
}

.mdh-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.mdh-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .mdh-service-grid,
  .mdh-ref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdh-ref-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mdh-blog-grid {
    grid-template-columns: 1fr;
  }

  .mdh-blog-featured-shell {
    grid-template-columns: 1fr;
  }

  .mdh-blog-featured-media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .mdh-section {
    padding: 68px 16px;
  }

  .service-story {
    grid-template-columns: 1fr;
  }

  .mdh-service-grid,
  .mdh-ref-grid,
  .mdh-faq-grid,
  .mdh-stats {
    grid-template-columns: 1fr;
  }

  .mdh-ref-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdh-ref-head,
  .mdh-blog-top,
  .mdh-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mdh-marquee-track {
    animation: none;
  }

  .mdh-reveal {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .hero-card {
    width: min(42vw, 250px);
  }

  #pip-w {
    right: 12px;
  }
}

@media (max-width: 760px) {
  #pip-w {
    right: 8px;
  }
}

@media (max-width: 640px) {
  .mdh-marquee-item {
    font-size: 1.12rem !important;
  }

  .hero-card {
    width: calc(46vw - 8px) !important;
    padding: 11px 13px;
  }

  #hc-intro {
    width: min(350px, calc(100% - 20px));
    padding: 22px 16px;
  }

  #hc-intro h1 {
    font-size: clamp(1.08rem, 4.9vw, 1.42rem);
    line-height: 1.12;
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
  }

  #hc-intro p {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .hero-card[data-side="right"] {
    right: 2% !important;
  }

  .hc-desc {
    display: none;
  }

  #hc-intro {
    width: calc(90vw);
  }

  #hc-summit {
    width: calc(92vw);
    padding: 24px 20px;
  }

  #raki-el {
    display: none;
  }

  #pip-w {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero-stage *,
  #pip-w,
  #shhint,
  #btt {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
