/* MG Sports Therapy — design system. Reference: Squeeze Massage (bold colour hero,
   light + bold headline, one pill CTA). Colours from the MG logo. */

@font-face { font-family: 'Jost'; font-weight: 300; font-display: swap; src: url('/fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 400; font-display: swap; src: url('/fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 600; font-display: swap; src: url('/fonts/jost-latin-600-normal.woff2') format('woff2'); }

:root {
  --teal: #0a7d78;       /* AA on white and white-on-teal */
  --teal-deep: #075f5b;
  --aqua: #3ccfc4;       /* decorative only */
  --mist: #e9f7f5;
  --ink: #13233a;        /* charcoal navy: body text, courses band */
  --muted: #4b5a6b;
  --line: #dce6e8;
  --bg: #ffffff;
  --danger: #b3261e;
  --radius: 20px;
  --pill: 999px;
  --shadow: 0 1px 2px rgb(19 35 58 / 6%), 0 8px 24px rgb(19 35 58 / 6%);
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 'Jost', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 400; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Two-weight headline, Squeeze-style */
.headline { text-transform: uppercase; letter-spacing: .04em; }
.headline .light { display: block; font-weight: 300; }
.headline .bold { display: block; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 92%); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }

/* Buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px; border-radius: var(--pill);
  font: 600 .85rem/1 'Jost', sans-serif; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 2px solid var(--teal);
  background: var(--teal); color: #fff; transition: background .15s, color .15s, transform .15s;
}
.pill:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.pill:active { transform: scale(.98); }
.pill.outline { background: transparent; color: var(--teal); }
.pill.outline:hover { background: var(--teal); color: #fff; }
.pill.light { background: #fff; color: var(--teal); border-color: #fff; }
.pill.light:hover { background: var(--mist); }
.pill[disabled] { opacity: .55; cursor: progress; }
.pill.small { min-height: 40px; padding: 0 18px; font-size: .75rem; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--teal); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.hero { position: relative; background: var(--teal); color: #fff; text-align: center; padding: 84px 0 132px; overflow: hidden; }
.hero h1 { font-size: clamp(2.1rem, 7vw, 4.25rem); margin-bottom: .45em; }
.hero p { max-width: 34em; margin: 0 auto 2em; font-size: 1.15rem; opacity: .95; }
.hero::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -70px; height: 140px; background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

/* Sections */
section { padding: 56px 0; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .75em; }
.section-title { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
.lede { color: var(--muted); max-width: 36em; }

/* Cards */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  color: inherit; text-decoration: none; transition: transform .15s, border-color .15s;
}
a.card:hover { transform: translateY(-2px); border-color: var(--aqua); }
.card .tag { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); background: var(--mist); padding: 5px 12px; border-radius: var(--pill); margin-bottom: 8px; }
.card h3 { font-size: 1.45rem; font-weight: 600; margin: 0; }
.card p { color: var(--muted); margin: 0; }
.card .meta { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.card .price { font-size: 1.1rem; }
.card .go { color: var(--teal); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

/* Courses band */
.band { background: var(--ink); color: #fff; border-radius: 28px; padding: 40px 28px; display: grid; gap: 24px; align-items: center; }
.band .eyebrow { color: var(--aqua); }
.band p { color: rgb(255 255 255 / 82%); }
@media (min-width: 760px) { .band { grid-template-columns: 1.4fr 1fr; padding: 56px; } .band .cta { justify-self: end; } }

/* About */
.about { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) { .about { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.photo { aspect-ratio: 4 / 5; border-radius: 160px 160px var(--radius) var(--radius); background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.photo img { width: 46%; border-radius: 50%; opacity: .9; }
.photo.cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; opacity: 1; }

/* Visit / footer */
.visit { display: grid; gap: 16px; }
@media (min-width: 760px) { .visit { grid-template-columns: repeat(2, 1fr); } }
.visit .card { box-shadow: none; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; align-items: center; gap: 18px; }
.ig { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--teal); border: 1px solid var(--line); transition: background .15s, color .15s; }
.ig:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Booking flow */
.flow { max-width: 640px; margin: 0 auto; padding: 32px 20px 72px; }
.flow h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.steps { display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.steps li { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps li.on { background: var(--teal); }
.tabs { display: flex; gap: 6px; background: var(--mist); padding: 5px; border-radius: var(--pill); margin-bottom: 24px; overflow-x: auto; }
.tabs a { flex: 1; white-space: nowrap; text-align: center; padding: 10px 14px; border-radius: var(--pill); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; min-height: 44px; display: grid; place-items: center; }
.tabs a[aria-current='page'] { background: #fff; color: var(--teal); box-shadow: var(--shadow); }
.list { display: grid; gap: 12px; }
.option { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.option .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.option h3 { font-size: 1.2rem; }
.option .sub { color: var(--muted); font-size: .95rem; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.day { flex: 0 0 auto; scroll-snap-align: start; min-width: 68px; min-height: 72px; padding: 8px 10px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font: inherit; cursor: pointer; display: grid; place-items: center; line-height: 1.2; color: var(--ink); }
.day small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day strong { font-size: 1.35rem; font-weight: 600; }
.day[aria-pressed='true'] { background: var(--teal); border-color: var(--teal); color: #fff; }
.day[aria-pressed='true'] small { color: rgb(255 255 255 / 85%); }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 8px; }
.chip { min-height: 48px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; font: 600 1rem 'Jost', sans-serif; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed='true'] { background: var(--teal); color: #fff; border-color: var(--teal); }
.date-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.places { font-size: .85rem; font-weight: 600; color: var(--teal); white-space: nowrap; }
.places.full { color: var(--muted); }
.option[aria-pressed='true'] { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.option:disabled { opacity: .55; cursor: not-allowed; }

.summary { background: var(--mist); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 24px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }

form .field { display: grid; gap: 6px; margin-bottom: 16px; }
label, legend { font-weight: 600; font-size: .95rem; }
input[type='text'], input[type='email'], input[type='tel'] {
  min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid #b9c7cc;
  font: inherit; color: var(--ink); background: #fff;
}
input:focus-visible { outline: 3px solid var(--aqua); outline-offset: 1px; border-color: var(--teal); }
fieldset { border: 0; padding: 0; margin: 8px 0 20px; }
.pay { display: grid; gap: 10px; margin-top: 8px; }
.pay label { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 400; min-height: 56px; }
.pay label:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.pay input { width: 20px; height: 20px; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; }
.fine { font-size: .85rem; color: var(--muted); }
.error { color: var(--danger); font-weight: 600; min-height: 1.6em; }
.notice { padding: 16px 18px; border-radius: 14px; background: var(--mist); color: var(--ink); }
.loading { color: var(--muted); padding: 24px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.actions .pill { flex: 1 1 auto; }

.tick { width: 72px; height: 72px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 2rem; margin-bottom: 20px; }
