/* ============================================
   Padel Providers — www.padelproviders.co.uk
   ============================================ */

:root {
  /* Charcoal navy + padel green — matched to the Padel Providers logo */
  --teal-dark: #10181f;   /* deep charcoal navy */
  --teal: #1c2a36;        /* navy */
  --teal-light: #2e4354;  /* lighter navy */
  --teal-pale: #ecf3e6;   /* pale green tint */
  --orange: #6fae3d;      /* padel-ball green (primary accent) */
  --orange-dark: #578f2e; /* deep green */
  --ink: #16202a;
  --grey: #5a6672;
  --bg: #f6f7f5;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16, 24, 31, 0.10);
  --shadow-lg: 0 12px 40px rgba(16, 24, 31, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--teal-dark);
  line-height: 1.2;
  font-weight: 600;
}

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

a { color: var(--teal); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(16, 24, 31, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { height: 46px; width: auto; }

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--teal-dark);
  line-height: 1.1;
}

.brand-name span { color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 6px; }

.main-nav a {
  text-decoration: none;
  color: var(--teal-dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 13px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover { background: var(--teal-pale); }

.main-nav a.active { color: var(--teal-light); }

.main-nav a.nav-cta {
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  margin-left: 8px;
}

.main-nav a.nav-cta:hover { background: var(--orange-dark); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown > a::after { content: " ▾"; font-size: 0.7em; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: flex; }

.dropdown-menu a { padding: 10px 14px; border-radius: 8px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--teal-dark);
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; display: flex; padding-left: 16px; }
  .main-nav a.nav-cta { margin-left: 0; text-align: center; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(140deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-light) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.06);
  z-index: 1;
  pointer-events: none;
}

/* Looping video background in hero */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg video, .hero-bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* Rotating partner slides */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img, .hero-slide video {
  animation: heroZoom 24s ease-in-out infinite alternate;
  filter: saturate(1.15) contrast(1.06);
}

@keyframes heroZoom {
  from { transform: translate(-50%, -50%) scale(1.02); }
  to   { transform: translate(-50%, -50%) scale(1.14); }
}

.hero-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;      /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh;  /* cover when hero is taller than wide */
  border: 0;
  pointer-events: none;
}

/* Duotone brand blend over the footage — video stays visible, text stays readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 82% 12%, rgba(111, 174, 61, 0.34) 0%, rgba(111, 174, 61, 0) 58%),
    linear-gradient(105deg, rgba(16, 24, 31, 0.92) 0%, rgba(16, 24, 31, 0.74) 38%, rgba(28, 42, 54, 0.44) 68%, rgba(46, 67, 84, 0.30) 100%);
}

/* Bottom fade so the header melts into the page */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 130px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(246, 247, 245, 0) 0%, var(--bg) 100%);
}

.section-alt + .hero::before, .hero + .section-alt { }

/* Diagonal motion streaks echoing the logo mark */
.hero-streaks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.5;
}

.hero-streaks span {
  position: absolute;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(111, 174, 61, 0) 0%, rgba(111, 174, 61, 0.9) 100%);
  animation: streak 5.5s linear infinite;
}

.hero-streaks span:nth-child(1) { top: 22%; width: 130px; animation-delay: 0s;   }
.hero-streaks span:nth-child(2) { top: 38%; width: 80px;  animation-delay: 1.1s; }
.hero-streaks span:nth-child(3) { top: 57%; width: 160px; animation-delay: 2.2s; }
.hero-streaks span:nth-child(4) { top: 71%; width: 60px;  animation-delay: 3.3s; }
.hero-streaks span:nth-child(5) { top: 86%; width: 110px; animation-delay: 4.1s; }

@keyframes streak {
  0%   { left: -18%; opacity: 0; }
  12%  { opacity: 0.85; }
  70%  { opacity: 0.5; }
  100% { left: 115%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-streaks { display: none; }
  .hero-slide img, .hero-slide video { animation: none !important; }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  max-width: 720px;
  margin-bottom: 20px;
}

.hero h1 em { color: var(--orange); font-style: normal; }

.hero p.lead {
  font-size: 1.15rem;
  max-width: 640px;
  opacity: 0.92;
  margin-bottom: 34px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Page hero (inner pages) */
.page-hero { padding: 64px 0 70px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--orange); color: var(--white); }

.btn-primary:hover { background: var(--orange-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover { border-color: var(--white); }

.btn-teal { background: var(--teal); color: var(--white); }

.btn-teal:hover { background: var(--teal-dark); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }

.section-alt { background: var(--white); }

.section-head { max-width: 680px; margin-bottom: 44px; }

.section-head .kicker {
  color: var(--orange-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--teal-pale);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card h3 { font-size: 1.2rem; margin-bottom: 10px; }

.card p { color: var(--grey); font-size: 0.97rem; flex: 1; }

.card .card-link {
  margin-top: 18px;
  font-weight: 600;
  color: var(--orange-dark);
  text-decoration: none;
}

.card .card-link:hover { text-decoration: underline; }

.card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 16px;
}

/* ---------- Feature list / checklist ---------- */
.check-list { list-style: none; }

.check-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Stats ---------- */
.stat-band { background: var(--teal-dark); color: var(--white); padding: 54px 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-grid .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
}

.stat-grid .label { opacity: 0.85; font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }

.step { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }

.step .step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-dark);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.step h3 { font-size: 1.08rem; margin-bottom: 8px; }

.step p { color: var(--grey); font-size: 0.94rem; }

/* ---------- Spec tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }

.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--teal-pale); }

.spec-table th { color: var(--teal-dark); font-family: 'Poppins', sans-serif; font-weight: 600; }

.spec-table tr td:first-child { color: var(--grey); width: 38%; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-light) 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 58px 34px;
}

.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }

.cta-band p { max-width: 560px; margin: 0 auto 28px; opacity: 0.92; }

/* ---------- Partner logo band ---------- */
.partner-band { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

.partner-pill {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 12px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
  transition: transform 0.15s;
}

.partner-pill:hover { transform: translateY(-2px); color: var(--orange-dark); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

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

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field.full { grid-column: 1 / -1; }

.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--teal-dark); }

.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid #d8ddd4;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.97rem;
  background: var(--bg);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--teal-light);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-dark); color: rgba(255, 255, 255, 0.85); padding: 56px 0 28px; margin-top: 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

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

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

.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }

.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }

.site-footer a:hover { color: var(--orange); }

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 9px; font-size: 0.94rem; }

.footer-brand img { height: 54px; margin-bottom: 14px; background: var(--white); border-radius: 10px; padding: 6px; }

.footer-brand p { font-size: 0.93rem; max-width: 300px; opacity: 0.8; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 22px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0.75;
}

/* ---------- Misc ---------- */
.breadcrumb { font-size: 0.85rem; margin-bottom: 18px; opacity: 0.85; }

.breadcrumb a { color: var(--white); }

.note { font-size: 0.85rem; color: var(--grey); margin-top: 14px; }

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }

.pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
}

.section-tight { padding: 48px 0; }

/* ---------- Partner media ---------- */
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--teal-dark);
}

.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-embed { position: relative; aspect-ratio: 16 / 9; }

.video-embed iframe, .video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.media-grid .media-frame { aspect-ratio: 1 / 1; }

.media-caption {
  font-size: 0.88rem;
  color: var(--grey);
  margin-top: 10px;
  text-align: center;
}

.card .product-img {
  height: 190px;
  object-fit: contain;
  margin: 0 auto 18px;
  background: var(--white);
}

.card .card-img {
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
  width: 100%;
}

.media-credit { font-size: 0.78rem; color: var(--grey); opacity: 0.8; margin-top: 8px; text-align: center; }

/* ---------- WhatsApp help widget ---------- */
.wa-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 20px 13px 16px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(16, 24, 31, 0.28);
  transition: transform 0.18s, box-shadow 0.18s;
}

.wa-launcher:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16, 24, 31, 0.34); }

.wa-launcher svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.wa-launcher .wa-dot {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid #fff;
}

.wa-panel {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 901;
  width: 340px;
  max-width: calc(100vw - 44px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(16, 24, 31, 0.30);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: waIn 0.22s ease;
}

.wa-panel.open { display: flex; }

@keyframes waIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.wa-head {
  background: var(--teal-dark);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-head img { width: 38px; height: 38px; object-fit: contain; background: #fff; border-radius: 9px; padding: 3px; }

.wa-head .wa-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.98rem; line-height: 1.2; }

.wa-head .wa-status { font-size: 0.78rem; opacity: 0.75; display: flex; align-items: center; gap: 6px; }

.wa-head .wa-status::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #25D366;
}

.wa-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  padding: 0 2px;
}

.wa-close:hover { opacity: 1; }

.wa-body {
  padding: 16px 18px 6px;
  background: #f3f5ef;
  max-height: 330px;
  overflow-y: auto;
}

.wa-msg {
  background: var(--white);
  border-radius: 12px 12px 12px 3px;
  padding: 11px 14px;
  font-size: 0.92rem;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(16, 24, 31, 0.10);
  margin-bottom: 12px;
  max-width: 92%;
  animation: waIn 0.25s ease;
}

.wa-msg.user {
  background: #dcf8c6;
  border-radius: 12px 12px 3px 12px;
  margin-left: auto;
  border: none;
}

.wa-options { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 18px 14px; background: #f3f5ef; }

.wa-options button {
  background: var(--white);
  border: 1.5px solid #d9e2d2;
  color: var(--teal-dark);
  border-radius: 999px;
  padding: 7px 13px;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.wa-options button:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.wa-foot { padding: 14px 18px 18px; background: var(--white); }

.wa-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s;
}

.wa-send:hover { background: #1da851; color: #fff; }

.wa-send svg { width: 19px; height: 19px; fill: #fff; }

.wa-note { font-size: 0.76rem; color: var(--grey); text-align: center; margin-top: 9px; }

@media (max-width: 520px) {
  .wa-launcher { right: 14px; bottom: 14px; padding: 12px 16px 12px 14px; font-size: 0.88rem; }
  .wa-panel { right: 14px; left: 14px; bottom: 76px; width: auto; }
}
