:root {
  --green-950: #052e16;
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;
  --red-800: #991b1b;
  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-100: #fee2e2;
  --purple-700: #6b21a8;
  --purple-100: #f3e8ff;
  --navy: #111827;
  --text: #182033;
  --muted: #667085;
  --border: #e5e7eb;
  --surface: #ffffff;
  --surface-soft: #f7f9fb;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .07);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, .12);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, .18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-soft);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.booking-modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; }
img, video { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, .brand strong { font-family: "Outfit", Arial, sans-serif; }

.container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, 100%); }
.section { padding: 88px 0; }
.section-soft { background: #f6f8fa; }
.empty-state { padding: 28px; text-align: center; border: 1px dashed #cfd6df; border-radius: var(--radius-md); color: var(--muted); background: #fff; }
.loading { padding: 24px; text-align: center; color: var(--muted); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 58, 31, .98);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-home-header {
  position: fixed;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(3, 20, 10, .78), rgba(3, 20, 10, .25), transparent);
  border-bottom-color: transparent;
  box-shadow: none;
}
.site-header.is-home-header.is-scrolled {
  background: rgba(13, 58, 31, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .2);
  border-bottom-color: rgba(255,255,255,.08);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { width: 50px; height: 50px; border-radius: 14px; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 18px; letter-spacing: .025em; font-weight: 900; white-space: nowrap; }
.brand strong em { color: #f87171; font-style: normal; }
.brand small { margin-top: 5px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 700; letter-spacing: .09em; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > a { position: relative; color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 3px; border-radius: 99px; background: #ef4444; transition: right .2s ease; }
.main-nav > a:hover::after, .main-nav > a.is-active::after { right: 0; }
.main-nav > a:hover { color: #fff; }
.nav-admin { color: #d1fae5 !important; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--red-700); color: #fff !important; box-shadow: 0 10px 24px rgba(185, 28, 28, .3); }
.nav-cta:hover { background: var(--red-600); transform: translateY(-1px); }
.mobile-menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); }
.mobile-menu-button span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }
.mobile-menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-button.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero-video { position: relative; min-height: 100vh; display: grid; align-items: center; overflow: hidden; color: #fff; background: #063d1d; }
.hero-media-layer, .hero-overlay { position: absolute; inset: 0; }
.hero-media-layer video, .hero-media-layer img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(1, 16, 7, .88) 0%, rgba(2, 35, 16, .72) 44%, rgba(3, 36, 17, .25) 75%, rgba(0,0,0,.22) 100%), linear-gradient(0deg, rgba(1,18,8,.55), transparent 44%); }
.hero-content { position: relative; z-index: 2; padding-top: 105px; max-width: 760px; margin-left: max(20px, calc((100vw - 1240px)/2)); margin-right: auto; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid rgba(134, 239, 172, .38); border-radius: 999px; background: rgba(34, 197, 94, .17); color: #bbf7d0; font-weight: 700; font-size: 13px; backdrop-filter: blur(8px); }
.hero-content h1 { margin: 24px 0 16px; max-width: 760px; font-size: clamp(48px, 6vw, 82px); line-height: .98; letter-spacing: -.04em; font-weight: 900; text-shadow: 0 6px 26px rgba(0,0,0,.25); }
.hero-content p { margin: 0; max-width: 650px; color: rgba(255,255,255,.85); font-size: clamp(17px, 2vw, 21px); }
.hero-location { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: #d1fae5; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-fallback-pitch { width: 100%; height: 100%; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 22%), repeating-linear-gradient(90deg, #16803d 0 80px, #1d9147 80px 160px); }
.hero-fallback-pitch::after { content: ""; position: absolute; inset: 12% 8%; border: 4px solid rgba(255,255,255,.65); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 20px; border: 1px solid transparent; border-radius: 14px; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-large { min-height: 56px; padding: 15px 28px; border-radius: 999px; font-size: 16px; }
.btn-green { background: var(--green-600); color: #fff; box-shadow: 0 12px 26px rgba(22, 163, 74, .24); }
.btn-green:hover { background: var(--green-500); box-shadow: 0 16px 34px rgba(22, 163, 74, .32); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn-light { background: #fff; color: var(--text); border-color: var(--border); }
.btn-light:hover { border-color: #c7d0db; box-shadow: var(--shadow-sm); }
.btn-red { background: var(--red-700); color: #fff; box-shadow: 0 12px 28px rgba(185,28,28,.25); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-outline-green { border-color: #86efac; color: var(--green-800); background: #fff; }
.btn-outline-red { border-color: #fecaca; color: var(--red-700); background: #fff; }
.btn-primary { background: var(--red-700); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-block { width: 100%; }

/* Trust strip */
.trust-strip { position: relative; z-index: 4; margin-top: -46px; }
.trust-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow-md); overflow: hidden; }
.trust-strip article { display: flex; align-items: center; gap: 15px; padding: 25px 30px; }
.trust-strip article + article { border-left: 1px solid var(--border); }
.trust-strip i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: 20px; flex: 0 0 auto; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: 15px; }
.trust-strip span { margin-top: 3px; color: var(--muted); font-size: 12px; }

/* Section headings */
.section-heading { margin-bottom: 42px; }
.section-heading.centered { text-align: center; }
.section-heading > span, .mini-heading > span, .availability-heading span { color: var(--green-700); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: 12px; }
.section-heading h1, .section-heading h2, .mini-heading h2, .availability-heading h2 { margin: 7px 0 8px; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); }
.mini-heading { margin-bottom: 25px; }
.mini-heading h2 { font-size: 30px; }
.mini-heading.light span { color: #86efac; }
.mini-heading.light h2 { color: #fff; }
.mini-heading.inline { display: flex; align-items: end; justify-content: space-between; }

/* Court cards */
.courts-section { background: #fff; }
.court-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.court-grid.single { max-width: 780px; margin-inline: auto; grid-template-columns: 1fr; }
.cancha-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.cancha-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cancha-card-media { position: relative; height: 300px; overflow: hidden; background: linear-gradient(135deg, #14532d, #22c55e); }
.cancha-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cancha-card:hover .cancha-card-media img { transform: scale(1.035); }
.cancha-type { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(5px); }
.court-image-fallback { display: grid; place-items: center; height: 100%; color: rgba(255,255,255,.85); font-size: 70px; }
.cancha-card-body { padding: 25px; }
.cancha-title-row { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.cancha-title-row h3 { margin: 0; font-size: 27px; }
.cancha-title-row p { margin: 7px 0 0; color: var(--muted); }
.status-open { display: inline-flex; align-items: center; gap: 7px; color: var(--green-700); font-size: 12px; font-weight: 800; white-space: nowrap; }
.status-open i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 5px var(--green-100); }
.cancha-rate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.cancha-rate-grid > div { padding: 17px; border-radius: 17px; background: var(--green-50); border: 1px solid #d1fae5; text-align: center; }
.cancha-rate-grid > div:nth-child(2) { background: #eef2ff; border-color: #e0e7ff; }
.cancha-rate-grid small, .cancha-rate-grid strong { display: block; }
.cancha-rate-grid small { color: var(--muted); }
.cancha-rate-grid strong { margin-top: 3px; color: var(--green-800); font: 800 25px/1.2 "Outfit", sans-serif; }
.cancha-rate-grid > div:nth-child(2) strong { color: #4338ca; }

/* Commercial two-column section */
.commercial-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: 42px; align-items: start; }
.pricing-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.price-card { position: relative; padding: 24px 18px 20px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--green-500); border-radius: 20px; box-shadow: var(--shadow-sm); text-align: center; }
.price-card.featured { border-top-color: var(--navy); transform: translateY(-5px); }
.price-weekend { border-top-color: var(--red-600); }
.price-icon { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.price-night .price-icon { background: #e5e7eb; color: var(--navy); }
.price-weekend .price-icon { background: var(--red-100); color: var(--red-700); }
.price-card span, .price-card small, .price-card strong, .price-card em { display: block; }
.price-card span { font: 800 17px/1.2 "Outfit", sans-serif; }
.price-card small { margin-top: 3px; color: var(--muted); }
.price-card strong { margin-top: 16px; color: var(--green-800); font: 900 34px/1 "Outfit", sans-serif; }
.price-night strong { color: var(--navy); }
.price-weekend strong { color: var(--red-700); }
.price-card em { color: var(--muted); font-style: normal; font-size: 12px; }
.price-card ul { margin: 18px 0; padding: 0; list-style: none; text-align: left; color: #475467; font-size: 12px; }
.price-card li { margin: 8px 0; }
.price-card li::before { content: "✓"; margin-right: 8px; color: var(--green-600); font-weight: 900; }
.price-card .btn { width: 100%; min-height: 40px; padding: 9px; font-size: 12px; }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 9px !important; white-space: nowrap; }

.benefit-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.benefit-grid article { min-height: 178px; padding: 18px 12px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 8px 22px rgba(15,23,42,.05); }
.benefit-grid i { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 13px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: 18px; }
.benefit-grid h3 { margin: 0 0 7px; font-size: 13px; line-height: 1.2; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }

.gallery-section { margin-top: 40px; }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 145px; gap: 12px; }
.gallery-grid.single { grid-template-columns: 1fr; grid-auto-rows: 300px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: #dfe7e2; }
.gallery-featured { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: 12px; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.gallery-placeholder { min-height: 220px; display: grid; place-items: center; gap: 8px; border: 1px dashed #c9d4cc; border-radius: 20px; color: var(--muted); background: #fff; }
.gallery-placeholder i { font-size: 40px; color: var(--green-600); }

/* Availability and calendar */
.availability-preview { margin-top: 32px; padding: 25px; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.availability-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.availability-heading h2 { font-size: 29px; }
.calendar-filters { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 12px; align-items: end; padding: 18px; margin-bottom: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.calendar-filters.compact { grid-template-columns: 1fr 1fr auto; padding: 12px; box-shadow: none; background: #f8faf9; }
.calendar-filters label, .booking-modal-field { display: grid; gap: 7px; color: #344054; font-weight: 700; font-size: 13px; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #d7dde5; border-radius: 12px; background: #fff; color: var(--text); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
.calendar-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; margin: 20px 0; }
.calendar-nav a { color: var(--green-800); text-decoration: none; font-weight: 800; }
.calendar-nav a:last-child { text-align: right; }
.calendar-nav strong { text-align: center; font-size: 14px; }
.calendar-nav.compact { margin: 12px 0; }
.calendar-nav.compact a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-100); }
.calendar-legend { display: flex; justify-content: center; gap: 24px; margin: 14px 0 20px; color: var(--muted); font-size: 13px; }
.calendar-legend.compact { margin: 0; gap: 12px; }
.calendar-dot { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 4px; vertical-align: -1px; }
.calendar-dot.free { background: var(--green-100); border: 1px solid #86efac; }
.calendar-dot.busy { background: var(--red-100); border: 1px solid #fca5a5; }
.calendar-dot.selected { background: var(--green-600); }
.public-calendar-card { margin-top: 22px; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.public-calendar-title { padding: 13px 18px; background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; font-weight: 800; }
.public-calendar-scroll { overflow-x: auto; }
.public-calendar-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.public-calendar-table th, .public-calendar-table td { padding: 5px; border-right: 1px solid #f0f2f4; border-bottom: 1px solid #f0f2f4; text-align: center; }
.public-calendar-table thead th { height: 62px; background: #f8faf9; }
.public-calendar-table thead th:first-child { width: 70px; }
.public-calendar-table thead small, .public-calendar-table thead strong, .public-calendar-table thead span { display: block; }
.public-calendar-table thead small, .public-calendar-table thead span { color: var(--muted); font-size: 10px; }
.public-calendar-table thead strong { font: 800 17px/1.2 "Outfit", sans-serif; }
.public-calendar-table tbody th { color: var(--muted); font-size: 11px; background: #fbfcfd; }
.calendar-cell { display: grid; place-items: center; width: 100%; min-height: 38px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; transition: .15s; }
.calendar-cell.free { background: var(--green-100); color: var(--green-800); border-color: #bbf7d0; }
.calendar-cell.free:hover { background: var(--green-600); color: #fff; transform: scale(1.04); }
.calendar-cell.busy { background: var(--red-100); color: var(--red-800); border-color: #fecaca; cursor: not-allowed; }
.calendar-cell.is-selected { background: var(--green-600); color: #fff; }
.compact-calendar .public-calendar-table { min-width: 690px; }
.compact-calendar .calendar-cell { min-height: 31px; }

/* How and FAQ */
.how-faq-section { background: #fff; }
.how-faq-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
.how-card { padding: 36px; border-radius: 26px; background: linear-gradient(135deg, #0d542a, #147c3b); color: #fff; box-shadow: var(--shadow-md); }
.how-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: center; }
.how-steps article { position: relative; text-align: center; }
.how-steps b { position: absolute; top: -4px; left: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #22c55e; }
.how-steps article > i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: rgba(255,255,255,.12); font-size: 24px; }
.how-steps h3 { margin: 0 0 7px; font-size: 17px; }
.how-steps p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; }
.step-arrow { color: #86efac; font-size: 24px; }
.faq-card { padding: 30px; border: 1px solid var(--border); border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.faq-list { display: grid; gap: 9px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-item button { width: 100%; padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 0; background: #fff; text-align: left; font-weight: 800; color: var(--text); }
.faq-item button i { transition: transform .2s; }
.faq-item > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s; }
.faq-item > div p { overflow: hidden; margin: 0; padding: 0 15px; color: var(--muted); font-size: 13px; transition: padding .25s; }
.faq-item.is-open > div { grid-template-rows: 1fr; }
.faq-item.is-open > div p { padding: 0 15px 15px; }
.faq-item.is-open button i { transform: rotate(180deg); }

.final-cta { padding: 60px 0; background: linear-gradient(135deg, #081c10, #0f4c28); color: #fff; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.final-cta span { color: #86efac; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.final-cta h2 { margin: 7px 0; font-size: 34px; }
.final-cta p { margin: 0; color: rgba(255,255,255,.7); }

/* Inner pages */
.inner-page .site-header { position: sticky; }
.inner-hero { padding: 80px 0 60px; color: #fff; background: linear-gradient(135deg, #073c1d, #15803d); }
.inner-hero span { color: #bbf7d0; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 800; }
.inner-hero h1 { margin: 8px 0; font-size: 48px; }
.inner-hero p { margin: 0; color: rgba(255,255,255,.75); }
.calendar-page-section { background: #f6f8fa; }

/* Public forms and result cards */
.lookup-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); }
.result-card, .success-card, .booking-card, .summary-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-sm); }
.result-card, .success-card { margin-top: 24px; padding: 28px; }
.result-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.result-head small, .code-box small { color: var(--muted); }
.result-head h2, .code-box strong { margin: 3px 0 0; font: 900 28px/1.1 "Outfit", sans-serif; }
.status { padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed, .status-completed { background: var(--green-100); color: var(--green-800); }
.status-cancelled, .status-expired { background: var(--red-100); color: var(--red-800); }
.reservation-details { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 24px 0 0; }
.reservation-details div { padding: 15px; background: #f8faf9; border-radius: 14px; }
.reservation-details dt { color: var(--muted); font-size: 12px; }
.reservation-details dd { margin: 4px 0 0; font-weight: 800; }
.upload-box { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--purple-100); }
.upload-box label { display: grid; gap: 8px; font-weight: 700; }
.notice { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: #fff8dc; color: #725211; }
.success-card { text-align: center; }
.success-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: 34px; font-weight: 900; }
.success-card > span { color: var(--green-700); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.success-card h1 { margin: 8px 0; font-size: 38px; }
.code-box { margin: 22px auto; padding: 18px; max-width: 420px; border: 2px dashed #86efac; border-radius: 18px; background: var(--green-50); }
.success-card .hero-actions { justify-content: center; }

/* Flash */
.flash { position: relative; z-index: 1200; margin-top: 92px; padding: 14px 18px; border-radius: 12px; font-weight: 700; }
.flash-success { background: var(--green-100); color: var(--green-800); border: 1px solid #86efac; }
.flash-error { background: var(--red-100); color: var(--red-800); border: 1px solid #fca5a5; }
.home-page .flash { position: fixed; top: 82px; left: 50%; transform: translateX(-50%); margin-top: 0; width: min(900px, calc(100% - 32px)); }

/* Booking form legacy */
.booking-layout { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; }
.booking-card { padding: 28px; }
.summary-card { position: sticky; top: 100px; padding: 24px; }
.form-step { display: flex; gap: 12px; align-items: center; margin: 22px 0 16px; }
.form-step > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-600); color: #fff; font-weight: 800; }
.form-step strong, .form-step small { display: block; }
.form-step small { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-grid.two-columns { grid-template-columns: repeat(2, 1fr); }
.form-grid label { display: grid; gap: 7px; font-weight: 700; font-size: 13px; }
.span-2 { grid-column: span 2; }
.slots { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.slot { min-height: 65px; border: 1px solid #bbf7d0; border-radius: 12px; background: var(--green-100); color: var(--green-800); }
.slot strong, .slot small { display: block; }
.slot.disabled, .slot.occupied { background: var(--red-100); color: var(--red-800); border-color: #fecaca; cursor: not-allowed; }
.slot.selected-range { background: var(--green-600); color: #fff; border-color: var(--green-700); }
.slot-selection-message { color: var(--muted); font-size: 13px; }
.slot-selection-message.is-success { color: var(--green-700); }
.slot-selection-message.is-error { color: var(--red-700); }
.payment-methods { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.payment-methods label input { display: none; }
.payment-methods label span { display: grid; place-items: center; min-height: 48px; border: 2px solid var(--border); border-radius: 12px; font-weight: 800; }
.payment-methods label input:checked + span { border-color: var(--green-600); background: var(--green-50); color: var(--green-800); }
.payment-info { display: flex; gap: 16px; align-items: center; padding: 18px; margin: 15px 0; border-radius: 16px; background: var(--purple-100); color: var(--purple-700); }
.payment-info img { width: 100px; height: 100px; object-fit: contain; border-radius: 10px; background: #fff; }
.check { display: flex !important; grid-template-columns: auto 1fr !important; align-items: center; gap: 10px !important; margin: 15px 0; }
.check input { width: 18px; min-height: 18px; }
.summary-card > span { color: var(--green-700); font-weight: 800; text-transform: uppercase; font-size: 11px; }
.summary-card h3 { margin: 6px 0 15px; font-size: 24px; }
.summary-card dl { margin: 0; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.summary-card dt { color: var(--muted); }
.summary-card dd { margin: 0; font-weight: 800; text-align: right; }
.summary-card .total dd { color: var(--green-700); font-size: 22px; }
.summary-note { color: var(--muted); font-size: 12px; }
.schedule-head { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin: 18px 0 12px; }
.legend { color: var(--muted); font-size: 12px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 5px 0 10px; }
.dot.available { background: var(--green-500); }
.dot.occupied { background: var(--red-600); }
.dni-control { position: relative; }
.dni-spinner { position: absolute; right: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #d1d5db; border-top-color: var(--green-600); border-radius: 50%; opacity: 0; }
.dni-spinner.is-visible { opacity: 1; animation: spin .7s linear infinite; }
.dni-status, .field-help { color: var(--muted); font-size: 11px; }
.dni-status.is-success { color: var(--green-700); }
.dni-status.is-error { color: var(--red-700); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Booking modal */
.booking-modal { position: fixed; inset: 0; z-index: 5000; display: none; padding: 18px; }
.booking-modal.is-open { display: grid; place-items: center; }
.booking-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 12, 6, .72); backdrop-filter: blur(5px); }
.booking-modal-dialog { position: relative; width: min(600px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); animation: modalUp .25s ease; }
@keyframes modalUp { from { opacity: 0; transform: translateY(28px) scale(.98); } }
.booking-modal-header { position: relative; padding: 26px 28px 22px; color: #fff; background: linear-gradient(135deg, #0f5e30, #16a34a); border-radius: 28px 28px 0 0; }
.booking-modal-header small { color: #bbf7d0; font-weight: 700; }
.booking-modal-header h2 { margin: 3px 0; font-size: 27px; }
.booking-modal-header p { margin: 0; color: rgba(255,255,255,.75); font-size: 13px; }
.booking-modal-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; }
.booking-stepper { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr; align-items: center; margin-top: 22px; }
.booking-step { display: grid; justify-items: center; gap: 5px; color: rgba(255,255,255,.58); font-size: 10px; text-align: center; }
.booking-step b { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: rgba(255,255,255,.17); }
.booking-step.is-active, .booking-step.is-done { color: #fff; }
.booking-step.is-active b { background: #fff; color: var(--green-700); }
.booking-step.is-done b { background: #bbf7d0; color: var(--green-800); }
.booking-stepper > i { height: 2px; background: rgba(255,255,255,.28); }
.booking-modal-body { padding: 26px; }
.booking-modal-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
.booking-modal-span-2 { grid-column: span 2; }
.booking-modal-label { margin: 18px 0 10px; color: #344054; font-weight: 800; font-size: 13px; }
.booking-modal-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.booking-modal-slot { min-height: 63px; padding: 9px; border: 2px solid #dfe5e9; border-radius: 13px; background: #fff; color: var(--text); transition: .15s; }
.booking-modal-slot strong, .booking-modal-slot small { display: block; }
.booking-modal-slot small { color: var(--muted); }
.booking-modal-slot:hover { border-color: #86efac; background: var(--green-50); }
.booking-modal-slot.is-occupied { border-color: #fecaca; background: var(--red-100); color: var(--red-800); cursor: not-allowed; }
.booking-modal-slot.is-range { border-color: var(--green-600); background: var(--green-600); color: #fff; }
.booking-modal-slot.is-range small { color: #dcfce7; }
.booking-modal-slot.is-range-start { box-shadow: 0 0 0 3px rgba(22,163,74,.22); }
.booking-modal-message { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.booking-modal-message.is-success { color: var(--green-700); font-weight: 700; }
.booking-modal-message.is-error { color: var(--red-700); }
.booking-modal-payments { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.booking-modal-payments label input { display: none; }
.booking-modal-payments label span { display: grid; place-items: center; gap: 5px; min-height: 62px; padding: 8px; border: 2px solid var(--border); border-radius: 13px; font-size: 11px; font-weight: 800; text-align: center; }
.booking-modal-payments label input:checked + span { border-color: var(--purple-700); background: var(--purple-100); color: var(--purple-700); }
.booking-modal-payment-info { display: flex; align-items: center; gap: 15px; margin: 15px 0; padding: 17px; border: 1px solid #e9d5ff; border-radius: 16px; background: var(--purple-100); color: var(--purple-700); }
.booking-modal-payment-info img { width: 95px; height: 95px; object-fit: contain; border-radius: 10px; background: #fff; }
.booking-modal-payment-info strong, .booking-modal-payment-info p { display: block; margin: 0; }
.booking-modal-payment-info p { margin-top: 4px; font-size: 12px; }
.booking-modal-check { display: flex; align-items: center; gap: 10px; margin-top: 15px; font-size: 12px; }
.booking-modal-check input { width: 18px; min-height: 18px; }
.booking-confirmation-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 8px auto 15px; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: 34px; font-weight: 900; }
.booking-panel[data-booking-step="3"] { text-align: center; }
.booking-panel[data-booking-step="3"] h3 { margin: 0; font-size: 27px; }
.booking-panel[data-booking-step="3"] > p { color: var(--muted); }
.booking-review { margin: 20px 0 0; text-align: left; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.booking-review div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.booking-review div:last-child { border: 0; }
.booking-review dt { color: var(--muted); }
.booking-review dd { margin: 0; font-weight: 800; text-align: right; }
.booking-review .total { background: var(--green-50); }
.booking-review .total dd { color: var(--green-700); font-size: 20px; }
.booking-review-note { padding: 12px; border-radius: 12px; background: #fff8dc; color: #725211 !important; font-size: 12px; }
.booking-modal-footer { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; padding: 17px 26px; border-top: 1px solid var(--border); background: rgba(255,255,255,.96); border-radius: 0 0 28px 28px; backdrop-filter: blur(8px); }

/* Footer */
.site-footer { padding: 65px 0 0; background: #07150d; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr 1fr; gap: 45px; padding-bottom: 45px; }
.site-footer .brand { margin-bottom: 16px; }
.footer-brand > p { max-width: 340px; color: rgba(255,255,255,.58); }
.site-footer h3 { margin: 0 0 15px; font-size: 16px; }
.site-footer a:not(.brand), .site-footer p { display: block; margin: 8px 0; color: rgba(255,255,255,.66); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer i { width: 20px; color: #86efac; }
.footer-map-link { color: #86efac !important; font-weight: 700; }
.footer-location-card { padding: 23px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.05); }
.footer-location-card > i { display: block; width: auto; margin-bottom: 12px; font-size: 30px; }
.footer-location-card strong, .footer-location-card span { display: block; }
.footer-location-card span { margin: 7px 0 12px; color: rgba(255,255,255,.6); }
.footer-location-card a { color: #86efac !important; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.45); font-size: 12px; }
.floating-whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 1200; display: flex; align-items: center; gap: 9px; padding: 13px 17px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 15px 35px rgba(37,211,102,.32); }
.floating-whatsapp i { font-size: 22px; }
.scroll-top { position: fixed; right: 28px; bottom: 88px; z-index: 1150; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Responsive */
@media (max-width: 1120px) {
  .main-nav { gap: 16px; }
  .main-nav > a { font-size: 13px; }
  .commercial-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 920px) {
  .mobile-menu-button { display: block; }
  .main-nav { position: fixed; inset: 78px 16px auto; display: grid; gap: 0; padding: 16px; border-radius: 18px; background: rgba(7, 44, 22, .98); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .2s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a { padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav > a::after { display: none; }
  .nav-cta { margin-top: 8px; }
  .hero-content { margin-inline: auto; width: min(100% - 40px, 1240px); }
  .trust-strip-grid { grid-template-columns: 1fr; }
  .trust-strip article + article { border-left: 0; border-top: 1px solid var(--border); }
  .pricing-cards { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
  .benefit-grid article:last-child { grid-column: span 2; }
  .how-faq-grid { grid-template-columns: 1fr; }
  .final-cta-inner { align-items: start; flex-direction: column; }
  .booking-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1240px); }
  .section { padding: 64px 0; }
  .nav-wrap { min-height: 70px; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 9px; letter-spacing: .06em; }
  .main-nav { top: 70px; }
  .hero-video { min-height: 86vh; }
  .hero-content { padding-top: 90px; text-align: center; }
  .hero-content h1 { font-size: clamp(42px, 14vw, 62px); }
  .hero-actions { justify-content: center; }
  .hero-location { justify-content: center; }
  .trust-strip { margin-top: -30px; }
  .trust-strip article { padding: 19px; }
  .court-grid { grid-template-columns: 1fr; }
  .cancha-card-media { height: 240px; }
  .cancha-title-row { display: block; }
  .status-open { margin-top: 12px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 135px; }
  .gallery-featured { grid-column: span 2; grid-row: span 2; }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
  .availability-heading { align-items: start; flex-direction: column; }
  .calendar-filters, .calendar-filters.compact { grid-template-columns: 1fr; }
  .calendar-nav { grid-template-columns: auto 1fr auto; }
  .calendar-nav a { font-size: 0; }
  .calendar-nav a::first-letter { font-size: 20px; }
  .how-card { padding: 26px 18px; }
  .how-steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 54px; height: 54px; justify-content: center; padding: 0; }
  .scroll-top { right: 29px; bottom: 90px; }
  .booking-modal { padding: 0; align-items: end; }
  .booking-modal-dialog { width: 100%; max-height: 94vh; border-radius: 24px 24px 0 0; }
  .booking-modal-header { border-radius: 24px 24px 0 0; padding: 23px 20px 19px; }
  .booking-modal-body { padding: 20px; }
  .booking-modal-grid { grid-template-columns: 1fr; }
  .booking-modal-span-2 { grid-column: auto; }
  .booking-modal-slots { grid-template-columns: repeat(2,1fr); }
  .booking-modal-payments { grid-template-columns: repeat(2,1fr); }
  .booking-modal-footer { padding: 14px 18px; border-radius: 0; }
  .form-grid, .form-grid.two-columns { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .slots { grid-template-columns: repeat(2,1fr); }
  .payment-methods { grid-template-columns: repeat(2,1fr); }
  .reservation-details { grid-template-columns: 1fr; }
  .lookup-form, .upload-box { grid-template-columns: 1fr; }
  .inner-hero { padding: 58px 0 45px; }
  .inner-hero h1 { font-size: 38px; }
}

@media (max-width: 440px) {
  .hero-actions .btn { width: 100%; }
  .cancha-rate-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article:last-child { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-featured { grid-column: auto; grid-row: span 2; }
  .booking-stepper { grid-template-columns: 1fr 12px 1fr 12px 1fr; }
}

/* =========================================================
   V3.1 — Calendario semanal a ancho completo, basado en el
   comportamiento del código fuente de referencia del usuario.
   ========================================================= */
.calendar-page-section {
  background: #f6f8fa;
}

.calendar-page-container {
  width: min(100% - 40px, 1120px);
}

.availability-preview.availability-full {
  margin-top: 0;
  padding: 28px;
}

.availability-full .availability-heading {
  align-items: center;
}

.availability-full .public-calendar-card {
  width: 100%;
}

.public-calendar-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-color: #7bbf90 #eef4f0;
  scrollbar-width: thin;
}

.public-calendar-scroll::-webkit-scrollbar {
  height: 11px;
}

.public-calendar-scroll::-webkit-scrollbar-track {
  background: #eef4f0;
  border-radius: 999px;
}

.public-calendar-scroll::-webkit-scrollbar-thumb {
  background: #7bbf90;
  border: 2px solid #eef4f0;
  border-radius: 999px;
}

.availability-full .public-calendar-table,
.availability-full .compact-calendar .public-calendar-table {
  width: 100%;
  min-width: 860px;
  table-layout: fixed;
}

.availability-full .public-calendar-table thead th:first-child,
.availability-full .public-calendar-table tbody th {
  width: 84px;
  min-width: 84px;
  position: sticky;
  left: 0;
  z-index: 3;
}

.availability-full .public-calendar-table thead th:first-child {
  z-index: 5;
  background: #f8faf9;
}

.availability-full .public-calendar-table tbody th {
  background: #fbfcfd;
}

.availability-full .public-calendar-table thead th:not(:first-child) {
  width: calc((100% - 84px) / 7);
  min-width: 105px;
}

.availability-full .public-calendar-table th,
.availability-full .public-calendar-table td {
  padding: 6px;
}

.availability-full .calendar-cell {
  min-height: 44px;
  border-radius: 10px;
}

@media (min-width: 980px) {
  .availability-full .public-calendar-table,
  .availability-full .compact-calendar .public-calendar-table {
    min-width: 100%;
  }

  .availability-full .public-calendar-table thead th:not(:first-child) {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .calendar-page-container {
    width: min(100% - 20px, 1120px);
  }

  .availability-preview.availability-full {
    padding: 18px 12px;
    border-radius: 18px;
  }

  .availability-full .public-calendar-table,
  .availability-full .compact-calendar .public-calendar-table {
    min-width: 820px;
  }

  .availability-full .public-calendar-table thead th:first-child,
  .availability-full .public-calendar-table tbody th {
    width: 72px;
    min-width: 72px;
  }

  .availability-full .public-calendar-table thead th:not(:first-child) {
    min-width: 96px;
  }
}
