/* Performance Physiotherapy Jersey — hand-built responsive stylesheet.
   One document per page, mobile-first, reflows up to desktop.
   Rebuilt from the Swell/Duda export to replace the per-device builds. */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
  --indigo: #5c72f4;
  --indigo-dark: #4458e0;
  --ink: #1b1b2a;
  --text: #3c4150;
  --muted: #6b7280;
  --line: #e6e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --dark: #0e1422;
  --dark-2: #19213a;
  --trust: #00b67a;
  --radius: 6px;
  --radius-lg: 16px;
  --maxw: 1140px;
  --pad: clamp(20px, 5vw, 28px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

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

a { color: var(--indigo); text-decoration: none; }

h1, h2, h3 { color: var(--ink); font-weight: 900; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 700; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.section { padding-block: clamp(48px, 8vw, 88px); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(32px, 5vw, 52px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  background: var(--indigo); color: #fff;
  font-weight: 700; font-size: 1rem;
  padding: 14px 30px; border-radius: var(--radius);
  border: 0; cursor: pointer; transition: background .15s ease, transform .15s ease;
  text-align: center;
}
.btn:hover { background: var(--indigo-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: transparent; color: var(--indigo); border: 2px solid var(--indigo); }
.btn--ghost:hover { background: var(--indigo); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.site-header__logo img { height: 34px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.tel-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.tel-link svg { width: 18px; height: 18px; fill: var(--indigo); }
.tel-link span { display: none; }
.site-header .btn { padding: 10px 18px; font-size: .95rem; }

/* ---------- hero ---------- */
.hero { text-align: center; padding-block: clamp(44px, 8vw, 84px); }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero p { max-width: 56ch; margin-inline: auto; font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text); }
.hero .btn { margin-top: 8px; }

/* trustpilot inline */
.trust { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; justify-content: center; }
.trust img { height: 24px; }

/* ---------- feature badges ---------- */
.badges { display: grid; grid-template-columns: 1fr; gap: 18px 28px; margin-top: 8px; }
.badge { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); justify-content: center; }
.badge svg { width: 26px; height: 26px; flex: none; stroke: var(--indigo); }

/* ---------- testimonial (single) ---------- */
.quote { text-align: center; max-width: 760px; margin-inline: auto; }
.quote blockquote { font-size: clamp(1.05rem, 2.6vw, 1.35rem); color: var(--ink); font-weight: 300; font-style: italic; margin: 0 0 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; justify-content: center; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: #ffe2c2; color: #b5651d; display: grid; place-items: center; font-weight: 700; }
.quote .who b { color: var(--ink); }

/* ---------- media + text blocks ---------- */
.media { display: grid; grid-template-columns: 1fr; gap: clamp(22px, 4vw, 48px); align-items: center; }
.media + .media { margin-top: clamp(40px, 6vw, 72px); }
.media__img img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.media__body .btn { margin-top: 6px; }
.media__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.media__pair img { border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover; }

/* ---------- pricing ---------- */
.pricing { max-width: 720px; margin-inline: auto; text-align: center; }
.pricing h3 { margin-top: 1.4em; }
.price-list { list-style: none; padding: 0; margin: 0 0 1em; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); text-align: left; }
.price-list li span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pricing .note { color: var(--muted); font-size: .95rem; }

/* ---------- review cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 4px 18px rgba(20,24,60,.04); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card__name { font-weight: 700; color: var(--ink); }
.card__stars img { height: 18px; }
.card p { margin: 0; font-size: .96rem; }
.card .logo-src { height: 18px; margin-top: 14px; }

/* ---------- dark conditions section ---------- */
.dark { background: var(--dark); color: #cdd3e4; border-radius: clamp(0px, 3vw, 28px); padding: clamp(34px, 6vw, 64px); }
.dark__wrap { max-width: var(--maxw); margin-inline: auto; }
.dark__team { max-width: 360px; margin: 0 auto 26px; border-radius: var(--radius-lg); }
.dark h2 { color: #fff; text-align: center; }
.dark h2 .accent { color: var(--indigo); }
.dark > .lead { text-align: center; max-width: 60ch; margin: 0 auto 26px; }
.cond-grid { display: grid; grid-template-columns: 1fr; gap: 10px 22px; margin: 18px 0 26px; }
.cond { display: flex; align-items: center; gap: 10px; }
.cond svg { width: 20px; height: 20px; flex: none; color: var(--indigo); }
.dark .sub { font-weight: 700; color: #fff; margin-top: 10px; }
.dark .cta-row { text-align: center; }
.dark .trusted { text-align: center; color: #8b93ab; margin-top: 18px; font-size: .9rem; }

/* ---------- locations ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.loc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; box-shadow: 0 4px 18px rgba(20,24,60,.04); }
.loc h3 { margin-bottom: .6em; }
.loc address { font-style: normal; color: var(--muted); margin-bottom: 18px; line-height: 1.7; }

/* ---------- final CTA ---------- */
.final { background: var(--dark); color: #fff; border-radius: clamp(0px, 3vw, 28px); overflow: hidden; }
.final__grid { display: grid; grid-template-columns: 1fr; }
.final__body { padding: clamp(34px, 6vw, 60px); }
.final__body h2 { color: #fff; }
.final__body p { color: #c3c9dc; }
.final__img { min-height: 220px; background-size: cover; background-position: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); text-align: center; padding-block: 40px; }
.site-footer img { height: 30px; margin: 0 auto 16px; }
.site-footer nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.site-footer nav a { color: var(--muted); }
.site-footer small { color: var(--muted); }

.center { text-align: center; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 5vw, 48px); }

/* ---------- split hero + consultation form (free-consultation) ---------- */
.hero--split .container { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }

.consult-form {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 26px);
  box-shadow: 0 10px 30px rgba(20,24,60,.08);
  text-align: left;
  scroll-margin-top: 84px; /* keep the card clear of the sticky header when anchored */
}
.consult-form h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: .3em; text-align: center; }
.consult-form__sub { color: var(--muted); font-size: .92rem; margin-bottom: .9em; text-align: center; }
.consult-form .field { margin-bottom: 10px; }
.consult-form label { display: block; font-weight: 700; color: var(--ink); font-size: .85rem; margin-bottom: 3px; }
.consult-form .field input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
}
.consult-form .field input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(92,114,244,.18); }
.consult-form .field input::placeholder { color: #a2a8b8; }
.consult-form .consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 14px; }
.consult-form .consent input[type="checkbox"] { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--indigo); flex: none; }
.consult-form .consent label { font-weight: 400; color: var(--muted); font-size: .85rem; line-height: 1.5; margin: 0; }
.consult-form input[type="submit"] { width: 100%; padding-block: 12px; }

/* ============ tablet ============ */
@media (min-width: 700px) {
  .badges { grid-template-columns: repeat(2, auto); justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .tel-link span { display: inline; }
}

/* ============ desktop ============ */
@media (min-width: 992px) {
  body { font-size: 18px; }
  .hero--split .container { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .hero--split .hero__content { text-align: left; padding-top: 44px; }
  .hero--split .hero__content h1,
  .hero--split .hero__content p { margin-inline: 0; }
  .hero--split .trust { justify-content: flex-start; }
  .badges { grid-template-columns: repeat(4, auto); }
  .media { grid-template-columns: 1fr 1fr; }
  .media--reverse .media__img { order: 2; }
  .cond-grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .final__grid { grid-template-columns: 1.1fr 1fr; }
  .final__img { min-height: 100%; }
  .btn--block { display: inline-flex; width: auto; }
}
