:root {
  color-scheme: light;
  --ink: #201d1f;
  --muted: #6a625c;
  --line: #eadfd2;
  --paper: #fff8ef;
  --white: #ffffff;
  --teal: #f89a2b;
  --teal-dark: #201d1f;
  --mint: #fff1dd;
  --coral: #f89a2b;
  --brand-orange: #f89a2b;
  --brand-black: #201d1f;
  --brand-cream: #fff4e5;
  --shadow: 0 24px 70px rgba(32, 29, 31, 0.14);
  --font-brand: Georgia, "Times New Roman", Times, serif;
  --font-body: "Helvetica Neue", Helvetica, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

img,
input,
select,
textarea,
button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(234, 223, 210, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
}

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

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

.brand-title {
  font-family: var(--font-brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.3;
}

.brand small span {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: #423b36;
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  font-weight: 800;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.text-link:hover,
.footer a:hover {
  color: var(--brand-orange);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--brand-black);
  box-shadow: 0 10px 22px rgba(32, 29, 31, 0.12);
}

.nav-cta:hover,
.button.primary:hover {
  background: #000000;
}

.button.secondary {
  color: var(--brand-black);
  background: #fff7eb;
  border: 1px solid rgba(248, 154, 43, 0.68);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 88px clamp(18px, 5vw, 72px) 116px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(248, 154, 43, 0.12) 0 50%, rgba(32, 29, 31, 0.06) 50% 100%),
    radial-gradient(circle at 88% 22%, rgba(248, 154, 43, 0.42), transparent 30%),
    linear-gradient(135deg, #fffaf3 0%, #ffffff 55%, #fff1dd 100%);
}

.hero-image {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: 430px;
  max-height: 610px;
  height: auto;
  object-fit: contain;
  border: 12px solid var(--white);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 20px 20px 0 var(--brand-orange), var(--shadow);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 239, 0.72) 0%, rgba(255, 248, 239, 0.12) 60%, rgba(255, 248, 239, 0) 100%),
    linear-gradient(0deg, rgba(32, 29, 31, 0.05), rgba(32, 29, 31, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  max-width: 680px;
  z-index: 1;
}

.hero-logo {
  display: block;
  width: min(100%, 480px);
  height: auto;
  margin-bottom: 22px;
  background: var(--white);
}

.eyebrow,
.section-kicker {
  color: var(--brand-orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-black);
  box-shadow: inset 4px 0 0 var(--brand-orange);
}

.section-kicker {
  margin: 0 0 14px;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 620px;
  margin-bottom: 14px;
  font-family: var(--font-brand);
  font-size: clamp(3.1rem, 6.4vw, 6.1rem);
  line-height: 0.97;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 20px;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 32px;
  color: #49413b;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  hyphens: manual;
  text-align: left;
  text-wrap: pretty;
}

.doctor-role {
  margin-bottom: 20px;
  color: var(--brand-black);
  font-size: clamp(1.18rem, 2vw, 1.62rem);
  font-weight: 800;
  line-height: 1.2;
}

.doctor-name {
  margin-bottom: 10px;
  color: var(--brand-black);
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
}

.credential-strip {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1240px;
  margin: -64px auto 0;
  padding: 0 clamp(18px, 4vw, 32px);
}

.credential-block {
  min-height: 188px;
  padding: clamp(28px, 4vw, 42px);
}

.credential-block p,
.credential-block strong,
.credential-block span,
.credential-block a {
  display: block;
  margin: 0;
}

.credential-primary {
  color: var(--brand-black);
  background: var(--brand-orange);
  border-radius: 8px 0 0 8px;
}

.credential-primary p {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
}

.credential-primary strong,
.credential-primary span {
  color: var(--brand-black);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 850;
  line-height: 1.34;
}

.credential-primary a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 22px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--brand-black);
  background: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
}

.credential-dark {
  position: relative;
  color: var(--white);
  background: var(--brand-black);
  border-radius: 0 8px 8px 0;
}

.credential-dark::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 28px;
  height: 48px;
  background: var(--brand-orange);
  transform: translate(-50%, -50%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.credential-dark p {
  color: var(--white);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 750;
  line-height: 1.42;
}

.credential-dark span {
  display: inline-flex;
  margin-top: 14px;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--brand-black);
  background: #f7d9b5;
  font-weight: 800;
}

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

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1240px;
  margin: 34px auto 0;
  position: relative;
  z-index: 5;
  padding: 0 clamp(18px, 4vw, 32px);
}

.quick-stats div {
  position: relative;
  min-height: 132px;
  padding: 28px 30px;
  background: linear-gradient(135deg, #ffffff 0%, #fff6e9 100%);
  border: 1px solid rgba(248, 154, 43, 0.26);
  box-shadow: 0 22px 52px rgba(32, 29, 31, 0.08);
  overflow: hidden;
}

.quick-stats div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: var(--brand-orange);
}

.quick-stats div:nth-child(2),
.quick-stats div:nth-child(4) {
  background: linear-gradient(135deg, #201d1f 0%, #332b2d 100%);
}

.quick-stats div:nth-child(2)::before,
.quick-stats div:nth-child(4)::before {
  background: #ffffff;
}

.quick-stats div:first-child {
  border-radius: 8px 0 0 8px;
}

.quick-stats div:last-child {
  border-radius: 0 8px 8px 0;
}

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

.quick-stats strong {
  margin-bottom: 8px;
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 2.7vw, 2.45rem);
  line-height: 1;
  color: var(--brand-black);
  letter-spacing: 0;
}

.quick-stats span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.quick-stats .stat-value {
  color: inherit;
  font: inherit;
}

.quick-stats div:nth-child(2) strong,
.quick-stats div:nth-child(4) strong,
.quick-stats div:nth-child(2) span,
.quick-stats div:nth-child(4) span {
  color: var(--white);
}

.quick-stats div:nth-child(2) > span,
.quick-stats div:nth-child(4) > span {
  color: #f7d9b5;
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.intro > .section-kicker {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.split,
.section-heading,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  max-width: 1180px;
  margin: 0 auto;
}

.split p,
.diabetes p,
.appointment p,
.contact-details p {
  color: var(--muted);
  font-size: 1.04rem;
  hyphens: auto;
  text-align: justify;
  text-align-last: left;
  text-wrap: pretty;
}

.doctor-highlight {
  color: var(--brand-black);
  font-weight: 900;
}

.service-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vaccination-band {
  background: #fff8ef;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  align-items: end;
  margin-bottom: 38px;
}

.text-link {
  justify-self: end;
  color: var(--brand-black);
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 292px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf3;
}

.service-card:nth-child(2) {
  background: #fffaf3;
}

.service-card:nth-child(3),
.service-card:nth-child(6) {
  background: var(--brand-orange);
}

.service-card:nth-child(4) {
  background: var(--brand-black);
  color: var(--white);
}

.service-card:nth-child(5),
.service-card:nth-child(7) {
  background: #fff1dd;
}

.service-feature {
  grid-column: span 2;
  min-height: 292px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(32, 29, 31, 0.94), rgba(32, 29, 31, 0.86)),
    linear-gradient(135deg, var(--brand-orange), #ffb65d);
  border-color: rgba(248, 154, 43, 0.44);
  box-shadow: var(--shadow);
}

.service-feature h3 {
  max-width: 520px;
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
}

.service-feature p {
  max-width: 620px;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-black);
  font-size: 0.88rem;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.service-card:nth-child(3) p,
.service-card:nth-child(4) p,
.service-card:nth-child(6) p,
.service-feature p {
  color: rgba(255, 255, 255, 0.86);
}

.service-card:nth-child(3) .icon,
.service-card:nth-child(6) .icon,
.service-feature .icon {
  background: var(--white);
  color: var(--brand-black);
}

.vaccination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.vaccination-card {
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.vaccination-card:nth-child(3) {
  background: var(--brand-orange);
}

.vaccination-card:nth-child(4) {
  color: var(--white);
  background: var(--brand-black);
}

.vaccination-card:nth-child(3) p,
.vaccination-card:nth-child(4) p {
  color: rgba(255, 255, 255, 0.86);
}

.vaccination-card:nth-child(3) .icon,
.vaccination-card:nth-child(4) .icon {
  color: var(--brand-black);
  background: var(--white);
}

.vaccination-feature {
  grid-column: span 2;
  min-height: 248px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(32, 29, 31, 0.94), rgba(32, 29, 31, 0.86)),
    linear-gradient(135deg, var(--brand-orange), #ffb65d);
  border-color: rgba(248, 154, 43, 0.44);
  box-shadow: var(--shadow);
}

.vaccination-feature h3 {
  max-width: 520px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.vaccination-feature p,
.vaccination-card:nth-child(5) p {
  color: rgba(255, 255, 255, 0.86);
}

.vaccination-feature .icon,
.vaccination-card:nth-child(5) {
  background: var(--brand-orange);
}

.vaccination-card:nth-child(5) .icon {
  color: var(--brand-black);
  background: var(--white);
}

.vaccination-card p {
  margin-bottom: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.diabetes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(36px, 7vw, 96px);
  max-width: 1324px;
  margin: 0 auto;
}

.diabetes-content {
  align-self: center;
}

.care-list {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.care-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  min-height: 96px;
  align-items: center;
  padding: 22px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.care-list div:nth-child(even) {
  background: #f1faf7;
}

.care-list div:last-child {
  border-bottom: 0;
}

.care-list strong {
  color: var(--brand-orange);
  font-size: 1.15rem;
}

.care-list span {
  color: #2e454e;
  font-weight: 700;
}

.appointment {
  background: var(--brand-black);
  color: var(--white);
}

.appointment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(32px, 6vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
}

.appointment .section-kicker,
.appointment p {
  color: #f7d9b5;
}

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

.hours div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hours span,
.hours strong {
  display: block;
}

.hours span {
  color: #f7d9b5;
  font-size: 0.9rem;
  font-weight: 700;
}

.hours strong {
  margin-top: 4px;
  font-size: 1.15rem;
}

.contact {
  align-items: start;
  max-width: 1240px;
  padding: clamp(38px, 5vw, 64px);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8ef 0%, #ffffff 100%);
  box-shadow: 0 28px 72px rgba(32, 29, 31, 0.1);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--brand-black);
  font-weight: 800;
}

.location-link,
.directions-link {
  color: var(--brand-black);
  font-weight: 800;
}

.location-link:hover,
.directions-link:hover {
  color: var(--brand-orange);
}

.directions-link {
  display: inline-flex;
  margin-top: 16px;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-black);
  box-shadow: 0 8px 18px rgba(32, 29, 31, 0.12);
}

.directions-link:hover {
  color: var(--brand-black);
  background: var(--brand-orange);
}

.map-preview {
  position: relative;
  min-height: 230px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1e6d8;
  box-shadow: 0 16px 32px rgba(32, 29, 31, 0.1);
}

.map-preview iframe {
  display: block;
  width: 100%;
  height: 230px;
  border: 0;
}

.contact-clinic {
  margin-bottom: 8px;
  color: var(--brand-black);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #405861;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfefe;
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(248, 154, 43, 0.18);
}

.contact-form button {
  width: 100%;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 650px;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
    padding-top: 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 251, 251, 0.99) 0%, rgba(247, 251, 251, 0.92) 58%, rgba(247, 251, 251, 0.24) 100%),
      linear-gradient(0deg, rgba(16, 33, 42, 0.26), rgba(16, 33, 42, 0));
  }

  .credential-strip {
    grid-template-columns: 1fr;
    margin-top: -46px;
  }

  .credential-primary {
    border-radius: 8px 8px 0 0;
  }

  .credential-dark {
    border-radius: 0 0 8px 8px;
  }

  .credential-dark::before {
    display: none;
  }

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

  .quick-stats div,
  .quick-stats div:first-child,
  .quick-stats div:last-child {
    border-radius: 8px;
  }

  .split,
  .section-heading,
  .diabetes,
  .appointment-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand span {
    display: block;
  }

  .brand small {
    display: block;
    font-size: 0.68rem;
  }

  .brand small span {
    display: none;
  }

  .brand-title {
    font-size: 1rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.9rem;
  }

  .nav-links {
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 34px;
    padding-bottom: 64px;
  }

  .hero-image {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(100%, 330px);
    max-height: none;
    object-fit: contain;
    box-shadow: 10px 10px 0 var(--brand-orange), var(--shadow);
    order: 1;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    order: 1;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(247, 251, 251, 0.78) 0%, rgba(247, 251, 251, 0.22) 100%),
      linear-gradient(90deg, rgba(16, 33, 42, 0.06), rgba(16, 33, 42, 0));
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .hero-logo {
    width: min(100%, 340px);
  }

  .credential-strip {
    margin-top: -26px;
  }

  .credential-block {
    min-height: 0;
    padding: 24px;
  }

  .split p,
  .diabetes p,
  .appointment p,
  .contact-details p {
    text-align: left;
    hyphens: manual;
  }

  .quick-stats {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 22px;
  }

  .quick-stats div {
    min-height: 0;
    padding: 22px;
    box-shadow: 0 14px 30px rgba(32, 29, 31, 0.08);
  }

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

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

  .vaccination-feature {
    grid-column: auto;
  }

  .service-card {
    min-height: 0;
  }

  .vaccination-card {
    min-height: 0;
  }

  .care-list div {
    grid-template-columns: 50px 1fr;
    padding: 18px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact {
    padding: 24px 20px;
  }

  .footer {
    flex-direction: column;
  }
}
