/* ==========================================================================
   Rickinghall Kids Football Club — Design System
   Motif: football pitch markings (halfway line + center circle) recur
   throughout as section dividers, tying every part of the site to the game.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&display=swap');

:root{
  --navy: #0F2C36;
  --navy-2: #17414E;
  --teal: #2F9C93;
  --teal-dark: #227A73;
  --teal-tint: #E3F4F1;
  --orange: #D9542C;
  --orange-dark: #B5401E;
  --yellow: #F5B942;
  --cream: #FFFFFF;
  --panel: #F3F5F4;
  --ink: #12262B;
  --ink-soft: #45585D;
  --line: #D9E2E0;
  --radius: 18px;
  --shadow: 0 12px 30px -12px rgba(15,44,54,0.25);
  --container: 1140px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family:'Nunito', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1,h2,h3,.display{
  font-family:'Anton', sans-serif;
  font-weight:400;
  letter-spacing:0.5px;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--navy);
  margin: 0 0 0.5em;
}

h1{ font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2{ font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3{ font-size: 1.25rem; letter-spacing: 0.3px; }

p{ margin: 0 0 1em; color: var(--ink-soft); }
a{ color: var(--teal-dark); }

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

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Nunito', sans-serif;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing: 1.6px;
  font-size: 0.78rem;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:26px; height:2px;
  background: var(--orange);
  display:inline-block;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:'Nunito', sans-serif;
  font-weight:800;
  font-size: 1rem;
  text-decoration:none;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-primary{
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(217,84,44,0.55);
}
.btn-primary:hover{ transform: translateY(-2px); background: var(--orange-dark); }
.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color:#fff;
}
.btn-ghost:hover{ background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-navy{
  background: var(--navy);
  color:#fff;
}
.btn-navy:hover{ background: var(--navy-2); transform: translateY(-2px); }
.btn-block{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(251,249,243,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: var(--navy);
}
.brand img{ width:44px; height:44px; }
.brand-text{
  font-family:'Anton', sans-serif;
  text-transform:uppercase;
  line-height:1;
  font-size: 1.02rem;
  letter-spacing:0.3px;
}
.brand-text span{
  display:block;
  font-family:'Nunito', sans-serif;
  text-transform:uppercase;
  font-weight:700;
  font-size: 0.62rem;
  letter-spacing: 1.6px;
  color: var(--teal-dark);
  margin-top:2px;
}
.nav{
  display:flex;
  align-items:center;
  gap: 30px;
}
.nav a{
  color: var(--navy);
  text-decoration:none;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform:uppercase;
  letter-spacing: 0.4px;
}
.nav a:hover{ color: var(--orange); }
.nav-toggle{ display:none; }

@media (max-width: 720px){
  .nav-links{
    display:flex;
    position:fixed;
    inset: 66px 0 auto 0;
    background: var(--cream);
    flex-direction:column;
    align-items:flex-start;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px -18px rgba(0,0,0,0.3);
    transform: translateY(-130%);
    transition: transform .28s ease;
    gap: 16px;
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-toggle{
    display:flex;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    padding: 8px;
  }
  .nav-toggle span{ width:24px; height:3px; background:var(--navy); border-radius:2px; }
  .nav-links .btn{ margin-top: 4px; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-2) 0%, var(--navy) 55%, #0A2029 100%);
  color:#fff;
  overflow:hidden;
  padding: 64px 0 40px;
}
.hero .container{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items:center;
}
.hero-copy p.lead{
  font-size: 1.12rem;
  color: rgba(255,255,255,0.82);
  max-width: 50ch;
}
.hero h1{ color:#fff; }
.hero h1 em{
  font-style:normal;
  color: var(--yellow);
}
.hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top: 26px;
}
.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 30px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color:#fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight:700;
  font-size: 0.85rem;
}
.chip b{ color: var(--yellow); font-family:'Anton', sans-serif; font-size:1rem; letter-spacing:0.3px; }

.hero-art{
  position:relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 480px;
  margin: 0 auto;
}
.pitch-ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  border: 2px dashed rgba(255,255,255,0.35);
  animation: spin 40s linear infinite;
}
@media (prefers-reduced-motion: reduce){ .pitch-ring{ animation:none; } }
.pitch-ring::before{
  content:"";
  position:absolute;
  inset: -14px;
  border-radius:50%;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-photo{
  position:absolute;
  inset: 50px;
  border-radius:50%;
  overflow:hidden;
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #EFF6F5 60%, #E4F1EF 100%);
  border: 5px solid var(--yellow);
  box-shadow: 0 20px 50px -14px rgba(0,0,0,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18%;
}
.hero-photo img{
  width:100%; height:100%; object-fit:contain;
  filter: drop-shadow(0 8px 18px rgba(15,44,54,0.25));
}
.hero-dot{
  position:absolute;
  width:14px; height:14px;
  background: var(--orange);
  border-radius:50%;
  top: 6%; left: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 6px rgba(217,84,44,0.25);
  z-index: 3;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; max-width: 320px; }
}

/* ---------- Pitch-line divider (signature motif) ---------- */
.pitch-divider{
  position:relative;
  height: 46px;
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px;
}
.pitch-divider::before{
  content:"";
  position:absolute;
  left:24px; right:24px; top:50%;
  border-top: 2px dashed var(--line);
}
.pitch-divider::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:46px; height:46px;
  border: 2px dashed var(--line);
  border-radius:50%;
  transform: translate(-50%,-50%);
  background: var(--cream);
}

/* ---------- Info strip ---------- */
.info-strip{
  background: var(--teal);
  color:#fff;
  padding: 26px 0;
}
.info-strip .container{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.info-item{
  display:flex;
  align-items:center;
  gap: 12px;
  text-align:left;
}
.info-item .ico{
  width: 44px; height:44px;
  flex: 0 0 auto;
  border-radius:50%;
  background: rgba(255,255,255,0.16);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.25rem;
}
.info-item b{
  display:block;
  font-family:'Anton', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}
.info-item span{
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.4px;
}
@media (max-width: 860px){
  .info-strip .container{ grid-template-columns: repeat(2,1fr); }
}

/* ---------- Section spacing ---------- */
.section{ padding: 78px 0; }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head p{ font-size: 1.05rem; }
.section-tint{ background: var(--panel); }

/* ---------- How it works (jersey numbers) ---------- */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step{
  background:#fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position:relative;
  border-top: 5px solid var(--orange);
}
.step:nth-child(2){ border-top-color: var(--teal); }
.step:nth-child(3){ border-top-color: var(--yellow); }
.step .num{
  font-family:'Anton', sans-serif;
  font-size: 2.6rem;
  color: rgba(15,44,54,0.09);
  position:absolute;
  top: 14px; right: 22px;
  line-height:1;
}
.step h3{ margin-bottom:10px; padding-right: 40px; }
.step p{ margin:0; }

@media (max-width: 860px){
  .steps{ grid-template-columns: 1fr; }
}

/* ---------- Feature grid ---------- */
.features{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  padding: 6px 0;
}
.feature .mark{
  flex: 0 0 auto;
  width: 34px; height:34px;
  border-radius:50%;
  background: var(--navy);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
}
.feature:nth-child(6n+2) .mark{ background: var(--orange); }
.feature:nth-child(6n+3) .mark{ background: var(--teal); }
.feature:nth-child(6n+4) .mark{ background: var(--yellow); color: var(--navy); }
.feature:nth-child(6n+5) .mark{ background: var(--orange); }
.feature:nth-child(6n+6) .mark{ background: var(--teal); }
.feature h3{ font-size: 1.05rem; margin-bottom:4px; }
.feature p{ margin:0; font-size: 0.96rem; }

@media (max-width: 860px){
  .features{ grid-template-columns: 1fr; }
}

/* ---------- Trust badges ---------- */
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  margin-top: 30px;
}
.trust{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight:800;
  font-size: 0.88rem;
  color: var(--navy);
}
.trust .dot{
  width:10px; height:10px;
  border-radius:50%;
  background: var(--teal);
}

/* ---------- CTA banner ---------- */
.cta-banner{
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  color:#fff;
  border-radius: 28px;
  padding: 54px 40px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-banner h2{ color:#fff; margin-bottom: 12px;}
.cta-banner p{ color: rgba(255,255,255,0.9); max-width: 52ch; margin: 0 auto 26px; }
.cta-banner::before,.cta-banner::after{
  content:"";
  position:absolute;
  border-radius:50%;
  border: 2px dashed rgba(255,255,255,0.25);
}
.cta-banner::before{ width:220px; height:220px; top:-90px; left:-70px; }
.cta-banner::after{ width:160px; height:160px; bottom:-80px; right:-40px; }

/* ---------- Venue ---------- */
.venue{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:center;
}
.venue-card{
  background: var(--navy);
  color:#fff;
  border-radius: 28px;
  padding: 44px;
  position:relative;
  overflow:hidden;
}
.venue-card::before{
  content:"";
  position:absolute;
  width:220px; height:220px;
  border-radius:50%;
  border: 2px dashed rgba(255,255,255,0.18);
  top:-90px; right:-70px;
}
.venue-card h3{
  color: var(--yellow);
  font-family:'Nunito', sans-serif;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:0.82rem;
  margin-bottom: 14px;
}
.venue-card .venue-name{
  font-family:'Anton', sans-serif;
  text-transform:uppercase;
  font-size: 1.6rem;
  letter-spacing:0.4px;
  margin-bottom: 6px;
}
.venue-card address{
  font-style:normal;
  color: rgba(255,255,255,0.82);
  margin-bottom: 26px;
  line-height:1.6;
}
.venue-list{ list-style:none; padding:0; margin: 0 0 28px; position:relative; z-index:1; }
.venue-list li{
  display:flex; gap:12px; align-items:flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-weight:700;
}
.venue-list li:last-child{ border-bottom:none; }
.venue-list li .ico{ color: var(--yellow); font-size: 1.1rem; }

@media (max-width: 860px){
  .venue{ grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 54px 0 26px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand{ display:flex; gap:12px; align-items:center; margin-bottom:14px; }
.footer-brand img{ width:40px; height:40px; }
.footer-brand span{
  font-family:'Anton', sans-serif;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:0.4px;
}
.site-footer h4{
  color:#fff;
  font-family:'Nunito', sans-serif;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:0.82rem;
  margin: 0 0 14px;
}
.site-footer ul{ list-style:none; margin:0; padding:0; }
.site-footer li{ margin-bottom: 10px; }
.site-footer a{ color: rgba(255,255,255,0.78); text-decoration:none; font-weight:600; }
.site-footer a:hover{ color: var(--yellow); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------- Form page ---------- */
.form-hero{
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color:#fff;
  padding: 56px 0 44px;
  text-align:center;
}
.form-hero h1{ color:#fff; }
.form-hero p{ color: rgba(255,255,255,0.82); max-width: 60ch; margin: 0 auto; }

.form-wrap{
  max-width: 780px;
  margin: -30px auto 0;
  padding: 0 24px 80px;
  position:relative;
  z-index: 2;
}
.form-card{
  background:#fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 44px;
}
@media (max-width:640px){ .form-card{ padding: 26px; } }

.f-section{ margin-bottom: 40px; }
.f-section:last-of-type{ margin-bottom: 0; }
.f-section-head{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--line);
}
.f-section-head .f-num{
  width: 34px; height:34px;
  border-radius:50%;
  background: var(--teal);
  color:#fff;
  font-family:'Anton', sans-serif;
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.f-section-head h2{
  font-size: 1.15rem;
  margin:0;
}
.f-section-note{ font-size: 0.92rem; margin: -8px 0 18px; }

.f-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px){ .f-grid{ grid-template-columns: 1fr; } }

.field{ display:flex; flex-direction:column; gap:7px; margin-bottom: 18px; }
.field label{
  font-weight:800;
  font-size: 0.85rem;
  text-transform:uppercase;
  letter-spacing:0.4px;
  color: var(--navy);
}
.field .hint{ font-weight:600; text-transform:none; letter-spacing:0; color: var(--ink-soft); font-size:0.82rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea{
  font-family:'Nunito', sans-serif;
  font-size: 1rem;
  padding: 13px 14px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  width:100%;
}
.field textarea{ resize: vertical; min-height: 84px; }
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border-color: var(--teal);
  background:#fff;
}

.check-row{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  background: var(--teal-tint);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.check-row input[type="checkbox"]{
  width: 20px; height:20px;
  margin-top: 3px;
  accent-color: var(--teal-dark);
  flex: 0 0 auto;
}
.check-row label{ font-weight:700; color: var(--navy); font-size:0.95rem; }
.check-row p{ margin: 4px 0 0; font-size: 0.86rem; }
.check-row.required{ border: 1.5px solid var(--orange); background: #FFF4EF; }
.check-row.whatsapp{ border: 1.5px solid var(--teal); background:#fff; }
.check-row.whatsapp label{ display:flex; align-items:center; gap:8px; }

.collect-list{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width:640px){ .collect-list{ grid-template-columns: 1fr; } }

.safeguard-box{
  background: var(--teal-tint);
  border-radius: 16px;
  padding: 20px 22px;
  font-size: 0.9rem;
}
.safeguard-box p{ margin: 0 0 10px; }
.safeguard-box p:last-child{ margin:0; }
.safeguard-box strong{ color: var(--navy); }

.hp-field{ position:absolute; left:-9999px; top:-9999px; }

.form-submit{
  margin-top: 8px;
  text-align:center;
}
.form-submit .btn{ font-size: 1.05rem; padding: 17px 44px; }
.form-submit p{ margin-top: 14px; font-size: 0.85rem; }

.back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  font-weight:700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.back-link:hover{ color: var(--yellow); }

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  background:#fff;
  padding: 10px 16px;
  z-index:100;
}
.skip-link:focus{ left: 12px; top: 12px; }
