/* ==========================================================================
   District Padel — Brand foundation
   Colors, fonts and base element styles, per the District Padel Brand
   Identity Guideline.
   ========================================================================== */

@font-face {
  font-family: "Chunko Bold";
  src: url("../assets/fonts/Chunko-Bold-Demo.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mairo";
  src: url("../assets/fonts/Mairo.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../assets/fonts/be-vietnam/BeVietnam-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../assets/fonts/be-vietnam/BeVietnam-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../assets/fonts/be-vietnam/BeVietnam-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../assets/fonts/be-vietnam/BeVietnam-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../assets/fonts/be-vietnam/BeVietnam-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../assets/fonts/be-vietnam/BeVietnam-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Primary palette */
  --green-baseline: #0c4138;   /* dominant brand green */
  --yellow-matchpoint: #f5ec41; /* accent / CTA yellow */
  --sand-court: #fbf9d2;       /* warm soft background */
  --white-grandslam: #ffffff;

  /* Secondary palette */
  --green-district: #498b5b;   /* mid green accent */
  --navy-centrecourt: #051620; /* near-black, body text on light bg */

  /* Semantic tokens */
  --bg-dark: var(--green-baseline);
  --bg-light: var(--white-grandslam);
  --bg-soft: var(--sand-court);
  --text-on-dark: var(--sand-court);
  --text-on-light: var(--navy-centrecourt);
  --accent: var(--yellow-matchpoint);

  --font-display: "Chunko Bold", "Arial Black", sans-serif;
  --font-medium-title: "Mairo", "Georgia", serif;
  --font-body: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1180px;
  --radius-pill: 999px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-on-light);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  letter-spacing: 0.2px;
}

p {
  margin: 0;
  line-height: 1.6;
}

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

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow-matchpoint);
  color: var(--green-baseline);
}
.btn-primary:hover {
  background: #eee22e;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(251, 249, 210, 0.5);
  color: var(--sand-court);
}
.btn-outline-light:hover {
  border-color: var(--sand-court);
  background: rgba(251, 249, 210, 0.08);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--green-baseline);
  color: var(--green-baseline);
}
.btn-outline-dark:hover {
  background: var(--green-baseline);
  color: var(--sand-court);
}

.btn-soon {
  background: transparent;
  border-color: currentColor;
  color: inherit;
  opacity: 0.55;
  cursor: default;
}
.btn-soon:hover {
  transform: none;
}

.btn-block {
  width: 100%;
}

.tag-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(5, 22, 32, 0.08);
  color: var(--navy-centrecourt);
  vertical-align: middle;
}
.section-dark .tag-soon,
.hero .tag-soon {
  background: rgba(251, 249, 210, 0.15);
  color: var(--sand-court);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-baseline);
  border-bottom: 1px solid rgba(251, 249, 210, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

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

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

.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--sand-court);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--sand-court);
  opacity: 0.8;
  border: 1.5px solid rgba(251, 249, 210, 0.35);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.lang-switch:hover {
  opacity: 1;
  border-color: rgba(251, 249, 210, 0.7);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--sand-court);
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}
.section-tight {
  padding: 56px 0;
}
.section-dark {
  background: var(--green-baseline);
  color: var(--sand-court);
}
.section-soft {
  background: var(--sand-court);
  color: var(--navy-centrecourt);
}
.section-light {
  background: var(--white-grandslam);
  color: var(--navy-centrecourt);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-head .eyebrow {
  color: var(--green-district);
  margin-bottom: 8px;
  display: block;
}
.section-dark .section-head .eyebrow {
  color: var(--yellow-matchpoint);
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
}
.section-head p {
  margin-top: 10px;
  font-size: 17px;
  opacity: 0.85;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--green-baseline);
  color: var(--sand-court);
  padding: 64px 0 0;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--yellow-matchpoint);
  margin-bottom: 18px;
  display: block;
}
.hero h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  color: var(--yellow-matchpoint);
}
.hero .location {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--sand-court);
  margin-top: 4px;
}
.hero p.lede {
  margin-top: 22px;
  font-size: 18px;
  max-width: 46ch;
  opacity: 0.9;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-art {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
}
.hero-art img {
  width: 100%;
  max-width: 420px;
}

/* Quick facts strip */
.facts-strip {
  background: var(--sand-court);
  color: var(--navy-centrecourt);
  margin-top: 56px;
  border-top: 1px solid rgba(5, 22, 32, 0.08);
}
.facts-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.fact {
  padding: 26px 24px;
  border-left: 1px solid rgba(5, 22, 32, 0.1);
}
.fact:first-child {
  border-left: none;
}
.fact .fact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-district);
  margin-bottom: 6px;
  display: block;
}
.fact .fact-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--green-baseline);
}
a.fact {
  display: block;
  text-decoration: none;
  transition: background 0.15s ease;
}
a.fact:hover {
  background: rgba(12, 65, 56, 0.05);
}
a.fact:hover .fact-value {
  text-decoration: underline;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.value-card {
  background: var(--white-grandslam);
  border: 1px solid rgba(5, 22, 32, 0.08);
  border-radius: var(--radius-md);
  padding: 26px;
}
.product-card {
  padding: 0;
  overflow: hidden;
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.product-card .product-card-body {
  padding: 22px 24px 26px;
}
.section-dark .value-card {
  background: rgba(251, 249, 210, 0.06);
  border-color: rgba(251, 249, 210, 0.14);
}
.value-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 15px;
  opacity: 0.8;
}
.value-card .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sand-court);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.section-dark .value-card .icon-wrap {
  background: rgba(245, 236, 65, 0.14);
}

/* Repeat CTA banner */
.cta-banner {
  background: var(--green-district);
  color: var(--sand-court);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white-grandslam);
  font-size: clamp(28px, 4vw, 40px);
}
.cta-banner p {
  margin-top: 12px;
  opacity: 0.9;
  font-size: 17px;
}
.cta-banner .hero-ctas {
  justify-content: center;
  margin-top: 26px;
}

/* Pricing teaser / coming soon panel */
.soon-panel {
  border: 2px dashed rgba(5, 22, 32, 0.2);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  background: var(--white-grandslam);
}
.section-dark .soon-panel {
  border-color: rgba(251, 249, 210, 0.25);
  background: rgba(251, 249, 210, 0.05);
}
.soon-panel h3 {
  font-family: var(--font-body);
  font-size: 22px;
  margin-bottom: 10px;
}
.soon-panel p {
  max-width: 52ch;
  margin: 0 auto;
  opacity: 0.85;
}

/* WhatsApp / community block */
.community-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.community-block .icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow-matchpoint);
  color: var(--green-baseline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-centrecourt);
  color: var(--sand-court);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--yellow-matchpoint);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-grid a, .footer-grid p {
  font-size: 14.5px;
  opacity: 0.85;
  line-height: 2;
}
.footer-grid a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-logo img {
  height: 26px;
  margin-bottom: 16px;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 249, 210, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 10px;
}
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(251, 249, 210, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 1;
}
.social-row a:hover {
  background: rgba(251, 249, 210, 0.1);
  text-decoration: none;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--green-baseline);
  color: var(--sand-court);
  padding: 64px 0 56px;
}
.page-hero .eyebrow {
  color: var(--yellow-matchpoint);
  display: block;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--white-grandslam);
}
.page-hero p {
  margin-top: 16px;
  font-size: 17px;
  max-width: 60ch;
  opacity: 0.88;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid rgba(5, 22, 32, 0.1);
  padding: 22px 0;
}
.faq-item summary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  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-family: var(--font-display);
  font-size: 22px;
  color: var(--green-district);
  margin-left: 16px;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item p {
  margin-top: 14px;
  opacity: 0.85;
  max-width: 70ch;
}

/* ---------- Pricing table ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white-grandslam);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(5, 22, 32, 0.08);
}
.pricing-table th, .pricing-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(5, 22, 32, 0.08);
  font-size: 15.5px;
}
.pricing-table th {
  font-family: var(--font-body);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-district);
  background: var(--sand-court);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  background: var(--sand-court);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(5, 22, 32, 0.08);
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-row .label {
  font-weight: 700;
  min-width: 110px;
  font-size: 14px;
  color: var(--green-district);
}
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(5, 22, 32, 0.08);
  height: 340px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

form.simple-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
form.simple-form label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-district);
  margin-bottom: 6px;
  display: block;
}
form.simple-form input,
form.simple-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(5, 22, 32, 0.15);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white-grandslam);
  color: var(--navy-centrecourt);
}
form.simple-form input:focus,
form.simple-form textarea:focus {
  outline: none;
  border-color: var(--green-district);
}

/* ---------- Steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 30px 26px 26px;
  background: var(--white-grandslam);
  border-radius: var(--radius-md);
  border: 1px solid rgba(5, 22, 32, 0.08);
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--yellow-matchpoint);
  -webkit-text-stroke: 1.5px var(--green-baseline);
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--font-body);
  font-size: 17px;
  margin-bottom: 8px;
}
.step p {
  font-size: 14.5px;
  opacity: 0.8;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
  }
  .hero-art img {
    max-width: 260px;
    margin: 0 auto;
  }
  .facts-strip .container {
    grid-template-columns: 1fr;
  }
  .fact {
    border-left: none;
    border-top: 1px solid rgba(5, 22, 32, 0.1);
  }
  .fact:first-child {
    border-top: none;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .split, .community-block, .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-baseline);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .main-nav a {
    font-size: 20px;
  }
  .nav-toggle {
    display: block;
  }
  .header-actions .btn-primary {
    padding: 11px 20px;
    font-size: 14px;
  }
  .lang-switch {
    padding: 8px 11px;
    font-size: 12px;
  }
}

@media (max-width: 560px) {
  .cta-banner {
    padding: 36px 24px;
  }
  .contact-row {
    flex-direction: column;
    gap: 4px;
  }
}
