/* Advanced Chiropody & Podiatry – preview site.
   Sized for older eyes: body text never below 17px, tap targets 48px, contrast kept high. */

:root {
  --ink: #0F2E33;
  --ink-soft: #3A585C;
  --paper: #F8F5F0;
  --paper-warm: #F1EAE0;
  --line: #DCD2C4;
  --clay: #B4551F;
  --clay-dark: #8F4218;
  --sea: #1B5B62;
  --white: #FFFFFF;

  --wrap: 1140px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 46, 51, .06), 0 8px 28px rgba(15, 46, 51, .07);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

/* Anchored sections must clear the sticky header. */
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 700px) { body { font-size: 18px; } }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 650; letter-spacing: -.01em; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--sea); }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: .9rem 1.3rem; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--clay);
  margin: 0 0 1rem;
}

section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 245, 240, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 4.5rem;
  padding-block: .6rem;
  flex-wrap: wrap;
}

.wordmark {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
  margin-right: auto;
}
.wordmark svg { flex: none; }
.wordmark b {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.12rem; line-height: 1.1; display: block;
}
.wordmark span {
  display: block; font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); font-weight: 600;
}

.site-nav { display: none; gap: 1.6rem; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem;
  padding: .5rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--clay); }
@media (min-width: 960px) { .site-nav { display: flex; } }

/* Below the nav breakpoint the sticky call bar already carries Book online, and a second copy
   here wraps onto its own row and costs a fifth of a phone screen. */
.header-cta { display: none; gap: .6rem; align-items: center; }
@media (min-width: 960px) { .header-cta { display: flex; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--clay); color: var(--white); }
.btn--primary:hover { background: var(--clay-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--sm { min-height: 44px; padding: .55rem 1.05rem; font-size: .92rem; }

/* ---------- hero ---------- */

.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

.hero p.lede { font-size: 1.12rem; max-width: 34ch; color: var(--ink-soft); }
@media (min-width: 700px) { .hero p.lede { font-size: 1.2rem; max-width: 40ch; } }

.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-soft);
}
.hero__meta b { color: var(--ink); font-weight: 650; }

.hero__figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }

.stars { color: var(--clay); letter-spacing: .06em; }

/* ---------- routes ---------- */

.routes { background: var(--paper-warm); }
.routes__grid { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .routes__grid { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.3rem);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; margin-bottom: .4rem; }
.card .card__where { color: var(--clay); font-weight: 650; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .9rem; }
.card > p { color: var(--ink-soft); }
.card .btn { margin-top: auto; align-self: flex-start; }

.hours { list-style: none; margin: 1.3rem 0 1.6rem; padding: 0; font-size: .98rem; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem 0; border-bottom: 1px dotted var(--line);
}
.hours li:last-child { border-bottom: 0; }
.hours .shut { color: var(--ink-soft); }
.hours dfn { font-style: normal; }

.from-price {
  font-size: .95rem; color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.from-price b { color: var(--ink); font-size: 1.35rem; font-family: var(--font-head); font-weight: 600; }

/* ---------- treatments ---------- */

.treatments__grid { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
@media (min-width: 660px) { .treatments__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .treatments__grid { grid-template-columns: repeat(3, 1fr); } }

.treatment {
  border-top: 3px solid var(--ink);
  padding-top: 1.1rem;
}
.treatment h3 { margin-bottom: .45rem; }
.treatment p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- prices ---------- */

.prices { background: var(--ink); color: var(--paper); }
.prices h2, .prices h3 { color: var(--white); }
.prices .eyebrow { color: #E8A87C; }
.prices__grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 820px) { .prices__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.pricelist { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.pricelist li {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem 1.2rem;
  padding: 1rem 0; border-top: 1px solid rgba(248, 245, 240, .2);
}
.pricelist .name { font-weight: 600; }
.pricelist .fee { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.pricelist .note { grid-column: 1 / -1; font-size: .92rem; color: #BFD1D3; margin: 0; }

.prices__foot {
  margin-top: 2.8rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(248, 245, 240, .2);
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center;
  justify-content: space-between;
}
.prices__foot p { color: #BFD1D3; font-size: .95rem; max-width: 52ch; }

/* ---------- clinic ---------- */

.clinic__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .clinic__grid { grid-template-columns: 1fr 1.15fr; } }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 10px; width: 100%; aspect-ratio: 403 / 639; object-fit: cover; box-shadow: var(--shadow); }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery figure:first-child img { aspect-ratio: 16 / 10; object-position: center 35%; }
.gallery figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .45rem; }

.address {
  font-style: normal; font-size: 1.05rem; line-height: 1.5;
  margin: 1.4rem 0;
}

/* ---------- appointment ---------- */

.visit { background: var(--paper-warm); }
.steps { list-style: none; counter-reset: step; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  margin-bottom: .9rem;
}
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- testimonials ---------- */

.quotes { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  margin: 0; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; }
.quote figcaption { margin-top: auto; font-weight: 650; font-size: .95rem; color: var(--ink-soft); }

.source-note { font-size: .9rem; color: var(--ink-soft); margin-top: 1.8rem; }

/* ---------- contact ---------- */

.contact { background: var(--sea); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: #F3C4A4; }
.contact__grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 860px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.contact p { color: #D6E7E8; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.contact-list dt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #A8C9CC; font-weight: 650; }
.contact-list dd { margin: .25rem 0 0; font-size: 1.25rem; font-family: var(--font-head); font-weight: 600; }
.contact-list dd a { color: var(--white); text-decoration-thickness: 1px; text-underline-offset: 4px; }

.contact__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink); color: #BFD1D3;
  padding: 3rem 0 2.5rem; font-size: .95rem;
}
.site-footer .wrap { display: grid; gap: 1.8rem; }
@media (min-width: 780px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer a { color: var(--white); }
.site-footer h3 { color: var(--white); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer .legal {
  grid-column: 1 / -1; border-top: 1px solid rgba(248,245,240,.15);
  padding-top: 1.5rem; font-size: .85rem; color: #94AEB1;
}

/* ---------- sticky mobile bar ---------- */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink);
  border-top: 1px solid rgba(248,245,240,.2);
  padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.callbar .btn { min-height: 46px; font-size: .95rem; }
@media (min-width: 960px) { .callbar { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 4.6rem; } }

/* ---------- 404 ---------- */

.oops {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--ink); color: var(--paper);
}
.oops h1 { font-size: clamp(3.5rem, 12vw, 6rem); color: var(--white); margin-bottom: .2em; }
.oops h2 { color: var(--white); }
.oops p { color: #BFD1D3; max-width: 48ch; }
.oops .hero__cta { margin-top: 2rem; }
.oops .wordmark b, .oops .wordmark span { color: var(--paper); }
