/* DoctorHub dynamic shell — Figma navy/teal brand, durable assets */
body.dh-design {
  --dh-navy: #0b3a5c;
  --dh-teal: #0d9488;
  --dh-cta: #e85d4c;
  --dh-font-display: "Fraunces", Georgia, serif;
  --dh-font-body: "Source Sans 3", "Segoe UI", sans-serif;
  font-family: var(--dh-font-body);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(13, 148, 136, 0.08), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 40%, #eef2f6 100%);
  color: #334155;
}

body.dh-design .dh-logo,
body.dh-design .dh-hero h1,
body.dh-design .dh-section-head h2,
body.dh-design .dh-footer-logo {
  font-family: var(--dh-font-display);
}

.dh-top-ribbon {
  background: linear-gradient(90deg, #0b3a5c, #0f766e 55%, #0d9488);
  color: #ecfdf5;
  font-size: 0.78rem;
  font-weight: 600;
}
.dh-top-ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0;
  align-items: center;
}
.dh-top-ribbon a {
  color: #fff;
  text-decoration: none;
  margin-left: 0.85rem;
  opacity: 0.92;
}
.dh-top-ribbon a:hover { text-decoration: underline; opacity: 1; }

.dh-site-header--elevated {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 28px rgba(11, 58, 92, 0.06);
}

body.dh-design .dh-hero {
  background:
    linear-gradient(120deg, rgba(11, 58, 92, 0.92) 0%, rgba(13, 148, 136, 0.78) 48%, rgba(11, 58, 92, 0.55) 100%),
    var(--dh-hero-bg, #0b3a5c) center/cover no-repeat;
  color: #f8fafc;
  min-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
body.dh-design .dh-hero::before {
  background:
    radial-gradient(700px 360px at 20% 20%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(180deg, transparent 55%, rgba(11, 58, 92, 0.35));
}
body.dh-design .dh-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  letter-spacing: -0.03em;
  max-width: 14ch;
  line-height: 1.12;
  animation: dh-fade-up 0.7s ease both;
}
body.dh-design .dh-hero-lead {
  color: rgba(248, 250, 252, 0.9);
  max-width: 36rem;
  animation: dh-fade-up 0.7s 0.08s ease both;
}
body.dh-design .dh-hero-kicker {
  color: #99f6e4;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  animation: dh-fade-up 0.55s ease both;
}
body.dh-design .dh-hero-actions {
  animation: dh-fade-up 0.7s 0.14s ease both;
}
body.dh-design .dh-btn-primary {
  background: #e85d4c;
  border-color: #e85d4c;
  box-shadow: 0 10px 24px rgba(232, 93, 76, 0.28);
}
body.dh-design .dh-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}
body.dh-design .dh-btn-outline:hover {
  background: #fff;
  color: #0b3a5c;
}
body.dh-design .dh-loc-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}
body.dh-design .dh-loc-pill strong { color: #fff; }

body.dh-design .dh-hero-visual {
  position: relative;
  animation: dh-fade-up 0.8s 0.1s ease both;
}
body.dh-design .dh-hero-img-main {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.2);
}
body.dh-design .dh-hero-img-secondary {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 46%;
  max-width: 220px;
  border-radius: 16px;
  border: 3px solid #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.dh-showcase {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}
.dh-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .dh-showcase-grid { grid-template-columns: 1fr; }
  body.dh-design .dh-hero-inner { grid-template-columns: 1fr; }
  body.dh-design .dh-hero-img-secondary { position: static; width: 100%; max-width: none; margin-top: 0.75rem; }
}
.dh-show-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 0.75rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(11, 58, 92, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dh-show-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(11, 58, 92, 0.1);
}
.dh-show-card img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}
.dh-show-card strong {
  display: block;
  color: var(--dh-navy);
  font-size: 0.98rem;
}
.dh-show-card span {
  font-size: 0.82rem;
  color: #64748b;
}

.dh-site-footer--rich {
  position: relative;
  margin-top: 3rem;
  background: linear-gradient(165deg, #062538 0%, #0b3a5c 45%, #0f766e 100%);
  color: #cbd5e1;
  padding-top: 3rem;
}
.dh-footer-wave {
  position: absolute;
  top: -28px;
  left: 0;
  right: 0;
  height: 28px;
  background: radial-gradient(120% 28px at 50% 0%, transparent 60%, #062538 61%);
}
.dh-footer-grid {
  position: relative;
  gap: 1.75rem;
}
.dh-footer-logo-link {
  display: inline-block;
  margin-bottom: 0.65rem;
}
.dh-footer-logo-img {
  display: block;
  width: auto;
  max-width: 220px;
  height: 48px;
  object-fit: contain;
  /* Soft plate so navy logo stays readable on dark footer */
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
}
.dh-footer-logo {
  font-size: 1.35rem;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}
.dh-footer-brand p { opacity: 0.9; max-width: 28rem; }
.dh-site-footer--rich a { color: #99f6e4; text-decoration: none; }
.dh-site-footer--rich a:hover { color: #fff; }
.dh-site-footer--rich strong { color: #fff; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.dh-footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.dh-footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}
.dh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding: 1rem 0 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  opacity: 0.85;
}

@keyframes dh-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-dh-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-dh-reveal].is-in {
  opacity: 1;
  transform: none;
}
