:root {
  color-scheme: light;
  --brand: #00c78c;
  --brand-dark: #009a70;
  --brand-soft: rgba(0, 199, 140, 0.13);
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-strong: #eef8f5;
  --text: #10201c;
  --muted: #61736f;
  --line: rgba(16, 32, 28, 0.12);
  --shadow: 0 18px 50px rgba(10, 31, 25, 0.12);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071311;
  --surface: #101e1b;
  --surface-strong: #142823;
  --text: #ecfffa;
  --muted: #adc3bd;
  --line: rgba(236, 255, 250, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 186px;
}

.brand-logo {
  display: block;
  width: 216px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

[data-theme="dark"] .brand-logo {
  filter: brightness(0) invert(1);
}

.footer-logo {
  width: 250px;
  height: 64px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.language-switcher button {
  min-width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--brand);
  color: #ffffff;
}

.mobile-language {
  display: none;
}

.icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

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

.moon-icon,
[data-theme="dark"] .sun-icon {
  display: none;
}

[data-theme="dark"] .moon-icon {
  display: block;
}

.phone-link,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.phone-link {
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
}

.primary-button {
  border: 0;
  background: var(--brand);
  color: #ffffff;
  padding: 0 20px;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0, 199, 140, 0.26);
}

.primary-button:hover {
  background: var(--brand-dark);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 0 20px;
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  width: min(1568px, calc(100% - clamp(24px, 5vw, 72px)));
  min-height: min(700px, calc(100vh - 104px));
  margin: 18px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 72px clamp(24px, 5vw, 72px);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.hero-slides,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides {
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 700ms ease, transform 700ms ease;
}

.hero-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 250, 249, 0.98) 0%, rgba(247, 250, 249, 0.86) 42%, rgba(247, 250, 249, 0.2) 74%),
    linear-gradient(180deg, rgba(247, 250, 249, 0.02) 72%, rgba(247, 250, 249, 0.9) 100%);
}

[data-theme="dark"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 19, 17, 0.96) 0%, rgba(7, 19, 17, 0.76) 42%, rgba(7, 19, 17, 0.14) 76%),
    linear-gradient(180deg, transparent 70%, rgba(7, 19, 17, 0.82) 100%);
}

.hero-content {
  position: relative;
  max-width: 620px;
  z-index: 1;
  padding-bottom: 52px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

[data-theme="dark"] .eyebrow {
  color: var(--brand);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-text {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-address {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 74px 0 0;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 650;
}

.hero-address svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.hero-dots button:hover,
.hero-dots button.is-active {
  background: #ffffff;
  transform: scale(1.18);
}

.quick-stats {
  width: min(1120px, calc(100% - 36px));
  margin: -11px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, var(--brand) 8%), var(--surface)),
    var(--surface);
  box-shadow: var(--shadow), inset 0 1px 0 color-mix(in srgb, #ffffff 30%, transparent);
  overflow: hidden;
}

.quick-stats article {
  position: relative;
  min-height: 126px;
  padding: 24px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.quick-stats article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 10%, transparent));
  opacity: 0;
  transition: opacity 180ms ease;
}

.quick-stats article:hover::before {
  opacity: 1;
}

.quick-stats article:last-child {
  border-right: 0;
}

.quick-stats strong {
  display: block;
  color: var(--brand-dark);
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1;
  font-weight: 900;
}

[data-theme="dark"] .quick-stats strong {
  color: var(--brand);
}

.quick-stats span {
  display: block;
  max-width: 15ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p,
.split-section p,
.lab-band p,
.appointment-section p,
.site-footer p {
  color: var(--muted);
}

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

.service-card,
.doctor-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, var(--brand) 8%), var(--surface) 58%),
    var(--surface);
  box-shadow: 0 12px 34px rgba(10, 31, 25, 0.06);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card {
  min-height: 216px;
  padding: 26px 24px 24px;
}

.service-card::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 54px;
  height: 54px;
  border: 1px solid color-mix(in srgb, var(--brand) 38%, transparent);
  border-radius: 50%;
  opacity: 0.26;
}

.service-card:hover,
.doctor-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 58%, var(--line));
  box-shadow: 0 24px 58px rgba(0, 199, 140, 0.16);
}

.service-card p,
.doctor-card p,
.checkup-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 18%, var(--surface));
  color: var(--brand);
  font-size: 28px;
  line-height: 1;
  font-weight: 650;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 20%, transparent);
}

[data-theme="dark"] .card-icon {
  color: var(--brand);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.checkup-list {
  display: grid;
  gap: 14px;
}

.checkup-list article {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  min-height: 124px;
  padding: 24px 28px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 94%, var(--brand) 6%), var(--surface)),
    var(--surface);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.checkup-list article::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 180ms ease;
}

.checkup-list article:hover {
  transform: translateX(4px);
  border-color: color-mix(in srgb, var(--brand) 54%, var(--line));
  box-shadow: 0 20px 44px rgba(0, 199, 140, 0.13);
}

.checkup-list article:hover::after {
  opacity: 1;
}

.checkup-list span {
  color: var(--brand-dark);
  font-weight: 850;
  font-size: 17px;
  line-height: 1.2;
}

.doctor-card {
  padding: 26px;
  text-align: center;
}

.strategy-section,
.media-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.strategy-visual,
.visual-card,
.media-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.strategy-visual img,
.visual-card img,
.media-section img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.strategy-visual img {
  aspect-ratio: 4 / 5;
}

.strategy-content p:not(.eyebrow),
.visual-card p,
.media-section p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feature-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 6px;
}

.feature-list span {
  color: var(--muted);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.journey-grid article {
  position: relative;
  min-height: 136px;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--surface) 90%, var(--brand) 10%), var(--surface) 70%),
    var(--surface);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.journey-grid article::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 64px;
  height: 64px;
  border: 1px solid color-mix(in srgb, var(--brand) 42%, transparent);
  border-radius: 50%;
  opacity: 0.18;
}

.journey-grid article:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 58%, var(--line));
  box-shadow: 0 22px 48px rgba(0, 199, 140, 0.14);
}

.journey-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 17px;
}

[data-theme="dark"] .journey-grid span {
  color: var(--brand);
}

.journey-grid p {
  margin: 0;
  color: var(--text);
  font-weight: 780;
  line-height: 1.25;
}

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

.visual-card img {
  aspect-ratio: 16 / 11;
}

.visual-card div {
  padding: 24px;
}

.mini-tags,
.media-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mini-tags span,
.media-points span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 850;
}

[data-theme="dark"] .mini-tags span,
[data-theme="dark"] .media-points span {
  color: var(--brand);
}

.media-section {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  padding: 28px;
}

.media-section img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.doctor-avatar {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--brand-dark);
  font-size: 24px;
  font-weight: 850;
}

[data-theme="dark"] .doctor-avatar {
  color: var(--brand);
}

.lab-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.lab-band div {
  max-width: 720px;
}

.mobile-app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.mobile-app-copy > p:not(.eyebrow),
.mobile-feature-list p {
  color: var(--muted);
}

.mobile-feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.mobile-feature-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.mobile-feature-list span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.mobile-feature-list strong {
  display: block;
  margin-bottom: 5px;
}

.mobile-feature-list p {
  margin: 0;
}

.phone-showcase {
  position: relative;
  min-height: 612px;
  display: grid;
  place-items: center;
  padding: 12px;
}

.phone-showcase::before {
  content: "";
  position: absolute;
  inset: 78px 0 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 86%, #6ec8ff 14%), color-mix(in srgb, var(--surface) 88%, #ffc857 12%)),
    var(--surface);
  box-shadow: var(--shadow);
}

.phone-frame {
  position: relative;
  width: 292px;
  border: 12px solid #17231f;
  border-radius: 36px;
  background: #17231f;
  box-shadow: 0 28px 70px rgba(10, 31, 25, 0.26);
}

[data-theme="dark"] .phone-frame {
  border-color: #050807;
  background: #050807;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 86px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #17231f;
  transform: translateX(-50%);
}

[data-theme="dark"] .phone-frame::before {
  background: #050807;
}

.phone-frame-primary {
  z-index: 2;
}

.phone-frame-secondary {
  position: absolute;
  right: 6px;
  bottom: 42px;
  z-index: 1;
  width: 226px;
  transform: rotate(7deg);
  opacity: 0.9;
}

.phone-screen {
  min-height: 548px;
  overflow: hidden;
  border-radius: 24px;
  background: #f5faf8;
  color: #10201c;
  padding: 22px 16px 16px;
}

.app-status,
.app-header,
.app-panel-heading,
.app-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-status {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 850;
}

.app-header {
  margin-bottom: 18px;
}

.app-header span,
.app-alert span,
.app-panel-heading span,
.app-plan span {
  display: block;
  color: #61736f;
  font-size: 12px;
  font-weight: 700;
}

.app-header strong {
  display: block;
  margin-top: 2px;
  font-size: 22px;
  line-height: 1.1;
}

.app-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #00c78c;
  color: #ffffff;
  font-weight: 900;
}

.app-alert,
.app-panel,
.app-plan {
  border: 1px solid rgba(16, 32, 28, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(10, 31, 25, 0.08);
}

.app-alert {
  padding: 16px;
  background: linear-gradient(135deg, #0f8564, #00c78c);
  color: #ffffff;
}

.app-alert span {
  color: rgba(255, 255, 255, 0.76);
}

.app-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 14px 0;
}

.app-actions button {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 76px;
  border: 0;
  border-radius: 8px;
  background: #e8f7f2;
  color: #10201c;
  cursor: default;
}

.app-actions span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ffffff;
  color: #00a779;
  font-size: 20px;
  line-height: 1;
}

.app-actions strong,
.result-row span,
.app-tabs span {
  font-size: 11px;
}

.app-panel {
  padding: 14px;
}

.app-panel-heading {
  margin-bottom: 10px;
}

.app-panel-heading span {
  padding: 5px 8px;
  border-radius: 8px;
  background: #e8f7f2;
  color: #008c66;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(16, 32, 28, 0.08);
}

.result-row strong {
  color: #00a779;
  font-size: 11px;
}

.app-plan {
  margin-top: 14px;
  padding: 14px;
}

.app-plan strong {
  display: block;
  margin: 4px 0 10px;
  font-size: 13px;
}

.app-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #deebe7;
}

.app-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #00c78c;
}

.app-tabs {
  margin-top: 14px;
  padding: 12px 8px 0;
  color: #61736f;
}

.compact-screen {
  min-height: 420px;
  background: #10201c;
  color: #ffffff;
}

.compact-card,
.compact-list,
.compact-button {
  border-radius: 8px;
}

.compact-card {
  padding: 18px;
  background: linear-gradient(135deg, #00c78c, #6ec8ff);
  color: #ffffff;
}

.compact-card span,
.compact-card small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

.compact-card strong {
  display: block;
  margin: 7px 0;
  font-size: 22px;
}

.compact-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.compact-list span {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.compact-button {
  min-height: 42px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #10201c;
  font-size: 13px;
  font-weight: 900;
}

.appointment-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: 42px;
  align-items: start;
}

.appointment-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.custom-service-field[hidden] {
  display: none;
}

.appointment-form input,
.appointment-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.appointment-form input:focus,
.appointment-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--brand-dark);
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
}

.contact-card-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-card-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.contact-card-value.emergency {
  color: #e2473b;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.contact-social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-social a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.contact-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-map {
  position: relative;
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contact-map .map-link {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
}

.site-footer p {
  margin-bottom: 8px;
}

@media (max-width: 1120px) {
  .phone-link {
    display: none;
  }

  .desktop-nav {
    gap: 18px;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    position: sticky;
    top: 76px;
    z-index: 19;
    display: none;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px 18px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 13px 8px;
    color: var(--muted);
    font-weight: 750;
  }

  .mobile-language {
    display: inline-flex;
    width: max-content;
    margin-top: 8px;
  }

  .hero {
    width: calc(100% - 36px);
    min-height: 680px;
    align-items: end;
    padding-top: 58px;
  }

  .hero-overlay,
  [data-theme="dark"] .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 19, 17, 0.06) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 45%, var(--bg) 100%),
      linear-gradient(90deg, color-mix(in srgb, var(--bg) 72%, transparent), color-mix(in srgb, var(--bg) 42%, transparent));
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-content {
    max-width: 580px;
  }

  .hero-address {
    margin-top: 52px;
  }

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

  .quick-stats article:nth-child(2) {
    border-right: 0;
  }

  .quick-stats article:nth-child(1),
  .quick-stats article:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .service-grid,
  .doctor-grid,
  .split-section,
  .strategy-section,
  .visual-grid-section,
  .media-section,
  .mobile-app-section,
  .appointment-section,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .lab-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .phone-showcase {
    min-height: 650px;
  }

  .phone-frame-secondary {
    right: max(0px, calc(50% - 260px));
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 136px;
  }

  .brand-logo {
    width: 154px;
    height: 42px;
  }

  .header-language {
    display: none;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    width: calc(100% - 24px);
    margin-top: 12px;
    min-height: 620px;
    padding: 46px 18px 72px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-actions,
  .lab-band .secondary-button,
  .appointment-form .primary-button {
    width: 100%;
  }

  .hero-address {
    align-items: flex-start;
    margin-top: 36px;
    font-size: 14px;
  }

  .hero-dots {
    bottom: 24px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .quick-stats {
    width: calc(100% - 24px);
  }

  .quick-stats article {
    padding: 18px;
  }

  .section {
    width: calc(100% - 24px);
    padding: 68px 0;
  }

  .service-card,
  .doctor-card,
  .media-section,
  .checkup-list article,
  .mobile-feature-list article,
  .appointment-form,
  .lab-band {
    padding: 20px;
  }

  .mobile-feature-list article {
    grid-template-columns: 1fr;
  }

  .phone-showcase {
    min-height: 590px;
    padding: 0;
  }

  .phone-showcase::before {
    inset: 54px 0 44px;
  }

  .phone-frame {
    width: min(292px, calc(100vw - 56px));
  }

  .phone-frame-secondary {
    display: none;
  }

  .phone-screen {
    min-height: 520px;
  }

  .app-header strong {
    font-size: 20px;
  }

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

  .site-footer {
    padding: 34px 18px;
  }
}

/* Pastel card tints */
.service-card,
.doctor-card,
.checkup-list article,
.journey-grid article,
.feature-list article,
.contact-card {
  background: color-mix(in srgb, var(--surface) 86%, var(--card-tint, var(--brand)) 14%);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .doctor-card,
[data-theme="dark"] .checkup-list article,
[data-theme="dark"] .journey-grid article,
[data-theme="dark"] .feature-list article,
[data-theme="dark"] .contact-card {
  background: color-mix(in srgb, var(--surface) 78%, var(--card-tint, var(--brand)) 22%);
}

.service-card:nth-child(4n + 1),
.doctor-card:nth-child(4n + 1),
.checkup-list article:nth-child(4n + 1),
.journey-grid article:nth-child(4n + 1),
.feature-list article:nth-child(4n + 1),
.contact-card:nth-child(4n + 1) {
  --card-tint: #00c78c;
}

.service-card:nth-child(4n + 2),
.doctor-card:nth-child(4n + 2),
.checkup-list article:nth-child(4n + 2),
.journey-grid article:nth-child(4n + 2),
.feature-list article:nth-child(4n + 2),
.contact-card:nth-child(4n + 2) {
  --card-tint: #4f8cff;
}

.service-card:nth-child(4n + 3),
.doctor-card:nth-child(4n + 3),
.checkup-list article:nth-child(4n + 3),
.journey-grid article:nth-child(4n + 3),
.feature-list article:nth-child(4n + 3),
.contact-card:nth-child(4n + 3) {
  --card-tint: #9b6bff;
}

.service-card:nth-child(4n),
.doctor-card:nth-child(4n),
.checkup-list article:nth-child(4n),
.journey-grid article:nth-child(4n),
.feature-list article:nth-child(4n),
.contact-card:nth-child(4n) {
  --card-tint: #ff6ba6;
}

.tele-tags {
  justify-content: center;
  margin-top: 24px;
}

#lab .lab-band {
  margin-top: 24px;
}

.lab-band strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-dots button {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
