/* West of Scotland Padel — site styles
   Brand: teal #01333E · lime #CCFF00 · white */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #01333E;
  --teal-deep: #012A33;
  --teal-card: #0B4350;
  --teal-line: #1E5A67;
  --lime: #CCFF00;
  --white: #FFFFFF;
  --mist: #E6EDEE;
  --line: #D5DFE1;
  --muted: #3D5F67;
  --on-teal-muted: #BFD8D5;
  --radius: 10px;
  --max: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--teal);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--lime); color: var(--teal); padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.on-light :focus-visible, .on-light:focus-visible { outline-color: var(--teal); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { background: var(--teal); color: var(--white); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: flex-start; gap: 4px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.logo:hover { color: var(--white); }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--lime); }
.nav-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 24px; border-radius: 6px; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center;
}
.btn-lime { background: var(--lime); color: var(--teal); border-color: var(--lime); }
.btn-lime:hover { background: #B8E600; border-color: #B8E600; color: var(--teal); }
.btn-outline-light { color: var(--white); border-color: var(--white); background: transparent; font-weight: 600; }
.btn-outline-light:hover { background: var(--white); color: var(--teal); }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,0.5); background: transparent; font-weight: 600; }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-deep); color: var(--white); }
.btn-outline-dark { color: var(--teal); border-color: var(--teal); background: transparent; font-weight: 600; }
.btn-outline-dark:hover { background: var(--teal); color: var(--white); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.bg-teal { background: var(--teal); color: var(--white); }
.bg-deep { background: var(--teal-deep); color: var(--white); }
.bg-lime { background: var(--lime); color: var(--teal); }
.bg-mist { background: var(--mist); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.bg-teal .eyebrow, .bg-deep .eyebrow { color: var(--lime); }
.bg-lime .eyebrow { color: var(--teal); }
.h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 18px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.bg-teal .lead, .bg-deep .lead { color: var(--on-teal-muted); }
.bg-lime .lead { color: var(--teal); }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 28px; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; letter-spacing: -0.01em; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.section-head { max-width: 760px; margin-bottom: 44px; }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--teal); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(1, 51, 62, 0.72); }
.hero .wrap { position: relative; padding-top: 112px; padding-bottom: 112px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); max-width: 760px; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero .lead { color: rgba(255,255,255,0.9); font-size: 20px; max-width: 580px; margin-bottom: 32px; }
.hero .eyebrow { color: var(--lime); }
.page-hero { background: var(--teal); color: var(--white); }
.page-hero .wrap { padding-top: 80px; padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); max-width: 820px; margin-bottom: 18px; }
.page-hero .lead { color: var(--on-teal-muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.stat-num { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat-num small { font-size: 20px; }
.stat-label { font-weight: 700; margin: 4px 0; }
.stat-text { font-size: 15px; line-height: 1.5; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; letter-spacing: -0.01em; }
.card p { font-size: 15px; line-height: 1.55; }
.card-dark { background: var(--teal-card); border: 1px solid var(--teal-line); }
.card-dark p { color: var(--on-teal-muted); }
.card-light { background: var(--white); border: 1px solid var(--line); }
.card-light p { color: var(--muted); }
.card-teal { background: var(--teal); color: var(--white); padding: 32px; }
.card-teal p { color: var(--on-teal-muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card .spacer { flex: 1; }
.bar { width: 32px; height: 4px; border-radius: 2px; background: var(--lime); }

.checks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: var(--lime); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.checks .tick svg { width: 14px; height: 14px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.steps li::before { content: counter(step); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--teal); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 18px; margin-bottom: 4px; letter-spacing: -0.01em; }
.steps p { color: var(--muted); font-size: 15px; }

.figure { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.court-art { width: 100%; max-width: min(460px, 100%); margin: 0 auto; }

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 68ch; }

.info-box { border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: 28px; }
.info-box .eyebrow { margin-bottom: 10px; }
.info-box p { font-size: 17px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list a { font-weight: 600; }

.callout { border-left: 4px solid var(--lime); background: var(--teal); color: var(--white); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.7; }
.site-footer .wrap { padding-top: 52px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.site-footer h2 { font-size: 15px; color: var(--white); letter-spacing: 0; margin-bottom: 8px; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,0.88); }
.site-footer a:hover { color: var(--lime); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,0.88); text-decoration: underline; cursor: pointer; }
.linklike:hover { color: var(--lime); }

/* ---------- Cookie banner ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin-left: auto;
  background: var(--white); color: var(--teal); border-radius: 12px; padding: 22px 22px 20px;
  box-shadow: 0 12px 40px rgba(1, 42, 51, 0.28); border: 1px solid var(--line);
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.consent p { font-size: 14px; line-height: 1.55; color: var(--muted); margin-bottom: 16px; }
.consent .btn-row { gap: 10px; }
.consent .btn { min-height: 44px; font-size: 15px; flex: 1 1 140px; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--teal); padding: 8px var(--gutter) 24px; border-top: 1px solid var(--teal-line); }
  .nav-panel.open { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--teal-line); }
  .nav-actions { margin-top: 18px; }
  .nav-actions .btn { flex: 1; }
}
@media (min-width: 901px) {
  .nav-panel { display: flex; align-items: center; gap: 36px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 72px; padding-bottom: 80px; text-align: center; }
  .hero h1, .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .btn-row .btn { flex: 1 1 100%; }
  .split { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
