/* ============================================================
   Sports Massage Newcastle — site styles
   Plain CSS, mobile-first, system fonts for speed.
   Edit the variables below to re-theme the whole site.
   ============================================================ */

:root {
  /* Palette — calm, clinical, trustworthy */
  --bg:            #ffffff;
  --bg-alt:        #f3f7f9;   /* light section background */
  --navy:          #0c3a4f;   /* primary dark — header, headings */
  --navy-deep:     #082a3a;
  --teal:          #0e7c86;   /* secondary */
  --teal-dark:     #0a5b63;   /* links on light backgrounds */
  --accent:        #b8431a;   /* CTA — accessible orange (white text) */
  --accent-dark:   #97370f;
  --text:          #1f2933;
  --text-muted:    #54606b;
  --border:        #dce4e8;
  --white:         #ffffff;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";

  /* Layout */
  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(12, 58, 79, 0.08);
  --shadow-lg: 0 12px 36px rgba(12, 58, 79, 0.14);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-dark); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.22;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.25rem 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #dfeaef; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

/* Accessibility: skip link + visually-hidden honeypot */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { background: var(--bg-alt); color: var(--navy); }
.btn--block { display: block; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: #fff; }
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  background: #fff;
  padding: 5px 9px;
  border-radius: 8px;
}
@media (min-width: 880px) { .brand-logo { height: 50px; } }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 22px; margin: 0 auto; background: #fff; transition: 0.2s; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block;
  color: #dfeaef;
  text-decoration: none;
  font-weight: 600;
  padding: 0.65rem 0.25rem;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav .nav-cta { color: #fff; }

/* Mobile open state */
.primary-nav.is-open {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--navy-deep);
  padding: 0.5rem 1.25rem 1.25rem;
  box-shadow: var(--shadow-lg);
}
.primary-nav.is-open li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.primary-nav.is-open .nav-cta {
  margin-top: 0.75rem;
  background: var(--accent);
  border-radius: var(--radius);
  text-align: center;
}
.primary-nav.is-open .nav-cta:hover { background: var(--accent-dark); }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul { display: flex; align-items: center; gap: 1.3rem; }
  .primary-nav a { padding: 0.4rem 0; }
  .primary-nav .nav-cta {
    background: var(--accent);
    padding: 0.55rem 1.05rem;
    border-radius: var(--radius);
  }
  .primary-nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 55%, #06222f 100%);
  color: #eaf2f5;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* subtle decorative accent, no external image */
  content: "";
  position: absolute;
  right: -120px; top: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(14,124,134,0.55), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero p { color: #cfe0e6; font-size: 1.2rem; max-width: 52ch; }
.hero .btn-row { margin-top: 1.6rem; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--teal-dark); color: #eafcff; }
.trust-strip ul {
  list-style: none; margin: 0; padding: 0.9rem 0;
  display: grid; gap: 0.6rem 1.5rem;
  grid-template-columns: 1fr;
}
.trust-strip li { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.trust-strip li::before { content: "✓"; font-weight: 800; color: #8fe3d6; }
@media (min-width: 700px) { .trust-strip ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card .card-link { font-weight: 700; text-decoration: none; }
.card .card-link::after { content: " →"; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--bg-alt); color: var(--teal-dark);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 0.8rem;
}

/* Checklist with ticks */
.ticklist { list-style: none; padding: 0; }
.ticklist li { position: relative; padding-left: 1.8rem; margin-bottom: 0.6rem; }
.ticklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 800;
}

/* Two-column prose+aside */
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1.6fr 1fr; align-items: start; } }

/* ---------- Images / media ---------- */
figure { margin: 0; }

/* Hero with image */
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero-media { margin: 0; }
.hero-media img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-lg); display: block; }

/* Enquiry form inside the hero */
.hero-form { width: 100%; }
.hero-form .form-card { padding: 1.5rem; }
.hero-form-title { font-size: 1.3rem; margin-bottom: 0.2rem; }
.hero-form-sub { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 1rem; }
.hero-form .field { margin-bottom: 0.75rem; }
.hero-form .field input, .hero-form .field select, .hero-form .field textarea { padding: 0.6rem 0.7rem; }
.hero-form textarea { min-height: 80px; }

/* Photo at top of a card */
.card--media { padding: 0; overflow: hidden; }
.card--media .card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card--media .card-body { padding: 1.5rem; }

/* Image beside prose (uses .split) */
.side-media { margin: 0; }
.side-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.side-media figcaption { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 1.1rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 0.9rem 0;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 0.8rem;
  font-size: 1.3rem; color: var(--teal); font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p:last-child { margin-bottom: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #eaf2f5; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0e6; max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--navy); }
.field .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(14,124,134,0.25);
  outline-offset: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Contact details list ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-list .label { font-weight: 700; color: var(--navy); display: block; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.9rem; color: var(--text-muted); padding: 0.9rem 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; }
.breadcrumbs li::after { content: "/"; margin-left: 0.4rem; color: var(--border); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9cdd5; padding: 3rem 0 1.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer a { color: #cfe0e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem; padding-top: 1.25rem;
  font-size: 0.85rem; color: #8fa9b3;
}
.footer-disclaimer { font-size: 0.8rem; color: #7e98a2; margin-top: 0.5rem; }

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--accent);
  z-index: 200;
  display: flex;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.2);
}
.call-bar a {
  flex: 1;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.9rem 0.5rem;
}
.call-bar a + a { border-left: 1px solid rgba(255,255,255,0.3); background: var(--accent-dark); }
body { padding-bottom: 56px; } /* room for call bar on mobile */
@media (min-width: 880px) {
  .call-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Misc ---------- */
.hint { background: #fff7ed; border: 1px solid #f4d3b3; color: #7a3d12;
  padding: 0.6rem 0.9rem; border-radius: 8px; font-size: 0.9rem; }
.spacer-sm { height: 0.5rem; }
