:root {
  --ink: #17324d;
  --muted: #607080;
  --teal: #0c8f8f;
  --teal-dark: #076b72;
  --coral: #e86f51;
  --mint: #dff6ef;
  --sky: #eaf5ff;
  --paper: #ffffff;
  --line: #dce8ee;
  --shadow: 0 18px 45px rgba(18, 52, 77, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #f7fbfc;
  line-height: 1.5;
}

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

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

.top-strip {
  background: var(--teal-dark);
  color: #fff;
  font-size: 14px;
}

.wrap,
.nav,
.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 21px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(12, 143, 143, 0.25);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 0;
  margin: 0;
  color: #40566b;
  font-weight: 700;
  font-size: 15px;
}

nav a.active {
  color: var(--teal-dark);
}

.btn {
  border: 0;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(12, 143, 143, 0.22);
  cursor: pointer;
  white-space: nowrap;
}

.btn.secondary {
  background: #fff;
  color: var(--teal-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.page-hero {
  min-height: 390px;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 43, 61, 0.88), rgba(7, 43, 61, 0.46)),
    var(--hero-image) center / cover;
}

.page-hero .section-inner {
  padding: 82px 0 54px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 14px;
  font-weight: 800;
}

h1 {
  max-width: 780px;
  margin: 20px 0 16px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
}

.page-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

section {
  padding: 76px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: center;
}

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(31, 76, 98, 0.06);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 18px;
}

.image-panel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: #dbe7ec;
}

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

.soft-band {
  background: var(--sky);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #344d63;
  font-weight: 700;
}

.check-list li::before {
  content: "+";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.doctor-card {
  padding: 0;
  overflow: hidden;
}

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

.doctor-card .body {
  padding: 20px;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hours {
  display: grid;
  gap: 10px;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #40566b;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
  background: #f8fbfc;
}

textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

footer {
  background: #071f31;
  color: rgba(255, 255, 255, 0.78);
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 30px;
}

footer h3,
footer strong {
  color: #fff;
}

footer p {
  margin: 8px 0 0;
}

@media (max-width: 900px) {
  nav ul {
    display: none;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-strip .wrap {
    display: none;
  }

  .nav {
    height: auto;
    min-height: 68px;
  }

  .brand {
    font-size: 17px;
  }

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

  .nav .btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid,
  form {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 340px;
  }

  section {
    padding: 56px 0;
  }
}
