/* ===== Brand tokens =====
   Royal blue + bright cyan from the Saints Sports Physio logo */
:root {
  --royal: #1536b3;        /* deep royal blue (logo background) */
  --royal-dark: #0e2683;   /* darker royal for depth */
  --royal-deep: #0a1c5e;   /* deepest navy */
  --cyan: #2ec5ff;         /* bright neon cyan accent */
  --cyan-soft: #7fe0ff;
  --ink: #12193a;          /* body text */
  --muted: #5b6480;        /* muted text */
  --line: #e6e9f2;         /* borders */
  --bg: #ffffff;
  --bg-alt: #f4f7fd;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 30, 90, 0.06);
  --shadow: 0 18px 50px rgba(15, 30, 90, 0.14);
  --maxw: 1160px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0aa6ec);
  color: var(--royal-deep);
  box-shadow: 0 8px 24px rgba(46, 197, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(46, 197, 255, 0.55); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--royal); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { color: var(--royal); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--royal); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-logo { height: 52px; width: 52px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow-sm); }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--cyan);
  transition: width 0.22s ease;
}
.main-nav a:hover { color: var(--royal); }
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--royal); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 96px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(46,197,255,0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(46,197,255,0.18), transparent 55%),
    linear-gradient(140deg, var(--royal) 0%, var(--royal-dark) 55%, var(--royal-deep) 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(1000px 600px at 70% 10%, #000, transparent 70%);
}
.hero-inner { position: relative; max-width: 820px; }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 0 16px;
}
.eyebrow-light { color: var(--cyan-soft); }
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 640px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-badges {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 560px;
}
.hero-badges li {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.hero-badges strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--cyan); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-badges span { font-size: 0.82rem; color: rgba(255,255,255,0.78); }

/* ===== Trust strip ===== */
.trust-strip { background: var(--royal-deep); color: var(--white); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 20px 24px; }
.trust-item { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; display: flex; align-items: center; gap: 8px; }
.trust-icon { color: var(--cyan); }

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 14px; }
.section-head .eyebrow { color: var(--royal); }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-note { text-align: center; color: var(--muted); margin-top: 40px; }
.section-note a { color: var(--royal); font-weight: 600; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(46,197,255,0.16), rgba(21,54,179,0.12));
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ===== Priced services ===== */
.service-category { margin-bottom: 52px; }
.category-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.4rem; font-weight: 800; color: var(--royal);
  padding-bottom: 14px; margin-bottom: 24px;
  border-bottom: 2px solid var(--line);
}
.category-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(46,197,255,0.16), rgba(21,54,179,0.12));
}
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--cyan);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-head { width: 100%; margin-bottom: 14px; }
.service-head h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.service-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-time {
  font-size: 0.85rem; font-weight: 600; color: var(--royal);
  background: var(--bg-alt); padding: 5px 12px; border-radius: 999px;
}
.service-price { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--royal); }
.service p { color: var(--muted); margin: 0 0 12px; font-size: 0.95rem; }
.service .service-ideal { color: var(--ink); font-weight: 600; margin-bottom: 20px; }
.service .btn { margin-top: auto; color: var(--royal-deep); }
.service-category:last-of-type .service-list { grid-template-columns: repeat(2, 1fr); }

/* ===== Conditions ===== */
.conditions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.condition {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.condition:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.condition h4 { font-size: 1.1rem; color: var(--royal); margin-bottom: 6px; }
.condition p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ===== Steps ===== */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  counter-reset: step;
}
.step { text-align: center; position: relative; padding-top: 12px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 16px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--royal), var(--royal-dark));
  box-shadow: 0 8px 20px rgba(21,54,179,0.3);
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ===== About (dark) ===== */
.section-dark { background: linear-gradient(140deg, var(--royal) 0%, var(--royal-deep) 100%); color: var(--white); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 90% 20%, rgba(46,197,255,0.25), transparent 60%);
}
.about-inner { position: relative; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 18px; }
.about-text p { color: rgba(255,255,255,0.88); font-size: 1.08rem; margin: 0 0 28px; }
.about-logo img { width: 240px; margin: 0 auto; border-radius: 20px; box-shadow: var(--shadow); }

/* ===== CTA band ===== */
.cta-band { background: var(--cyan); color: var(--royal-deep); }
.cta-inner { text-align: center; padding: 64px 24px; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 10px; }
.cta-inner p { font-size: 1.1rem; margin: 0 0 26px; color: rgba(10,28,94,0.85); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h4 { color: var(--royal); font-size: 1.05rem; margin: 0 0 6px; }
.contact-card h4 + p { margin-top: 0; }
.contact-card p { color: var(--muted); margin: 0 0 20px; }
.contact-card a { color: var(--ink); font-weight: 600; }
.contact-card a:hover { color: var(--royal); }
.contact-card .btn { color: var(--royal-deep); margin-top: 6px; }

/* ===== Footer ===== */
.site-footer { background: var(--royal-deep); color: rgba(255,255,255,0.8); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-logo { height: 60px; width: 60px; border-radius: 14px; object-fit: cover; margin-bottom: 16px; }
.footer-brand p { max-width: 360px; font-size: 0.95rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.footer-nav h5 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.footer-nav a { display: block; color: rgba(255,255,255,0.8); font-size: 0.95rem; padding: 4px 0; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 24px; text-align: center; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-logo img { width: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .btn-call { display: none; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .hero-badges { grid-template-columns: 1fr; max-width: 320px; }
}

@media (max-width: 480px) {
  .cards, .conditions-grid, .steps { grid-template-columns: 1fr; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
