:root {
  --bg: #fafaf8;
  --bg-soft: #f4eee7;
  --section: #fafaf8;
  --section-alt: #f4eee7;
  --surface: rgba(255, 253, 250, 0.82);
  --text: #1f2328;
  --muted: #62605c;
  --accent: #c47a5a;
  --accent-dark: #a95336;
  --sage: #8e9c8a;
  --border: #e6ded5;
  --white: #fffdfa;
  --shadow: 0 18px 45px rgba(95, 73, 58, 0.08);
  --shadow-strong: 0 28px 70px rgba(72, 55, 43, 0.14);
  --ease-out: cubic-bezier(0.18, 0.84, 0.24, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--section) 0%, var(--section-alt) 42%, var(--section) 78%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 250ms ease,
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease,
    transform 250ms ease;
}

button {
  font: inherit;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.section-pad {
  padding: clamp(72px, 10svh, 116px) 0;
}

.section-pad.compact {
  padding: clamp(54px, 7svh, 86px) 0;
}

main > section[id] {
  min-height: auto;
  display: grid;
  align-items: center;
  scroll-margin-top: 0;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
}

main > section[id]::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: clamp(42px, 8svh, 88px);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 250, 248, 0.74), rgba(250, 250, 248, 0));
}

main > section[id]:nth-of-type(even)::before {
  background: linear-gradient(180deg, rgba(244, 238, 231, 0.72), rgba(244, 238, 231, 0));
}

.section-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  scroll-margin-top: 0;
}

main > section[id] > .container,
.trust-band > .container {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.68);
  border-bottom: 1px solid rgba(230, 222, 213, 0.38);
  backdrop-filter: blur(18px);
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 250, 248, 0.78);
  border-bottom-color: rgba(230, 222, 213, 0.48);
  box-shadow: 0 10px 30px rgba(78, 61, 48, 0.045);
}

.header-inner {
  width: min(1440px, calc(100% - 40px));
  min-height: 90px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: min-height 250ms ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 70px;
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  color: var(--accent);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 38px);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav a:hover,
.nav a.is-active,
.phone-link:hover,
.footer-inner a:hover,
.text-link:hover {
  color: var(--accent);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.phone-link svg,
.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 13px 24px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(95, 73, 58, 0);
  transform: translateY(0);
  transition:
    color 250ms ease,
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 300ms ease,
    transform 300ms var(--ease-out);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 650ms var(--ease-soft);
}

.btn:hover,
.service-card:hover,
.review-card:hover {
  transform: translateY(-4px);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(196, 122, 90, 0.18);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 18px 34px rgba(169, 83, 54, 0.22);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(196, 122, 90, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--text);
  transition: transform 250ms ease, opacity 250ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: clamp(48px, 8svh, 72px);
  padding-bottom: clamp(48px, 8svh, 72px);
  overflow: clip;
  background:
    radial-gradient(circle at 88% 22%, rgba(196, 122, 90, 0.13), transparent 30%),
    linear-gradient(115deg, var(--section) 0%, var(--section) 50%, rgba(244, 238, 231, 0.86) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(430px, 0.48fr);
  align-items: start;
  gap: clamp(58px, 7.5vw, 124px);
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
  padding-top: clamp(8px, 3svh, 34px);
  overflow: visible;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5.2vw, 5rem);
}

h1 span {
  color: var(--accent-dark);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.lead {
  max-width: 620px;
  color: #32363a;
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 18px 28px;
  margin: 38px 0;
  max-width: 650px;
}

.quick-info span,
.trust-item,
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-info span {
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid rgba(230, 222, 213, 0.72);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.5);
  backdrop-filter: blur(10px);
  transition:
    border-color 250ms ease,
    background 250ms ease,
    transform 300ms var(--ease-out);
}

.quick-info span:hover {
  border-color: rgba(196, 122, 90, 0.55);
  background: rgba(255, 253, 250, 0.78);
  transform: translateY(-2px);
}

i[data-icon] {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--accent);
}

i[data-icon] svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-media {
  position: relative;
  margin-right: calc((100vw - min(1280px, calc(100vw - 48px))) / -2);
  align-self: start;
  padding: 18px 0 0 18px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -10% 18% 20% -12%;
  z-index: -1;
  border: 1px solid rgba(196, 122, 90, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 250, 0.76), rgba(244, 238, 231, 0.2)),
    linear-gradient(90deg, var(--section) 0%, rgba(250, 250, 248, 0) 80%);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: clamp(340px, 52svh, 500px);
  min-height: 0;
  border-radius: 8px 0 0 8px;
  box-shadow: var(--shadow-strong);
  object-fit: cover;
  object-position: center;
  transform: translateY(var(--hero-shift, 0px)) scale(1.01);
  transition: transform 900ms var(--ease-soft), filter 600ms ease;
}

.hero-copy .button-row {
  display: none;
}

.hero-media-actions {
  margin-top: 24px;
  padding-left: clamp(0px, 2vw, 34px);
}

.trust-band,
.process-band {
  background: var(--section-alt);
}

.trust-band {
  min-height: auto;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 22px 34px;
  align-items: center;
  padding: 34px 0;
}

.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.affiliations {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 2px;
  padding-top: 22px;
  border-top: 1px solid #dccdc0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.affiliations small {
  grid-column: 1 / -1;
  color: #48433e;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.standard-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 118px;
  align-content: center;
  padding: 16px 18px;
  border: 1px solid rgba(230, 222, 213, 0.78);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 250ms ease, border-color 250ms ease, background 250ms ease;
}

.standard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 122, 90, 0.58);
  background: var(--white);
}

.standard-card svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.standard-card strong {
  max-width: 210px;
  font-size: 0.92rem;
  line-height: 1.25;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered h2::after,
.section-heading h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 18px;
  background: var(--accent);
}

.section-heading.centered h2::after {
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.service-card,
.review-card,
.scheduler,
.contact-card,
.map-card,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.service-card {
  min-height: 250px;
  padding: 34px 24px;
  text-align: center;
  transition:
    transform 340ms var(--ease-out),
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 340ms ease;
}

.service-card:hover {
  border-color: var(--accent);
  background: rgba(255, 253, 250, 0.94);
  box-shadow: var(--shadow-strong);
}

.service-card i {
  justify-content: center;
  margin-bottom: 24px;
}

.service-card i svg {
  width: 54px;
  height: 54px;
  transition: transform 360ms var(--ease-out), stroke-width 250ms ease;
}

.service-card:hover i svg {
  stroke-width: 1.65;
  transform: translateY(-4px) scale(1.05);
}

.service-card p,
.review-card blockquote,
.steps p,
.about-copy p,
.faq-list p {
  color: #34383b;
}

.center-action {
  margin-top: 34px;
  text-align: center;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
}

.process-grid .section-heading {
  text-align: center;
}

.process-grid .section-heading h2::after {
  margin-inline: auto;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 6px, transparent 6px, transparent 14px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1100ms var(--ease-soft);
}

.steps.is-visible::before {
  transform: scaleX(1);
}

.steps article {
  position: relative;
  z-index: 1;
  text-align: center;
}

.steps i {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(104, 80, 61, 0.08);
  transition: transform 340ms var(--ease-out), box-shadow 340ms ease;
}

.steps article:hover i {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(104, 80, 61, 0.13);
}

.steps small {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(58px, 8vw, 112px);
  align-items: center;
}

.about-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.8fr);
  gap: 0 46px;
  align-items: center;
}

.about-copy .eyebrow,
.about-copy h2,
.about-copy p,
.about-copy .btn {
  grid-column: 1;
}

.check-list {
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: center;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.75rem;
  line-height: 1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 52px;
}

#services,
#reviews,
#faq,
#feedback {
  background: var(--section);
}

#services {
  scroll-margin-top: 14px;
}

.about {
  background: var(--section-alt);
}

.review-card {
  margin: 0;
  padding: 34px 36px;
  transition:
    transform 340ms var(--ease-out),
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 340ms ease;
}

.review-card:hover {
  border-color: rgba(196, 122, 90, 0.48);
  background: rgba(255, 253, 250, 0.94);
  box-shadow: var(--shadow);
}

.review-card::before {
  content: "“";
  display: block;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.65;
}

.review-card blockquote {
  margin: 0 0 20px;
}

.review-card figcaption {
  font-weight: 900;
}

.booking {
  background: var(--section-alt);
  align-items: start;
}

.booking.section-pad.compact {
  padding-top: 46px;
  padding-bottom: 46px;
}

.booking h2 {
  font-size: clamp(2.05rem, 2.6vw, 2.65rem);
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: stretch;
}

.booking-side {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}

.booking-side .contact-card,
.booking-side .map-card {
  height: auto;
  padding: 20px;
}

.booking-side h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 2vw, 2rem);
}

.booking-side .contact-list {
  gap: 9px;
  font-size: 0.92rem;
  line-height: 1.38;
}

.scheduler,
.contact-card,
.map-card {
  padding: clamp(20px, 2vw, 28px);
  box-shadow: 0 14px 40px rgba(95, 73, 58, 0.05);
  min-height: 0;
}

.scheduler {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 14px;
  min-height: 500px;
}

.scheduler h2,
.confirm-btn,
.privacy-note {
  grid-column: 1 / -1;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.calendar {
  min-width: 0;
}

.calendar-head button,
.dates button,
.times button {
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.calendar-head button {
  width: 28px;
  height: 28px;
  color: var(--accent-dark);
  font-size: 1.6rem;
  line-height: 1;
}

.weekdays,
.dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.weekdays {
  margin-bottom: 6px;
  color: #444;
  font-size: 0.78rem;
  font-weight: 800;
}

.dates button,
.dates span {
  display: grid;
  min-height: 23px;
  place-items: center;
  font-size: 0.78rem;
}

.muted,
.dates button.muted {
  color: #aaa09a;
}

.dates button:hover,
.times button:hover,
.dates .selected,
.times .selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: start;
}

.times button {
  min-height: 34px;
  border-color: var(--border);
  background: var(--white);
  font-weight: 800;
  padding: 6px 8px;
}

.confirm-btn {
  width: 100%;
  margin-top: 18px;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.contact-list li {
  align-items: flex-start;
}

.map-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  min-height: 0;
}

.clinic-map {
  width: 100%;
  height: 100%;
  min-height: 154px;
  border-radius: 8px;
  border: 0;
  filter: saturate(0.88) contrast(0.96);
}

.map-card .btn {
  justify-self: center;
}

.appointment-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.appointment-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.appointment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 32, 30, 0.34);
  backdrop-filter: blur(8px);
}

.appointment-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  overflow: auto;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(230, 222, 213, 0.92);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.98);
  box-shadow: 0 30px 90px rgba(54, 42, 34, 0.22);
}

.appointment-dialog h2 {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 5vw, 3rem);
}

.appointment-selection {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 9px 12px;
  border: 1px solid rgba(196, 122, 90, 0.24);
  border-radius: 5px;
  background: rgba(196, 122, 90, 0.08);
  color: var(--accent-dark);
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.appointment-form {
  display: grid;
  gap: 16px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.feedback {
  align-items: start;
}

.feedback.section-pad.compact {
  padding-top: 96px;
}

.feedback-grid .section-heading p:not(.eyebrow) {
  max-width: 520px;
  color: #34383b;
  font-size: 1.08rem;
}

.feedback-form {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(95, 73, 58, 0.05);
}

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

.feedback-form label,
.appointment-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea,
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(250, 250, 248, 0.88);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.feedback-form select,
.appointment-form select {
  min-height: 52px;
  cursor: pointer;
}

.feedback-form textarea,
.appointment-form textarea {
  resize: vertical;
  min-height: 130px;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus,
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 122, 90, 0.12);
}

.consent-list {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
  padding: 14px;
  border: 1px solid rgba(230, 222, 213, 0.86);
  border-radius: 8px;
  background: rgba(250, 250, 248, 0.64);
}

.appointment-form .consent-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #34383b;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.appointment-form .consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-check a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--sage);
  font-weight: 800;
}

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

.faq-list details {
  padding: 22px 26px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

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

.site-footer {
  border-top: 1px solid rgba(230, 222, 213, 0.45);
  background: rgba(250, 250, 248, 0.72);
  backdrop-filter: blur(10px);
  padding: 34px 0;
}

.footer-inner,
.footer-inner nav,
.footer-meta {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-inner {
  justify-content: space-between;
}

.footer-inner .brand-mark {
  width: 42px;
  height: 42px;
}

.footer-inner .brand strong {
  font-size: 1.2rem;
}

.footer-inner nav,
.footer-meta {
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-meta {
  justify-content: flex-end;
  color: #4b4c4d;
}

.mobile-sticky-cta {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(196, 122, 90, 0.88);
  color: #fff;
  font-weight: 900;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(164, 83, 54, 0.18);
  transition: opacity 250ms ease, transform 250ms ease, visibility 250ms ease;
}

body.feedback-visible .mobile-sticky-cta {
  opacity: 0;
  transform: translateY(18px);
  visibility: hidden;
}

.legal-page {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.legal-content {
  max-width: 840px;
}

.legal-content h1 {
  margin-top: 28px;
  font-size: clamp(3rem, 6vw, 5rem);
}

.legal-content p {
  color: #34383b;
  font-size: 1.08rem;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 900ms var(--ease-soft),
    transform 900ms var(--ease-soft),
    filter 900ms var(--ease-soft);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.hero-copy.reveal,
.about-media.reveal,
.section-heading.reveal {
  transform: translate3d(-34px, 34px, 0) scale(0.99);
}

.hero-media.reveal,
.about-copy.reveal,
.feedback-form.reveal {
  transform: translate3d(34px, 34px, 0) scale(0.99);
}

.service-card.reveal,
.review-card.reveal,
.scheduler.reveal,
.contact-card.reveal,
.map-card.reveal,
.faq-list.reveal {
  transform: translate3d(0, 36px, 0) scale(0.96);
}

.hero-copy.reveal.is-visible,
.hero-media.reveal.is-visible,
.about-media.reveal.is-visible,
.about-copy.reveal.is-visible,
.section-heading.reveal.is-visible,
.feedback-form.reveal.is-visible,
.service-card.reveal.is-visible,
.review-card.reveal.is-visible,
.scheduler.reveal.is-visible,
.contact-card.reveal.is-visible,
.map-card.reveal.is-visible,
.faq-list.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (min-width: 961px) {
  .scheduler {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 12px 16px;
  }

  .scheduler h2,
  .confirm-btn,
  .privacy-note {
    grid-column: 1 / -1;
  }

  .times {
    align-self: end;
  }

  .confirm-btn {
    min-height: 44px;
    margin-top: clamp(46px, 7svh, 68px);
  }
}

.trust-grid.is-visible .trust-item,
.trust-grid.is-visible .affiliations,
.steps.is-visible article {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.trust-item,
.affiliations,
.steps article {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(3px);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.trust-grid.is-visible .trust-item:nth-child(1),
.steps.is-visible article:nth-child(1) {
  transition-delay: 80ms;
}

.trust-grid.is-visible .trust-item:nth-child(2),
.steps.is-visible article:nth-child(2) {
  transition-delay: 150ms;
}

.trust-grid.is-visible .trust-item:nth-child(3),
.steps.is-visible article:nth-child(3) {
  transition-delay: 220ms;
}

.trust-grid.is-visible .trust-item:nth-child(4),
.steps.is-visible article:nth-child(4) {
  transition-delay: 290ms;
}

.trust-grid.is-visible .trust-item:nth-child(5),
.trust-grid.is-visible .affiliations {
  transition-delay: 360ms;
}

@media (min-width: 961px) {
  main > section[id] {
    min-height: calc(100svh - 70px);
  }

  .hero {
    min-height: calc(100svh - 90px);
  }
}

@media (max-height: 800px) {
  .section-pad {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-pad.compact {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 46px;
  }
}

@media (max-width: 1180px) {
  .phone-link {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .affiliations {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid #dccdc0;
    padding: 26px 0 0;
  }

}

@media (max-width: 960px) {
  .container {
    width: min(calc(100% - 36px), 760px);
  }

  .section-pad,
  .section-pad.compact {
    padding: 76px 0;
  }

  .header-inner {
    min-height: 78px;
  }

  .nav {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    gap: 0;
    padding: 16px 18px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(250, 250, 248, 0.98);
    box-shadow: 0 18px 40px rgba(78, 61, 48, 0.1);
    transform: translateY(-120%);
    transition: transform 250ms ease;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--border);
  }

  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

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

  .hero-grid,
  .about-grid,
  .process-grid,
  .faq-grid,
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy .button-row {
    display: flex;
  }

  .hero-media-actions {
    display: none;
  }

  .hero-media {
    margin-right: 0;
    padding: 0;
  }

  .hero-media::before {
    display: none;
  }

  .hero-media img,
  .about-media img {
    height: clamp(260px, 42svh, 360px);
    min-height: 0;
    border-radius: 8px;
  }

  .process-grid {
    gap: 34px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps::before {
    display: none;
  }

  .about-copy {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-column: auto;
    grid-row: auto;
    margin: 16px 0 28px;
  }

  .reviews-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking.section-pad.compact {
    padding-top: 36px;
    padding-bottom: 58px;
  }

  .scheduler,
  .contact-card,
  .map-card {
    min-height: auto;
  }

  .scheduler {
    gap: 10px;
    padding: 22px;
  }

  .scheduler h2 {
    font-size: clamp(2.15rem, 6vw, 3rem);
    line-height: 1.02;
  }

  .calendar-head {
    margin-bottom: 4px;
  }

  .weekdays,
  .dates {
    gap: 2px;
  }

  .dates button,
  .dates span {
    min-height: 22px;
    font-size: 0.82rem;
  }

  .times {
    gap: 8px;
  }

  .times button {
    min-height: 38px;
  }

  .feedback-grid {
    gap: 34px;
  }

  .site-footer {
    padding-bottom: 92px;
  }

  .footer-inner,
  .footer-inner nav,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 28px), 560px);
  }

  .header-inner {
    width: min(calc(100% - 28px), 560px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 1.12rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  h1 {
    font-size: clamp(2.72rem, 13.5vw, 3.45rem);
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3rem);
  }

  .quick-info,
  .trust-grid,
  .services-grid,
  .scheduler {
    grid-template-columns: 1fr;
  }

  .quick-info {
    gap: 12px;
    margin: 28px 0;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero .button-row .btn-primary {
    display: none;
  }

  #services {
    overflow-x: hidden;
    padding-bottom: 118px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 0 0 18px;
    overflow: visible;
  }

  .service-card {
    min-height: auto;
    padding: 24px 22px;
    text-align: left;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 8px 16px;
    align-items: center;
  }

  .service-card i {
    grid-row: 1 / span 2;
    margin-bottom: 0;
    justify-content: start;
  }

  .service-card i svg {
    width: 42px;
    height: 42px;
  }

  .service-card h3 {
    margin-bottom: 0;
  }

  .service-card p {
    margin-bottom: 0;
  }

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

  .standard-card {
    min-height: 96px;
    grid-template-columns: 54px 1fr;
    justify-items: start;
    text-align: left;
  }

  .standard-card svg {
    width: 48px;
    height: 48px;
  }

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

  .booking-grid {
    gap: 22px;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .times {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-actions .btn {
    width: 100%;
  }

  .clinic-map {
    min-height: 210px;
  }
}

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