/* ============================================================
   Hands On Health Clinic, Great Barr, Birmingham. Since 2013.
   Bespoke brand build grounded in their real identity:
   teal + indigo wordmark, spine-in-diamond logo mark,
   clean clinical white. Crisp, confident, results driven.
   Palette sampled from their own logo (teal #4FC6C3,
   indigo #3C45B4) with a deep navy from their price list.
   ============================================================ */

:root {
  --teal:       #3FB9B6;   /* logo teal, slightly deepened for contrast */
  --teal-bright:#4FC6C3;   /* their sampled logo teal */
  --teal-pale:  #E3F5F4;   /* washes */
  --indigo:     #3C45B4;   /* their logo indigo */
  --indigo-deep:#2A3186;
  --navy:       #223055;   /* deep text / footer, from price list sidebar family */
  --paper:      #FCFDFD;   /* page base */
  --grey-band:  #F1F6F7;   /* alt bands */
  --ink:        #29323C;
  --muted:      #5E6B78;
  --white:      #FFFFFF;

  --line:       rgba(34, 48, 85, .14);
  --line-soft:  rgba(34, 48, 85, .07);

  --font-head: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Raleway", "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-sm: 7px;
  --shadow: 0 20px 44px rgba(34, 48, 85, .13);
  --shadow-soft: 0 10px 24px rgba(34, 48, 85, .08);
  --wrap: 1150px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
  font-size: 1.0525rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--indigo); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.16; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.8vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.18rem; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: 10px 18px; }
.skip-link:focus { left: 0; }

.demo-ribbon { background: var(--navy); color: #D6E4EF; font-size: .82rem; text-align: center; padding: 7px 14px; letter-spacing: .02em; }
.demo-ribbon strong { color: var(--teal-bright); }

/* diamond motif from their logo */
.diamond-row { display: flex; justify-content: center; gap: 12px; padding: 6px 0; }
.diamond { width: 10px; height: 10px; border: 2px solid var(--teal); transform: rotate(45deg); }
.diamond.solid { background: var(--indigo); border-color: var(--indigo); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(252, 253, 253, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; width: auto; }

.site-nav ul { display: flex; gap: 24px; list-style: none; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .96rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }
.site-nav .nav-cta { background: var(--indigo); color: #fff; padding: 10px 22px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--indigo-deep); color: #fff; }

.nav-toggle { display: none; background: none; border: 2px solid var(--indigo); border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--indigo); margin: 4px 0; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .site-nav li { width: 100%; text-align: center; }
  .site-nav a { display: block; padding: 13px 0; }
  .site-nav .nav-cta { margin: 10px auto; display: inline-block; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #E7F0F5; overflow: hidden; }
/* animated spine hero: their spine-in-diamond logo brought to life, vertebrae
   settle into alignment on load and a teal nerve pulse travels down the column */
.hero-spine { position: absolute; inset: 0; overflow: hidden; }
.hero-spine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(34,48,85,.96) 30%, rgba(34,48,85,.72) 62%, rgba(63,185,182,.12) 100%); }
.hero-spine svg { position: absolute; right: clamp(-24px, 5vw, 96px); top: 50%; transform: translateY(-50%); height: min(660px, 90%); width: auto; z-index: 1; }
.hoh-cord { fill: none; stroke: var(--teal-bright); stroke-width: 2.5; opacity: .30; stroke-linecap: round; }
.hoh-body { fill: url(#hoh-vert); stroke: var(--teal); stroke-width: 1.4; }
.hoh-nub { fill: var(--teal-bright); opacity: .85; }
.hoh-pulse { fill: #8FF4F0; }
.hoh-v { transform-box: fill-box; transform-origin: center; animation: hoh-settle .9s cubic-bezier(.2,.75,.2,1) backwards; animation-delay: calc(var(--i) * .06s); }
@keyframes hoh-settle { from { opacity: 0; transform: translateX(28px) scale(.62); } to { opacity: 1; transform: translateX(0) scale(1); } }
.hoh-vertebrae { transform-box: fill-box; transform-origin: center; animation: hoh-breathe 6.5s ease-in-out 1s infinite; }
@keyframes hoh-breathe { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.012); } }
@media (max-width: 780px) { .hero-spine svg { right: -40px; opacity: .5; height: 78%; } .hero-spine::after { background: linear-gradient(180deg, rgba(34,48,85,.86), rgba(34,48,85,.9)); } }
.hero-inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: clamp(70px, 11vw, 140px) 22px; }
.hero-kicker { font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: .78rem; color: var(--teal-bright); }
.hero h1 { color: #fff; margin: 14px 0 16px; max-width: 700px; }
.hero p.lead { max-width: 580px; color: #C4D4E0; font-size: 1.12rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.btn { display: inline-block; text-decoration: none; font-weight: 800; letter-spacing: .02em; padding: 14px 30px; border-radius: 999px; transition: transform .15s ease, background .15s ease; font-size: .98rem; }
.btn:hover { transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-bright); color: var(--navy); }
.btn-ghost { border: 2px solid var(--teal-bright); color: var(--teal-bright); }
.btn-ghost:hover { background: var(--teal-bright); color: var(--navy); }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: var(--indigo-deep); }

.hero-stats { position: relative; z-index: 2; display: flex; gap: clamp(20px, 5vw, 60px); flex-wrap: wrap; max-width: var(--wrap); margin: 0 auto; padding: 0 22px 56px; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: 1.65rem; color: var(--teal-bright); }
.hero-stat span { font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; color: #A9BDCD; }

/* phone strip */
.phone-strip { background: var(--teal); color: var(--navy); text-align: center; padding: 13px 22px; font-weight: 800; font-size: 1rem; }
.phone-strip a { color: var(--navy); }

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 98px) 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.section-head .eyebrow { font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: .76rem; color: var(--teal); }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 12px; color: var(--muted); }

.band-grey { background: var(--grey-band); }
.band-teal-pale { background: var(--teal-pale); }
.band-navy { background: var(--navy); }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy p { color: #C4D4E0; }
.band-navy .eyebrow { color: var(--teal-bright); }

/* split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 840px) { .split { grid-template-columns: 1fr; } }

.tick-list { list-style: none; margin-top: 18px; }
.tick-list li { padding: 8px 0 8px 34px; position: relative; }
.tick-list li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 11px; height: 11px;
  background: var(--teal); transform: rotate(45deg);
}

/* treatment cards */
.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .treat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .treat-grid { grid-template-columns: 1fr; } }
.treat-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); text-decoration: none; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.treat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.treat-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.treat-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.treat-body h3 { color: var(--navy); }
.treat-body p { color: var(--muted); font-size: .95rem; }
.treat-body .more { margin-top: auto; padding-top: 10px; font-weight: 800; font-size: .88rem; color: var(--teal); letter-spacing: .04em; }

/* treatment detail rows */
.service-row { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 4vw, 50px); align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line-soft); }
.service-row:last-child { border-bottom: none; }
@media (max-width: 780px) { .service-row { grid-template-columns: 1fr; } }
.service-row img { border-radius: var(--radius); box-shadow: var(--shadow-soft); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.service-row h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-row p { color: var(--muted); }
.service-row .mini-price { margin-top: 14px; font-weight: 800; color: var(--indigo); font-size: .95rem; }
.service-row .learn-more { display: inline-block; margin-top: 16px; font-weight: 800; font-size: .9rem; letter-spacing: .04em; color: var(--teal); text-decoration: none; border-bottom: 2px solid var(--teal-pale); padding-bottom: 2px; transition: border-color .15s ease; }
.service-row .learn-more:hover { border-color: var(--teal); }

/* price tables */
.price-block { max-width: 720px; margin: 0 auto 34px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
.price-block h3 { background: var(--navy); color: #fff; padding: 16px 26px; font-size: 1.05rem; }
.price-block table { width: 100%; border-collapse: collapse; }
.price-block th, .price-block td { padding: 14px 26px; text-align: left; border-bottom: 1px solid var(--line-soft); font-weight: 400; }
.price-block td:last-child { text-align: right; font-weight: 800; color: var(--navy); white-space: nowrap; }
.price-block tr:last-child td, .price-block tr:last-child th { border-bottom: none; }
.price-note { max-width: 720px; margin: 0 auto; font-size: .9rem; color: var(--muted); text-align: center; }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { background: var(--white); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-soft); border-left: 5px solid var(--teal); }
.review-card blockquote { color: var(--ink); font-size: .99rem; }
.review-card cite { display: block; margin-top: 14px; font-style: normal; font-weight: 800; color: var(--navy); font-size: .9rem; }
.review-stars { color: #E8A33D; letter-spacing: 2px; margin-top: 4px; font-size: .95rem; }

/* info cards / contact */
.info-card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-soft); }
.info-card h3 { margin-bottom: 12px; }
.info-card + .info-card { margin-top: 22px; }
.info-card ul { list-style: none; }
.info-card li { padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.info-card li:last-child { border-bottom: none; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 54px); }
@media (max-width: 840px) { .contact-grid { grid-template-columns: 1fr; } }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 400px; border-radius: var(--radius); box-shadow: var(--shadow); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 9px 0; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .97rem; }
.hours-table td { text-align: right; font-weight: 700; color: var(--navy); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #A9BDCD; padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--teal-bright); font-size: .95rem; margin-bottom: 12px; }
.site-footer a { color: #D6E4EF; text-decoration: none; }
.site-footer a:hover { color: var(--teal-bright); }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(214, 228, 239, .15); margin-top: 38px; padding-top: 20px; font-size: .82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--teal-bright); }

/* page hero (inner pages) */
.page-hero { background: var(--navy); text-align: center; padding: clamp(56px, 8vw, 100px) 22px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #C4D4E0; max-width: 640px; margin: 14px auto 0; }
.page-hero .eyebrow { font-weight: 800; letter-spacing: .28em; text-transform: uppercase; font-size: .76rem; color: var(--teal-bright); }

/* ---------- meet the team ---------- */
.team-intro { max-width: 720px; margin: 0 auto 46px; text-align: center; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-soft); text-align: center; display: flex; flex-direction: column; align-items: center; border-top: 4px solid var(--teal); }
.team-avatar { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--teal) 0%, var(--indigo) 100%); letter-spacing: .02em; margin-bottom: 18px; }
.team-card h3 { color: var(--navy); margin-bottom: 4px; }
.team-role { font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.team-card p { color: var(--muted); font-size: .96rem; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--white); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: 12px 16px 16px; font-size: .88rem; color: var(--muted); font-weight: 600; }

/* ---------- numbered steps (service pages) ---------- */
.step-list { list-style: none; counter-reset: step; margin: 18px 0 0; max-width: 760px; }
.step-list li { position: relative; padding: 10px 0 10px 52px; counter-increment: step; color: var(--muted); }
.step-list li::before { content: counter(step); position: absolute; left: 0; top: 8px; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-pale); color: var(--indigo); font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.prose { max-width: 760px; }
.prose h2 { margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 12px; }
.prose .tick-list li { color: var(--muted); }
