/* Shared styles for the sport and owner landing pages.
   The tokens and components are the home page's own (index.html keeps its
   inline copy), so every page reads as one site. */
:root {
  --green: #1B5E20;
  --green-mid: #2E7D32;
  --green-light: #43A047;
  --green-soft: #E8F5E9;
  --green-pale: #F1F8E9;
  --accent: #FF8F00;
  --accent-soft: #FFF3E0;
  --sky: #E3F2FD;
  --text: #1a1a1a;
  --muted: #5f6368;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(27, 94, 32, 0.12);
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 94, 32, 0.08);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--green);
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.2);
}
.nav-links {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 0.92rem; font-weight: 500;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--green); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--green); font-weight: 700; }
.nav-cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white) !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(27, 94, 32, 0.25);
}
.nav-cta:hover { opacity: 0.92; }

/* Breadcrumb */
.crumbs {
  max-width: 1100px; margin: 0 auto; padding: 14px 20px 0;
  font-size: 0.85rem; color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }

/* Hero */
.hero {
  background: linear-gradient(145deg, #E8F5E9 0%, #ffffff 40%, #FFF8E1 85%, #E8F5E9 100%);
  padding: 40px 20px 64px; overflow: hidden; position: relative;
}
.hero::before {
  content: ""; position: absolute; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(67, 160, 71, 0.15) 0%, transparent 70%);
  top: -80px; right: -60px; border-radius: 50%;
}
.hero::after {
  content: ""; position: absolute; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255, 143, 0, 0.12) 0%, transparent 70%);
  bottom: -40px; left: -40px; border-radius: 50%;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-block; background: var(--white); color: var(--green-mid);
  font-size: 0.82rem; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(46, 125, 50, 0.2); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem); line-height: 1.15;
  color: var(--green); margin-bottom: 16px;
}
.hero h1 span { color: var(--green-light); }
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--white); color: var(--green-mid); font-size: 0.8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(46, 125, 50, 0.15);
}
.hero-card {
  background: var(--white); border-radius: 28px; padding: 30px 26px;
  box-shadow: var(--shadow); border: 1px solid rgba(27, 94, 32, 0.06);
  max-width: 380px; width: 100%; margin: 0 auto; text-align: center;
}
.hero-emoji {
  width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  background: var(--green-soft); box-shadow: 0 12px 32px rgba(27, 94, 32, 0.18);
}
.hero-card h2 { color: var(--green); font-size: 1.2rem; margin-bottom: 8px; }
.hero-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--green-pale); border-radius: 14px; padding: 14px 10px; }
.stat strong { display: block; color: var(--green); font-size: 1.05rem; }
.stat span { font-size: 0.78rem; color: var(--muted); }

/* Buttons */
.btn-primary, .btn-secondary, .btn-web {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 14px; font-weight: 600; font-size: 1rem;
}
.btn-primary, .btn-web {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white); box-shadow: 0 8px 24px rgba(27, 94, 32, 0.28);
}
.btn-primary:hover, .btn-web:hover { opacity: 0.94; text-decoration: none; color: var(--white); }
.btn-secondary {
  background: var(--white); color: var(--green);
  border: 2px solid rgba(27, 94, 32, 0.15);
}
.btn-secondary:hover { background: var(--green-soft); text-decoration: none; color: var(--green); }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 14px; font-weight: 600;
  background: #25D366; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover { text-decoration: none; color: #fff; opacity: 0.94; }
button.btn-secondary { cursor: pointer; font-family: inherit; }

/* Sections */
section { padding: 72px 20px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green-light); margin-bottom: 10px;
}
.section-title { font-size: clamp(1.6rem, 4vw, 2.1rem); color: var(--green); margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 680px; margin-bottom: 40px; font-size: 1.02rem; }
.tint { background: var(--green-soft); }
.pale { background: var(--green-pale); }

/* Cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  border-radius: var(--radius); padding: 28px 24px; background: var(--white);
  border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27, 94, 32, 0.1); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 16px; background: var(--green-soft);
}
.feature-icon.orange { background: var(--accent-soft); }
.feature-icon.blue { background: var(--sky); }
.feature-card h3 { color: var(--green); font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.92rem; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 28px 22px; text-align: center;
  box-shadow: 0 6px 24px rgba(27, 94, 32, 0.07);
}
.step-num {
  width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.step h3 { color: var(--green); font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* Live grounds */
.grounds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ground-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(27, 94, 32, 0.08); display: flex; flex-direction: column;
}
.ground-photo { width: 100%; height: 170px; object-fit: cover; background: #e8f5e9; display: block; }
.ground-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.ground-name { font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; }
.ground-meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 10px; }
.ground-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ground-tag { background: #e8f5e9; color: #1B5E20; border-radius: 20px; padding: 3px 10px; font-size: 0.78rem; }
.ground-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ground-price { font-weight: 700; color: #1B5E20; }
.ground-closed { background: #fff3e0; color: #e65100; border-radius: 20px; padding: 3px 10px; font-size: 0.76rem; font-weight: 600; }
.ground-book {
  background: #1B5E20; color: #fff; border: none; border-radius: 20px; padding: 8px 16px;
  font-size: 0.85rem; font-weight: 700; cursor: pointer; font-family: inherit;
}
.grounds-state { text-align: center; color: var(--muted); padding: 28px 0; }
.more-wrap { text-align: center; margin-top: 22px; }

/* Cities */
.cities-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.city {
  border-radius: 16px; padding: 18px 14px; text-align: center;
  background: var(--white); border: 1px solid rgba(27, 94, 32, 0.1);
}
.city strong { display: block; color: var(--green); font-size: 1rem; margin-bottom: 6px; }
.city span {
  display: inline-block; font-size: 0.74rem; font-weight: 700; border-radius: 999px; padding: 3px 10px;
  background: var(--accent-soft); color: #E65100;
}
a.city { display: block; transition: transform 0.2s, box-shadow 0.2s; }
a.city:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27, 94, 32, 0.18); }
.city.live { background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); border: none; }
.city.live strong { color: var(--white); }
.city.live span { background: rgba(255,255,255,0.22); color: var(--white); }
.cities-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.cities-note { color: var(--muted); font-size: 0.92rem; }

/* Sport links */
.sport-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sport-link {
  display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 16px;
  background: var(--white); border: 1px solid rgba(27, 94, 32, 0.12); color: var(--green); font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sport-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 10px 26px rgba(27, 94, 32, 0.12); }
.sport-link .em { font-size: 1.6rem; }
.sport-link small { display: block; color: var(--muted); font-weight: 500; font-size: 0.8rem; }

/* Owner band */
.owners { background: linear-gradient(160deg, var(--green) 0%, #2E7D32 50%, #388E3C 100%); color: var(--white); }
.owners .section-label { color: #A5D6A7; }
.owners .section-title { color: var(--white); }
.owners .section-sub { color: rgba(255,255,255,0.88); }
.owners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.owners-list { list-style: none; }
.owners-list li {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px;
  font-size: 0.98rem; color: rgba(255,255,255,0.94);
}
.owners-list li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; background: rgba(255,255,255,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
}
.owners-panel {
  background: rgba(255,255,255,0.12); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.18);
}
.owners-panel h3 { font-size: 1.15rem; margin-bottom: 12px; }
.owners-panel p { font-size: 0.94rem; color: rgba(255,255,255,0.9); margin-bottom: 18px; }
.owners .btn-secondary { border-color: transparent; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  background: var(--white); border-radius: 16px; border: 1px solid rgba(27, 94, 32, 0.12);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font-weight: 700; color: var(--green);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--green-light);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 18px; font-size: 0.95rem; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot { background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 6px 28px rgba(27, 94, 32, 0.10); }
.shot img { width: 100%; height: auto; display: block; border-radius: 12px; }

/* Contact strip */
.contact-strip { background: var(--accent-soft); padding: 44px 20px; text-align: center; }
.contact-strip p { color: var(--muted); margin-bottom: 8px; }
.contact-strip a.email { font-size: 1.2rem; font-weight: 700; color: var(--green); }
.follow-title { font-weight: 700; color: var(--green); margin: 22px 0 12px !important; }

/* Social */
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 50%; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.social a:hover, .social a:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.22); }
.social a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.social svg { width: 22px; height: 22px; display: block; }
.social .tiktok { background: #000; }
.social .facebook { background: #1877F2; }
.social .instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* Footer */
footer { background: #0D3311; color: rgba(255,255,255,0.75); padding: 40px 20px 32px; text-align: center; font-size: 0.88rem; }
footer .footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
footer .footer-brand img { width: 36px; height: 36px; border-radius: 50%; }
footer .footer-brand span { color: var(--white); font-weight: 700; font-size: 1.1rem; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin-bottom: 20px; }
footer nav a { color: rgba(255,255,255,0.8); }
footer nav a:hover { color: var(--white); }
footer .social { margin-bottom: 20px; }
footer .social a { width: 40px; height: 40px; box-shadow: none; }
footer .social svg { width: 19px; height: 19px; }
footer a { color: inherit; }

/* Install prompt */
.install-back {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); display: none;
  align-items: center; justify-content: center; padding: 20px; z-index: 150;
}
.install-back.is-open { display: flex; }
.install-box { background: #fff; border-radius: 18px; max-width: 380px; width: 100%; padding: 26px 22px; text-align: center; }
.install-box h3 { margin-bottom: 8px; color: #1B5E20; }
.install-box p { color: var(--muted); margin-bottom: 18px; font-size: 0.94rem; }
.install-actions { display: grid; gap: 10px; }
.install-close { background: none; border: none; color: var(--muted); margin-top: 12px; cursor: pointer; font-family: inherit; font-size: 0.9rem; }

/* Ground cards that link to a ground page */
a.ground-link { color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
a.ground-link:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27, 94, 32, 0.14); }
a.ground-link .ground-book { display: inline-block; }

/* Ground page */
.gone-note {
  max-width: 1100px; margin: 14px auto 0; padding: 14px 18px; border-radius: 14px;
  background: var(--accent-soft); color: #8a4b00; display: grid; gap: 4px;
}
.gone-note[hidden] { display: none; }
.ground-hero { padding: 28px 20px 56px; background: linear-gradient(180deg, #F1F8E9 0%, #ffffff 100%); }
.ground-hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.gallery {
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 8px;
  border-radius: 20px; overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--green-soft); }
.gallery .gallery-main { grid-column: 1 / -1; grid-row: span 2; }
.gallery.single { grid-auto-rows: 320px; }
.gallery.single .gallery-main { grid-row: span 1; }
.ground-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); line-height: 1.15; color: var(--green); margin: 14px 0 8px; }
.ground-where { color: var(--muted); margin-bottom: 16px; }
.ground-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.fact {
  background: var(--white); border: 1px solid rgba(27, 94, 32, 0.15); border-radius: 999px;
  padding: 7px 14px; font-weight: 700; color: var(--green); font-size: 0.92rem;
}
.fact small { font-weight: 500; color: var(--muted); }
.fact[hidden] { display: none; }
.fact.status.is-open { background: var(--green-soft); }
.fact.status.is-closed { background: var(--accent-soft); color: #E65100; border-color: rgba(230, 81, 0, 0.25); }
.map-link { display: inline-block; margin-top: 4px; font-weight: 600; }
.hero-actions[hidden] { display: none; }
.ground-detail { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; }
.about { color: var(--text); font-size: 1.02rem; margin-bottom: 14px; }
.owner-text { color: var(--muted); font-size: 0.98rem; white-space: pre-line; }
details.owner-text summary { list-style: none; cursor: pointer; }
details.owner-text summary::-webkit-details-marker { display: none; }
details.owner-text .read-more { display: inline-block; margin-left: 6px; color: var(--green-mid); font-weight: 700; }
details.owner-text[open] summary { display: none; }
.info-card {
  background: var(--white); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 6px 24px rgba(27, 94, 32, 0.08);
}
.info-card h3 { color: var(--green); font-size: 1.02rem; margin-bottom: 10px; }
.info-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(27, 94, 32, 0.08); }
.info-card dl div:last-child { border-bottom: none; }
.info-card dt { color: var(--muted); font-size: 0.9rem; }
.info-card dd { font-weight: 600; text-align: right; font-size: 0.92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 5px 12px; font-size: 0.82rem; font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .ground-hero-inner, .ground-detail { grid-template-columns: 1fr; }
  .ground-head .hero-tags, .ground-head .hero-actions { justify-content: flex-start; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-tags { justify-content: center; }
  .features-grid, .grounds-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .sport-links { grid-template-columns: 1fr 1fr; }
  .owners-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nav-inner { flex-wrap: wrap; row-gap: 10px; padding: 12px 16px; }
  .nav-brand { font-size: 1.05rem; }
  .nav-brand img { width: 34px; height: 34px; }
  .nav-cta { padding: 8px 14px; font-size: 0.85rem; }
  .nav-links {
    order: 3; width: 100%; flex-wrap: nowrap; gap: 16px; overflow-x: auto;
    padding-bottom: 2px; font-size: 0.86rem; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .crumbs { padding: 12px 16px 0; }
  .ground-hero { padding: 16px 16px 40px; }
  .gallery { grid-auto-rows: 90px; border-radius: 16px; }
  .gallery.single { grid-auto-rows: 220px; }
  .gone-note { margin: 12px 16px 0; }
  .ground-head .hero-actions { justify-content: flex-start; }
  section { padding: 52px 16px; }
  .hero { padding: 32px 16px 52px; }
  .features-grid, .grounds-grid, .steps-grid { grid-template-columns: 1fr; }
  /* Icon beside the text on a phone, so six cards do not become a long scroll. */
  .feature-card {
    display: grid; grid-template-columns: 44px 1fr; column-gap: 14px;
    padding: 18px 16px; align-items: start;
  }
  .feature-icon { width: 44px; height: 44px; font-size: 1.3rem; margin: 0; grid-row: span 2; }
  .feature-card h3 { margin-bottom: 4px; }
  .step { padding: 22px 18px; }
  .section-sub { margin-bottom: 28px; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .sport-links { grid-template-columns: 1fr; }
  .cities-cta { justify-content: center; text-align: center; }
  .btn-primary, .btn-secondary, .btn-web { padding: 13px 20px; font-size: 0.95rem; }
}
