/* ==========================================================================
   온바로한의원 — 브랜드 홈페이지 (메인)
   design_handoff_onbaro_homepage/README.md 및 design/onbaro-homepage.dc.html 기준 구현
   ========================================================================== */

:root {
  --page-bg: #F7F7F2;
  --surface: #E5F0EC;
  --accent: #2F7A68;
  --deep-green: #185344;
  --ink: #17211D;
  --body-strong: #26332D;
  --body: #46534C;
  --body-soft: #3B4842;
  --muted: #5A665F;
  --muted-2: #6D766F;
  --white: #FFFFFF;
  --footer-bg: #EDEBE3;
  --on-dark: #F4F7F5;
  --hairline: rgba(23, 33, 29, 0.08);
  --hairline-2: rgba(23, 33, 29, 0.12);
  --hairline-3: rgba(23, 33, 29, 0.14);
  --hairline-4: rgba(23, 33, 29, 0.16);
  --hover-ring: rgba(47, 122, 104, 0.5);

  --gutter: clamp(20px, 3.4vw, 44px);
  --gap: 96px;
  --radius: 20px;
  --radius-sm: 16px;
  --hero-h: 62vh;
  --h-weight: 700;
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  color: var(--deep-green);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

::selection {
  background: var(--surface);
}

img {
  max-width: 100%;
}

section {
  scroll-margin-top: 90px;
}

.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;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  padding: 18px var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 247, 242, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--hairline);
}

.site-header__logo {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.site-header__logo:hover {
  color: var(--deep-green);
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 1.5vw, 24px);
  flex: 1 1 0%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-right: 8px;
}

.site-header__nav::-webkit-scrollbar {
  display: none;
}

.site-header__nav a {
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--body-strong);
  white-space: nowrap;
}

.site-header__nav a:hover {
  color: var(--deep-green);
}

.site-header__cta {
  flex: 0 0 auto;
  padding: 11px clamp(13px, 1.6vw, 20px);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity 220ms ease;
}

.site-header__cta:hover {
  opacity: 0.86;
  color: var(--white);
}

.site-header__menu-btn {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-header__menu-btn span,
.site-header__menu-btn span::before,
.site-header__menu-btn span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-header__menu-btn span::before {
  position: absolute;
  top: -7px;
}

.site-header__menu-btn span::after {
  position: absolute;
  top: 7px;
}

/* --------------------------------------------------------------------------
   Mobile nav overlay
   -------------------------------------------------------------------------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--page-bg);
  display: flex;
  flex-direction: column;
  padding: 18px var(--gutter);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 240ms ease, transform 240ms ease, visibility 0s linear 240ms;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 240ms ease, transform 240ms ease, visibility 0s linear 0s;
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav__close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.mobile-nav__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 36px;
}

.mobile-nav__links a {
  padding: 14px 4px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--body-strong);
  border-bottom: 1px solid var(--hairline);
}

.mobile-nav__cta {
  margin-top: auto;
  padding: 16px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: var(--hero-h);
  background-image: url('../assets/hero.jpg');
  background-size: cover;
  background-position: 64% center;
  display: flex;
  align-items: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(247, 247, 242, 0.9) 0%,
    rgba(247, 247, 242, 0.6) 42%,
    rgba(247, 247, 242, 0.04) 76%
  );
}

.hero__content {
  position: relative;
  padding: 120px var(--gutter) 88px;
  max-width: 760px;
}

.hero__title {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 68px);
  font-weight: var(--h-weight);
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
}

.hero__subtitle {
  margin: 28px 0 0;
  max-width: 30ch;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.75;
  color: var(--body-soft);
}

.hero__actions {
  position: absolute;
  right: var(--gutter);
  bottom: 32px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero__btn {
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero__btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(23, 33, 29, 0.14);
  transition: opacity 220ms ease;
}

.hero__btn--primary:hover {
  opacity: 0.88;
  color: var(--white);
}

.hero__btn--secondary {
  background: var(--white);
  color: var(--deep-green);
  border: 1px solid var(--hairline-2);
  box-shadow: 0 8px 22px var(--hairline);
  transition: background 220ms ease;
}

.hero__btn--secondary:hover {
  background: var(--surface);
  color: var(--deep-green);
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll (progressive enhancement)
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 900ms cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  html.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Section shells
   -------------------------------------------------------------------------- */

.section {
  padding: var(--gap) var(--gutter) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  max-width: 34ch;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Strengths (4 columns)
   -------------------------------------------------------------------------- */

.strengths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 32px;
}

.strengths__item {
  text-align: center;
  border-top: 1px solid var(--hairline-4);
  padding-top: 30px;
}

.strengths__label {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--body-soft);
}

.strengths__value {
  margin: 10px 0 16px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: var(--h-weight);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--deep-green);
}

.strengths__desc {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.7;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Care cards (#care)
   -------------------------------------------------------------------------- */

.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.care-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 300ms ease, border-color 300ms ease;
}

.care-card:hover {
  transform: translateY(-5px);
  border-color: var(--hover-ring);
}

.care-card__img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.care-card__body {
  padding: 24px 24px 28px;
}

.care-card__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.care-card__body h3 {
  margin: 12px 0 10px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.care-card__body p {
  margin: 0;
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.75;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Detail sections (#pain / #accident / #diet-ish shared pattern)
   -------------------------------------------------------------------------- */

.detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 52px;
  align-items: center;
}

.detail__img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
}

.detail__eyebrow {
  margin: 0 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.detail__title {
  margin: 0 0 22px;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
}

.detail__body {
  margin: 0 0 30px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.75;
  color: var(--body);
}

.detail__body--pain {
  max-width: 42ch;
}

.detail__body--accident {
  max-width: 44ch;
}

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

.detail__card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.detail__card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--deep-green);
}

.detail__card p {
  margin: 0;
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Wart section (#wart) — tinted full-width band
   -------------------------------------------------------------------------- */

.wart-band {
  margin: var(--gap) 0 0;
  background: var(--surface);
  padding: 64px var(--gutter);
}

.wart-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.wart-band__head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.wart-band__eyebrow {
  margin: 0 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.wart-band__step-label {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.wart-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 52px;
  align-items: stretch;
}

.wart-price {
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 28px;
}

.wart-price__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.wart-price__row:last-child {
  border-bottom: none;
}

.wart-price__part {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--body-strong);
}

.wart-price__amount {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--deep-green);
}

.wart-terms {
  display: grid;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--hairline-3);
}

.wart-terms__row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--hairline-3);
}

.wart-terms__dash {
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.wart-terms__text {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--body-strong);
}

.wart-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wart-step {
  flex: 1;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 20px;
}

.wart-step__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.wart-step__text {
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Diet section (#diet)
   -------------------------------------------------------------------------- */

.diet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.diet-grid + .diet-grid {
  margin-top: 16px;
}

.diet-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.diet-card h3 {
  margin: 0 0 14px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.diet-card p {
  margin: 0;
  max-width: 30ch;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.75;
  color: var(--muted);
}

.diet-card__stage {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--deep-green);
  background: var(--surface);
  padding: 9px 16px;
  border-radius: 999px;
}

.diet-blog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  transition: opacity 220ms ease;
}

.diet-blog:hover {
  opacity: 0.85;
  color: var(--deep-green);
}

.diet-blog__label {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.diet-blog__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.diet-blog__arrow {
  font-size: 21px;
  font-weight: 500;
  color: var(--deep-green);
}

/* --------------------------------------------------------------------------
   Doctor (#doctor)
   -------------------------------------------------------------------------- */

.doctor {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 52px;
  align-items: end;
}

.doctor__photo {
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 460px;
  aspect-ratio: 556 / 662;
}

.doctor__photo img {
  display: block;
  width: 88%;
  height: auto;
  object-fit: contain;
}

.doctor__content {
  padding-bottom: 24px;
}

.doctor__eyebrow {
  margin: 0 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.doctor__title {
  margin: 0 0 22px;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
}

.doctor__body {
  margin: 0 0 30px;
  max-width: 44ch;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.75;
  color: var(--body);
}

.doctor__name {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.doctor__specialty {
  margin: 0 0 26px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.doctor__quote {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.6;
  color: var(--deep-green);
}

/* --------------------------------------------------------------------------
   Journal (#journal)
   -------------------------------------------------------------------------- */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.journal-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  transition: transform 300ms ease, border-color 300ms ease;
}

.journal-card:hover {
  transform: translateY(-5px);
  border-color: var(--hover-ring);
}

.journal-card__tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.journal-card h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
}

.journal-card p {
  margin: 0;
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.7;
  color: var(--muted);
}

.journal-more {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.journal-more:hover {
  color: var(--deep-green);
}

/* --------------------------------------------------------------------------
   Visit (#visit)
   -------------------------------------------------------------------------- */

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.visit-map {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 420px;
  background: var(--footer-bg);
  transition: opacity 220ms ease;
}

.visit-map:hover {
  opacity: 0.92;
}

.visit-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-info {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.visit-info__row {
  padding: 22px 0;
  border-bottom: 1px dashed rgba(23, 33, 29, 0.2);
}

.visit-info__row:first-child {
  padding-top: 0;
}

.visit-info__row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.visit-info__row h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.visit-info__row p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.7;
  color: var(--body);
}

.visit-info__phone {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--deep-green);
}

.visit-info__transit {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.visit-info__transit-badge {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
}

.visit-info__parking-note {
  margin: 8px 0 0;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--deep-green);
}

.visit-banner {
  margin-top: 20px;
  border-radius: var(--radius);
  background: var(--deep-green);
  color: var(--on-dark);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.visit-banner p {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.visit-banner a {
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-green);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 220ms ease;
}

.visit-banner a:hover {
  background: var(--surface);
  color: var(--deep-green);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: var(--gap);
  background: var(--footer-bg);
  padding: 56px var(--gutter) 44px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--hairline-2);
}

.site-footer__heading {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.site-footer__hours {
  display: grid;
  gap: 10px;
}

.site-footer__hours-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: baseline;
}

.site-footer__hours-day {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.site-footer__hours-time {
  font-size: 15px;
  font-weight: 400;
  color: var(--body);
}

.site-footer__hours-time span {
  color: var(--muted-2);
}

.site-footer__note {
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.75;
  color: var(--body);
}

.site-footer__note strong {
  font-weight: 600;
  color: var(--deep-green);
}

.site-footer__phone {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--deep-green);
}

.site-footer__links {
  display: flex;
  gap: 22px;
  padding: 24px 0 18px;
}

.site-footer__links a {
  font-size: 14.5px;
}

.site-footer__links a:first-child {
  font-weight: 500;
  color: var(--body);
}

.site-footer__links a:last-child {
  font-weight: 600;
  color: var(--ink);
}

.static-link {
  pointer-events: none;
  cursor: default;
}

.site-footer__legal {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.8;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Mobile sticky action bar
   -------------------------------------------------------------------------- */

.mobile-actionbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  gap: 10px;
  padding: 10px clamp(16px, 4vw, 28px) calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 247, 242, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--hairline);
}

.mobile-actionbar a {
  flex: 1;
  text-align: center;
  padding: 13px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mobile-actionbar__call {
  background: var(--white);
  color: var(--deep-green);
  border: 1px solid var(--hairline-2);
}

.mobile-actionbar__book {
  background: var(--accent);
  color: var(--white);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .site-header__nav,
  .site-header__cta {
    display: none;
  }

  .site-header__menu-btn {
    display: flex;
  }

  .hero {
    background-position: center center;
  }

  .hero__actions {
    display: none;
  }

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

  .doctor__photo {
    aspect-ratio: auto;
    min-height: 320px;
  }

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

  .mobile-actionbar {
    display: flex;
  }

  .site-footer,
  .section:last-of-type {
    padding-bottom: 88px;
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .wart-price__part {
    font-size: 17px;
  }

  .wart-price__amount {
    font-size: 24px;
  }
}
