:root {
  --ink: #102221;
  --muted: #5c6f6d;
  --line: #dce8e5;
  --paper: #f7fbfa;
  --white: #ffffff;
  --mint: #dff5ed;
  --teal: #0f766e;
  --teal-dark: #075e59;
  --blue: #dceeff;
  --coral: #ffefe8;
  --shadow: 0 24px 70px rgba(20, 64, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Instrument Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  touch-action: manipulation;
}

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

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

.orientation-lock {
  display: none;
}

.share-button {
  display: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(220, 232, 229, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(16, 34, 33, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 800;
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.24);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button::after {
  position: absolute;
  inset: -35% -45%;
  display: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.52) 50%, transparent 66%);
  content: "";
  pointer-events: none;
  transform: translateX(-135%);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--teal-dark);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.3);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button-secondary:hover {
  color: var(--white);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 54px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.trust-row span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-row strong {
  display: block;
  color: var(--ink);
  font-size: 1.3rem;
}

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

.hero-media::before {
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.hero-media img,
.doctor-image img {
  height: 100%;
  object-fit: cover;
}

.availability-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(310px, calc(100% - 44px));
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(16, 34, 33, 0.18);
}

.availability-card strong,
.availability-card small {
  display: block;
}

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

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.14);
  flex: 0 0 auto;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.stats-band div {
  padding: clamp(20px, 4vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  line-height: 1;
}

.stats-band span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.7fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: end;
  padding: 96px 0 34px;
}

.intro-grid p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 92px;
}

.feature,
.service-list article,
.faq-list article,
.doctor {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature {
  padding: 28px;
}

.feature:nth-child(2) {
  background: var(--mint);
}

.feature:nth-child(3) {
  background: var(--blue);
}

.icon-pill {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.feature p,
.service-list p,
.doctor-copy p,
.appointment-copy p,
.local-answer p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.feature p {
  margin: 14px 0 0;
}

.services {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  position: sticky;
  top: 112px;
  align-self: start;
}

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

.service-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.service-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--coral);
  color: #a4472b;
  font-weight: 800;
}

.service-list p {
  margin: 10px 0 0;
}

.doctor {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(16, 34, 33, 0.08);
}

.doctor-image {
  height: 100%;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
}

.doctor-copy {
  padding: clamp(12px, 4vw, 44px);
}

.doctor-copy p {
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.local-answer {
  margin-top: 92px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint);
}

.local-answer p:last-child {
  max-width: 860px;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: 92px 0 0;
}

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

.faq-list article {
  padding: 24px;
}

.faq-list p {
  margin: 12px 0 0;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 2px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.check-list li::after {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 5px;
  height: 9px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.appointment {
  width: 100%;
  margin-top: 92px;
  background: var(--ink);
  color: var(--white);
}

.appointment-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 6vw, 76px) 0;
}

.appointment .eyebrow {
  color: #83e6d9;
}

.appointment-copy p {
  max-width: 480px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.appointment-link {
  align-self: center;
  justify-self: end;
  min-width: min(100%, 260px);
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.appointment-link:hover {
  color: var(--white);
  background: var(--teal);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
}

.site-footer p {
  max-width: 390px;
  margin: 18px 0 0;
}

.site-footer address {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
  text-align: right;
}

@keyframes ctaHint {
  0%,
  72%,
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.24);
  }

  82% {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(15, 118, 110, 0.34);
  }

  90% {
    transform: translateY(0);
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.24);
  }
}

@keyframes ctaShimmer {
  0%,
  48% {
    transform: translateX(-135%);
  }

  72%,
  100% {
    transform: translateX(135%);
  }
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero,
  .intro-grid,
  .services,
  .faq,
  .doctor,
  .appointment-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-media {
    min-height: 440px;
  }

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

  .section-heading {
    position: static;
  }

  .doctor-image {
    min-height: 360px;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: min(100% - 32px, 1180px);
    margin-top: 10px;
    padding: 10px;
    justify-content: center;
  }

  .site-header .brand {
    justify-content: center;
    width: 100%;
  }

  .site-header > .button {
    width: 100%;
  }

  .main-nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .section-shell,
  .stats-band,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: clamp(2.5rem, 15vw, 4.4rem);
  }

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

  .trust-row,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

  .availability-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }

  .intro-grid {
    padding-top: 68px;
  }

  .feature-grid,
  .services {
    padding-bottom: 68px;
  }

  .services {
    padding-top: 68px;
  }

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

  .appointment {
    margin-top: 68px;
  }

  .local-answer {
    margin-top: 68px;
  }

  .faq {
    padding-top: 68px;
  }

  .appointment-link {
    justify-self: stretch;
  }

  .site-header > .button,
  .appointment-link {
    animation: ctaHint 3.6s ease-in-out infinite;
  }

  .site-header > .button::after,
  .appointment-link::after {
    display: block;
    animation: ctaShimmer 3.6s ease-in-out infinite;
  }

  .appointment-link::after {
    background: linear-gradient(105deg, transparent 34%, rgba(15, 118, 110, 0.2) 50%, transparent 66%);
  }

  .share-button {
    position: fixed;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(220, 232, 229, 0.92);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--teal);
    box-shadow: 0 18px 42px rgba(16, 34, 33, 0.18);
    backdrop-filter: blur(14px);
  }

  .share-button svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .site-footer .brand {
    justify-content: center;
  }

  .site-footer p {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer address {
    text-align: center;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  body {
    overflow: hidden;
  }

  .orientation-lock {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    background: var(--paper);
    color: var(--ink);
    text-align: center;
  }

  .orientation-lock strong {
    font-size: clamp(1.35rem, 4vw, 2rem);
    line-height: 1.1;
  }

  .orientation-lock p {
    max-width: 360px;
    margin: 0;
    color: var(--muted);
  }

  .phone-icon {
    position: relative;
    width: 48px;
    height: 78px;
    border: 4px solid var(--teal);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(16, 34, 33, 0.14);
  }

  .phone-icon::before {
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    content: "";
    transform: translateX(-50%);
  }

  .phone-icon::after {
    position: absolute;
    right: -22px;
    top: 22px;
    width: 18px;
    height: 18px;
    border-top: 3px solid var(--teal);
    border-right: 3px solid var(--teal);
    content: "";
    transform: rotate(45deg);
  }
}
