:root {
  --ink: #10201d;
  --muted: #66756f;
  --paper: #f7f5ed;
  --surface: #ffffff;
  --green: #0c6b58;
  --mint: #cdece2;
  --amber: #d9973f;
  --rose: #e9c8ba;
  --line: rgba(16, 32, 29, 0.12);
  --shadow: 0 24px 80px rgba(19, 52, 46, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(205, 236, 226, 0.9), transparent 34rem),
    radial-gradient(circle at 90% 18%, rgba(233, 200, 186, 0.75), transparent 30rem),
    linear-gradient(135deg, #fbfaf4 0%, var(--paper) 48%, #eef6f1 100%);
  font-family: "Manrope", sans-serif;
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.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% - 40px));
  margin: 16px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(16, 32, 29, 0.08);
  backdrop-filter: blur(20px);
}

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

.brand-mark {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 28px;
  color: white;
  background: linear-gradient(145deg, var(--green), #134139);
  font-family: "Fraunces", serif;
  font-size: 44px;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.16);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 21px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.desktop-nav a {
  padding: 9px 13px;
  border-radius: 13px;
  color: #42504b;
  font-size: 14px;
  font-weight: 700;
  transition: 220ms ease;
}

.desktop-nav a:hover {
  color: var(--ink);
  background: rgba(205, 236, 226, 0.7);
}

.nav-cta,
.button,
.appointment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.nav-cta {
  padding: 0 18px;
  color: white;
  background: var(--ink);
}

.nav-cta:hover,
.button:hover,
.appointment-form button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 56px 0 32px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Fraunces", serif;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 108px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 72px);
}

.hero-text {
  max-width: 620px;
  color: #53615c;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

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

.button {
  padding: 0 24px;
}

.button.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 16px 38px rgba(12, 107, 88, 0.24);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.clinic-photo-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 42px;
  background: #dfece6;
  box-shadow: var(--shadow);
}

.clinic-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 32, 29, 0.04), rgba(16, 32, 29, 0.24)),
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.28), transparent 32rem);
  pointer-events: none;
}

.clinic-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .clinic-photo {
  transform: scale(1.07);
}

.care-card,
.doctor-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 46px rgba(16, 32, 29, 0.12);
  backdrop-filter: blur(18px);
}

.care-card {
  right: 36px;
  top: 92px;
  z-index: 2;
  display: grid;
  width: 154px;
  padding: 22px;
  border-radius: 28px;
}

.care-card small,
.care-card span {
  color: var(--muted);
  font-weight: 800;
}

.care-card strong {
  font-family: "Fraunces", serif;
  font-size: 58px;
  line-height: 1;
}

.doctor-panel {
  right: 42px;
  bottom: 72px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(330px, calc(100% - 84px));
  padding: 16px;
  border-radius: 26px;
}

.doctor-avatar,
.mini-avatar {
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #f4c7ae 0 18%, transparent 19%),
    radial-gradient(circle at 50% 62%, #134139 0 32%, transparent 33%),
    #cdece2;
}

.doctor-avatar {
  width: 64px;
  height: 64px;
}

.doctor-panel strong,
.doctor-panel span {
  display: block;
}

.doctor-panel span {
  margin-top: 4px;
  color: var(--muted);
}

.stats-band,
.section,
.cta-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--line);
  box-shadow: 0 18px 60px rgba(16, 32, 29, 0.08);
}

.stats-band div {
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
}

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

.stats-band strong {
  font-family: "Fraunces", serif;
  font-size: 42px;
}

.stats-band span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 112px 0 0;
}

.split {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 46px;
}

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

.service-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 54px rgba(16, 32, 29, 0.08);
  transition: transform 260ms ease, background 260ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: white;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  color: white;
  background: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.service-card h3,
.profile-stack h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.service-card p,
.doctor-copy p,
.location-copy p,
.cta-section p {
  color: var(--muted);
  line-height: 1.75;
}

.doctor-section,
.location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
}

.profile-stack {
  display: grid;
  gap: 14px;
}

.profile-stack article {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(16, 32, 29, 0.08);
  transition: transform 260ms ease, background 260ms ease;
}

.profile-stack article:hover {
  transform: translateY(-5px);
  background: white;
}

.profile-stack p {
  margin: 0;
  color: var(--muted);
}

.profile-stack span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.doctor-photo {
  width: 86px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 12px 28px rgba(16, 32, 29, 0.14);
}

.map-panel {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background: #e5efe9;
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(28deg, transparent 0 43%, rgba(12, 107, 88, 0.22) 44% 48%, transparent 49% 100%),
    linear-gradient(145deg, transparent 0 46%, rgba(217, 151, 63, 0.22) 47% 51%, transparent 52% 100%),
    linear-gradient(90deg, rgba(16, 32, 29, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 32, 29, 0.08) 1px, transparent 1px);
  background-size: 280px 180px, 260px 230px, 44px 44px, 44px 44px;
  transform: rotate(-8deg) scale(1.12);
}

.map-route {
  position: absolute;
  inset: 92px 42px 120px;
  border: 12px solid var(--green);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 48px;
  opacity: 0.78;
}

.map-pin {
  position: absolute;
  top: 42%;
  left: 54%;
  width: 60px;
  height: 60px;
  border: 12px solid white;
  border-radius: 50% 50% 50% 8px;
  background: var(--amber);
  box-shadow: 0 18px 46px rgba(16, 32, 29, 0.22);
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: white;
}

.map-button {
  position: absolute;
  right: 26px;
  bottom: 26px;
}

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

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-list strong {
  color: var(--ink);
}

.info-list span {
  color: var(--muted);
  text-align: right;
}

.cta-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
  margin-top: 112px;
  margin-bottom: 40px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 38px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(145deg, #10201d, #0c493f 68%, #8a5a28);
  box-shadow: var(--shadow);
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.72);
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

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

.appointment-form input,
.appointment-form select {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  font: inherit;
  outline: none;
}

.appointment-form input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.appointment-form select option {
  color: var(--ink);
}

.appointment-form button {
  height: 56px;
  border: 0;
  color: var(--ink);
  background: #f8d9a5;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

  .hero,
  .split,
  .doctor-section,
  .location-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

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

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

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

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    border-radius: 20px;
    padding: 12px 14px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 30px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    margin-top: 5px;
    font-size: 13px;
    letter-spacing: 0.22em;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .stats-band,
  .section,
  .cta-section {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .clinic-photo-wrap {
    border-radius: 28px;
  }

  .care-card {
    right: 18px;
    top: 74px;
    width: 128px;
    padding: 18px;
  }

  .care-card strong {
    font-size: 44px;
  }

  .doctor-panel {
    right: 18px;
    bottom: 42px;
    width: calc(100% - 36px);
  }


  .profile-stack article {
    grid-template-columns: 76px 1fr;
  }

  .doctor-photo {
    width: 76px;
    height: 86px;
  }

  .profile-stack article > span {
    grid-column: 2;
  }

  .info-list li {
    display: grid;
  }

  .info-list span {
    text-align: left;
  }

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