/* Align Physio — sample site for the yvalid Growth plan */

:root {
  --ink: #1d2f36;
  --ink-soft: #4a5d64;
  --muted: #5a6a70;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --line: #d7e1df;
  --teal: #2a6964;
  --teal-dark: #1f4f4b;
  --teal-tint: #e1eeeb;
  --mist: #edf3f4;
  --sky: #cfe0e6;
  --ochre: #d9a441;
  --ochre-tint: #f7ecd6;
  --error: #a3352b;
  --ok-bg: #e5f1ea;
  --ok-line: #8fbca3;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type roles. Heading steps stay >=1.25x apart at every viewport width. */
  --fs-h1: clamp(2.25rem, 1.75rem + 2vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  --fs-h2-fixed: 1.75rem;   /* section heads inside reading and item layouts */
  --fs-h3: 1.375rem;
  --fs-lede: 1.25rem;
  --fs-intro: 1.125rem;     /* page intros; also the article reading size */
  --fs-body: 1.0625rem;
  --fs-body-sm: 1rem;       /* secondary prose, controls, inputs, labels */
  --fs-small: 0.9375rem;    /* meta, captions, hints, fine print */
  --fs-xs: 0.875rem;        /* tags, table heads, data labels */
  --measure: 38.5rem;       /* ~65 characters of Public Sans at the reading size */

  --wrap: 1120px;
  --radius: 6px;
  --focus: 0 0 0 3px var(--surface), 0 0 0 5px #1b6fa8;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
}

::selection { background: var(--sky); color: var(--ink); }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }

p, li, figcaption, blockquote, .hint { text-wrap: pretty; }
p { margin: 0 0 1em; }

a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-dark); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--surface);
  padding: 8px 14px;
  z-index: 100;
}
.skip:focus { top: 44px; }

/* ---------- yvalid sample bar (deliberately outside the clinic's design) ---------- */

.sample-bar {
  background: #2b2b2b;
  color: #e9e9e9;
  font: 0.8125rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  padding: 7px 16px;
  text-align: center;
}
.sample-bar p { margin: 0; }
.sample-bar a { color: #fff; font-weight: 600; margin-left: 0.5em; }
.sample-bar a:hover { color: #ffd98a; }
.sample-bar a:focus-visible { box-shadow: 0 0 0 2px #2b2b2b, 0 0 0 4px #ffd98a; }

/* ---------- Header ---------- */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-name span { font-weight: 400; color: var(--teal); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  font: inherit;
  font-size: var(--fs-body-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--fs-body-sm);
  border-radius: var(--radius);
}
.site-nav a:hover { color: var(--ink); background: var(--mist); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--teal);
  border-radius: 0;
}
.site-nav a[aria-current="page"]:focus-visible { box-shadow: var(--focus); border-radius: 3px; }
.site-nav .nav-book { margin-left: 8px; }
.site-nav .nav-book a {
  background: var(--teal);
  color: #fff;
  padding: 9px 16px;
}
.site-nav .nav-book a:hover { background: var(--teal-dark); color: #fff; }
.site-nav .nav-book a[aria-current="page"] { box-shadow: none; border-radius: var(--radius); }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(29, 47, 54, 0.08);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }
  .site-nav a { padding: 12px 8px; font-size: var(--fs-body); border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 14px; }
  .site-nav .nav-book { margin: 14px 0 0; }
  .site-nav .nav-book a { text-align: center; border-bottom: 0; border-radius: var(--radius); }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 8px; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; padding: 0; }
  html:not(.js) .site-nav a { border-bottom: 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: var(--fs-body-sm);
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-quiet {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--line);
}
.btn-quiet:hover { background: var(--teal-tint); color: var(--teal-dark); border-color: var(--teal-tint); }
.btn-whatsapp { background: #1f7a4d; border-color: #1f7a4d; }
.btn-whatsapp:hover { background: #17603c; border-color: #17603c; }
.btn svg { width: 20px; height: 20px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */

main { display: block; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-soft); max-width: 36em; }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); }

/* Page header for inner pages */
.page-head {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.page-head h1 { margin-bottom: 0.3em; }
.page-head p { color: var(--ink-soft); max-width: 38em; margin: 0; font-size: var(--fs-intro); line-height: 1.55; }

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

.hero {
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero h1 { max-width: 13em; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; max-width: 440px; margin-left: auto; }

.hours-note {
  margin: 16px 0 0 auto;
  background: var(--surface);
  border: 1px solid var(--ochre);
  padding: 10px 14px;
  font-size: var(--fs-small);
  line-height: 1.45;
  max-width: 300px;
}
.hours-note strong { display: block; font-weight: 600; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
  .hero-art { max-width: 360px; }
  .hero-art svg { margin: 0; }
  .hours-note { margin-left: 0; }
}

/* ---------- Conditions list (home) ---------- */

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.condition-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.condition-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.condition-list svg { width: 44px; height: 44px; color: var(--teal); }
.condition-list h3 { margin-bottom: 0.25em; }
.condition-list h3 a { color: var(--ink); text-decoration: none; }
.condition-list h3 a:hover { color: var(--teal); text-decoration: underline; }
.condition-list p { margin: 0; color: var(--ink-soft); }

/* ---------- First visit timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline li {
  position: relative;
  padding: 34px 24px 0 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sky);
}
.timeline li:last-child::before { right: auto; width: 16px; }
.timeline li::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--teal);
}
.timeline .time {
  display: block;
  font-size: var(--fs-xs);
  color: var(--teal-dark);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.timeline h3 { margin-bottom: 0.35em; }
.timeline p { color: var(--ink-soft); font-size: var(--fs-body-sm); margin: 0; }

@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 28px 34px; }
  .timeline li::before { top: 16px; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .timeline li:last-child::before { display: none; }
  .timeline li::after { top: 4px; }
}

/* ---------- Prices ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
}
.price-table caption { text-align: left; padding: 0 0 12px; color: var(--ink-soft); font-size: var(--fs-small); }
.price-table th,
.price-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
.price-table thead th {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--mist);
}
.price-table tbody th { font-weight: 600; }
.price-table tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-small); line-height: 1.45; margin-top: 2px; }
.price-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }

@media (max-width: 560px) {
  .price-table th, .price-table td { padding: 14px 14px; }
  .price-table .col-length { display: none; }
}

.fine { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }

/* ---------- Quote ---------- */

.quote {
  margin: 0;
  max-width: 44em;
  padding-top: 20px;
  border-top: 2px solid var(--ochre);
}
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
  line-height: 1.45;
  margin-bottom: 0.7em;
}
.quote footer { color: var(--ink-soft); font-size: var(--fs-body-sm); }

/* ---------- Article teasers ---------- */

.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.article-list li:last-child { border-bottom: 1px solid var(--line); }
.article-list .meta { font-size: var(--fs-small); color: var(--muted); padding-top: 4px; font-variant-numeric: tabular-nums; }
.article-list .meta span { display: block; }
.article-list :is(h2, h3) { font-size: var(--fs-h3); margin-bottom: 0.35em; }
.article-list :is(h2, h3) a { color: var(--ink); text-decoration: none; }
.article-list :is(h2, h3) a:hover { color: var(--teal); text-decoration: underline; }
.article-list p { color: var(--ink-soft); margin-bottom: 0.5em; max-width: var(--measure); }
.article-list .unavailable { font-size: var(--fs-small); color: var(--muted); font-style: italic; margin: 0; }
@media (max-width: 640px) {
  .article-list li { grid-template-columns: 1fr; gap: 6px; }
  .article-list .meta span { display: inline; }
  .article-list .meta span + span::before { content: " · "; }
}

.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  line-height: 1.5;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  margin-bottom: 8px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--teal-dark);
  color: #eaf3f1;
  padding: 56px 0;
}
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { color: #fff; margin-bottom: 0.25em; }
.cta-band p { margin: 0; max-width: 34em; color: #cfe2de; }
.cta-band .actions { margin-top: 0; }
.cta-band .btn { background: #fff; color: var(--teal-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--teal-tint); border-color: var(--teal-tint); }
.cta-band .btn-quiet { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cta-band .btn-quiet:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.cta-band :focus-visible { box-shadow: 0 0 0 3px var(--teal-dark), 0 0 0 5px #fff; }

/* ---------- Treatments page ---------- */

.treatment {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.treatment:last-of-type { border-bottom: 0; }
.treatment-side svg { width: 120px; height: 120px; color: var(--teal); }
.treatment-side .badge-art {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--teal-tint);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.treatment-side dl { margin: 0; font-size: var(--fs-small); line-height: 1.45; font-variant-numeric: tabular-nums; }
.treatment-side dt { color: var(--muted); font-size: var(--fs-xs); }
.treatment-side dd { margin: 0 0 12px; font-weight: 600; }
.treatment h2 { margin-bottom: 0.4em; }
.treatment .intro { font-size: var(--fs-intro); line-height: 1.55; color: var(--ink-soft); max-width: var(--measure); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
}
.two-col h3 { margin-bottom: 0.45em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.plain-list { padding-left: 1.1em; margin: 0; }
.plain-list li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .treatment { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
  .treatment-side { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
  .treatment-side .badge-art { width: 104px; height: 104px; margin: 0; }
  .treatment-side svg { width: 76px; height: 76px; }
  .treatment-side dl { display: flex; gap: 0 24px; flex-wrap: wrap; }
}
@media (max-width: 600px) { .two-col { grid-template-columns: 1fr; gap: 20px; } }

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.toc a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
  font-size: var(--fs-small);
  color: var(--ink);
}
.toc a:hover { border-color: var(--teal); color: var(--teal-dark); }

/* ---------- Team page ---------- */

.team-list { list-style: none; margin: 0; padding: 0; }
.person {
  display: grid;
  grid-template-columns: 132px 1fr 260px;
  gap: 36px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.person:first-child { padding-top: 8px; }
.person:last-child { border-bottom: 0; }
.avatar { width: 132px; height: 132px; }
.person h2 { font-size: var(--fs-h2-fixed); margin-bottom: 0.15em; }
.person .role { color: var(--teal-dark); font-weight: 600; margin-bottom: 0.9em; }
.person .bio p { color: var(--ink-soft); }
.creds {
  font-size: var(--fs-small);
  line-height: 1.5;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 18px 20px;
  align-self: start;
}
.creds h3 { font-family: var(--sans); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0; margin-bottom: 0.4em; color: var(--ink); }
.creds ul { margin: 0 0 14px; padding-left: 1.1em; }
.creds ul:last-child { margin-bottom: 0; }
.creds li { margin-bottom: 4px; }
@media (max-width: 960px) {
  .person { grid-template-columns: 96px 1fr; gap: 24px; }
  .avatar { width: 96px; height: 96px; }
  .creds { grid-column: 2; }
}
@media (max-width: 600px) {
  .person { grid-template-columns: 1fr; gap: 16px; }
  .avatar { width: 80px; height: 80px; }
  .creds { grid-column: auto; }
}

/* ---------- Article page ---------- */

.article-head { padding: 56px 0 32px; }
.article-head .wrap,
.article-body { max-width: calc(var(--measure) + 48px); }
.article-head h1 { font-size: clamp(2.25rem, 1.75rem + 2vw, 2.75rem); }
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.byline svg { width: 44px; height: 44px; }
.byline strong { color: var(--ink); font-weight: 600; }
.breadcrumb { font-size: var(--fs-small); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); }

.article-body { margin: 0 auto; padding: 0 24px 56px; font-size: var(--fs-intro); line-height: 1.7; }
.article-body h2 { font-size: var(--fs-h2-fixed); margin: 2em 0 0.5em; }
.article-body p { margin-bottom: 1.1em; }
.article-body ul,
.article-body ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.article-body li { margin-bottom: 0.6em; padding-left: 0.2em; }
.article-body li::marker { color: var(--teal); font-variant-numeric: tabular-nums; }
.article-figure {
  margin: 32px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.article-figure svg { width: 100%; height: auto; }
.article-figure figcaption { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); margin-top: 10px; }
.callout {
  background: var(--ochre-tint);
  border: 1px solid var(--ochre);
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: var(--radius);
}
.callout p:last-child { margin-bottom: 0; }
.article-end {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 28px;
}

/* ---------- Forms ---------- */

.form-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
@media (max-width: 480px) { .form-card { padding: 22px 18px; } }

fieldset { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
legend {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  padding: 0;
  margin-bottom: 16px;
  /* Floated so the legend sits below the fieldset's top rule, not inside it. */
  float: left;
  width: 100%;
}
legend + * { clear: both; }
fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 12px; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

label,
.label { display: block; font-weight: 600; font-size: var(--fs-body-sm); line-height: 1.4; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.hint { display: block; font-size: var(--fs-small); line-height: 1.45; color: var(--muted); margin: -2px 0 6px; font-weight: 400; }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: var(--fs-body-sm);
  line-height: 1.4;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #b9c8c6;
  border-radius: var(--radius);
  padding: 11px 12px;
  min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; }
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d2f36' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible { border-color: #1b6fa8; border-radius: var(--radius); }
[aria-invalid="true"] { border-color: var(--error); background-color: #fdf6f5; }
.error {
  display: block;
  color: var(--error);
  font-size: var(--fs-small);
  line-height: 1.45;
  margin-top: 6px;
}
.error:empty { display: none; }

.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  position: relative;
  display: inline-flex;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid #b9c8c6;
  border-radius: var(--radius);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  background: var(--surface);
}
.choice input:checked + span { background: var(--teal-tint); border-color: var(--teal); color: var(--teal-dark); font-weight: 600; }
.choice input:focus-visible + span { box-shadow: var(--focus); }
.choice-group[aria-invalid="true"] .choice span { border-color: var(--error); }
.choice-group[aria-invalid="true"] { background: none; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions .fine { margin: 0; }

.form-status {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
}
.form-status[hidden] { display: none; }
.form-status h2, .form-status h3 { font-family: var(--sans); font-size: var(--fs-body); font-weight: 700; letter-spacing: 0; margin-bottom: 0.3em; }
.form-status p { margin: 0; }
.form-status p + p { margin-top: 0.5em; }
.form-status:focus { outline: none; }
.form-status:focus-visible { box-shadow: var(--focus); }

.aside-block { margin-bottom: 32px; }
.aside-block h2 { font-size: var(--fs-h3); }
.aside-block p,
.aside-block li { color: var(--ink-soft); font-size: var(--fs-body-sm); }
.aside-block ul { padding-left: 1.1em; margin: 0; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-details { font-style: normal; }
.contact-details h2 { font-size: var(--fs-h3); margin-top: 1.4em; }
.contact-details h2:first-child { margin-top: 0; }
.contact-details p { margin-bottom: 0.4em; }
.hours { width: 100%; max-width: 360px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours .closed { color: var(--muted); }

.map {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map svg { width: 100%; height: auto; }
.map figcaption { padding: 14px 18px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); border-top: 1px solid var(--line); }

.getting-here {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.getting-here h3 { font-family: var(--sans); font-size: var(--fs-body); font-weight: 700; letter-spacing: 0; margin-bottom: 0.3em; }
.getting-here p { color: var(--ink-soft); margin: 0; font-size: var(--fs-body-sm); }
@media (max-width: 760px) { .getting-here { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Footer ---------- */

.site-footer {
  background: #17262b;
  color: #c4d1d3;
  padding: 56px 0 28px;
  font-size: var(--fs-small);
  line-height: 1.55;
}
.site-footer a { color: #e8f0f0; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px #17262b, 0 0 0 5px #9fd0e6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h2 {
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7em;
  letter-spacing: 0;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid address { font-style: normal; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand-name span { color: #9fd0c8; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #2c3f45;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-xs);
  color: #92a3a6;
}
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-art .disc { animation: breathe 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
  .hero-art .disc:nth-of-type(2n) { animation-delay: -3s; }
}
@keyframes breathe {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.more-link { margin-top: 20px; }
.creds p { margin: 0; }
.byline p { margin: 0; }
.article-end .actions { margin-top: 16px; }
