/* ============================================================
   Utopia Clinic, Pudsey, Leeds. Private multi discipline clinic.
   Bespoke typographic brand build: their only deliberate brand
   choices are teal #01C5A2 CTAs, Poppins headings and Questrial
   body, so the rebuild owns them properly. No logo exists on the
   live site: the wordmark is typographic by design here too.
   Clean, modern, multi discipline clinical.
   ============================================================ */

:root {
  --teal:       #01B294;   /* their CTA teal, deepened for contrast */
  --teal-bright:#01C5A2;   /* their exact sampled CTA colour */
  --teal-pale:  #E1F7F2;
  --slate:      #122B36;   /* deep clinical slate for structure */
  --slate-soft: #29414D;
  --blue:       #0063A0;   /* their sampled secondary blue */
  --paper:      #FBFDFD;
  --grey-band:  #F0F5F5;
  --ink:        #253540;
  --muted:      #5D7078;
  --white:      #FFFFFF;

  --line:       rgba(18, 43, 54, .14);
  --line-soft:  rgba(18, 43, 54, .07);

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Questrial", "Segoe UI", sans-serif;

  --radius: 0px;            /* their zero border radius, made a feature */
  --radius-sm: 0px;
  --shadow: 0 20px 44px rgba(18, 43, 54, .14);
  --shadow-soft: 0 10px 24px rgba(18, 43, 54, .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.06rem;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* teal tick motif */
.tick-rule { width: 56px; height: 4px; background: var(--teal-bright); margin: 14px auto 0; }
.tick-rule.left { margin-left: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 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: 14px 22px; }
.brand { text-decoration: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; color: var(--slate); font-size: 1.3rem; letter-spacing: .02em; }
.brand-name em { font-style: normal; color: var(--teal); }
.brand-name small { display: block; font-family: var(--font-body); color: var(--muted); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; }

.site-nav ul { display: flex; gap: 24px; list-style: none; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 400; font-size: .98rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }
.site-nav .nav-cta { background: var(--teal); color: #fff; padding: 11px 24px; font-family: var(--font-head); font-weight: 600; }
.site-nav .nav-cta:hover { background: var(--slate); color: #fff; }

.nav-toggle { display: none; background: none; border: 2px solid var(--slate); padding: 7px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--slate); 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 { background: var(--slate); color: #D9E6E4; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -10%; top: -30%; width: 55%; height: 160%;
  background: linear-gradient(215deg, rgba(1, 197, 162, .16) 0%, transparent 60%);
  transform: skewX(-12deg);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: clamp(76px, 12vw, 150px) 22px; }
.hero-kicker { font-family: var(--font-head); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; font-size: .78rem; color: var(--teal-bright); }
.hero h1 { color: #fff; margin: 14px 0 16px; max-width: 720px; }
.hero p.lead { max-width: 600px; color: #A9C0BE; font-size: 1.12rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.btn { display: inline-block; text-decoration: none; font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; padding: 15px 32px; transition: transform .15s ease, background .15s ease; font-size: .96rem; }
.btn:hover { transform: translateY(-2px); }
.btn-teal { background: var(--teal-bright); color: var(--slate); }
.btn-teal:hover { background: #fff; }
.btn-ghost { border: 2px solid var(--teal-bright); color: var(--teal-bright); }
.btn-ghost:hover { background: var(--teal-bright); color: var(--slate); }
.btn-slate { background: var(--slate); color: #fff; }
.btn-slate:hover { background: var(--slate-soft); }

.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-weight: 700; font-size: 1.6rem; color: var(--teal-bright); }
.hero-stat span { font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; color: #7E9997; }

/* phone strip */
.phone-strip { background: var(--teal-bright); color: var(--slate); text-align: center; padding: 13px 22px; font-family: var(--font-head); font-weight: 600; }
.phone-strip a { color: var(--slate); }

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 98px) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head .eyebrow { font-family: var(--font-head); font-weight: 600; letter-spacing: .28em; text-transform: uppercase; font-size: .74rem; 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-slate { background: var(--slate); }
.band-slate h2, .band-slate h3 { color: #fff; }
.band-slate p { color: #A9C0BE; }
.band-slate .eyebrow { color: var(--teal-bright); }

/* discipline cards */
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .disc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .disc-grid { grid-template-columns: 1fr; } }
.disc-card { background: var(--white); border-top: 4px solid var(--teal-bright); box-shadow: var(--shadow-soft); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.disc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.disc-card h3 { color: var(--slate); }
.disc-card p { color: var(--muted); font-size: .96rem; }
.disc-card .more { margin-top: auto; padding-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--teal); }

/* service rows */
.service-row { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line-soft); }
.service-row:last-child { border-bottom: none; }
@media (max-width: 720px) { .service-row { grid-template-columns: 1fr; } }
.service-row .service-tag { font-family: var(--font-head); font-weight: 700; color: var(--slate); font-size: 1.15rem; line-height: 1.3; border-left: 4px solid var(--teal-bright); padding-left: 16px; }
.service-row .service-tag small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--teal); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.service-row p { color: var(--muted); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--white); box-shadow: var(--shadow-soft); overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-body { padding: 22px 24px 24px; }
.team-body h3 { margin-bottom: 4px; }
.team-body .role { color: var(--teal); font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.team-body p { color: var(--muted); font-size: .95rem; margin-top: 10px; }
.team-body a { color: var(--blue); }

/* info cards */
.info-card { background: var(--white); box-shadow: var(--shadow-soft); padding: 30px 28px; }
.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; box-shadow: var(--shadow); }

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

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: #8FA6A4; padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
@media (max-width: 840px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--teal-bright); font-family: var(--font-head); font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: #D9E6E4; 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(217, 230, 228, .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(--slate); text-align: center; padding: clamp(56px, 8vw, 100px) 22px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 50%; height: 180%; background: linear-gradient(215deg, rgba(1, 197, 162, .14) 0%, transparent 60%); transform: skewX(-12deg); }
.page-hero h1 { color: #fff; position: relative; z-index: 2; }
.page-hero p { color: #A9C0BE; max-width: 640px; margin: 14px auto 0; position: relative; z-index: 2; }
.page-hero .eyebrow { font-family: var(--font-head); font-weight: 600; letter-spacing: .28em; text-transform: uppercase; font-size: .76rem; color: var(--teal-bright); position: relative; z-index: 2; }
