/* Padel Social — padelsocial.nl homepage
   Design tokens matched to the event.padelsocial.nl app so both properties
   read as one brand: #0E2318 (near-black green, headings), #D2E95C (tennis-
   ball lime, accent), #1E64F0 (court blue), Plus Jakarta Sans. */

:root {
  --ink: #0E2318;
  --ink-muted: #5C7266;
  --lime: #D2E95C;
  --lime-ink: #4F6E14;
  --blue: #1E64F0;
  --bg: #F5F8F5;
  --bg-alt: #EAF1EA;
  --net: #8A9C92;
  --net-line: rgba(14, 35, 24, 0.1);
  --white: #FFFFFF;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-card: 0 1px 3px rgba(20, 35, 28, .08);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.6rem; margin-bottom: .4em; }
.h-case { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; }
p { line-height: 1.6; margin: 0 0 1em; color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }

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

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lime-ink);
  margin-bottom: .75em;
}
.eyebrow-light { color: var(--lime); }

/* Buttons */
.btn-icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { filter: brightness(1.05); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { filter: brightness(1.15); }
/* Solid, not transparent: this button sits in front of the community
   section's dashed-line doodle (z-index order is already correct — the
   line is behind — but a transparent background still lets it show through
   visually wherever the two overlap). */
.btn-outline { background: var(--white); border-color: var(--net-line); color: var(--ink); }
.btn-outline:hover { background: rgba(14,35,24,.04); }
.btn-outline-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(2px); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); }
.btn-sm { padding: 12px 22px; font-size: 1rem; }
/* Matches Agenda's header WhatsApp button exactly (px-4 py-2 text-sm) —
   standardized so both properties' header CTA reads as the same compact
   size, rather than homepage's header button stretching the header taller
   than Agenda's via the base .btn padding. */
.btn-nav { padding: 8px 16px; font-size: .875rem; }
.btn-block { width: 100%; padding: 16px; font-size: 1.05rem; }
.arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--net-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-logo { height: 34px; width: auto; }
/* Header logo only — matches Agenda's header logo size (Logo size="md" =
   36px). Footer keeps the base 34px; Agenda's footer logo is smaller than
   its header (size="sm" = 28px), so there's no reason to assume header and
   footer should share one size here either. */
.header-inner .brand-logo { height: 36px; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--ink); }
.main-nav a:hover { color: var(--lime-ink); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--net-line);
}
.mobile-nav a { padding: 10px 4px; font-weight: 600; }
.mobile-nav .btn { margin-top: 8px; }
.mobile-nav.is-open { display: flex; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: #0A1F14;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,20,14,.92) 0%, rgba(10,20,14,.68) 42%, rgba(10,20,14,.15) 75%);
}
/* No viewBox on purpose — same as Claude Design's source: the SVG's
   coordinate space is just its own rendered pixel box (100% of .hero), so
   the path's literal coordinates (drawn against a ~1500px-wide hero) are
   reproduced exactly rather than being stretched to fit. */
.hero-deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; padding: 96px 24px; max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: .98; }
.hero-lead { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Sections */
.section { padding: 88px 0; }
.section-formats { position: relative; overflow: hidden; }
/* Without this the decoration (position:absolute, no z-index) paints above
   .wrap's normal-flow content by default stacking rules — pull the real
   content into its own layer so the dashed line/ball sit behind the white
   cards and the dark CTA banner instead of on top of them. */
.section-formats > .wrap { position: relative; z-index: 1; }
.formats-deco { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.section-community { position: relative; overflow: hidden; }
/* No viewBox here either — same reasoning as .hero-deco: the path's literal
   coordinates are reproduced 1:1 rather than stretched. z-index:-1 (matching
   source) is enough on its own since normal-flow content already paints
   above a negative-z-index sibling by default. */
.community-deco { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.section-alt { background: linear-gradient(180deg, #CFE4D7 0%, #F5F8F5 55%, #DDEBE0 100%); }
.section-dark { background: var(--ink); }
.section-dark h2, .h-light { color: #fff; }
.lead-light { color: rgba(255,255,255,.75); }
.section-lead { max-width: 680px; color: var(--ink-muted); font-size: 1.08rem; }
.mt-xl { margin-top: 72px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col-reverse .video-mock { order: 1; }

/* Cards */
.card-grid { display: grid; gap: 20px; margin-top: 40px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  /* .card-tag below always sits flush with the card's bottom edge, so the
     tag lines up across a row even when the body copy runs to different
     lengths. */
  height: 100%;
}
.card .card-tag { margin-top: auto; padding-top: 16px; }
.card-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 800;
  flex: none;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  flex: none;
}
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--ink-muted); font-size: .95rem; }
.card-tag { font-weight: 700; font-size: .85rem; color: var(--lime-ink); }

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
/* No circle here — just the number itself, colored, unlike badge-num's
   lime-chip treatment used elsewhere (the format cards). */
.step-card .badge-num {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--lime-ink);
  font-size: .95rem;
  margin-bottom: 14px;
}
.step-card p { color: var(--ink-muted); font-size: .9rem; margin: 0; }
.step-card-lime { background: var(--lime); }
.step-card-lime .badge-num { color: var(--ink); }
.step-card-lime p { color: rgba(14,35,24,.75); }

/* CTA banner */
.cta-banner {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.cta-banner strong { display: block; color: #fff; font-size: 1.3rem; font-weight: 800; margin-top: 4px; }
.cta-banner .eyebrow { color: var(--lime); margin-bottom: 0; }

/* Video mock */
.video-mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.video-court {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--blue);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-court::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 10px;
}
.video-court::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
}
/* Subtle quarter-lines, same pattern as the court illustrations on
   event.padelsocial.nl: fainter than the outline/net line so they read as
   texture rather than compete with them. */
.video-line { position: absolute; background: rgba(255,255,255,.35); }
.video-line-v { top: 10px; bottom: 10px; width: 1px; transform: translateX(-50%); }
.video-line-h { left: 25%; right: 25%; top: 50%; height: 1px; transform: translateY(-50%); }
.video-dot { position: absolute; z-index: 2; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); }
.video-play {
  /* Un-positioned siblings paint in DOM order, but ::after (the net line,
     generated as the court's implicit last child) paints after these real
     children regardless — without a z-index it sits ON TOP of the play
     button and dots instead of underneath the court markings like it
     should. */
  position: absolute;
  z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
}
.video-play svg { width: 26px; height: 26px; }
.video-progress { height: 4px; background: var(--net-line); border-radius: 999px; margin-top: 18px; overflow: hidden; }
.video-progress span { display: block; width: 42%; height: 100%; background: var(--lime); }
.video-caption { margin-top: 12px; font-size: .85rem; color: var(--ink-muted); font-weight: 600; }

/* Check list */
.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-muted);
  font-size: .97rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 20px;
  color: #4B9B3F;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}
.check-list strong { color: var(--ink); }

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.photo-grid img, .photo-tile {
  border-radius: var(--radius-md);
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  height: auto;
}
/* The toernooi-aankondiging is a portrait poster with its own headline near
   the bottom — bias the square crop toward the top so the photo (and the
   start of that headline) stays visible instead of getting cut off. */
.photo-poster { object-position: top; }
.photo-tile {
  background: var(--lime);
  color: #0E2318;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  line-height: 1.2;
}

/* Case study */
.case-study {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.case-copy { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.case-study img { height: 100%; min-height: 320px; object-fit: cover; border-radius: 0; }

/* Plan / contact */
.contact-cards { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #fff;
  font-weight: 700;
}
.contact-card:hover { background: rgba(255,255,255,.1); }
.contact-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.plan-footnote { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 600; }

.plan-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.plan-form fieldset { border: none; margin: 0 0 20px; padding: 0; }
.plan-form legend {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
  padding: 0;
}
.toggle-row { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle-btn {
  border: 1px solid var(--net-line);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: .88rem;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
}
.toggle-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.plan-form label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; }
.plan-form label.full { margin-bottom: 20px; }
.plan-form input, .plan-form textarea {
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  border: 1px solid var(--net-line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--bg);
  resize: vertical;
}
.plan-form input:focus, .plan-form textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.form-note { font-size: .78rem; color: var(--ink-muted); text-align: center; margin: 14px 0 0; }

/* FAQ */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--net-line); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--net-line); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--ink-muted); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 14px; color: var(--ink-muted); }

/* Footer */
.site-footer { background: var(--ink); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .brand-logo { height: 46px; }
.footer-tagline { color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-copyright { color: rgba(255,255,255,.6); font-size: .75rem; font-weight: 500; }

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col-reverse .video-mock { order: 0; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .case-study { grid-template-columns: 1fr; }
  .case-study img { min-height: 240px; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 560px; }
  .hero-inner { padding: 64px 24px; }
  .section { padding: 56px 0; }
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 28px; }
  .footer-brand { flex-direction: column; gap: 14px; }
  .formats-deco { height: 440px; width: 170%; left: -288px; }
}
