:root {
  --primary: #17a2b8;
  --primary-dark: #0c7e90;
  --ink: #0f1e4c;
  --body: #444444;
  --dark: #07112f;
  --light: #f1f7f3;
  --white: #ffffff;
  --line: #dcdcdc;
  --muted: #6e7892;
  --shadow: 0 26px 80px rgba(7, 17, 47, 0.13);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Mona Sans", Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--primary), #ffffff);
  box-shadow: 0 0 24px rgba(23, 162, 184, 0.45);
  pointer-events: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 8px 24px;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: 0 14px 42px rgba(3, 12, 36, 0.18);
  transition: box-shadow 220ms ease, min-height 220ms ease, padding 220ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  min-height: 70px;
  background: var(--dark);
  box-shadow: 0 16px 48px rgba(3, 12, 36, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
}

.brand-mark img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.brand-dark {
  color: var(--ink);
}

.brand-dark .brand-mark {
  border-color: rgba(15, 30, 76, 0.12);
  background: var(--white);
}

.main-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

.main-nav a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-height: 40px;
  padding: 10px 10px;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  transition: color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.nav-trigger {
  appearance: none;
  border: 0;
  font: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.nav-item {
  position: relative;
}

.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
  transition: transform 180ms ease;
}

.nav-item.is-open .nav-trigger::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 80;
  display: grid;
  min-width: 250px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(7, 17, 47, 0.98);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown-wide {
  min-width: 280px;
}

.nav-dropdown a {
  min-height: 38px;
  justify-content: flex-start;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.86);
  text-transform: none;
  font-size: 13px;
  font-weight: 750;
}

.main-nav .nav-dropdown a:hover {
  background: rgba(25, 169, 187, 0.16);
  color: var(--white);
}

.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav a.is-active,
.nav-trigger.is-active {
  background: var(--white);
  color: var(--ink);
}

.main-nav a:hover,
.nav-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.main-nav a.is-active:hover,
.nav-trigger.is-active:hover,
.nav-item.is-open .nav-trigger.is-active {
  background: var(--white);
  color: var(--ink);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 300px;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  line-height: 1.05;
}

.phone svg {
  width: 34px;
  fill: var(--white);
}

.phone small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.78;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.26), transparent 58%);
  transform: translateX(-120%);
  transition: transform 520ms var(--ease-out);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.hero .btn-primary {
  animation: heroPulse 2.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.42);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 16px 34px rgba(23, 162, 184, 0.2);
}

.hero .btn-primary:hover {
  animation-play-state: paused;
}

.btn-light {
  min-height: 56px;
  padding-inline: 20px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
}

.btn-light:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/hero-medlife.png");
  background-position: 28% top;
  background-size: cover;
  transform: scale(1.02);
}

@media (prefers-reduced-motion: no-preference) {
  .hero:not(.hero-split) .hero-media {
    animation: heroLens 18s var(--ease-out) both;
  }

  .hero-copy-card::before,
  .hero .eyebrow,
  .hero h1,
  .hero-bottom,
  .hero-trust-panel {
    animation: heroRise 820ms var(--ease-out) both;
  }

  .hero .eyebrow {
    animation-delay: 120ms;
  }

  .hero h1 {
    animation-delay: 220ms;
  }

  .hero-bottom {
    animation-delay: 340ms;
  }

  .hero-trust-panel {
    animation-delay: 430ms;
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(274deg, rgba(0, 26, 30, 0) 35%, rgba(0, 26, 30, 0.65) 67%, #001a1e 100%),
    linear-gradient(1deg, rgba(0, 26, 30, 0) 48%, rgba(0, 26, 30, 0.2) 80%, rgba(0, 26, 30, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 17, 47, 0.15), rgba(7, 17, 47, 0.28));
}

.hero-medical-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-particles span {
  position: absolute;
  width: var(--size, 4px);
  height: var(--size, 4px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(122, 240, 247, 0.92) 0%, rgba(122, 240, 247, 0.32) 38%, rgba(122, 240, 247, 0) 72%);
  opacity: 0.22;
  box-shadow: 0 0 14px rgba(23, 162, 184, 0.18);
}

.hero-ekg-line {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 18%;
  opacity: 0.18;
  filter: drop-shadow(0 0 12px rgba(23, 162, 184, 0.22));
}

.hero-ekg-line svg {
  width: 100%;
  height: clamp(88px, 11vw, 160px);
}

.hero-ekg-line path {
  fill: none;
  stroke: rgba(120, 236, 245, 0.85);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 10;
}

.hero-med-icon {
  position: absolute;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(120, 236, 245, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0.38;
  backdrop-filter: blur(6px);
}

.hero-med-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-med-icon-heart {
  top: 21%;
  right: 11%;
}

.hero-med-icon-cross {
  top: 31%;
  right: 23%;
}

.hero-med-icon-stetho {
  bottom: 29%;
  left: 8%;
}

.hero-med-icon-syringe {
  bottom: 18%;
  right: 18%;
}

.hero-content {
  min-height: 100vh;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 170px 0 98px;
  display: grid;
  align-content: center;
  gap: 30px;
}

.hero-content-alt {
  grid-template-columns: minmax(0, 660px) minmax(280px, 380px);
  align-items: end;
  justify-content: space-between;
  gap: 44px;
}

.hero-copy-card {
  position: relative;
  width: min(660px, 100%);
  padding: 0 0 12px;
}

.hero-copy-card::before {
  content: "";
  position: absolute;
  left: -34px;
  top: -38px;
  width: 4px;
  height: 118px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 22px 52px rgba(23, 162, 184, 0.34);
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 17px;
  font-weight: 800;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.eyebrow span {
  display: inline-block;
  color: var(--white);
  background: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--white);
  font-size: 96px;
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.m-line {
  display: inline;
}

.hero-bottom {
  width: min(520px, 100%);
  display: grid;
  gap: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-trust-panel {
  display: grid;
  align-self: end;
  width: min(380px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 17, 47, 0.68);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.hero-trust-panel div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust-panel div:last-child {
  border-bottom: 0;
}

.hero-trust-panel strong {
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
}

.hero-trust-panel span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.hero-split {
  min-height: 92vh;
  color: var(--ink);
  background:
    linear-gradient(112deg, rgba(23, 162, 184, 0.1), transparent 32%),
    var(--light);
}

.hero-split .hero-media {
  inset: 94px 0 0 auto;
  z-index: 0;
  width: 52vw;
  min-width: 620px;
  background-position: 52% top;
  transform: none;
  border-bottom-left-radius: 92px;
  box-shadow: -38px 42px 90px rgba(7, 17, 47, 0.18);
}

.hero-split .hero-shade {
  inset: 94px 0 0 auto;
  z-index: 1;
  width: 52vw;
  min-width: 620px;
  border-bottom-left-radius: 92px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 17, 47, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(7, 17, 47, 0.08), rgba(7, 17, 47, 0.34));
}

.hero-split .hero-content {
  position: relative;
  z-index: 2;
  min-height: 92vh;
  padding: 170px 0 82px;
  align-content: center;
}

.hero-split .hero-content-alt {
  grid-template-columns: minmax(0, 650px);
  align-items: center;
}

.hero-split .hero-copy-card {
  padding: 0;
}

.hero-split .hero-copy-card::before {
  left: 0;
  top: -28px;
  width: 110px;
  height: 4px;
  box-shadow: 0 18px 42px rgba(23, 162, 184, 0.28);
}

.hero-split h1 {
  max-width: 650px;
  color: var(--ink);
  font-size: 68px;
  line-height: 1.04;
  font-weight: 600;
}

.hero-split .m-line {
  display: block;
}

.hero-split .hero-bottom p {
  color: var(--muted);
}

.hero-split .btn-ghost {
  color: var(--ink);
  border-color: rgba(15, 30, 76, 0.18);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(7, 17, 47, 0.08);
}

.hero-split .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.76);
}

.hero-split .hero-trust-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(640px, 100%);
  margin-top: 32px;
  border: 1px solid rgba(15, 30, 76, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(7, 17, 47, 0.1);
  backdrop-filter: none;
}

.hero-split .hero-trust-panel div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  padding: 18px 20px;
  border-right: 1px solid rgba(15, 30, 76, 0.08);
  border-bottom: 0;
}

.hero-split .hero-trust-panel div:last-child {
  border-right: 0;
}

.hero-split .hero-trust-panel span {
  color: var(--muted);
}

.section {
  padding: 120px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 54px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: end;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

.section-heading h2,
.benefit-copy h2,
.booking-form h2 {
  margin: 0;
  color: var(--ink);
  font-size: 68px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 500;
}

.about-feature {
  overflow: hidden;
  background: var(--white);
}

.about-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: 58px;
  align-items: end;
}

.about-showcase {
  min-width: 0;
}

.about-pill {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: #f3f8fb;
  border: 1px solid rgba(15, 30, 76, 0.08);
  box-shadow: inset 0 2px 8px rgba(15, 30, 76, 0.08);
  font-weight: 700;
  line-height: 1;
}

.about-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.about-showcase h2 {
  max-width: 690px;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 64px;
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 500;
}

.about-showcase h2 span,
.about-showcase h2 em {
  display: block;
}

.about-showcase h2 em {
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.about-photo-frame {
  position: relative;
  min-height: 0;
  border-radius: 8px;
}

.about-photo-frame > img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(7, 17, 47, 0.12);
}

.about-proof {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 24px;
  padding-bottom: 20px;
}

.about-years {
  color: rgba(15, 30, 76, 0.08);
  font-size: 178px;
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: 0;
}

.about-proof-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.about-proof-heading img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  padding: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 17, 47, 0.1);
}

.about-proof-heading h3 {
  margin: 0;
  max-width: 470px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
  text-transform: uppercase;
  font-weight: 800;
}

.about-proof p {
  max-width: 580px;
  margin: 0;
  color: var(--body);
  font-size: 18px;
}

.about-proof-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-proof-facts span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--light);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.about .section-heading {
  max-width: 1160px;
}

.about-overview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1080px;
  margin-bottom: 28px;
}

.doctor-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 30px;
  align-items: stretch;
}

.doctor-about-grid > * {
  min-width: 0;
}

.bio-panel {
  min-width: 0;
  padding: 42px;
  border-radius: 8px;
  background: var(--light);
  color: var(--body);
  font-size: 18px;
}

.bio-panel p {
  margin: 0;
}

.bio-panel p + p {
  margin-top: 22px;
}

.profile-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  gap: 26px;
  align-content: start;
  padding: 34px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.profile-card > img {
  width: min(320px, 100%);
  justify-self: center;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
}

.profile-card > .profile-photo {
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  padding: 0;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.profile-facts {
  display: grid;
  gap: 14px;
}

.profile-facts div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-facts strong {
  color: var(--primary);
  font-size: 30px;
  line-height: 1;
}

.profile-facts span {
  color: rgba(255, 255, 255, 0.78);
}

.hours-card {
  background: var(--primary);
  color: var(--white);
  padding: 34px;
  border-radius: 8px;
  min-height: 280px;
}

.hours-card h3 {
  margin: 0 0 24px;
  color: var(--white);
  font-size: 28px;
}

.hours-card dl,
.hours-card dd {
  margin: 0;
}

.hours-card div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.hours-card dt,
.hours-card dd {
  font-weight: 700;
}

.experience {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 36px;
  border-radius: 8px;
  background: var(--light);
}

.single-doctor-card {
  min-height: 300px;
  display: grid;
  align-content: end;
}

.experience-logo {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 12px;
  margin: 92px 0 28px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(7, 17, 47, 0.12);
}

.years {
  position: absolute;
  left: 28px;
  top: 8px;
  color: rgba(15, 30, 76, 0.07);
  font-size: 150px;
  line-height: 1;
  font-weight: 800;
}

.doctor-stack {
  position: relative;
  z-index: 1;
  display: flex;
  margin: 82px 0 28px;
}

.doctor-stack img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--white);
  margin-left: -18px;
}

.doctor-stack img:first-child {
  margin-left: 0;
}

.experience h3,
.about-copy p {
  position: relative;
  z-index: 1;
}

.experience h3 {
  max-width: 360px;
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
}

.about-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 26px;
  font-size: 18px;
}

.about-copy p {
  margin: 0;
}

.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='none'%3E%3Cpath d='M0 48h120l18-18 20 36 22-52 24 34h130l18-18 20 36 22-52 24 34h130l18-18 20 36 22-52 24 34h130l18-18 20 36 22-52 24 34h130l18-18 20 36 22-52 24 34h130' fill='none' stroke='rgba(23,162,184,0.18)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center center;
  background-size: 520px 56px;
  animation: marqueeEkgDrift 26s linear infinite;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.marquee-dark {
  background: var(--dark);
  color: var(--white);
  border: 0;
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 44px;
  padding: 26px 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: marquee 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: running;
}

.marquee-track.reverse {
  animation-direction: reverse;
}

.marquee span {
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  white-space: nowrap;
}

.marquee-dark span {
  color: var(--white);
}

.departments {
  background: var(--light);
}

.services {
  background: var(--white);
}

.expertise-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0)),
    var(--light);
}

.expertise-heading {
  margin-bottom: 44px;
}

.expertise-heading > p {
  max-width: 450px;
  color: var(--body);
}

.expertise-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.expertise-layout > *,
.expertise-secondary-group > * {
  min-width: 0;
}

.expertise-feature-card,
.expertise-mini-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 58px rgba(7, 17, 47, 0.09);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 240ms ease, background 240ms ease, color 240ms ease;
}

.expertise-card::marker {
  content: "";
}

.expertise-card:focus-visible {
  outline: 3px solid rgba(25, 169, 187, 0.36);
  outline-offset: 4px;
}

.expertise-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(25, 169, 187, 0);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.expertise-card::selection {
  background: rgba(23, 162, 184, 0.18);
}

.expertise-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -48% 18%;
  height: 120px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(23, 162, 184, 0.2), transparent 64%);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 260ms var(--ease-out);
}

.expertise-card:hover::after,
.expertise-card.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.expertise-card.is-active::before,
.expertise-card:hover::before {
  border-color: rgba(25, 169, 187, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.expertise-feature-card {
  min-height: 330px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 34px;
  border: 1px solid rgba(15, 30, 76, 0.06);
}

.expertise-card.is-active,
.expertise-card:hover {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(7, 17, 47, 0.13);
}

.expertise-feature-card:hover,
.expertise-mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 78px rgba(7, 17, 47, 0.14);
}

.expertise-card-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(23, 162, 184, 0.16);
  background: rgba(23, 162, 184, 0.08);
  color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition: transform 320ms var(--ease-out), background 240ms ease, color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.expertise-card-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expertise-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(180deg, rgba(23, 162, 184, 0.95), rgba(23, 162, 184, 0.12));
  opacity: 0.58;
  transition: opacity 240ms ease, width 320ms var(--ease-out), box-shadow 240ms ease;
}

.expertise-card:hover .expertise-card-icon,
.expertise-card.is-active .expertise-card-icon {
  transform: translateY(-2px) scale(1.06);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(120, 236, 245, 0.34);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(23, 162, 184, 0.2);
}

.expertise-card:hover .expertise-card-accent,
.expertise-card.is-active .expertise-card-accent {
  width: 6px;
  opacity: 1;
  box-shadow: 0 0 22px rgba(23, 162, 184, 0.3);
}

.expertise-feature-card > span,
.expertise-mini-card > span {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

/* Decorative badges were removed to keep the expertise cards cleaner. */
.expertise-feature-card > span,
.expertise-mini-card > span,
.expertise-card-icon {
  display: none !important;
}

.expertise-card:hover > span,
.expertise-card.is-active > span {
  transform: scale(1.06);
}

.expertise-card:hover > span,
.expertise-card.is-active > span {
  background: var(--white);
  color: var(--ink);
}

.expertise-label {
  position: relative;
  z-index: 2;
  margin: 6px 0 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.expertise-feature-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
  overflow-wrap: anywhere;
  transition: color 220ms ease;
}

.expertise-card.is-active h3,
.expertise-card:hover h3 {
  color: var(--white);
}

.expertise-feature-card p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.expertise-feature-card p:last-child {
  color: inherit;
  font-size: 17px;
  overflow-wrap: anywhere;
  transition: color 220ms ease;
}

.expertise-card:hover p,
.expertise-card.is-active p,
.expertise-card:hover .expertise-label,
.expertise-card.is-active .expertise-label {
  color: rgba(255, 255, 255, 0.8);
}

.expertise-card:hover .expertise-mini-card p,
.expertise-card.is-active .expertise-mini-card p {
  color: rgba(255, 255, 255, 0.76);
}

.expertise-secondary-marquee {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  margin-inline: -8px;
  padding: 2px 8px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.expertise-secondary-list {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: expertiseCardsMarquee 18s linear infinite !important;
}

.expertise-secondary-marquee:hover .expertise-secondary-list {
  animation-play-state: running;
}

.expertise-secondary-group {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  padding-right: 16px;
}

.expertise-secondary-group[aria-hidden="true"] .expertise-card {
  pointer-events: auto;
}

.expertise-mini-card {
  flex: 0 0 300px;
  width: 300px;
  min-height: 180px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(15, 30, 76, 0.06);
  isolation: isolate;
}

.expertise-mini-card > span {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  font-size: 14px;
}

.expertise-mini-card > div {
  position: relative;
  z-index: 1;
}

.expertise-mini-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
  overflow-wrap: anywhere;
  transition: color 220ms ease;
}

.expertise-mini-card p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  overflow-wrap: anywhere;
  transition: color 220ms ease;
}

.expertise-mini-card.is-active p {
  color: rgba(255, 255, 255, 0.76);
}

@keyframes expertiseCardsMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.expertise-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 26px 30px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(15, 30, 76, 0.08);
  box-shadow: 0 18px 50px rgba(7, 17, 47, 0.08);
}

.expertise-cta p {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

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

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 30, 76, 0.05);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 162, 184, 0.28);
  box-shadow: 0 32px 84px rgba(7, 17, 47, 0.14);
}

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

.surgical-card {
  min-height: 270px;
  border-top: 5px solid var(--primary);
}

.surgical-card div {
  height: 100%;
  display: grid;
  align-content: start;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 700ms var(--ease-out), filter 700ms var(--ease-out);
}

.service-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}

.service-card div {
  padding: 30px;
}

.service-card h3,
.doctor-card h3,
.case-card h3,
.quote-card h3,
.news-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.18;
  font-weight: 700;
}

.service-card p,
.news-card p {
  margin: 0 0 18px;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
}

.service-card a::after {
  content: "→";
  transition: transform 180ms ease;
}

.service-card:hover a::after {
  transform: translateX(4px);
}

.service-detail-page {
  background: var(--light);
}

.service-detail-main {
  padding-top: 78px;
}

.service-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 88px;
  background:
    linear-gradient(90deg, rgba(7, 17, 47, 0.96), rgba(7, 17, 47, 0.72)),
    url("assets/hero-medlife.png") 58% center / cover;
  color: var(--white);
}

.service-detail-hero .kicker {
  color: var(--primary);
}

.service-detail-hero h1 {
  max-width: 820px;
  margin: 12px 0 18px;
  color: var(--white);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
}

.service-detail-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.service-detail-content {
  padding: 86px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.service-detail-panel,
.service-detail-aside {
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(7, 17, 47, 0.08);
}

.service-detail-panel {
  padding: 44px;
}

.service-detail-panel h2,
.service-detail-aside h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.1;
}

.service-detail-panel p {
  margin: 0 0 18px;
  font-size: 17px;
}

.service-detail-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.service-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.service-detail-aside {
  padding: 30px;
  position: sticky;
  top: 108px;
}

.service-detail-aside img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  margin-bottom: 22px;
}

.service-detail-aside p {
  margin: 0 0 22px;
}

.service-detail-note {
  margin-top: 30px;
  padding: 22px;
  border-radius: 8px;
  background: var(--light);
  color: var(--ink);
  font-weight: 700;
}

.service-section-divider {
  height: 1px;
  margin: 34px 0;
  background: rgba(15, 30, 76, 0.1);
}

.service-faq {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.service-faq details {
  padding: 18px 20px;
  border: 1px solid rgba(15, 30, 76, 0.1);
  border-radius: 8px;
  background: var(--light);
}

.service-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.service-faq p {
  margin: 14px 0 0;
  font-size: 16px;
}

.article-byline,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 14px;
}

.article-byline {
  margin: 24px 0 0;
  font-weight: 700;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.article-share a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(15, 30, 76, 0.14);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
}

.article-share a:hover { border-color: var(--primary); color: var(--primary-dark); }

.legal-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(15, 30, 76, 0.1);
}

.cookie-banner {
  position: fixed;
  z-index: 120;
  right: 20px;
  bottom: 20px;
  width: min(440px, calc(100% - 32px));
  padding: 22px;
  border-radius: 12px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(7, 17, 47, 0.28);
}

.cookie-banner h2 { margin: 0 0 8px; color: var(--white); font-size: 20px; }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.6; }
.cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-actions button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 800; }
.cookie-accept { background: var(--primary); color: var(--white); }
.cookie-reject { background: rgba(255, 255, 255, 0.12); color: var(--white); }

@media (max-width: 720px) {
  .legal-footer { width: calc(100% - 32px); }
  .cookie-banner { right: 16px; bottom: 16px; }
}

.benefits {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.76);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr 0.8fr;
  gap: 34px;
  align-items: stretch;
}

.benefit-copy h2,
.booking-form h2 {
  color: var(--white);
}

.benefit-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
}

.benefit-copy p {
  margin: 0;
  font-size: 18px;
}

.benefit-list {
  display: grid;
  gap: 18px;
}

.benefit-list article,
.stats-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.benefit-list span {
  color: var(--primary);
  font-weight: 800;
}

.benefit-list h3 {
  color: var(--white);
  margin: 8px 0;
  font-size: 26px;
}

.benefit-list p {
  margin: 0;
}

.stats-panel {
  display: grid;
  align-content: center;
  gap: 26px;
}

.stats-panel div {
  display: grid;
  gap: 4px;
}

.stats-panel strong {
  color: var(--white);
  font-size: 56px;
  line-height: 1;
}

.stats-panel span {
  color: rgba(255, 255, 255, 0.74);
}

.doctor-grid,
.case-grid,
.testimonial-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.doctor-card,
.case-card,
.quote-card,
.news-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.doctor-card img,
.case-card img,
.news-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}

.news-card > a:first-child {
  display: block;
  overflow: hidden;
}

.doctor-card h3,
.doctor-card p,
.case-card h3,
.case-card p,
.news-card h3,
.news-card p {
  margin-inline: 24px;
}

.doctor-card h3,
.case-card h3,
.news-card h3 {
  margin-top: 24px;
}

.doctor-card p,
.case-card p,
.news-card p {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 24px;
}

.appointment {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 34px;
  align-items: stretch;
}

.appointment-copy {
  display: grid;
  gap: 28px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-row span {
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
}

.appointment-copy p {
  max-width: 710px;
  margin: 0;
  font-size: 18px;
}

.appointment-copy img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: 38px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
}

.booking-form .kicker {
  margin: 0;
}

.booking-form h2 {
  margin: 0 0 8px;
  font-size: 48px;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(23, 162, 184, 0.78);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(23, 162, 184, 0.14);
  transform: translateY(-1px);
}

select option {
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

textarea {
  resize: vertical;
  min-height: 128px;
}

.contact-main {
  padding-top: 70px;
  background: var(--white);
}

.contact-hero {
  padding: 112px 0 78px;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: end;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

.contact-hero p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.contact-info-section {
  padding: 0 0 76px;
  background: var(--white);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.4fr);
  gap: 26px;
  align-items: stretch;
}

.contact-emergency-card {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 360px;
  padding: 42px;
  border-radius: 8px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 28px 74px rgba(7, 17, 47, 0.2);
}

.contact-emergency-card p,
.contact-emergency-card h2,
.contact-emergency-card span {
  margin: 0;
}

.contact-emergency-card p {
  color: var(--primary);
  font-weight: 800;
}

.contact-emergency-card h2 {
  max-width: 480px;
  color: var(--white);
  font-size: 42px;
  line-height: 1.08;
}

.contact-emergency-card a {
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
}

.contact-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-info-card {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 58px rgba(7, 17, 47, 0.08);
}

.contact-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary);
  color: var(--white);
}

.contact-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-card p {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.contact-info-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
}

.contact-form-section {
  padding: 96px 0;
  background: var(--light);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.75fr);
  gap: 34px;
  align-items: stretch;
}

.contact-form {
  min-height: 560px;
}

.contact-hours-card {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 42px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-hours-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
}

.contact-hours-card > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-hours-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-hours-row span {
  color: var(--muted);
  font-weight: 700;
}

.contact-hours-row strong {
  color: var(--ink);
  line-height: 1.35;
}

.contact-map-section {
  padding: 96px 0 110px;
  background: var(--white);
}

.contact-map {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--light);
}

.contact-map iframe {
  width: 100%;
  height: 520px;
  display: block;
  border: 0;
  filter: saturate(0.9);
}

.contact-mednix-page {
  background: var(--white);
}

.contact-cover {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: center;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(4, 22, 34, 0.74), rgba(4, 22, 34, 0.3) 48%, rgba(4, 22, 34, 0.06)),
    url("assets/doctor-consultatie-pacient.png") center 18% / cover no-repeat;
}

.contact-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.contact-cover-inner {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 48px));
  min-height: 360px;
  display: grid;
  align-content: center;
}

.contact-cover h1 {
  margin: 0;
  color: var(--white);
  font-size: 46px;
  line-height: 1;
  font-weight: 600;
}

.contact-breadcrumb {
  position: absolute;
  left: 0;
  bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px 0 12px;
  border-radius: 8px 8px 0 0;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-breadcrumb a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--primary);
  color: var(--white);
}

.contact-breadcrumb svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.contact-appointment-section {
  padding: 112px 0 92px;
  background: var(--white);
}

.container.mednix-contact-grid {
  width: min(980px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 66px;
  align-items: start;
}

.contact-details-panel {
  padding-right: 58px;
  border-right: 1px solid rgba(15, 30, 76, 0.18);
}

.contact-details-panel h2,
.contact-opening-hours h3 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.18;
  font-weight: 500;
}

.contact-details-panel > p {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-detail-list {
  display: grid;
  gap: 24px;
  margin-bottom: 34px;
}

.contact-detail-list article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.contact-detail-list .contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: none;
}

.contact-detail-list .contact-icon svg {
  width: 17px;
  height: 17px;
}

.contact-detail-list p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.contact-detail-list strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.contact-opening-hours {
  margin-top: 28px;
}

.contact-opening-hours h3 {
  margin-bottom: 16px;
}

.contact-opening-hours div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 13px;
}

.contact-opening-hours strong {
  color: var(--ink);
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.contact-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.contact-appointment-form {
  display: grid;
  gap: 16px;
  color: var(--ink);
}

.contact-chip {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--light);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.contact-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15, 30, 76, 0.18);
  box-shadow: inset 0 0 0 3px rgba(25, 169, 187, 0.28);
}

.contact-appointment-form h2 {
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.05;
  font-weight: 500;
}

.contact-appointment-form > p:not(.contact-chip) {
  max-width: 520px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.contact-appointment-form input,
.contact-appointment-form textarea {
  min-height: 46px;
  border: 1px solid rgba(15, 30, 76, 0.18);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
}

.contact-appointment-form input:focus,
.contact-appointment-form textarea:focus {
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(23, 162, 184, 0.12);
}

.contact-appointment-form input::placeholder,
.contact-appointment-form textarea::placeholder {
  color: rgba(15, 30, 76, 0.68);
}

.contact-appointment-form textarea {
  min-height: 112px;
}

.contact-appointment-form .btn {
  width: max-content;
  min-height: 46px;
  margin-top: 14px;
  padding-inline: 24px;
  border-radius: 5px;
}

.contact-map-mednix {
  padding: 0 0 96px;
}

.contact-map-mednix .container {
  width: min(980px, calc(100% - 48px));
}

.contact-map-mednix .contact-map {
  box-shadow: none;
  border: 1px solid var(--line);
}

.contact-map-mednix iframe {
  height: 300px;
}

.section-heading.split > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.case-card img {
  aspect-ratio: 4 / 3;
}

.testimonials {
  background: var(--light);
}

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

.quote-card {
  padding: 32px;
}

.quote-card img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 22px;
}

.quote-card .role {
  margin: 0 0 22px;
  color: var(--primary);
  font-weight: 800;
}

blockquote {
  margin: 0;
  color: var(--body);
}

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

.news-card img {
  aspect-ratio: 16 / 10;
}

.blog-action {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.blog-main,
.article-main {
  padding-top: 70px;
  background: var(--light);
}

.blog-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 72px;
  background:
    linear-gradient(115deg, rgba(23, 162, 184, 0.12), transparent 34%),
    linear-gradient(290deg, rgba(7, 17, 47, 0.08), transparent 28%),
    var(--white);
}

.blog-hero::after,
.article-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(23, 162, 184, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.blog-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 68px;
  align-items: end;
}

.blog-hero h1,
.article-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: 70px;
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: 0;
}

.blog-hero p:not(.kicker),
.article-hero p:not(.kicker) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.blog-list-section {
  padding: 80px 0 108px;
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 46px;
  align-items: stretch;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid rgba(15, 30, 76, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 72px rgba(7, 17, 47, 0.1);
}

.blog-featured-image {
  overflow: hidden;
  min-height: 400px;
  border-radius: 8px;
  background: var(--light);
}

.blog-featured-image img,
.blog-card img,
.article-content > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 760ms var(--ease-out), filter 760ms var(--ease-out);
}

.blog-featured:hover .blog-featured-image img,
.blog-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.03);
}

.blog-featured > div {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 18px 28px 18px 0;
}

.blog-tag {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--light);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.blog-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.blog-featured h2 {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.1;
}

.blog-featured p {
  max-width: 560px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-disclaimer {
  max-width: 860px;
  margin: 34px auto 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--light);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.article-disclaimer {
  margin-top: 28px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--light);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.blog-card {
  min-height: 100%;
  display: grid;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(15, 30, 76, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(7, 17, 47, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 162, 184, 0.32);
  box-shadow: 0 28px 72px rgba(7, 17, 47, 0.12);
}

.blog-card > a:first-child {
  overflow: hidden;
  height: 210px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--light);
}

.blog-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}

.blog-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.blog-read-more {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--primary-dark);
  font-weight: 800;
}

.blog-read-more::after {
  content: "→";
  font-size: 18px;
  transition: transform 180ms ease;
}

.blog-read-more:hover::after {
  transform: translateX(4px);
}

.blog-back {
  display: inline-flex;
  width: max-content;
  margin-bottom: 24px;
  color: var(--primary-dark);
  font-weight: 800;
}

.article-content-section {
  padding: 78px 0 108px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.32fr);
  gap: 46px;
  align-items: start;
}

.article-content,
.article-aside {
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 64px rgba(7, 17, 47, 0.09);
}

.article-content {
  overflow: hidden;
  padding: 0 42px 44px;
}

.article-content > img {
  height: 430px;
  margin: 0 -42px 38px;
  width: calc(100% + 84px);
}

.article-content h2 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1.16;
}

.article-content p {
  margin: 0 0 18px;
  color: var(--body);
  font-size: 18px;
  line-height: 1.78;
}

.article-aside {
  position: sticky;
  top: 102px;
  padding: 30px;
  border-top: 4px solid var(--primary);
}

.article-aside h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.16;
}

.article-aside p {
  margin: 0 0 24px;
  color: var(--muted);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(23, 162, 184, 0.32), transparent 28%),
    linear-gradient(290deg, rgba(25, 169, 187, 0.2), transparent 24%),
    var(--dark);
  color: rgba(255, 255, 255, 0.74);
  padding: 92px 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    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: 112px 112px;
  opacity: 0.35;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) repeat(3, minmax(160px, 1fr));
  grid-template-areas:
    "brand links services contact"
    "brand contactbar contactbar contactbar";
  align-items: start;
  column-gap: 54px;
  row-gap: 42px;
}

.footer-brand {
  grid-area: brand;
  background: var(--white);
  color: var(--body);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 28px 72px rgba(3, 12, 36, 0.34);
}

.footer-profile-photo {
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--light);
}

.footer-profile-photo img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.footer-brand p {
  margin: 18px 0 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

.footer-brand .brand {
  color: var(--ink);
}

.footer-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-brand-tags span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--light);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.footer-column {
  padding-top: 12px;
}

.footer-links {
  grid-area: links;
}

.footer-services {
  grid-area: services;
}

.footer-contact {
  grid-area: contact;
}

.site-footer h3 {
  margin: 0 0 22px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.1;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer a:not(.brand):hover {
  color: var(--primary);
  transform: translateX(4px);
}

.site-footer p {
  margin: 0 0 10px;
}

.footer-contact-row {
  grid-area: contactbar;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
  gap: 28px;
  margin-top: 0;
  padding: 30px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.footer-contact-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(23, 162, 184, 0.22);
}

.footer-contact-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-contact-item strong {
  display: block;
  color: var(--white);
  font-size: 17px;
  line-height: 1.35;
}

.footer-bottom {
  width: 100%;
  margin: 42px 0 0;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.reveal[data-reveal="left"] {
  transform: translateX(-28px) scale(0.985);
}

.reveal[data-reveal="right"] {
  transform: translateX(28px) scale(0.985);
}

.reveal[data-reveal="scale"] {
  transform: translateY(16px) scale(0.96);
}

.reveal[data-reveal="left"].is-visible,
.reveal[data-reveal="right"].is-visible,
.reveal[data-reveal="scale"].is-visible {
  transform: translate(0, 0) scale(1);
}

@keyframes heroLens {
  from {
    transform: scale(1.075) translateX(-10px);
    filter: saturate(0.96) contrast(0.98);
  }

  to {
    transform: scale(1.02) translateX(0);
    filter: saturate(1) contrast(1);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroEkgDrift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-120px);
  }
}

@keyframes heroEkgGlow {
  0%, 100% {
    opacity: 0.14;
  }

  50% {
    opacity: 0.24;
  }
}

@keyframes heroIconFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes heroIconPulse {
  0%, 100% {
    opacity: 0.28;
  }

  50% {
    opacity: 0.48;
  }
}

@keyframes heroParticleFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.14;
  }

  50% {
    transform: translate3d(0, -16px, 0) scale(1.18);
    opacity: 0.28;
  }
}

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

@keyframes marqueeEkgDrift {
  from { background-position: 0 center; }
  to { background-position: -520px center; }
}

@keyframes heroPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.36);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 0 0 16px rgba(23, 162, 184, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(23, 162, 184, 0);
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding-inline: 32px;
  }

  .main-nav,
  .phone {
    display: none;
  }

  .header-actions {
    min-width: 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 84px;
    display: none;
    padding: 20px;
    border-radius: 8px;
    background: rgba(7, 17, 47, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
    gap: 14px;
  }

  .main-nav a,
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .nav-item {
    display: grid;
    gap: 8px;
  }

  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 8px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item.is-open .nav-dropdown {
    display: grid;
  }

  .about-grid,
  .about-feature-grid,
  .about-overview-grid,
  .doctor-about-grid,
  .benefit-grid,
  .appointment-grid,
  .contact-hero-grid,
  .contact-info-grid,
  .contact-form-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

  .contact-card-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .container.mednix-contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-details-panel {
    padding-right: 0;
    padding-bottom: 44px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 30, 76, 0.18);
  }

  .footer-grid {
    grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(150px, 0.7fr));
    grid-template-areas:
      "brand links services contact"
      "brand contactbar contactbar contactbar";
    gap: 32px;
  }

  .footer-contact-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .hero h1 {
    font-size: 76px;
  }

  .hero-split .hero-content-alt {
    grid-template-columns: minmax(0, 600px);
  }

  .hero-split .hero-media,
  .hero-split .hero-shade {
    width: 50vw;
    min-width: 500px;
  }

  .hero-split .hero-trust-panel {
    width: min(600px, 100%);
  }

  .section-heading h2,
  .benefit-copy h2 {
    font-size: 56px;
  }

  .about-feature-grid {
    gap: 42px;
    align-items: start;
  }

  .about-showcase h2 {
    max-width: 100%;
  }

  .about-years {
    font-size: 140px;
  }

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

  .expertise-feature-card {
    min-height: 280px;
  }

  .expertise-feature-card:first-child {
    grid-column: 1 / -1;
  }

  .expertise-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .service-detail-grid,
  .blog-hero-grid,
  .blog-featured,
  .article-layout,
  .doctor-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-aside {
    position: static;
  }

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

  .blog-featured h2 {
    font-size: 36px;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .container,
  .hero-content,
  .footer-bottom {
    width: auto;
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
  }

  .site-header {
    padding: 15px 16px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark img {
    width: 36px;
    height: 36px;
  }

  .eyebrow {
    max-width: 320px;
    font-size: 15px;
    line-height: 1.25;
  }

  .btn-light {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-media {
    background-position: 46% top;
  }

  .hero-content {
    min-height: 820px;
    padding: 130px 0 86px;
    align-content: end;
  }

  .hero-split {
    min-height: auto;
  }

  .hero-split .hero-media,
  .hero-split .hero-shade {
    inset: 70px 0 auto;
    width: 100%;
    min-width: 0;
    height: 360px;
    border-radius: 0 0 32px 32px;
  }

  .hero-split .hero-media {
    background-position: 54% top;
    box-shadow: 0 24px 64px rgba(7, 17, 47, 0.16);
  }

  .hero-split .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 17, 47, 0.06), rgba(7, 17, 47, 0.28)),
      linear-gradient(90deg, rgba(7, 17, 47, 0.12), transparent 52%);
  }

  .hero-split .hero-content {
    min-height: 0;
    padding: 486px 0 64px;
    align-content: start;
  }

  .hero-split .hero-content-alt {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-split .hero-copy-card::before {
    left: 0;
    top: -24px;
    width: 86px;
    height: 4px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .hero h1 .m-line,
  .about h2 .m-line {
    display: block;
  }

  .hero-bottom p {
    font-size: 16px;
  }

  .hero-bottom {
    width: 320px;
    max-width: 100%;
  }

  .hero-bottom p {
    max-width: 320px;
  }

  .hero-split .hero-bottom {
    width: 100%;
  }

  .hero-split .hero-trust-panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 360px;
  }

  .hero-split .hero-trust-panel div {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 30, 76, 0.08);
  }

  .hero-split .hero-trust-panel div:last-child {
    border-bottom: 0;
  }

  .hero-split .hero-trust-panel strong {
    font-size: 22px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .benefit-copy h2,
  .booking-form h2 {
    font-size: 36px;
    line-height: 1.14;
  }

  .about .section-heading h2 {
    max-width: 330px;
    font-size: 32px;
    line-height: 1.18;
  }

  .expertise-section .container {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
  }

  .about-feature-grid {
    gap: 34px;
  }

  .about-showcase h2 {
    margin-bottom: 22px;
    font-size: 42px;
    line-height: 1.08;
  }

  .about-photo-frame {
    display: grid;
    gap: 16px;
    min-height: 0;
  }

  .about-photo-frame > img {
    height: auto;
    aspect-ratio: 4 / 5;
    object-position: center top;
  }

  .about-proof {
    gap: 20px;
    padding-bottom: 0;
  }

  .about-years {
    font-size: 104px;
  }

  .about-proof-heading {
    grid-template-columns: 1fr;
  }

  .about-proof-heading h3 {
    font-size: 17px;
  }

  .about-proof p {
    font-size: 16px;
  }

  .hours-card div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hours-card dt,
  .hours-card dd {
    font-size: 16px;
  }

  .hours-card dd {
    text-align: left;
  }

  .about-grid,
  .about-feature-grid,
  .about-overview-grid,
  .doctor-about-grid,
  .service-grid,
  .service-detail-grid,
  .contact-card-list,
  .expertise-layout,
  .blog-hero-grid,
  .blog-featured,
  .blog-card-grid,
  .article-layout,
  .doctor-grid,
  .case-grid,
  .testimonial-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .booking-form,
  .contact-emergency-card,
  .contact-info-card,
  .contact-hours-card,
  .hours-card,
  .experience,
  .bio-panel,
  .profile-card,
  .expertise-feature-card,
  .expertise-mini-card,
  .quote-card {
    padding: 24px;
  }

  .service-detail-main {
    padding-top: 70px;
  }

  .service-detail-hero {
    padding: 76px 0 64px;
  }

  .service-detail-content {
    padding: 56px 0;
  }

  .blog-main,
  .article-main {
    padding-top: 70px;
  }

  .blog-hero,
  .article-hero {
    padding: 76px 0 56px;
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .blog-hero p:not(.kicker),
  .article-hero p:not(.kicker) {
    font-size: 16px;
  }

  .blog-list-section,
  .article-content-section {
    padding: 52px 0 76px;
  }

  .blog-featured {
    padding: 16px;
    gap: 22px;
  }

  .blog-featured-image {
    min-height: 240px;
  }

  .blog-featured > div {
    padding: 0;
  }

  .blog-featured h2 {
    font-size: 30px;
  }

  .blog-card {
    padding: 16px;
  }

  .blog-card > a:first-child {
    height: 190px;
  }

  .article-content {
    padding: 0 22px 32px;
  }

  .article-content > img {
    width: calc(100% + 44px);
    height: 260px;
    margin: 0 -22px 28px;
  }

  .article-content p {
    font-size: 16px;
  }

  .contact-main {
    padding-top: 70px;
  }

  .contact-cover {
    min-height: 280px;
    background-position: 48% 16%;
  }

  .contact-cover-inner {
    min-height: 280px;
  }

  .contact-cover h1 {
    font-size: 38px;
  }

  .contact-hero {
    padding: 76px 0 54px;
  }

  .contact-hero h1 {
    font-size: 46px;
    line-height: 1.04;
  }

  .contact-info-section,
  .contact-form-section,
  .contact-map-section {
    padding: 56px 0;
  }

  .contact-emergency-card {
    min-height: auto;
  }

  .contact-emergency-card h2,
  .contact-hours-card h2 {
    font-size: 34px;
  }

  .contact-card-list {
    gap: 16px;
  }

  .contact-hours-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-map iframe {
    height: 360px;
  }

  .contact-appointment-section {
    padding: 72px 0 62px;
  }

  .container.mednix-contact-grid,
  .contact-map-mednix .container {
    width: calc(100vw - 32px);
  }

  .contact-form-fields {
    grid-template-columns: 1fr;
  }

  .contact-appointment-form h2 {
    font-size: 36px;
  }

  .contact-breadcrumb {
    left: 0;
  }

  .contact-map-mednix {
    padding-bottom: 62px;
  }

  .contact-map-mednix iframe {
    height: 300px;
  }

  .service-detail-panel,
  .service-detail-aside {
    padding: 24px;
  }

  .expertise-heading {
    margin-bottom: 30px;
  }

  .expertise-heading h2 {
    max-width: 330px;
  }

  .expertise-feature-card {
    min-height: auto;
    padding: 22px 20px;
  }

  .expertise-feature-card h3,
  .expertise-feature-card p {
    max-width: 280px;
  }

  .expertise-feature-card h3 {
    font-size: 22px;
    line-height: 1.18;
  }

  .expertise-feature-card p:last-child {
    font-size: 15px;
  }

  .expertise-mini-card {
    grid-template-columns: 44px minmax(0, 1fr);
    flex-basis: min(300px, calc(100vw - 54px));
    width: min(300px, calc(100vw - 54px));
  }

  .expertise-mini-card div {
    max-width: 240px;
  }

  .expertise-mini-card h3 {
    font-size: 20px;
  }

  .expertise-mini-card {
    min-height: auto;
  }

  .expertise-cta {
    margin-top: 18px;
    padding: 22px;
  }

  .expertise-cta .btn {
    width: 100%;
  }

  .doctor-about-grid,
  .bio-panel,
  .profile-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .bio-panel {
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
    background: var(--light);
  }

  .bio-panel p {
    width: auto;
    max-width: 280px !important;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .profile-card > img {
    width: min(250px, 100%);
  }

  .profile-card > .profile-photo {
    width: min(300px, 100%);
  }

  .marquee span {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "services"
      "contact"
      "contactbar";
    gap: 28px;
  }

  .site-footer .container {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer {
    padding-top: 56px;
  }

  .footer-brand {
    width: min(100%, 330px);
    max-width: 330px;
    overflow: hidden;
    padding: 22px;
    justify-self: start;
  }

  .footer-brand .brand {
    min-width: 0;
  }

  .footer-brand .brand span:last-child,
  .footer-brand p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .footer-profile-photo img {
    height: 260px;
  }

  .footer-column {
    padding-top: 0;
  }

  .footer-contact-row {
    grid-template-columns: 1fr;
    margin-top: 34px;
    padding: 28px 0;
  }

  .footer-contact-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .footer-contact-icon {
    width: 48px;
    height: 48px;
  }
}

/* Mobile: the expertise carousel is useful on wide screens, but a moving,
   partially-clipped card is difficult to read on a phone. Show the real cards
   as a simple vertical list instead. */
@media (max-width: 720px) {
  .expertise-secondary-marquee {
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .expertise-secondary-list {
    display: grid;
    width: 100%;
    gap: 12px;
    transform: none !important;
    animation: none !important;
  }

  .expertise-secondary-group {
    display: contents;
    padding: 0;
  }

  .expertise-secondary-group[aria-hidden="true"] {
    display: none;
  }

  .expertise-mini-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: none;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .expertise-mini-card div,
  .expertise-mini-card h3,
  .expertise-mini-card p {
    max-width: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .expertise-card-icon {
    display: none !important;
  }

  .expertise-secondary-list,
  .expertise-secondary-group {
    display: block;
    width: 100%;
    max-width: 100%;
    transform: none !important;
    animation: none !important;
  }

  .expertise-secondary-group[aria-hidden="true"] {
    display: none;
  }

  .expertise-mini-card {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 22px;
  }

  .expertise-mini-card > span {
    display: inline-grid;
    margin: 0 0 14px;
  }

  .expertise-mini-card > div,
  .expertise-mini-card h3,
  .expertise-mini-card p {
    display: block;
    width: 100%;
    max-width: 100%;
  }
}

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

  .hero-ekg-line {
    animation: heroEkgGlow 4.8s ease-in-out infinite !important;
  }

  .hero-ekg-line path {
    animation: heroEkgDrift 12s linear infinite !important;
  }

  .hero-med-icon {
    animation: heroIconFloat 5.4s ease-in-out infinite, heroIconPulse 4.8s ease-in-out infinite !important;
    animation-iteration-count: infinite !important;
  }

  .hero-particles span {
    animation: heroParticleFloat 6.4s ease-in-out infinite !important;
    animation-iteration-count: infinite !important;
  }

  .scroll-progress {
    display: none;
  }

  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms ease, transform 560ms ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .expertise-feature-card,
  .expertise-mini-card,
  .expertise-card::before,
  .expertise-card::after,
  .expertise-feature-card > span,
  .expertise-mini-card > span,
  .service-card,
  .service-card img,
  .blog-card,
  .blog-card img,
  .btn,
  input,
  select,
  textarea {
    transition: none;
  }

  .expertise-feature-card:hover,
  .expertise-mini-card:hover,
  .expertise-card.is-active,
  .service-card:hover,
  .service-card:hover img,
  .blog-card:hover,
  .blog-card:hover img,
  input:focus,
  select:focus,
  textarea:focus {
    transform: none;
  }

  .hero .btn-primary {
    animation: heroPulse 2.6s ease-in-out infinite !important;
    animation-duration: 2.6s !important;
    animation-iteration-count: infinite !important;
  }

  .marquee {
    animation: marqueeEkgDrift 26s linear infinite !important;
    animation-duration: 26s !important;
    animation-iteration-count: infinite !important;
  }

  .marquee-track {
    animation: marquee 28s linear infinite !important;
    animation-duration: 28s !important;
    animation-iteration-count: infinite !important;
    transform: translate3d(0, 0, 0);
  }

  .expertise-secondary-list {
    animation: expertiseCardsMarquee 18s linear infinite !important;
    animation-duration: 18s !important;
    animation-iteration-count: infinite !important;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-ekg-line {
    animation: heroEkgGlow 4.8s ease-in-out infinite;
  }

  .hero-ekg-line path {
    animation: heroEkgDrift 12s linear infinite;
  }

  .hero-med-icon {
    animation: heroIconFloat 5.4s ease-in-out infinite, heroIconPulse 4.8s ease-in-out infinite;
  }

  .hero-particles span {
    animation: heroParticleFloat 6.4s ease-in-out infinite;
  }

  .hero-med-icon-heart {
    animation-delay: 0s, 0s;
  }

  .hero-med-icon-cross {
    animation-delay: 1.1s, 0.7s;
  }

  .hero-med-icon-stetho {
    animation-delay: 1.8s, 1.1s;
  }

  .hero-med-icon-syringe {
    animation-delay: 2.6s, 1.6s;
  }
}

.nav-live-link { color: #ff5c5c; }
.nav-live-link:hover,
.nav-live-link:focus-visible,
.nav-live-link.is-active { color: #ff7a7a; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #25d366, #19b955);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 46px rgba(37, 211, 102, 0.38);
  filter: saturate(1.04);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.22);
  outline-offset: 4px;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.status-page {
  background:
    radial-gradient(circle at top right, rgba(23, 162, 184, 0.16), transparent 32%),
    linear-gradient(180deg, #f7fbfd 0%, #eef5f8 100%);
}

.status-page .status-main {
  padding-top: 72px;
}

.status-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 76px;
  background:
    linear-gradient(135deg, rgba(7, 17, 47, 0.96), rgba(13, 31, 78, 0.92)),
    var(--ink);
  color: var(--white);
}

.status-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 162, 184, 0.28), transparent 28%),
    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.12), transparent 18%);
  pointer-events: none;
}

.status-hero-grid,
.status-card-grid,
.status-columns,
.status-timeline {
  position: relative;
  z-index: 1;
}

.status-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
}

.status-hero .kicker,
.status-section .kicker {
  margin: 0 0 18px;
}

.status-hero h1 {
  margin: 0 0 24px;
  max-width: 12ch;
  color: var(--white);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.status-hero p:not(.kicker) {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.status-summary {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.status-summary span {
  display: inline-flex;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-summary strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(54px, 7vw, 86px);
  line-height: 0.9;
  font-weight: 500;
}

.status-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.status-section {
  padding: 110px 0;
}

.status-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(242, 248, 251, 0.96));
}

.status-page .section-heading {
  max-width: none;
  margin-bottom: 48px;
}

.status-page .section-heading.split {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.58fr);
  gap: 56px;
  align-items: start;
}

.status-page .section-heading h2 {
  max-width: 11ch;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.status-page .section-heading.split > p,
.status-page .section-heading.center > p:last-child {
  max-width: 34ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.85;
}

.status-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.status-card,
.status-panel,
.status-timeline article {
  border: 1px solid rgba(15, 30, 76, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(10, 29, 72, 0.08);
}

.status-card {
  padding: 30px 28px;
}

.status-card span,
.status-timeline article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(23, 162, 184, 0.12);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.status-card h3,
.status-panel h3,
.status-timeline h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.status-card p,
.status-panel li,
.status-timeline p {
  margin: 0;
  color: var(--body);
  font-size: 17px;
  line-height: 1.8;
}

.status-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.status-panel {
  padding: 34px 30px;
}

.status-panel ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.status-panel li {
  position: relative;
  padding-left: 22px;
}

.status-panel li + li {
  margin-top: 14px;
}

.status-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.status-roadmap {
  max-width: 1120px;
}

.status-timeline {
  display: grid;
  gap: 20px;
}

.status-timeline article {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 28px;
}

.status-timeline article > span {
  margin-bottom: 0;
}

.status-timeline p {
  max-width: 62ch;
}

@media (max-width: 1180px) {
  .status-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .status-hero-grid,
  .status-page .section-heading.split,
  .status-columns,
  .status-card-grid {
    grid-template-columns: 1fr;
  }

  .status-hero {
    padding: 96px 0 64px;
  }

  .status-page .section-heading h2 {
    max-width: 100%;
  }

  .status-page .section-heading.split > p {
    max-width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .status-page .status-main {
    padding-top: 64px;
  }

  .status-section {
    padding: 84px 0;
  }

  .status-hero h1,
  .status-page .section-heading h2 {
    letter-spacing: -0.03em;
  }

  .status-card,
  .status-panel,
  .status-summary,
  .status-timeline article {
    padding: 24px;
    border-radius: 20px;
  }

  .status-card h3,
  .status-panel h3,
  .status-timeline h3 {
    font-size: 22px;
  }

  .status-page .section-heading.split > p,
  .status-card p,
  .status-panel li,
  .status-timeline p,
  .status-hero p:not(.kicker) {
    font-size: 16px;
    line-height: 1.7;
  }

  .status-timeline article {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .status-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Keep the homepage expertise cards readable on small screens. */
@media (max-width: 720px) {
  .expertise-secondary-marquee {
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .expertise-secondary-list {
    display: grid;
    width: 100%;
    gap: 12px;
    transform: none !important;
    animation: none !important;
  }

  .expertise-secondary-group {
    display: contents;
    padding: 0;
  }

  .expertise-secondary-group[aria-hidden="true"] {
    display: none;
  }

  .expertise-mini-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: none;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .expertise-mini-card div,
  .expertise-mini-card h3,
  .expertise-mini-card p {
    max-width: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Use a plain single-column list on phone screens. */
  .expertise-card-icon { display: none !important; }

  .expertise-secondary-list,
  .expertise-secondary-group {
    display: block;
    width: 100%;
    max-width: 100%;
    transform: none !important;
    animation: none !important;
  }

  .expertise-secondary-group[aria-hidden="true"] { display: none; }

  .expertise-mini-card {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 22px;
  }

  .expertise-mini-card > span {
    display: inline-grid;
    margin: 0 0 14px;
  }

  .expertise-mini-card > div,
  .expertise-mini-card h3,
  .expertise-mini-card p {
    display: block;
    width: 100%;
    max-width: 100%;
  }
}
