:root {
  --navy: #03152f;
  --navy-2: #061d3f;
  --mint: #23d6aa;
  --mint-dark: #08b98f;
  --coral: #ff7d68;
  --ink: #0c1424;
  --muted: #4f5d72;
  --line: #d8dee8;
  --soft: #f5f7f9;
  --blue: #0c53c8;
  --white: #ffffff;
  --star: #ffb212;
  --radius: 10px;
  --container: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

h2 {
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.section {
  padding: 38px 0 52px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(35, 214, 170, 0.42);
  outline-offset: 3px;
}

.button-mint {
  color: #001f25;
  background: var(--mint);
}

.button-mint:hover {
  background: #37e5ba;
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.9);
  background: transparent;
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button-outline-dark {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--white);
}

.button-large {
  min-height: 58px;
  padding: 15px 30px;
  font-size: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-shell {
  color: var(--white);
  background: var(--navy);
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 84px;
  background: var(--navy);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  color: var(--mint);
  place-items: center;
}

.brand-mark svg {
  width: 58px;
  height: 46px;
  stroke-width: 2;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 28px;
  letter-spacing: 0.06em;
}

.brand-copy small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  margin-left: 22px;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a,
.header-address,
.header-phone {
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
}

.desktop-nav a {
  position: relative;
  padding: 12px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--mint);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
}

.header-address,
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.header-address svg,
.header-phone svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.header-cta {
  min-height: 46px;
  padding-inline: 22px;
  font-size: 14px;
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  min-height: 480px;
  grid-template-columns: minmax(570px, 0.9fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 54px;
  padding-top: 20px;
  padding-bottom: 30px;
}

.hero-copy {
  align-self: center;
  padding: 10px 0;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(46px, 4.15vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-lead {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.5;
}

.availability,
.admin-online {
  display: flex;
  align-items: center;
  gap: 12px;
}

.availability {
  margin-bottom: 24px;
  color: var(--coral);
  font-size: 18px;
  font-weight: 700;
}

.availability span,
.admin-online span,
.online-status span {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

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

.hero-media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}

.hero-media img {
  width: 100%;
  height: 425px;
  object-fit: cover;
  object-position: center;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-grid {
  display: grid;
  min-height: 114px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.proof-item {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 20px;
  padding: 0 42px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  color: var(--navy);
  place-items: center;
}

.proof-icon svg {
  width: 50px;
  height: 50px;
  stroke-width: 1.4;
}

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

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

.direction-card {
  display: grid;
  min-height: 78px;
  grid-template-columns: 58px 1fr auto 24px;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.direction-card:hover {
  border-color: var(--mint-dark);
  box-shadow: 0 8px 24px rgba(3, 21, 47, 0.08);
  transform: translateY(-2px);
}

.direction-card > svg:first-child {
  width: 48px;
  height: 48px;
  color: var(--mint-dark);
  stroke-width: 1.5;
}

.direction-card strong {
  font-size: 22px;
}

.direction-card span {
  white-space: nowrap;
  font-size: 17px;
}

.direction-card .chevron {
  width: 20px;
  color: var(--navy);
}

.section-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin: 28px auto 0;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.section-link svg {
  width: 20px;
}

.doctors-section {
  padding-top: 34px;
  padding-bottom: 22px;
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doctors-heading {
  margin-bottom: 18px;
}

.doctors-heading h2 {
  margin-bottom: 0;
}

.doctor-picker svg {
  width: 22px;
}

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

.doctor-card {
  position: relative;
  display: grid;
  min-height: 360px;
  grid-template-columns: 46% 54%;
  grid-template-rows: 1fr 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.doctor-card > img {
  width: 100%;
  height: 292px;
  grid-row: 1;
  object-fit: cover;
  object-position: center 18%;
}

.doctor-card-body {
  display: flex;
  grid-row: 1;
  flex-direction: column;
  padding: 24px 22px 16px;
}

.doctor-card-body h3 {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.15;
}

.doctor-card-body > p:not(.rating) {
  margin-bottom: 8px;
  color: var(--muted);
}

.rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.rating svg {
  width: 20px;
  height: 20px;
  fill: var(--star);
  stroke: var(--star);
}

.time-slot {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.time-slot:hover,
.schedule-table button:hover {
  border-color: var(--mint-dark);
  color: #04795f;
  background: #f0fff9;
}

.time-slot svg {
  width: 20px;
  height: 20px;
}

.doctor-book {
  min-height: 46px;
  margin-top: auto;
}

.online-status {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 18px;
  border-top: 1px solid #eef1f4;
  font-size: 14px;
}

.online-status {
  color: var(--ink);
}

.online-status span {
  width: 10px;
  height: 10px;
  color: var(--mint-dark);
}

.schedule-section {
  padding-top: 28px;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 0.93fr);
  align-items: stretch;
  gap: 30px;
}

.schedule-main h2,
.booking-card h2 {
  margin-bottom: 16px;
}

.schedule-main,
.prices-panel,
.preparation-panel {
  min-width: 0;
}

.schedule-filter {
  display: flex;
  width: 280px;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.schedule-filter svg {
  width: 22px;
  height: 22px;
}

.schedule-filter select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.schedule-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.schedule-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  background: var(--white);
}

.schedule-table th,
.schedule-table td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.schedule-table th:last-child,
.schedule-table td:last-child {
  border-right: 0;
}

.schedule-table tr:last-child td {
  border-bottom: 0;
}

.schedule-table th {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
}

.schedule-table th:first-child {
  width: 31%;
}

.schedule-table td {
  padding: 11px 14px;
}

.schedule-table td:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.schedule-table td:first-child img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
}

.schedule-table td:first-child span {
  display: flex;
  flex-direction: column;
}

.schedule-table td:first-child small {
  color: var(--muted);
}

.schedule-table td:not(:first-child) {
  white-space: nowrap;
}

.schedule-table button {
  min-width: 64px;
  min-height: 38px;
  margin: 2px 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.schedule-table tr[hidden] {
  display: none;
}

.booking-card {
  align-self: start;
  padding: 28px 32px 24px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
}

.booking-card h2 {
  color: var(--white);
}

.admin-online {
  margin-bottom: 18px;
  color: var(--mint);
}

.admin-online span {
  width: 9px;
  height: 9px;
}

.booking-card form,
.booking-card label {
  display: flex;
  flex-direction: column;
}

.booking-card label {
  gap: 7px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.booking-card input,
.booking-card select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
}

.booking-submit {
  min-height: 52px;
  margin-top: 4px;
  font-size: 17px;
}

.booking-note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 13px;
}

.form-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--mint);
  text-align: center;
  font-size: 13px;
}

.content-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 66px;
}

.price-search {
  position: relative;
  display: block;
  margin-bottom: 12px;
}

.price-search svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 21px;
  transform: translateY(-50%);
}

.price-search input {
  width: 100%;
  min-height: 50px;
  padding: 10px 16px 10px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-list a {
  display: grid;
  min-height: 49px;
  grid-template-columns: 1fr auto 20px;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}

.price-list a:last-child {
  border-bottom: 0;
}

.price-list a:hover {
  background: #f4fffb;
}

.price-list strong {
  white-space: nowrap;
}

.price-list svg {
  width: 18px;
  height: 18px;
}

.price-list a[hidden] {
  display: none;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 600;
}

.download-link svg {
  width: 20px;
}

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

.prep-card {
  display: grid;
  min-height: 154px;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.prep-icon {
  display: grid;
  width: 70px;
  height: 70px;
  border: 1px solid #e2e7ed;
  border-radius: 8px;
  color: var(--mint-dark);
  background: #f8fafb;
  place-items: center;
}

.prep-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.5;
}

.prep-stomach {
  font-size: 34px;
  font-weight: 300;
  transform: rotate(-18deg);
}

.prep-card h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.prep-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.prep-card button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.prep-card button svg {
  width: 18px;
  height: 18px;
}

.reviews-section {
  padding-top: 28px;
  padding-bottom: 24px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 22px;
}

.review-card,
.rating-card {
  min-height: 195px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.stars {
  color: var(--star);
  font-size: 22px;
  letter-spacing: 4px;
}

.review-card blockquote {
  min-height: 62px;
  margin: 14px 0 20px;
  font-size: 17px;
  line-height: 1.45;
}

.review-author {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
}

.review-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.review-author time {
  color: var(--muted);
  font-size: 14px;
}

.rating-card p {
  margin-bottom: 2px;
}

.rating-card p strong {
  margin-right: 8px;
  font-size: 50px;
  letter-spacing: -0.05em;
}

.rating-card span {
  display: block;
  margin: 8px 0 16px;
  color: var(--muted);
}

.rating-card a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
}

.rating-card a svg {
  width: 18px;
}

.quick-call-section {
  padding: 0 0 28px;
}

.quick-call {
  display: grid;
  min-height: 166px;
  grid-template-columns: 1.2fr 0.95fr 1.15fr;
  align-items: center;
  gap: 0;
  padding: 26px 44px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
}

.quick-call-intro {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 32px;
}

.call-circle {
  display: grid;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border: 2px solid var(--mint);
  border-radius: 50%;
  place-items: center;
}

.call-circle svg {
  width: 36px;
  height: 36px;
}

.quick-call h2 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 28px;
}

.quick-call p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.quick-call-phone {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.quick-call-phone strong {
  font-size: clamp(26px, 2.35vw, 36px);
  white-space: nowrap;
}

.quick-call-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 44px;
}

.quick-call-details p {
  display: flex;
  align-items: center;
  gap: 13px;
}

.quick-call-details svg {
  width: 23px;
  height: 23px;
}

.metro {
  color: #ff3333;
  font-size: 24px;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  color: #4e5b6c;
  font-size: 14px;
}

.footer-inner nav {
  display: flex;
  gap: 54px;
}

.footer-inner a:hover {
  color: var(--blue);
}

.instruction-dialog {
  width: min(500px, calc(100% - 32px));
  padding: 30px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(3, 21, 47, 0.28);
}

.instruction-dialog::backdrop {
  background: rgba(3, 21, 47, 0.62);
}

.instruction-dialog h2 {
  padding-right: 30px;
  font-size: 28px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
}

@media (max-width: 1320px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .desktop-nav {
    gap: 18px;
    margin-left: 8px;
  }

  .desktop-nav a:nth-last-child(-n + 2) {
    display: none;
  }

  .header-address {
    display: none;
  }

  .hero {
    gap: 44px;
  }

  .proof-item {
    padding: 0 24px;
  }

  .doctor-card {
    grid-template-columns: 43% 57%;
  }

  .doctor-card-body {
    padding-inline: 16px;
  }

  .quick-call {
    padding-inline: 28px;
  }

  .quick-call-phone {
    padding-inline: 30px;
  }

  .quick-call-details {
    padding-left: 30px;
  }
}

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

  .header-cta {
    margin-left: auto;
  }

  .mobile-menu-button {
    display: grid;
    width: 46px;
    height: 46px;
    margin-left: 4px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 8px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
    place-items: center;
  }

  .mobile-menu-button .close-icon {
    display: none;
  }

  .mobile-menu-button[aria-expanded="true"] .menu-icon {
    display: none;
  }

  .mobile-menu-button[aria-expanded="true"] .close-icon {
    display: block;
  }

  .mobile-nav {
    position: absolute;
    top: 84px;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 12px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--navy);
  }

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

  .mobile-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    grid-template-columns: minmax(470px, 0.95fr) minmax(0, 1.05fr);
    gap: 30px;
  }

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

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    gap: 12px;
  }

  .button-large {
    min-height: 52px;
    padding-inline: 20px;
    font-size: 16px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 0;
  }

  .proof-item {
    min-height: 76px;
    border-right: 0;
  }

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

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

  .doctor-card {
    min-height: 310px;
    grid-template-columns: 250px 1fr;
  }

  .doctor-card > img {
    height: 300px;
  }

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

  .schedule-layout,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    gap: 44px;
  }

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

  .rating-card {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .quick-call {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .quick-call-phone {
    padding-right: 0;
    border-right: 0;
  }

  .quick-call-details {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 36px 0;
  }

  .site-header,
  .header-inner {
    min-height: 72px;
  }

  .brand-mark svg {
    width: 46px;
  }

  .brand-copy strong {
    font-size: 24px;
  }

  .header-cta {
    display: none;
  }

  .mobile-nav {
    top: 72px;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(39px, 10.8vw, 44px);
  }

  .desktop-break {
    display: none;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    height: 310px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .proof-grid,
  .directions-grid,
  .prep-grid,
  .reviews-grid,
  .quick-call {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    padding: 16px 0;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:last-child {
    min-height: 70px;
    padding: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .direction-card {
    grid-template-columns: 48px 1fr auto 20px;
    gap: 12px;
    padding-inline: 14px;
  }

  .direction-card > svg:first-child {
    width: 40px;
    height: 40px;
  }

  .direction-card strong {
    font-size: 18px;
  }

  .direction-card span {
    font-size: 14px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .doctors-heading {
    flex-direction: column;
    gap: 18px;
  }

  .doctor-picker {
    width: 100%;
  }

  .doctor-card {
    min-height: auto;
    grid-template-columns: 140px 1fr;
  }

  .doctor-card > img {
    height: 300px;
  }

  .doctor-card-body {
    padding: 18px 14px 12px;
  }

  .doctor-card-body h3 {
    font-size: 18px;
  }

  .time-slot {
    padding-inline: 8px;
    font-size: 14px;
  }

  .schedule-layout {
    gap: 34px;
  }

  .booking-card {
    padding: 24px 18px;
  }

  .prep-card {
    grid-template-columns: 64px 1fr;
    padding: 16px;
  }

  .prep-icon {
    width: 60px;
    height: 60px;
  }

  .rating-card {
    grid-column: auto;
  }

  .quick-call {
    gap: 26px;
    padding: 26px 22px;
  }

  .quick-call-intro {
    padding-right: 0;
  }

  .quick-call-phone {
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    border-left: 0;
  }

  .quick-call-details {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 0;
  }

  .footer-inner nav {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 440px) {
  .doctor-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 42px;
  }

  .doctor-card > img {
    width: 100%;
    height: 280px;
    object-position: center 20%;
  }

  .doctor-card-body {
    grid-row: 2;
  }

  .online-status {
    grid-row: 3;
  }

  .direction-card {
    grid-template-columns: 42px 1fr 18px;
  }

  .direction-card span {
    display: none;
  }

  .call-circle {
    width: 62px;
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
