/* Physiotherapy, nutrition and yoga as three equal services. Colours, type, shape and motion are the brand tokens; nothing here adds a colour. */

/* ─── Hero: the promise on the left, the three services as three equal portraits on the right ─── */
.hero3 { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); grid-template-areas: "top panels"; align-items: center; min-height: min(calc(100vh - 77px), 760px); }
.hero3 .hero-top { grid-area: top; align-self: center; }
.hero3 h1 { font-size: clamp(2.7rem, 5.4vw, 4.9rem); }
.hero-lede { max-width: 30ch; margin: 1.25rem 0 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 600; line-height: 1.4; color: var(--forest); letter-spacing: -0.01em; }
.hero3 .hero-side-text { margin-top: 0.9rem; }
.hero-panels { grid-area: panels; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.6rem, 1.4vw, 1rem); margin: 0; padding: 0; align-self: center; }
.hero-panels li:nth-child(2) { transform: translateY(1.6rem); }
.hp { position: relative; display: block; aspect-ratio: 3 / 5; overflow: hidden; border-radius: var(--radius-card); background: var(--forest); color: #fff; text-decoration: none; box-shadow: var(--shadow-soft); isolation: isolate; }
.hp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform var(--duration-very-slow) var(--ease-smooth-out); }
.hp::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 43, 37, 0.88) 0%, rgba(10, 43, 37, 0.35) 38%, transparent 62%); }
.hp-label { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0.9rem 0.9rem 1rem; display: block; }
.hp-label strong { display: block; font-family: var(--font-display); font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.1; letter-spacing: -0.01em; }
.hp-label small { display: block; margin-top: 0.2rem; font-size: 0.78rem; opacity: 0.9; }
.hp:focus-visible { outline: 3px solid #BD6236; outline-offset: 3px; }
@media (hover: hover) { .hp:hover { box-shadow: var(--shadow-lift); } .hp:hover img { transform: scale(1.05); } }
@media (prefers-reduced-motion: no-preference) {
  .hero3 .hero-lede { animation: rm-rise 0.7s 0.15s var(--ease-smooth-out) backwards; }
  .hero3 .hero-cta { animation: rm-rise 0.7s 0.3s var(--ease-smooth-out) backwards; }
  .hero-panels li { animation: rm-rise 0.8s var(--ease-smooth-out) backwards; }
  .hero-panels li:nth-child(1) { animation-delay: 0.2s; } .hero-panels li:nth-child(2) { animation-delay: 0.32s; } .hero-panels li:nth-child(3) { animation-delay: 0.44s; }
  .hero-panels li:nth-child(2) { animation-name: rm-rise-mid; }
}
@keyframes rm-rise-mid { from { opacity: 0; transform: translateY(2.8rem); } to { opacity: 1; transform: translateY(1.6rem); } }
@media (max-width: 1000px) {
  .hero3 { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "panels"; min-height: 0; padding: 1.5rem 1.25rem 2.25rem; row-gap: 1.75rem; }
  .hero-panels li:nth-child(2) { transform: none; }
  @keyframes rm-rise-mid { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .hp { aspect-ratio: 3 / 4; }
}
@media (max-width: 520px) { .hp-label { padding: 0.6rem 0.5rem 0.7rem; } .hp-label strong { font-size: 0.8rem; overflow-wrap: anywhere; } .hp-label small { display: none; } }

/* ─── Booking band: the live next-free-time card, now under the hero ─── */
.book-band { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); background: var(--forest-tint); }
.book-band-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.book-band .reason-row { margin: 0; grid-area: auto; }
.book-band .pc { grid-area: auto; align-self: stretch; margin: 0; max-width: 640px; width: 100%; justify-self: end; }
@media (max-width: 1000px) { .book-band-inner { grid-template-columns: minmax(0, 1fr); } .book-band .pc { justify-self: stretch; max-width: none; } }

/* ─── Three equal service cards ─── */
.svc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.svc3-card { display: flex; flex-direction: column; padding: clamp(1.4rem, 2.4vw, 2rem); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); transition-property: transform, box-shadow, border-color; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
@media (hover: hover) { .svc3-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--forest); } }
.svc3-icon { width: 56px; height: 56px; padding: 11px; border-radius: 16px; background: var(--forest-tint); color: var(--forest); }
.svc3-card h3 { margin: 1.1rem 0 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: var(--forest); font-weight: 700; }
.svc3-desc { margin: 0.6rem 0 0; color: var(--ink-muted); }
.svc3-points { list-style: none; margin: 1.1rem 0 1.5rem; padding: 0; display: grid; gap: 0.55rem; flex: 1; }
.svc3-points li { position: relative; padding-left: 1.5rem; font-size: 0.95rem; }
.svc3-points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.9rem; height: 0.5rem; border-left: 2.5px solid var(--clay-dark); border-bottom: 2.5px solid var(--clay-dark); transform: translateY(-50%) rotate(-45deg) scale(0.9); }
.svc3-cta { width: 100%; background: var(--forest); color: #fff; border-color: var(--forest); }
.svc3-cta::after { content: "→"; display: inline-block; transition: transform var(--duration-fast) var(--ease-smooth-out); }
@media (hover: hover) { .svc3-cta:hover { background: var(--forest-deep); border-color: var(--forest-deep); } .svc3-cta:hover::after { transform: translateX(4px); } }
.svc-explorer-title { margin: 0 0 1.25rem; font-size: 1.35rem; color: var(--forest); font-weight: 600; }
@media (max-width: 1000px) { .svc3 { grid-template-columns: minmax(0, 1fr); } }

/* ─── How it works ─── */
.how3-bg { background: #fff; }
.how3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); margin: 0; padding: 0; position: relative; counter-reset: how; }
.how3-step { position: relative; padding-top: 0.25rem; }
.how3-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; position: relative; z-index: 1; }
.how3-step:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 64px; right: -1rem; height: 2px; background: repeating-linear-gradient(90deg, var(--clay) 0 8px, transparent 8px 16px); transform-origin: left; }
.how3-step h3 { margin: 1rem 0 0.35rem; font-size: 1.3rem; color: var(--forest); }
.how3-step p { margin: 0; color: var(--ink-muted); max-width: 32ch; }
@media (max-width: 800px) {
  .how3 { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .how3-step { padding-left: 4.25rem; }
  .how3-num { position: absolute; left: 0; top: 0; }
  .how3-step:not(:last-child)::after { top: 52px; bottom: -1.75rem; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--clay) 0 8px, transparent 8px 16px); transform-origin: top; }
  .how3-step h3 { margin-top: 0.4rem; }
}

/* ─── Connected care: three journeys ─── */
.ic-bg { background: var(--cream); }
.ic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.ic-card { padding: clamp(1.3rem, 2.2vw, 1.8rem); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); }
.ic-card h3 { margin: 0 0 1.1rem; font-size: 1.25rem; color: var(--forest); }
.ic-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ic-steps li { position: relative; padding: 0 0 1.15rem 2rem; font-weight: 600; }
.ic-steps li:last-child { padding-bottom: 0; }
.ic-steps li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--clay-tint); }
.ic-steps li:not(:last-child)::after { content: ""; position: absolute; left: 0.37rem; top: 1.3em; bottom: -0.2em; width: 2px; background: var(--border); }
@media (max-width: 1000px) { .ic-grid { grid-template-columns: minmax(0, 1fr); } }

/* ─── Your care in one place ─── */
.dig-bg { background: var(--forest); color: #fff; }
.dig-bg .section-title { color: #fff; }
.dig-bg .section-desc { color: #D5E3DD; }
.dig-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.dig-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.dig-list li { position: relative; padding-left: 1.7rem; font-weight: 600; }
.dig-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.95rem; height: 0.55rem; border-left: 2.5px solid #E4956C; border-bottom: 2.5px solid #E4956C; transform: translateY(-50%) rotate(-45deg); }
.dig-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.6rem, 1.6vw, 1.1rem); padding-bottom: 1.75rem; }
.dig-shot { margin: 0; }
.dig-shot:nth-child(2) { transform: translateY(1.5rem); }
.dig-shot img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 1100; object-fit: cover; object-position: top; border-radius: 22px; border: 6px solid #0A2B25; background: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55); }
.dig-shot figcaption { margin-top: 0.7rem; font-size: 0.85rem; font-weight: 700; color: #D5E3DD; text-align: center; }
@media (max-width: 1000px) {
  .dig-inner { grid-template-columns: minmax(0, 1fr); }
  .dig-shots { display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.4rem 0 1rem; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .dig-shot { flex: 0 0 62%; max-width: 280px; scroll-snap-align: center; }
  .dig-shot:nth-child(2) { transform: none; }
}

/* ─── Where we are ─── */
.loc-bg { background: #fff; }
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.loc-card { padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--radius-card); background: var(--forest-tint); }
.loc-card:last-child { background: var(--clay-tint); }
.loc-card h3 { margin: 0 0 0.9rem; font-size: 1.4rem; color: var(--forest); }
.loc-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.loc-card li { position: relative; padding-left: 1.3rem; }
.loc-card li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--clay-dark); }
@media (max-width: 800px) { .loc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ─── Motion that helps: draw the icons and connectors in when a section is first seen ─── */
@media (prefers-reduced-motion: no-preference) {
  html.lp-js .svc3-icon * { stroke-dasharray: 140; stroke-dashoffset: 140; }
  html.lp-js .svc3-card.is-seen .svc3-icon * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-smooth-out) 0.15s; }
  html.lp-js .how3-num { transform: scale(0.6); opacity: 0; }
  html.lp-js .how3-step.is-seen .how3-num { transform: none; opacity: 1; transition: transform var(--duration-very-slow) var(--ease-bounce), opacity var(--duration-medium) ease-out; }
  html.lp-js .how3-step:not(:last-child)::after { transform: scaleX(0); }
  html.lp-js .how3-step.is-seen:not(:last-child)::after { transform: scaleX(1); transition: transform 0.7s var(--ease-smooth-out) 0.25s; }
  html.lp-js .ic-steps li { opacity: 0; transform: translateX(-8px); }
  html.lp-js .ic-card.is-seen .ic-steps li { opacity: 1; transform: none; transition: opacity var(--duration-medium) ease-out, transform var(--duration-medium) var(--ease-smooth-out); }
  html.lp-js .ic-card.is-seen .ic-steps li:nth-child(2) { transition-delay: 0.18s; }
  html.lp-js .ic-card.is-seen .ic-steps li:nth-child(3) { transition-delay: 0.36s; }
  html.lp-js .dig-shot { opacity: 0; translate: 0 24px; }
  html.lp-js .dig-shot.is-seen { opacity: 1; translate: 0 0; transition: opacity 0.6s ease-out, translate 0.7s var(--ease-smooth-out); }
  html.lp-js .dig-shot:nth-child(2).is-seen { transition-delay: 0.12s; } html.lp-js .dig-shot:nth-child(3).is-seen { transition-delay: 0.24s; }
  html.lp-js .loc-card { opacity: 0; translate: 0 18px; }
  html.lp-js .loc-card.is-seen { opacity: 1; translate: 0 0; transition: opacity 0.5s ease-out, translate 0.6s var(--ease-smooth-out); }
}
@media (prefers-reduced-motion: reduce) { .hp img, .svc3-card, .svc3-cta::after { transition: none; } }

/* The reasons beside the booking card wrap instead of running under it */
.book-intro .section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.6rem; }
.book-intro .section-desc { margin-bottom: 1.25rem; }
.book-intro .reason-chips { flex-wrap: wrap; overflow: visible; }
.hero3 { min-height: 0; }

/* The phone strip of product pictures: it sits on its own track so the cards can be centred, with dots that follow it */
.dig-shots { position: relative; }
.dig-dots { display: none; justify-content: center; gap: 0.45rem; margin-top: 0.4rem; }
.dig-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transition: background-color var(--duration-fast) ease-out, transform var(--duration-fast) var(--ease-smooth-out); }
.dig-dots i.on { background: #E4956C; transform: scale(1.3); }
@media (max-width: 1000px) { .dig-dots { display: flex; } }

/* ─── Patient reviews: two quote cards, nothing that reads as a promised result ─── */
.rev-bg { background: var(--forest-tint); }
.rev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.rev-card { position: relative; display: flex; flex-direction: column; margin: 0; padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); transition-property: transform, box-shadow; transition-duration: var(--duration-fast); transition-timing-function: var(--ease-smooth-out); }
@media (hover: hover) { .rev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); } }
.rev-mark { width: 40px; height: 30px; color: var(--clay); }
.rev-quote { flex: 1; margin: 1.1rem 0 1.5rem; font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 600; line-height: 1.45; color: var(--forest); letter-spacing: -0.005em; }
.rev-by { display: flex; align-items: center; gap: 0.8rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.rev-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--font-display); font-weight: 700; }
.rev-by strong { display: block; color: var(--ink); }
.rev-by small { color: var(--ink-muted); font-weight: 700; }
.rev-more { margin: 1.75rem 0 0; text-align: center; }
.rev-note { margin: 0.9rem 0 0; text-align: center; font-size: 0.85rem; color: var(--ink-muted); }
@media (max-width: 800px) { .rev-grid { grid-template-columns: minmax(0, 1fr); } .rev-more .btn-outline { width: 100%; } }
@media (prefers-reduced-motion: no-preference) {
  html.lp-js .rev-card { opacity: 0; translate: 0 18px; }
  html.lp-js .rev-card.is-seen { opacity: 1; translate: 0 0; transition: opacity 0.5s ease-out, translate 0.6s var(--ease-smooth-out); }
  html.lp-js .rev-card:nth-child(2).is-seen { transition-delay: 0.14s; }
}

/* Consents: a short list of what to know, then one short line with the tick, its box level with the first line of text */
.consent-title { margin: 0 0 0.4rem; font-weight: 800; font-size: 0.9rem; color: var(--forest); }
.consent-list { margin: 0 0 0.85rem; padding-left: 1.1rem; display: grid; gap: 0.3rem; font-size: 0.85rem; line-height: 1.5; color: var(--ink-muted); }
.form-group label.consent-tick { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 600; font-size: 0.92rem; line-height: 22px; }
.form-group label.consent-tick input { width: 22px; height: 22px; flex: none; margin: 0; padding: 0; accent-color: var(--forest); }
.consent-note { margin: 0.35rem 0 0 calc(22px + 0.65rem); font-size: 0.8rem; line-height: 1.45; color: var(--ink-muted); }
.consent-more { margin: 0.4rem 0 0 calc(22px + 0.65rem); font-size: 0.85rem; }
.consent-more summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; gap: 0.4rem; list-style: none; font-weight: 700; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.consent-more summary::-webkit-details-marker { display: none; }
.consent-more summary::after { content: "+"; font-size: 1.1rem; line-height: 1; text-decoration: none; }
.consent-more[open] summary::after { content: "\2212"; }
.consent-more .consent-list { margin: 0.2rem 0 0.5rem; }
.consent-more a { font-weight: 700; color: var(--forest); }

/* The screenshot strip only scrolls sideways, and keeps that scroll to itself. */
.dig-shots{overflow-y:hidden;overscroll-behavior-x:contain}
