/* ---------- Fonts ---------- */
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("../fonts/pretendard/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("../fonts/pretendard/Pretendard-Medium.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("../fonts/pretendard/Pretendard-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("../fonts/pretendard/Pretendard-Bold.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --green-logo: #8AA83F;
  --green: #5C7A26;
  --green-dark: #4A6420;
  --green-tint: #EEF2E2;
  --cream: #FAF6EE;
  --beige: #EFE6D6;
  --line: #E3DAC9;
  --ink: #33332F;
  --ink-soft: #5A5953;
  --ink-muted: #6B6A63;
  --white: #FFFFFF;

  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--green-logo); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
  cursor: pointer;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 0;
  background: rgba(250, 246, 238, .88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 6px 24px rgba(51, 51, 47, .06);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.brand-text strong span { color: var(--green); }
.brand-text small { font-size: 11px; color: var(--ink-muted); letter-spacing: .02em; }

.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: background-color .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--green-tint); color: var(--green-dark); }
.nav-bar .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding: 32px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; margin-bottom: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
}
.eyebrow b {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 10px; border-radius: 999px;
  background: var(--green); color: var(--white); font-size: 13px; font-weight: 600;
}
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 600; line-height: 1.28; letter-spacing: -0.03em;
}
.hero h1 .line { display: block; }
.hero h1 em { display: block; font-style: normal; font-weight: 700; color: var(--green); }
.hero-lead {
  margin: 0 0 36px; max-width: 30em;
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7; color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 4.2; background: var(--beige);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 60%; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(51, 51, 47, .12);
}
.float-card .icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green);
}
.float-card .icon svg { width: 22px; height: 22px; }
.float-card p { margin: 0; line-height: 1.35; }
.float-card small { display: block; font-size: 13px; color: var(--ink-muted); }
.float-card strong { font-size: 16px; font-weight: 700; }
.float-hours { left: -28px; bottom: 36px; }
.float-park { right: -20px; top: 32px; }

/* ---------- Director message ---------- */
.message {
  padding: clamp(96px, 14vw, 180px) 0;
  background: var(--white);
  text-align: center;
}
.message .container { position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 32px; font-size: 15px; font-weight: 600; color: var(--green);
}
.section-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-logo);
}
.message-text {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600; line-height: 1.6; letter-spacing: -0.025em;
  color: var(--ink);
}
.message-text .s { display: block; }
.message-text .m-br { display: none; }
.message-text.is-ready .s { opacity: .12; will-change: opacity, filter; }

.message-sign {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 48px 0 0;
}
.message-sign span { font-size: 15px; color: var(--ink-muted); }
.message-sign strong { font-size: 22px; font-weight: 700; letter-spacing: 0.1em; }

.message-photo {
  position: absolute; z-index: 0;
  width: clamp(120px, 11vw, 150px); height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(51, 51, 47, .14);
}
.message-photo-left { left: var(--gutter); top: -70px; transform: rotate(-8deg); }
.message-photo-right { right: var(--gutter); bottom: -60px; transform: rotate(6deg); }

/* ---------- Shared section ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--white);
}
.skip-link:focus { top: 16px; }
.container-narrow { max-width: 920px; }
section[id], #hours, #location { scroll-margin-top: 88px; }
.section { padding: clamp(80px, 10vw, 128px) 0; background: var(--white); }
.section-tint { background: var(--cream); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .section-label { margin-bottom: 16px; }
.section-head-center { text-align: center; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-title {
  margin: 0; font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600; line-height: 1.3; letter-spacing: -0.03em;
}
.section-title span, .section-title em { display: block; }
.section-title em { font-style: normal; font-weight: 700; color: var(--green); }

.btn-light { background: var(--white); color: var(--green-dark); }
.btn-light:hover { background: var(--green-tint); }

/* ---------- Header extras ---------- */
.nav-bar { position: relative; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.site-header.is-open .menu-toggle .i-open { display: none; }
.site-header.is-open .menu-toggle .i-close { display: inline; }

/* ---------- Treatments carousel ---------- */
.carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.round-btn svg { width: 22px; height: 22px; }
.round-btn:hover { border-color: var(--green); color: var(--green); }
.round-btn-solid { background: var(--green); border-color: var(--green); color: var(--white); }
.round-btn-solid:hover { background: var(--green-dark); color: var(--white); }
.round-btn[disabled] { opacity: .35; cursor: default; }

.treat-track {
  list-style: none; margin: 0; padding: 4px 4px 12px;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 26vw, 300px);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.treat-track::-webkit-scrollbar { display: none; }
.treat-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; padding: 28px 24px 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.treat-card:hover { border-color: var(--green-logo); transform: translateY(-4px); }
.treat-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 22px;
  display: grid; place-items: center; background: var(--green-tint); color: var(--green);
}
.treat-icon svg { width: 28px; height: 28px; }
.treat-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.treat-desc { margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.treat-tags { margin: 0 0 24px; font-size: 14px; font-weight: 600; color: var(--green); }
.treat-for {
  margin-top: auto; padding: 16px 18px; border-radius: 14px;
  background: var(--cream); font-size: 14px; line-height: 1.55; color: var(--ink-soft);
}
.treat-for b { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--ink); }

/* ---------- Doctor ---------- */
.doctor-card {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
  max-width: 1000px; margin: 0 auto;
}
.doctor-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--beige); }
.doctor-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.photo-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(160deg, var(--beige), #E6DAC4);
  color: var(--ink-muted); font-size: 14px;
}
.photo-placeholder img { width: 96px; height: auto; opacity: .7; mix-blend-mode: multiply; }
/* 사진 없는 원장님 소개 카드 */
.doctor-card-text {
  grid-template-columns: minmax(0, 1fr); max-width: 760px;
  text-align: center;
}
.doctor-card-text .doctor-quote { padding-left: 0; border-left: 0; }
.doctor-card-text .doctor-quote::before {
  content: ""; display: block; width: 40px; height: 3px; margin: 0 auto 24px;
  border-radius: 2px; background: var(--green-logo);
}
.doctor-card-text .doctor-bio { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.doctor-role { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--green); }
.doctor-name { margin: 0 0 28px; font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: 0.06em; }
.doctor-quote {
  margin: 0 0 28px; padding-left: 20px; border-left: 3px solid var(--green-logo);
  font-size: clamp(18px, 1.7vw, 21px); font-weight: 500; line-height: 1.6; color: var(--ink);
}
.doctor-bio { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doctor-bio li {
  position: relative; padding-left: 20px; font-size: 16px; color: var(--ink-soft);
}
.doctor-bio li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-logo);
}

/* ---------- Promises ---------- */
.promise-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px); align-items: stretch;
}
.promise-photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.promise-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promise-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 80px 28px 28px;
  background: linear-gradient(to top, rgba(40, 44, 28, .78), rgba(40, 44, 28, 0));
  color: var(--white); font-size: 18px; font-weight: 600; line-height: 1.5;
}
.promise-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.promise-list li {
  flex: 1; display: flex; gap: 22px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 28px 28px;
}
.promise-num {
  flex-shrink: 0; font-size: 15px; font-weight: 700; color: var(--green);
  padding: 6px 12px; border-radius: 999px; background: var(--green-tint);
}
.promise-list h3 { margin: 2px 0 8px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.promise-list p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 18px; background: var(--white);
  transition: border-color .2s ease, background-color .2s ease;
}
.faq-item[open] { border-color: var(--green-logo); background: #FCFDF8; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 24px;
  font-size: 17px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C7A26' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .25s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--green); border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
}
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.faq-answer a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 260px); gap: 16px;
}
.gallery-item { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--beige); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 16px; bottom: 16px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 600;
}
.gallery-item-lg { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }

/* ---------- Hours (히어로 바로 아래) ---------- */
.hours-section { padding: 0 0 clamp(64px, 8vw, 96px); background: var(--cream); }
.hours-card {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 28px; padding: clamp(28px, 4vw, 48px);
}
.hours-head .section-title { margin-bottom: 24px; }
.hours-head .section-label { margin-bottom: 12px; }
.hours-head .hours-notes { margin-bottom: 24px; }
.hours-body { min-width: 0; }
.hours-body .week-table { margin-bottom: 0; }

/* ---------- Location ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.info-card {
  display: flex; flex-direction: column;
  background: var(--cream); border-radius: 26px; padding: clamp(28px, 3.5vw, 40px);
}
.info-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 24px; font-size: 22px; font-weight: 700;
}
.info-title svg { width: 26px; height: 26px; color: var(--green); }
.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;
}

/* 요일별 진료시간 표 */
.week-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  table-layout: fixed; margin-bottom: 20px;
  background: var(--white); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
}
.week-table th, .week-table td { text-align: center; padding: 14px 4px; }
.week-table thead th {
  position: relative;
  font-size: 16px; font-weight: 700; background: var(--beige); color: var(--ink);
}
.week-table thead td { background: var(--beige); width: 28%; }
.week-table thead th[data-day="0"] { color: #A3452F; }
.week-table tbody tr + tr th, .week-table tbody tr + tr td { border-top: 1px solid var(--line); }
.week-table tbody th {
  text-align: left; padding-left: 18px;
  font-size: 16px; font-weight: 700; line-height: 1.3;
}
.week-table tbody th small {
  display: block; margin-top: 2px;
  font-size: 13px; font-weight: 500; color: var(--ink-muted); font-variant-numeric: tabular-nums;
}
.week-table .on, .week-table .off {
  display: inline-block; padding: 3px 0; width: 100%; max-width: 44px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
}
.week-table .on { background: var(--green-tint); color: var(--green-dark); }
.week-table .off { color: #A3452F; }
.week-table .on { position: relative; }
.week-table sup { position: absolute; top: -3px; right: -5px; font-size: 11px; color: #A3452F; }
.week-table .is-today { background: #F6F8EE; }
.week-table thead th.is-today { background: var(--green); color: var(--white); }
.week-table thead th.is-today.is-today-off { background: #A3452F; }
.week-table thead th.is-today::after { content: "오늘"; display: block; font-size: 11px; font-weight: 500; line-height: 1.2; }
.week-table thead th.is-today-off::after { content: "오늘 휴진"; }
.hours-notes {
  list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 6px;
  font-size: 15px; color: var(--ink-soft);
}
.hours-notes b { color: var(--ink); margin-right: 6px; }
.hours-notes .warn b { color: #A3452F; }

.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.hours-table th, .hours-table td {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 17px; text-align: left;
}
.hours-table th { font-weight: 600; width: 42%; }
.hours-table td { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.hours-table td small { display: block; font-size: 13px; color: var(--ink-muted); font-weight: 400; }
.hours-table tr.sub th, .hours-table tr.sub td { font-size: 15px; color: var(--ink-muted); font-weight: 500; }
.hours-table tr.off td { color: #A3452F; }
.hours-table td small.note-off { color: #A3452F; font-weight: 500; }
.hours-table tr.is-today-off th::after { content: "오늘 휴진"; background: #A3452F; }
.hours-table tr.is-today th::after {
  content: "오늘"; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--green); color: var(--white); font-size: 12px; font-weight: 600; vertical-align: 2px;
}
.info-phone {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-radius: 16px; background: var(--green); color: var(--white);
  transition: background-color .2s ease;
}
.info-phone:hover { background: var(--green-dark); }
.info-phone span { font-size: 15px; opacity: .9; }
.info-phone strong { font-size: 22px; font-weight: 700; letter-spacing: 0.01em; }
.loc-list { margin: 0 0 28px; display: grid; }
.loc-list div {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.loc-list dt { font-weight: 600; color: var(--ink-muted); font-size: 15px; padding-top: 2px; }
.loc-list dd { margin: 0; font-size: 17px; font-weight: 500; }
.loc-list dd b { color: var(--green); }
.loc-list dd a[href^="tel:"] {
  display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0;
  color: var(--green); font-weight: 700;
  text-decoration: underline; text-underline-offset: 4px;
}
.footer-cols a[href^="tel:"] { color: #B7CF73; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.map-links { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.map-links .btn { flex: 1 1 140px; }

/* ---------- Footer ---------- */
.site-footer { background: #2B3320; color: #E9E6DC; padding: clamp(64px, 8vw, 96px) 0 32px; }
.footer-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px; align-items: end;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.brand-light .brand-text strong { color: var(--white); }
.brand-light .brand-text small { color: #B9B8AE; }
.brand-light img { background: var(--white); border-radius: 10px; padding: 4px; width: 42px; }
.footer-lead { margin: 20px 0 0; font-size: 16px; color: #C9C7BC; }
.footer-call h2 {
  margin: 0 0 24px; font-size: clamp(26px, 3vw, 38px); font-weight: 600;
  line-height: 1.3; letter-spacing: -0.03em; color: var(--white);
}
.footer-call h2 em { font-style: normal; font-weight: 700; color: #B7CF73; }
.footer-cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  padding: 48px 0;
}
.footer-cols h3 { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--white); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols li { font-size: 15px; color: #C9C7BC; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.footer-bottom p { margin: 0; font-size: 13px; color: #A9A79C; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; gap: 2px; padding: 10px;
    background: var(--white); border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 16px 40px rgba(51, 51, 47, .12);
  }
  .site-header.is-open .nav-links { display: flex; }
  .nav-links a { width: 100%; min-height: 48px; padding: 0 18px; font-size: 16px; }
  .promise-grid { grid-template-columns: minmax(0, 1fr); }
  .promise-photo { min-height: 320px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .message-photo { display: none; }
}
@media (max-width: 860px) {
  .hero { padding-top: 16px; }
  .hero .eyebrow { display: none; }
  .hero-copy { text-align: center; padding-top: 24px; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin: 0 8px; }
  .float-hours { left: -8px; bottom: 20px; }
  .float-park { right: -8px; top: 20px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .carousel-nav { display: none; }
  .treat-track { grid-auto-columns: 78%; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding: 0 var(--gutter); }
  .doctor-card { grid-template-columns: minmax(0, 1fr); }
  .doctor-photo { max-width: 420px; aspect-ratio: 1 / 1; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
  .gallery-item-lg { grid-row: span 2; }
  .gallery-item-wide { grid-column: span 2; }
  .hours-card { grid-template-columns: minmax(0, 1fr); gap: 0; text-align: center; padding: 28px 16px; }
  .hours-head { display: contents; }
  .hours-head .section-label { order: 1; justify-self: center; }
  .hours-head .section-title { order: 2; font-size: 26px; margin-bottom: 20px; }
  .hours-body { order: 3; margin-bottom: 16px; }
  .hours-head .hours-notes { order: 4; justify-items: center; margin-bottom: 20px; }
  .hours-head .info-phone { order: 5; }
  .footer-cta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .brand-text small { display: none; }
  .nav-bar .btn .label-long { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { padding: 10px 14px; }
  .float-card .icon { width: 34px; height: 34px; }
  .float-park { display: none; }
  .promise-list li { flex-direction: column; gap: 14px; padding: 24px 22px; }
  .faq-item summary { padding: 16px 18px; font-size: 16px; }
  .faq-answer { padding: 0 18px 20px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-call .btn { width: 100%; }
  .info-card { padding: 24px 16px; }
  .message-text { font-size: 20px; line-height: 1.7; }
  .doctor-card-text .doctor-bio { flex-direction: column; align-items: center; gap: 8px; }
  .message-text .m-br { display: inline; }
  .message-text .m-gap { margin-top: 1.2em; }
  .message-text .m-para { display: block; margin-top: 1.2em; }
  .week-table th, .week-table td { padding: 12px 1px; }
  .week-table thead td { width: 27%; }
  .week-table thead th { font-size: 15px; }
  .week-table tbody th { padding-left: 10px; font-size: 15px; }
  .week-table tbody th small { font-size: 11px; white-space: nowrap; letter-spacing: -0.02em; }
  .week-table .on, .week-table .off { font-size: 12px; max-width: 34px; padding: 3px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
