/* Bourton Podiatry — SITE-PREVIEW (Spark, Nov 2026)
   Cotswolds clinic: warm cream, soft green, deep teal. Mobile-first. */

:root {
  --cream: #f7f3eb;
  --cream-dark: #efe8da;
  --ink: #1e2a2a;
  --ink-soft: #3d4a4a;
  --muted: #5c6b6b;
  --teal: #1a5c5c;
  --teal-deep: #0f3f3f;
  --teal-soft: #2a7a7a;
  --green: #6b8f71;
  --green-soft: #e4ede6;
  --accent: #c4a35a;
  --white: #ffffff;
  --border: #d9d0c0;
  --warn-bg: #fff6e0;
  --warn-border: #d4a017;
  --placeholder-bg: #fef3e8;
  --placeholder-border: #c97b3a;
  --shadow: 0 2px 12px rgba(30, 42, 42, 0.08);
  --radius: 12px;
  --max: 1100px;
  --header-h: 72px;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-deep);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.preview-banner {
  background: var(--warn-bg);
  border-bottom: 2px solid var(--warn-border);
  color: var(--ink);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 200;
}
.preview-banner span { font-weight: 400; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 40px;
  z-index: 150;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-link img {
  height: 48px;
  width: auto;
}
.logo-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--teal-deep);
}
.logo-text small {
  display: block;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.nav-toggle[aria-expanded="true"] { background: var(--green-soft); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.35rem;
  border-radius: 6px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-deep);
  background: var(--green-soft);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal);
}
.btn-secondary:hover {
  background: var(--green-soft);
  color: var(--teal-deep);
}
.btn-book-nav {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  margin-left: 0.35rem;
}
.btn-book-nav:hover {
  background: var(--teal-deep);
  color: var(--white) !important;
}

main { min-height: 50vh; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.1rem;
}

.hero {
  background:
    linear-gradient(135deg, rgba(26, 92, 92, 0.92), rgba(15, 63, 63, 0.88)),
    var(--teal-deep);
  color: var(--white);
  padding: 3rem 0 3.5rem;
}
.hero .wrap { max-width: 720px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 650;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero .lede {
  font-size: 1.15rem;
  line-height: 1.55;
  opacity: 0.95;
  margin: 0 0 1.75rem;
  max-width: 38em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero .btn-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.hero .btn-primary:hover {
  background: #d4b56a;
  color: var(--ink);
}
.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.section {
  padding: 2.75rem 0;
}
.section-alt { background: var(--white); }
.section-soft { background: var(--green-soft); }
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  color: var(--teal-deep);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.section .section-intro {
  color: var(--muted);
  max-width: 40em;
  margin: 0 0 1.75rem;
}
.page-header {
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  color: var(--teal-deep);
  margin: 0 0 0.4rem;
}
.page-header p {
  margin: 0;
  color: var(--muted);
  max-width: 42em;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .approach-grid { grid-template-columns: 1fr 1fr; }
}
.approach-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.approach-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--teal-deep);
}
.approach-card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.service-teasers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
@media (min-width: 720px) {
  .service-teasers { grid-template-columns: 1fr 1fr 1fr; }
}
.teaser {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.teaser .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.35rem;
}
.teaser h3 {
  font-family: var(--serif);
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--teal-deep);
}
.teaser p { margin: 0 0 1rem; flex: 1; color: var(--ink-soft); }
.teaser ul {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.teaser a.more {
  font-weight: 700;
  text-decoration: none;
  color: var(--teal);
}
.teaser a.more:hover { text-decoration: underline; }

.cta-band {
  background: var(--teal-deep);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--serif);
  margin: 0 0 0.65rem;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}
.cta-band p {
  margin: 0 auto 1.35rem;
  max-width: 36em;
  opacity: 0.92;
}
.cta-band .btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.cta-band .btn-primary:hover { background: #d4b56a; }

.service-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow);
}
.service-block h3 {
  font-family: var(--serif);
  margin: 0 0 0.65rem;
  color: var(--teal-deep);
  font-size: 1.3rem;
}
.service-block p { margin: 0 0 0.85rem; }
.service-block .btn { margin-top: 0.35rem; }
.group-heading {
  font-family: var(--serif);
  color: var(--teal);
  font-size: 1.15rem;
  margin: 2rem 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--green-soft);
}

.prices-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  margin: 1rem 0 0.5rem;
}
table.prices {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  min-width: 280px;
}
table.prices th,
table.prices td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
table.prices th {
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
}
table.prices tr:last-child td { border-bottom: none; }
table.prices tr:nth-child(even) td { background: var(--cream); }
table.prices .price { font-weight: 700; white-space: nowrap; color: var(--teal-deep); }
.fact-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.note, .placeholder, .compliance-note {
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.note {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn-border);
}
.placeholder {
  background: var(--placeholder-bg);
  border-left: 4px solid var(--placeholder-border);
}
.compliance-note {
  background: #eef4f4;
  border-left: 4px solid var(--teal-soft);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.blog-list {
  display: grid;
  gap: 1.1rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.blog-card .meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.4rem;
}
.blog-card h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.blog-card h2 a { text-decoration: none; color: var(--teal-deep); }
.blog-card h2 a:hover { color: var(--teal); text-decoration: underline; }
.blog-card p { margin: 0; color: var(--ink-soft); }

.about-prose {
  max-width: 42em;
}
.about-prose p { margin: 0 0 1rem; }
.credentials {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow);
}
.credentials h2 {
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
}
.credentials ul { margin: 0; padding-left: 1.2rem; }
.credentials li { margin-bottom: 0.4rem; }

.contact-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.contact-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
}
.contact-card dl {
  margin: 0;
}
.contact-card dt {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.85rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd {
  margin: 0.2rem 0 0;
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { font-weight: 600; }
.hours-list .closed { color: var(--muted); }

.site-footer {
  background: var(--teal-deep);
  color: rgba(255,255,255,0.9);
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
  font-size: 0.95rem;
}
.site-footer a { color: #e8d49a; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 0.65rem;
}
.site-footer p, .site-footer address {
  margin: 0 0 0.5rem;
  font-style: normal;
  line-height: 1.55;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0.75rem;
    gap: 0.15rem;
  }
  .site-nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .site-nav a {
    padding: 0.75rem 0.85rem;
    min-height: 44px;
  }
  .btn-book-nav {
    margin-left: 0;
    text-align: center;
    margin-top: 0.35rem;
  }
  .site-header { top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
