/* Maidenhead RFC — U15s recruitment landing page
   Brand palette mirrored from maidenheadrfc.com:
   magenta #ec008c (marketing accent), club crest gold/purple, dark near-black.
   Headings: Poppins (matches the site's heavy display weights).
   Body: Roboto (matches the site's body face). */

:root {
  --magenta: #ec008c;
  --magenta-dark: #c2006f;
  --gold: #f3b71e;
  --purple: #6f2c91;
  --ink: #121116;
  --ink-2: #1d1c24;
  --paper: #ffffff;
  --paper-soft: #f6f4f1;
  --text: #20202a;
  --text-muted: #5a5a66;
  --text-on-dark: rgba(255, 255, 255, 0.86);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 14px 40px rgba(18, 17, 22, 0.16);
  --shadow-sm: 0 6px 18px rgba(18, 17, 22, 0.10);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .eyebrow, .btn {
  font-family: "Poppins", "Roboto", system-ui, sans-serif;
}

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

a { color: var(--magenta-dark); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--magenta);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  line-height: 1.1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 10px 26px rgba(236, 0, 140, 0.42);
}
.btn-primary:hover {
  background: var(--magenta-dark);
  box-shadow: 0 14px 32px rgba(236, 0, 140, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

.btn-lg { padding: 19px 36px; font-size: 1.08rem; }

/* CTAs with a stacked sub-label must lay out vertically, not in a row. */
.btn:has(.btn-sub) {
  flex-direction: column;
  gap: 4px;
}

.btn-sub {
  display: block;
  margin-top: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.on-dark .btn-sub { color: var(--text-on-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(236, 0, 140, 0.55), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(111, 44, 145, 0.55), transparent 55%),
    linear-gradient(160deg, #1a1822 0%, var(--ink) 55%, #0c0b10 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 38px;
  padding-bottom: 56px;
  text-align: center;
}

.hero-crest {
  width: 132px;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.45));
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(2.1rem, 7vw, 3.9rem);
  line-height: 1.02;
  margin: 6px 0 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--gold); }

.hero .squad {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 3.4vw, 1.5rem);
  margin: 16px 0 4px;
  color: #fff;
}
.hero .squad small {
  display: block;
  font-weight: 500;
  font-size: 0.74em;
  color: var(--text-on-dark);
  margin-top: 2px;
}

.hero .lede {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--text-on-dark);
  font-size: clamp(1rem, 2.6vw, 1.18rem);
}
.hero .shout {
  display: inline-block;
  margin-top: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1rem, 3vw, 1.3rem);
}
.hero .shout .we-want { color: var(--gold); }

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
@media (min-width: 560px) {
  .hero-cta { flex-direction: row; justify-content: center; align-items: flex-start; }
}

/* ---------- Quick facts band ---------- */
.facts {
  background: var(--ink-2);
  color: #fff;
  border-top: 4px solid var(--magenta);
}
.facts .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 28px;
}
@media (min-width: 720px) {
  .facts .wrap { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fact .ico {
  font-size: 1.7rem;
  line-height: 1;
  flex: 0 0 auto;
}
.fact h3 {
  margin: 0 0 2px;
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.fact p { margin: 0; color: var(--text-on-dark); font-size: 0.96rem; }

/* ---------- Generic section ---------- */
.section { padding: 64px 0; }
.section.tight { padding: 48px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head h2 {
  font-weight: 900;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 8px 0 0;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 12px 0 0; }

.alt { background: var(--paper-soft); }

/* ---------- Offer cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid rgba(18, 17, 22, 0.08);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--magenta), var(--purple));
}
.card .ico {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }
.card.feature::before { background: var(--gold); }
/* Aligns the icon and the "Spring 2027" badge on one row, optically centred. */
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.card-head .ico { margin-bottom: 0; }
.card-head .tag { margin-bottom: 0; }
.card .tag {
  display: inline-block;
  margin-bottom: 10px;
  background: var(--gold);
  color: #3a2c00;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- No-pressure / reassurance ---------- */
.reassure {
  background:
    linear-gradient(160deg, #1a1822 0%, var(--ink) 60%, #0c0b10 100%);
  color: #fff;
}
.reassure .grid {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .reassure .grid { grid-template-columns: 1.15fr 1fr; } }
.reassure h2 {
  font-weight: 900;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  text-transform: uppercase;
  margin: 8px 0 14px;
  line-height: 1.05;
}
.reassure p { color: var(--text-on-dark); font-size: 1.05rem; }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  width: 26px; height: 26px;
  background: var(--magenta);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.checklist li strong { color: #fff; }

/* ---------- Tour callout ---------- */
.tour {
  background: linear-gradient(120deg, var(--purple), var(--magenta));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.tour .eyebrow { color: var(--gold); }
.tour h2 {
  font-weight: 900;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  text-transform: uppercase;
  margin: 8px 0 10px;
}
.tour p { max-width: 560px; margin: 0 auto; color: rgba(255,255,255,0.92); font-size: 1.06rem; }

/* ---------- Contact / mailto band ---------- */
.contact {
  background: linear-gradient(120deg, var(--purple), var(--magenta));
  color: #fff;
  text-align: center;
}
.contact h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  margin: 8px 0 12px;
}
.contact p {
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
}
.contact a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.contact a:hover { color: var(--gold); }

/* ---------- When & where ---------- */
.when {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .when { grid-template-columns: 1fr 1fr; } }
.info-card {
  background: var(--paper);
  border: 1px solid rgba(18,17,22,0.08);
  border-left: 6px solid var(--magenta);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.15rem;
}
.info-card .big {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.15;
}
.info-card p { margin: 6px 0 0; color: var(--text-muted); }
.info-card a { font-weight: 600; }

/* Training schedule list */
.schedule { list-style: none; margin: 4px 0 14px; padding: 0; }
.schedule li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(18, 17, 22, 0.08);
}
.schedule li:last-child { border-bottom: 0; }
.sch-main { display: flex; align-items: baseline; gap: 12px; }
.sch-day {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.sch-time { font-weight: 700; color: var(--text); }
.sch-tag {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.sch-tag.temp { background: #fbe3f2; color: var(--magenta-dark); }
.sch-tag.reg { background: #ece1f3; color: var(--purple); }

/* ---------- Final CTA ---------- */
.final {
  text-align: center;
  background: var(--ink);
  color: #fff;
}
.final h2 {
  font-weight: 900;
  font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  text-transform: uppercase;
  margin: 8px 0 12px;
}
.final p { color: var(--text-on-dark); max-width: 560px; margin: 0 auto 26px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0c0b10;
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
  font-size: 0.92rem;
}
.site-footer img { width: 64px; margin: 0 auto 14px; }
.site-footer a { color: #fff; }
.site-footer .addr { margin: 4px 0; }
.site-footer .links { margin-top: 14px; }
.site-footer .links a { margin: 0 10px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
