:root {
  --ink: #102129;
  --muted: #5e6f75;
  --line: #d9e5e5;
  --panel: #ffffff;
  --soft: #eef7f5;
  --mint: #0f8f7b;
  --mint-dark: #086858;
  --coral: #e7725d;
  --gold: #c49a48;
  --shadow: 0 24px 70px rgba(22, 54, 58, 0.14);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfc;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(251, 253, 252, 0.9);
  border-bottom: 1px solid rgba(217, 229, 229, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  font-size: 28px;
  font-weight: 500;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(15, 143, 123, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #385056;
  font-size: 14px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
}

.main-nav a:hover {
  background: var(--soft);
  color: var(--mint-dark);
}

.nav-cta,
.button.primary {
  color: white !important;
  background: var(--mint);
  box-shadow: 0 12px 26px rgba(15, 143, 123, 0.24);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px) 44px;
  background:
    radial-gradient(circle at 8% 18%, rgba(15, 143, 123, 0.12), transparent 28%),
    linear-gradient(120deg, #fbfdfc 0%, #edf8f6 100%);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button.ghost {
  color: var(--mint-dark);
  background: white;
  border: 1px solid var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 590px;
  margin: 44px 0 0;
}

.hero-stats div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  color: var(--mint-dark);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.hero-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.care-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(300px, calc(100% - 44px));
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(16, 33, 41, 0.18);
}

.care-card span,
.section-heading span,
.appointment-section > div > span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.care-card strong {
  display: block;
  margin: 4px 0;
  font-size: 28px;
}

.care-card small {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  transform: translateY(-20px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(22, 54, 58, 0.08);
}

.trust-strip div {
  padding: 24px;
  background: white;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(70px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-heading h2,
.appointment-section h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p,
.appointment-section p {
  color: var(--muted);
  font-size: 17px;
}

.department-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
}

.department-tabs {
  display: grid;
  gap: 10px;
  align-self: start;
}

.department-tabs button {
  padding: 18px 20px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.department-tabs button.active {
  color: white;
  background: var(--mint-dark);
  border-color: var(--mint-dark);
}

.department-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  min-height: 430px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.department-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.department-panel div {
  padding: clamp(26px, 4vw, 52px);
}

.department-panel h3 {
  margin: 0;
  font-size: 34px;
}

.department-panel p,
.department-panel li {
  color: var(--muted);
}

.department-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin-top: 22px;
}

.doctor-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.doctor-grid article,
.news-grid article,
.timeline article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.doctor-grid article {
  overflow: hidden;
}

.doctor-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.doctor-grid h3,
.doctor-grid p,
.doctor-grid span {
  margin-right: 22px;
  margin-left: 22px;
}

.doctor-grid h3 {
  margin-top: 20px;
  margin-bottom: 4px;
  font-size: 22px;
}

.doctor-grid p {
  margin-top: 0;
  color: var(--mint-dark);
  font-weight: 700;
}

.doctor-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
}

.process {
  background:
    linear-gradient(rgba(16, 33, 41, 0.78), rgba(16, 33, 41, 0.78)),
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: white;
}

.process .section-heading span,
.process .section-heading p {
  color: #a8e2d8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline article {
  min-height: 230px;
  padding: 24px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.timeline b {
  color: #a8e2d8;
  font-size: 32px;
}

.timeline h3 {
  margin: 26px 0 8px;
}

.timeline p {
  color: rgba(255, 255, 255, 0.78);
}

.appointment-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(70px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.contact-box {
  margin-top: 34px;
  padding: 24px;
  background: var(--soft);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.contact-box strong,
.contact-box a,
.contact-box small {
  display: block;
}

.contact-box a {
  margin: 4px 0;
  color: var(--mint-dark);
  font-size: 30px;
  font-weight: 800;
}

.contact-box small {
  color: var(--muted);
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: #385056;
  font-weight: 700;
}

.appointment-form label:nth-child(4),
.appointment-form button,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(15, 143, 123, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--mint-dark);
  font-weight: 700;
}

.news-grid article {
  padding: 28px;
}

.news-grid time {
  color: var(--gold);
  font-weight: 800;
}

.news-grid h3 {
  margin: 14px 0 10px;
  font-size: 23px;
  line-height: 1.3;
}

.news-grid p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: white;
  background: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: #a8e2d8;
  font-weight: 700;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .department-layout,
  .department-panel,
  .appointment-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .hero-media img {
    min-height: 390px;
  }

  .trust-strip,
  .doctor-grid,
  .news-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    display: block;
  }
}

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

  .brand small {
    display: none;
  }

  .main-nav {
    top: 68px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-stats,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 330px;
  }

  .care-card {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .site-footer {
    display: block;
  }
}
