@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&family=Inter+Tight:ital,wght@0,400;0,500;0,600;1,400&display=swap");

:root {
  --bg: #ebeadf;
  --ink: #1b1b19;
  --muted: #55544d;
  --accent: #f8c761;
  --btn: #5f6f2f;        /* olive green buttons */
  --btn-hover: #4e5f26;
  --accent-dark: #e9b44a;
  --line: #d6d4c6;
  --card: #f4f3ec;
  --heading: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --ui: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--ui);   /* body text uses Inter Tight */
  --gutter: clamp(1.25rem, 3vw, 2.4rem);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

/* Buttons */
.btn { display: inline-block; font-family: var(--ui); font-weight: 500; font-size: 1.05rem; padding: 1.05rem 2.1rem; border-radius: 10px; background: var(--btn); color: #fff; text-decoration: none; transition: background .2s; border: 0; cursor: pointer; }
.btn:hover { background: var(--btn-hover); }
.btn-sm { font-size: .86rem; padding: .85rem 1.5rem; }
.btn-outline { background: transparent; color: var(--btn); border: 1.5px solid currentColor; }
.btn-outline:hover { background: rgba(95,111,47,.08); color: var(--btn-hover); }

/* Header */
.site-header { background: var(--bg); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.4rem var(--gutter); min-height: 106px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo svg { width: 46px; height: 46px; flex: none; }
.logo-text { font-family: var(--heading); font-weight: 600; font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1.1; }
.logo-text small { display: block; font-weight: 400; font-size: .62rem; letter-spacing: .22em; color: var(--muted); margin-top: .25rem; }
.main-nav { display: flex; align-items: center; gap: 1.9rem; font-family: var(--ui); font-size: .86rem; font-weight: 500; }
.main-nav a { text-decoration: none; padding: .2rem 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.main-nav .btn { border-bottom: 0; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; }

/* Full-bleed photo hero */
.hero { position: relative; min-height: 500px; display: grid; place-items: center; text-align: center; color: #fff; background: #2f3a30 center/cover no-repeat; padding: 4rem var(--gutter); }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(15, 20, 15, .32); }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(2.3rem, 4.9vw, 3.95rem); max-width: 18ch; margin: 0 auto; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; margin: 1.2rem auto 0; }
.hero .btn { margin-top: 2rem; }
.hero-short { min-height: 340px; }
.hero-person { display: flex; align-items: center; justify-content: center; gap: clamp(1.2rem, 3vw, 2.4rem); }
.hero-person h1 { margin: 0; text-align: left; }
.hero-photo { width: clamp(110px, 14vw, 180px); height: clamp(110px, 14vw, 180px); border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(0,0,0,.25); flex: none; }
@media (max-width: 640px) { .hero-person { flex-direction: column; } .hero-person h1 { text-align: center; } }


/* Inset photo panel with columns */
.panel-wrap { padding: var(--gutter) var(--gutter) 0; }
.panel { position: relative; color: #fff; text-align: center; background: #26302a center/cover no-repeat; padding: clamp(3rem, 6vw, 4.6rem) clamp(1.5rem, 4vw, 3rem); min-height: 475px; display: flex; flex-direction: column; justify-content: center; }
.panel::before { content: ""; position: absolute; inset: 0; background: rgba(10, 16, 12, .42); }
.panel > * { position: relative; }
.panel h2 { font-size: clamp(2.1rem, 4.9vw, 3.95rem); margin-bottom: 2.6rem; }
.columns { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: clamp(1.5rem, 3vw, 2.6rem); }
.columns h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: .6rem; }
.columns p { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.5; margin: 0; }
.columns a { text-decoration: none; }
.columns a:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Brand strip */
.brand-strip { padding: 3rem var(--gutter) 2.2rem; }
.brand-strip h4 { font-size: 1.26rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .4rem; }
.brand-strip p { font-size: 1.02rem; color: var(--muted); max-width: 70ch; margin: 0; }

/* Generic content */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.container { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.eyebrow { font-family: var(--ui); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 1rem; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.lead { font-size: 1.25rem; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.alt { background: var(--card); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.card { background: var(--card); padding: 2.2rem; border: 1px solid var(--line); }
.alt .card { background: var(--bg); }
.card h3 { font-size: 1.5rem; }
.card ul { padding-left: 1.1rem; margin: 0; color: var(--muted); }
.card .btn { margin-top: 1rem; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.ticks li { padding: .7rem 0 .7rem 2rem; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1.2rem; width: .8rem; height: .45rem; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.center { text-align: center; }
.cta { text-align: center; }
.cta .btn { margin-top: 1rem; }

/* Testimonials */
.quote { background: var(--card); padding: 2.4rem; border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote p { font-size: 1.2rem; font-style: italic; line-height: 1.55; }
.quote .who { font-family: var(--ui); font-size: .85rem; color: var(--muted); margin-top: auto; }
.stars { color: #b98a24; letter-spacing: .2em; font-family: var(--ui); margin-bottom: .8rem; }
.note { font-family: var(--ui); font-size: .82rem; color: var(--muted); margin-top: 2rem; }

/* Blog */
.post { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .2s; }
.post:hover { transform: translateY(-3px); }
.post img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-body { padding: 1.6rem; }
.post time { font-family: var(--ui); font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.post h3 { font-size: 1.35rem; margin: .5rem 0 .6rem; }
.post p { font-size: 1rem; color: var(--muted); margin: 0; }

/* Blog articles */
.blog-article p { font-size: 1.05rem; line-height: 1.75; }
.article-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 2rem; }
.blog-article h2 { font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
.blog-article ul:not(.resources) { padding-left: 1.2rem; }
.blog-article ul:not(.resources) li { margin-bottom: .5rem; line-height: 1.65; }
.blog-article .lead { font-size: 1.15rem; color: var(--ink); }
.resources-title { font-size: 1.3rem; margin: 2.2rem 0 .8rem; }
.resources { list-style: none; padding: 0; margin: 0; }
.resources li { border-top: 1px solid var(--line); }
.resources li:last-child { border-bottom: 1px solid var(--line); }
.resources a { display: block; padding: .8rem 0; color: var(--btn); font-weight: 500; text-decoration: none; }
.resources a::after { content: " \2197"; }
.resources a:hover { text-decoration: underline; }
.signature { font-family: var(--heading); font-weight: 600; font-size: 1.15rem; margin-top: 2rem; }
.back-link { margin-top: 2.5rem; }
.back-link a { color: var(--btn); font-weight: 500; text-decoration: none; }
.back-link a:hover { text-decoration: underline; }
.read-more { display: inline-block; margin-top: .8rem; color: var(--btn); font-weight: 500; font-size: .9rem; }

/* Location */
.map { background: var(--card) center/cover; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
dl.details { margin: 0; }
dl.details dt { font-family: var(--ui); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 1.4rem; }
dl.details dd { margin: .2rem 0 0; }

/* Forms */
form.form { display: grid; gap: 1.1rem; background: var(--card); padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-family: var(--ui); font-size: .85rem; font-weight: 500; }
.form input, .form select, .form textarea { font: 400 1rem var(--ui); padding: .85rem 1rem; border: 1px solid #c9c6b6; border-radius: 6px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent-dark); outline-offset: 1px; }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; }
.form-msg { font-family: var(--ui); font-size: .92rem; margin: 0; min-height: 1.3em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.6rem var(--gutter) 2rem; font-family: var(--ui); font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-title { font-weight: 600; margin-bottom: .6rem; }
.legal { margin-top: 2.4rem; color: var(--muted); font-size: .78rem; }

.phone-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .6rem; }
.phone-pair label, .phone-pair input, .phone-pair select { min-width: 0; width: 100%; }

/* Booking calendar */
.booking { max-width: 1000px; margin: 0 auto; }
.booking-steps { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; font-family: var(--ui); font-size: .85rem; }
.booking-steps .step { padding: .45rem .9rem; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.booking-steps .step.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.6rem; }
.cal, .times { background: var(--card); border: 1px solid var(--line); padding: 1.6rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head h2 { font-size: 1.45rem; margin: 0; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.cal-nav:hover:not(:disabled) { background: var(--bg); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.cal-dow span { font-family: var(--ui); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: .4rem; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; font-family: var(--ui); font-size: .95rem; border-radius: 10px; color: #b3b0a2; border: 1px solid transparent; background: none; }
.cal-day.is-open { color: var(--ink); background: #fff; border-color: var(--line); cursor: pointer; font-weight: 600; position: relative; }
.cal-day.is-open::after { content: ""; position: absolute; bottom: 18%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-dark); }
.cal-day.is-open:hover { border-color: var(--ink); }
.cal-day.is-today { outline: 1px dashed var(--muted); outline-offset: -3px; }
.cal-day.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-day.is-selected::after { background: var(--accent); }
.cal-loading { grid-column: 1 / -1; text-align: center; color: var(--muted); font-family: var(--ui); padding: 3rem 0; }
.cal-legend { font-family: var(--ui); font-size: .8rem; color: var(--muted); margin: 1rem 0 0; display: flex; align-items: center; gap: .5rem; }
.cal-legend .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-dark); display: inline-block; }
.times h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.times .muted { font-family: var(--ui); font-size: .88rem; color: var(--muted); }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; margin-top: 1rem; }
.time { font: 600 .95rem var(--ui); padding: .75rem .4rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.time:hover { background: var(--accent); border-color: var(--accent-dark); }
.chosen { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent-dark); padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; }
.chosen .eyebrow { margin-bottom: .2rem; }
.chosen strong { font-family: var(--heading); font-weight: 500; font-size: 1.3rem; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.form .consent input { margin-top: .25rem; width: 18px; height: 18px; flex: none; }
.form-msg { color: #8a2b1d; }
.done { text-align: center; background: var(--card); border: 1px solid var(--line); padding: clamp(2rem, 6vw, 4rem); }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1.2rem; }
.booking-error { margin-top: 1rem; padding: .9rem 1.1rem; background: #f6e2dd; border: 1px solid #e6c0b7; color: #7a2a1e; font-family: var(--ui); font-size: .92rem; }
@media (max-width: 860px) { .cal-wrap { grid-template-columns: 1fr; } .cal, .times { padding: 1.1rem; } }

/* Contact form, plain style */
.contact-page h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.contact-page > p .btn { margin: .4rem 0 1.4rem; }
form.form-plain { background: transparent; border: 0; padding: 0; margin-top: 1rem; }
.form-plain .field-group { border: 0; padding: 0; margin: 0; }
.form-plain legend { font-family: var(--ui); font-size: .85rem; font-weight: 500; margin-bottom: .5rem; padding: 0; }
.form-plain .req { color: var(--muted); font-weight: 400; }
.form-plain input, .form-plain select, .form-plain textarea { background: #fafafa; border: 1px solid #000; border-radius: 6px; padding: .65rem .7rem; }
.form-plain textarea { min-height: 160px; }
.form-plain .row { gap: 1rem; }
.form-plain .phone-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.form-plain .has-error input, .form-plain .has-error select, .form-plain .has-error textarea { border-color: #a1271a; background: #fdf3f1; }
.field-error { color: #a1271a; font-size: .8rem; font-weight: 400; }
.testimonial-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.5rem; }
.field-hint { font-size: .82rem; color: var(--muted); margin: -.6rem 0 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.form-actions .btn { line-height: 1.3; font-size: 1rem; }
.btn-dark { background: var(--btn); color: #fff; border-radius: 10px; padding: .95rem 2.6rem; }
.btn-dark:hover { background: var(--btn-hover); }
.btn-dark:disabled { opacity: .6; cursor: default; }
.sent { background: var(--card); border: 1px solid var(--line); padding: 2rem; margin-top: 1rem; }

/* About page */
.about-bio > div { max-width: 820px; }
.about-section h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.about-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.about-list li { padding: .9rem 0 .9rem 1.6rem; border-top: 1px solid var(--line); position: relative; }
.about-list li:last-child { border-bottom: 1px solid var(--line); }
.about-list li::before { content: ""; position: absolute; left: .2rem; top: 1.55rem; width: 7px; height: 7px; border-radius: 50%; background: #000; }

.about-timeline li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding-left: 0; }
.about-timeline li::before { display: none; }
.about-timeline .q-year { font-family: var(--heading); font-weight: 600; font-size: 1.15rem; }

.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-columns h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }


/* Specialty cards */
.spec-card { display: flex; flex-direction: column; text-align: left; }
.spec-img { width: 160px; height: 160px; border-radius: 50%; margin: 0 auto 1.4rem; box-shadow: 0 6px 18px rgba(40, 50, 35, .12); }
.spec-card ul { margin-bottom: 1.4rem; }
.spec-card .btn { margin-top: auto; align-self: center; }
.spec-card h3 { text-align: center; font-weight: 700; }
.spec-card h3 + p { text-align: center; }
.container-wide { max-width: 1600px; }
.spec-grid { gap: 1.2rem; }
.spec-card { padding: 2rem 1.2rem; }
.spec-card h3 + p { font-size: .9rem; line-height: 1.55; text-wrap: balance; }
.spec-card ul { list-style: none; padding: 0; text-align: center; }
.spec-card ul li { padding: .15rem 0; font-size: .9rem; }

.split:has(.clinic-logo) { grid-template-columns: auto minmax(0, 560px); justify-content: center; gap: 3rem; }
.clinic-logo { display: flex; justify-content: center; }
.clinic-logo img { width: 100%; max-width: 290px; height: auto; box-shadow: 0 8px 24px rgba(40, 30, 70, .18); }

@media (max-width: 960px) {
  .split:has(.clinic-logo) { grid-template-columns: 1fr; }
  .about-columns { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 1.1rem; background: var(--bg); padding: 1.5rem var(--gutter) 2rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav.open { display: flex; }
  .columns, .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
