:root {
  --ink: #12231d;
  --muted: #6f7a72;
  --cream: #f8f6ef;
  --paper: #fffefa;
  --line: #e4e6dc;
  --green: #c8ef4c;
  --green-dark: #24563c;
  --orange: #f07a4a;
  --shadow: 0 22px 60px rgba(25, 54, 41, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { height: 82px; width: min(1320px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: "Space Grotesk", sans-serif; font-size: 23px; font-weight: 700; letter-spacing: -.07em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px 10px 10px 3px; background: var(--ink); color: var(--green); font-size: 16px; letter-spacing: -.1em; }
.brand-dot { color: var(--orange); }
.desktop-nav { display: flex; gap: 34px; margin-left: auto; margin-right: auto; color: #506058; font-size: 14px; font-weight: 600; }
.desktop-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.language-button, .ghost-button { border: 0; background: transparent; cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 600; }
.ghost-button { border: 1px solid var(--line); border-radius: 99px; padding: 11px 17px; }
.ghost-button:hover { border-color: var(--ink); }

.hero { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 570px; padding-top: 64px; padding-bottom: 92px; align-items: center; gap: 60px; }
.eyebrow { margin: 0 0 18px; color: var(--green-dark); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 700; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--orange); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.08em; line-height: .95; }
h1 { margin-bottom: 28px; font-size: clamp(56px, 7vw, 94px); font-weight: 600; }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-text { max-width: 450px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 33px; }
.primary-button { display: inline-flex; align-items: center; gap: 25px; padding: 16px 19px 16px 22px; border-radius: 7px; background: var(--ink); color: white; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.primary-button span { color: var(--green); font-size: 20px; line-height: 10px; }
.primary-button:hover { background: var(--green-dark); transform: translateY(-2px); }
.trust-note { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; line-height: 1.3; }
.trust-note small { color: var(--muted); }
.trust-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--green); font-size: 12px; font-weight: 700; }
.hero-visual { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; background: #d6eea5; box-shadow: var(--shadow); }
.court-illustration { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(145deg, #b7d889 0 45%, #94bd68 45% 100%); }
.court-illustration::before { content: ""; position: absolute; width: 75%; height: 120%; left: 11%; top: -10%; transform: rotate(25deg); border: 3px solid rgba(255,255,255,.8); box-shadow: 0 0 0 3px rgba(32, 78, 43, .08); }
.court-illustration::after { content: ""; position: absolute; height: 160%; width: 2px; left: 55%; top: -30%; background: rgba(255,255,255,.65); transform: rotate(25deg); }
.sun { position: absolute; width: 160px; height: 160px; right: 8%; top: 12%; border-radius: 50%; background: #f6b161; opacity: .9; }
.court-lines { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 47%, rgba(255,255,255,.65) 47.3%, rgba(255,255,255,.65) 47.8%, transparent 48.1%); }
.player { position: absolute; width: 26px; height: 87px; border-radius: 15px 15px 6px 6px; background: var(--orange); z-index: 2; transform: rotate(-24deg); }
.player::before { content: ""; position: absolute; width: 25px; height: 25px; top: -25px; left: 2px; border-radius: 50%; background: #734a3d; }
.player::after { content: ""; position: absolute; width: 77px; height: 8px; top: 28px; left: 10px; border-radius: 5px; background: #734a3d; transform: rotate(-40deg); transform-origin: left; }
.player-one { left: 32%; bottom: 22%; }
.player-two { right: 25%; top: 39%; background: var(--green-dark); transform: rotate(18deg) scale(.85); }
.hero-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.6); border-radius: 8px; background: rgba(255,255,255,.88); box-shadow: 0 10px 25px rgba(40,70,30,.12); font-size: 12px; }
.hero-card span:last-child { display: block; color: var(--muted); }
.hero-card-top { top: 25px; left: 25px; flex-direction: column; align-items: flex-start; gap: 2px; }
.hero-card-bottom { right: 25px; bottom: 25px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #67a93e; box-shadow: 0 0 0 4px rgba(103,169,62,.17); }

.booking-section { padding: 85px 0 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
h2 { margin-bottom: 0; font-size: clamp(42px, 5vw, 64px); font-weight: 600; }
.availability-legend { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.legend-dot { width: 8px; height: 8px; display: inline-block; margin-left: 12px; border-radius: 50%; background: var(--green-dark); }
.legend-dot.selected { background: var(--orange); }
.booking-layout { display: grid; grid-template-columns: 1fr 350px; gap: 32px; align-items: start; }
.court-column { min-width: 0; }
.date-picker { margin-bottom: 18px; }
.date-picker-controls { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.date-nav { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 18px; }
.date-nav:disabled { cursor: not-allowed; opacity: .35; }
.date-picker-range { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 10px; min-height: 36px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 700; }
.date-picker-range input { border: 0; background: transparent; color: var(--ink); font: inherit; outline: none; }
.date-picker-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.date-button { min-height: 68px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--muted); cursor: pointer; transition: .2s; }
.date-button:hover { border-color: var(--green-dark); }
.date-button strong, .date-button span { display: block; }
.date-button strong { margin-bottom: 7px; color: var(--ink); font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.date-button span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.date-button.selected { border-color: var(--green-dark); background: var(--green-dark); color: white; }
.date-button.selected strong { color: var(--green); }
.date-button.selected span { color: rgba(255,255,255,.7); }
.booking-rules { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 12px 14px; margin-bottom: 15px; border: 1px solid #e3e8d4; border-radius: 7px; background: #f1f4e8; color: var(--muted); font-size: 10px; }
.booking-rules strong { color: var(--green-dark); font-weight: 700; }
.rules-separator { color: #b4bdad; }
.court-list { display: grid; gap: 12px; }
.court-card { display: grid; grid-template-columns: 145px 1fr; min-height: 170px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.court-art { position: relative; overflow: hidden; background: #c2dc92; }
.court-art::before { content: ""; position: absolute; width: 160%; height: 95%; left: -25%; top: 26%; transform: rotate(-22deg); border: 2px solid rgba(255,255,255,.8); }
.court-art::after { content: ""; position: absolute; width: 2px; height: 140%; left: 48%; top: -15%; background: rgba(255,255,255,.65); transform: rotate(-22deg); }
.court-art.green { background: #b6d481; }
.court-art.clay { background: #eaa471; }
.court-art.indoor { background: #b5c7d1; }
.court-art .art-ball { position: absolute; z-index: 2; width: 27px; height: 27px; right: 23px; top: 30px; border-radius: 50%; background: #f3ef5a; box-shadow: 0 3px 5px rgba(40,40,20,.12); }
.court-info { padding: 19px 20px; }
.court-info h3 { margin-bottom: 5px; font-family: "Space Grotesk", sans-serif; font-size: 20px; letter-spacing: -.05em; }
.court-meta { color: var(--muted); font-size: 12px; }
.court-price { float: right; color: var(--ink); font-size: 13px; font-weight: 700; }
.court-price small { color: var(--muted); font-weight: 500; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.slot-button { min-width: 94px; padding: 8px 8px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink); cursor: pointer; font-size: 11px; }
.slot-button:hover { border-color: var(--green-dark); }
.slot-button.booked { color: #adb3ac; background: #f1f1eb; border-color: #f1f1eb; cursor: not-allowed; text-decoration: line-through; }
.slot-button.selected { border-color: var(--orange); background: var(--orange); color: white; }
.closed-slot { align-self: center; padding: 8px 0; color: var(--muted); font-size: 11px; font-style: italic; }

.booking-summary { position: sticky; top: 20px; min-height: 325px; padding: 25px; border-radius: 12px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.summary-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
.summary-label { color: var(--green); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.summary-step { color: rgba(255,255,255,.42); font-size: 11px; }
.empty-summary { padding: 49px 15px 28px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 43px; height: 43px; margin: 0 auto 18px; border: 1px dashed rgba(255,255,255,.35); border-radius: 50%; color: var(--green); font-size: 24px; }
.empty-summary h3 { margin-bottom: 10px; font-family: "Space Grotesk", sans-serif; font-size: 20px; letter-spacing: -.05em; }
.empty-summary p { margin-bottom: 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.6; }
.hidden { display: none !important; }
.customer-portal { min-height: 100vh; background: #f1f3eb; }
.customer-content { max-width: 920px; }
.customer-booking-card .admin-card-header { margin-bottom: 14px; }
.customer-booking-summary { display: flex; justify-content: space-between; gap: 15px; padding: 11px 13px; margin-bottom: 16px; border-radius: 6px; background: #f0f3e8; color: var(--muted); font-size: 11px; }
.customer-booking-summary strong { color: var(--ink); font-weight: 700; }
.customer-status { font-size: 10px; font-weight: 700; }
.customer-status.confirmed { color: var(--green-dark); }
.customer-status.cancelled { color: #b34e35; }
.customer-edit-grid { grid-template-columns: repeat(3, 1fr); }
.admin-portal { min-height: 100vh; background: #f1f3eb; }
.admin-shell { width: min(1240px, calc(100% - 48px)); margin: auto; padding: 50px 0 80px; }
.admin-header { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding-bottom: 40px; }
.admin-header h1 { margin: 0; font-size: clamp(42px, 6vw, 70px); }
.admin-header .eyebrow { margin-bottom: 12px; }
.admin-layout { display: grid; grid-template-columns: 215px 1fr; gap: 35px; align-items: start; }
.admin-sidebar { position: sticky; top: 22px; display: grid; gap: 5px; }
.admin-tab { display: flex; align-items: center; justify-content: space-between; padding: 14px 15px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; text-align: left; font-size: 12px; font-weight: 700; }
.admin-tab span { opacity: 0; color: var(--orange); font-size: 18px; }
.admin-tab:hover, .admin-tab.active { background: white; color: var(--ink); box-shadow: 0 8px 25px rgba(25,54,41,.05); }
.admin-tab.active span { opacity: 1; }
.admin-sidebar-note { display: grid; grid-template-columns: 13px 1fr; gap: 2px 7px; padding: 18px 14px; margin-top: 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.admin-sidebar-note .live-dot { grid-row: span 2; margin-top: 3px; }
.admin-sidebar-note strong { color: var(--ink); font-size: 11px; }
.admin-sidebar-note small { line-height: 1.4; }
.admin-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.admin-panel-heading h2 { font-size: 42px; }
.admin-panel-heading p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.admin-primary-button { padding: 12px 16px; border: 0; border-radius: 5px; background: var(--ink); color: white; cursor: pointer; font-size: 12px; font-weight: 700; }
.admin-primary-button:hover { background: var(--green-dark); }
.admin-list { display: grid; gap: 14px; }
.admin-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 17px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-card-header h3 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 19px; letter-spacing: -.05em; }
.admin-card-header span { color: var(--muted); font-size: 10px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.admin-field { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 700; }
.admin-field input, .admin-field select { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 5px; outline: none; background: white; color: var(--ink); font-size: 12px; }
.admin-field input:focus, .admin-field select:focus { border-color: var(--green-dark); }
.admin-checkbox { display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.admin-checkbox input { margin-top: 2px; accent-color: var(--green-dark); }
.admin-card-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.admin-save-button, .admin-danger-button { padding: 9px 13px; border-radius: 4px; cursor: pointer; font-size: 11px; font-weight: 700; }
.admin-save-button { border: 0; background: var(--green); color: var(--ink); }
.admin-danger-button { border: 1px solid #efc7bd; background: white; color: #b34e35; }
.admin-save-button:hover { background: #dafa78; }
.admin-danger-button:hover { background: #fff1ed; }
.day-selector { display: flex; flex-wrap: wrap; gap: 7px; }
.day-toggle { display: flex; align-items: center; gap: 5px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--muted); cursor: pointer; font-size: 10px; }
.day-toggle:has(input:checked) { border-color: var(--green-dark); background: #eef6d9; color: var(--green-dark); }
.day-toggle input { accent-color: var(--green-dark); }
.availability-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 17px; }
.availability-schedule { display: grid; gap: 9px; }
.availability-day-row { display: grid; grid-template-columns: 125px 1fr 1fr; gap: 12px; align-items: end; padding: 9px 0; border-bottom: 1px solid #eef0e8; }
.availability-day-row .day-toggle { min-height: 38px; }
.availability-days-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 10px; font-weight: 700; }
.admin-booking-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.admin-booking-id { padding: 4px 7px; border-radius: 4px; background: #eef0e8; color: var(--green-dark); font-family: monospace; font-size: 10px; }
.admin-empty { padding: 45px; border: 1px dashed #cbd2c5; border-radius: 9px; color: var(--muted); text-align: center; font-size: 12px; }
.booking-edit-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 11px; }
.booking-edit-grid .admin-field:first-child { grid-column: span 2; }
.admin-note { padding: 13px 15px; margin-bottom: 16px; border-radius: 6px; background: #eef6d9; color: var(--green-dark); font-size: 11px; line-height: 1.5; }
.admin-status { margin-right: auto; color: var(--green-dark); font-size: 11px; font-weight: 700; }
.admin-status.error { color: #b34e35; }
.pricing-rule-list { display: grid; gap: 12px; }
.pricing-rule-row { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcf7; }
.pricing-rule-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 10px; padding-right: 82px; }
.pricing-rule-days { margin-top: 12px; }
.pricing-remove-button { position: absolute; top: 14px; right: 14px; }
.pricing-rule-row .day-selector { gap: 5px; }
.closure-list, .audit-list, .report-table { display: grid; gap: 8px; margin-top: 18px; }
.closure-row, .audit-row, .report-table > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; background: #fbfcf7; color: var(--muted); font-size: 11px; }
.closure-row strong, .audit-row strong, .report-table strong { color: var(--ink); }
.report-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.report-stat { display: grid; gap: 8px; padding: 18px; border-radius: 8px; background: var(--ink); color: rgba(255,255,255,.6); font-size: 11px; }
.report-stat strong { color: var(--green); font-family: "Space Grotesk", sans-serif; font-size: 23px; }
.audit-row { align-items: flex-start; flex-direction: column; gap: 4px; }
.audit-row small { color: var(--muted); font-size: 10px; }
.admin-card-actions .admin-primary-button { padding: 9px 13px; font-size: 11px; }

body.admin-open { background: #f1f3eb; }
body.customer-open { background: #f1f3eb; }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .hero-card-top { right: 25px; left: auto; }
html[dir="rtl"] .hero-card-bottom { left: 25px; right: auto; }
html[dir="rtl"] .court-price { float: left; }
html[dir="rtl"] .admin-card-actions { justify-content: flex-start; }
html[dir="rtl"] .admin-sidebar-note { grid-template-columns: 1fr 13px; }
html[dir="rtl"] .admin-sidebar-note .live-dot { grid-column: 2; }
html[dir="rtl"] .admin-sidebar-note strong, html[dir="rtl"] .admin-sidebar-note small { grid-column: 1; }
.filled-summary { padding-top: 21px; }
.summary-court { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.summary-court-thumb { width: 52px; height: 52px; border-radius: 7px; background: #b6d481; position: relative; overflow: hidden; }
.summary-court-thumb::after { content: ""; position: absolute; width: 120%; height: 2px; left: -10%; top: 50%; background: rgba(255,255,255,.75); transform: rotate(-24deg); }
.summary-court h3 { margin: 0 0 3px; font-family: "Space Grotesk", sans-serif; font-size: 16px; letter-spacing: -.04em; }
.summary-court p { margin: 0; color: rgba(255,255,255,.55); font-size: 11px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 11px; color: rgba(255,255,255,.63); font-size: 12px; }
.summary-row strong { color: white; font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; padding: 15px 0 18px; margin-top: 17px; border-top: 1px solid rgba(255,255,255,.14); color: white; font-weight: 700; }
.summary-total strong { color: var(--green); font-size: 22px; }
.recurring-box { padding: 13px; margin: 18px 0 13px; border: 1px solid rgba(200,239,76,.2); border-radius: 7px; background: rgba(200,239,76,.08); }
.recurring-label { display: flex; align-items: center; gap: 9px; color: white; cursor: pointer; font-size: 11px; font-weight: 600; }
.recurring-label input { width: 15px; height: 15px; accent-color: var(--green); }
.recurring-help { margin: 8px 0 0 24px; color: rgba(255,255,255,.5); font-size: 10px; line-height: 1.4; }
.recurring-weeks { display: none; align-items: center; gap: 8px; margin: 10px 0 0 24px; color: rgba(255,255,255,.65); font-size: 10px; }
.recurring-weeks.visible { display: flex; }
.recurring-weeks select { padding: 5px 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; background: var(--ink); color: white; font-size: 10px; }
.continue-button { width: 100%; padding: 13px; border: 0; border-radius: 5px; background: var(--green); color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; }
.continue-button:hover { background: #dafa78; }

.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; padding: 33px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { display: flex; gap: 16px; }
.feature-number { color: var(--orange); font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 600; }
.feature h3 { margin-bottom: 7px; font-family: "Space Grotesk", sans-serif; font-size: 16px; letter-spacing: -.04em; }
.feature p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.venue-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; padding: 110px 0 120px; }
.venue-image { position: relative; min-height: 390px; overflow: hidden; border-radius: 13px; background: linear-gradient(145deg, #a6cc71 0 50%, #739c5b 50%); }
.venue-image::before { content: ""; position: absolute; width: 105%; height: 82%; left: -3%; top: 19%; border: 3px solid rgba(255,255,255,.8); transform: rotate(-16deg); }
.venue-image::after { content: ""; position: absolute; width: 2px; height: 140%; left: 49%; top: -20%; background: rgba(255,255,255,.7); transform: rotate(-16deg); }
.venue-badge { position: absolute; z-index: 2; top: 24px; left: 24px; padding: 8px 11px; border-radius: 4px; background: var(--green); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.venue-sun { position: absolute; right: 9%; top: 8%; width: 105px; height: 105px; border-radius: 50%; background: #f4b166; }
.venue-court { position: absolute; z-index: 2; right: 18%; bottom: 13%; width: 35px; height: 95px; border-radius: 20px 20px 8px 8px; background: var(--orange); transform: rotate(20deg); }
.venue-copy h2 { margin-bottom: 26px; }
.venue-copy > p:not(.eyebrow) { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.venue-details { display: flex; gap: 25px; margin-top: 36px; }
.venue-details span { color: var(--muted); font-size: 11px; }
.venue-details strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: "Space Grotesk", sans-serif; font-size: 21px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; min-height: 90px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer .brand { color: var(--ink); font-size: 18px; }
.site-footer .brand-mark { width: 25px; height: 25px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

.legal-page { min-height: 100vh; }
.legal-header { border-bottom: 1px solid var(--line); }
.legal-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; }
.legal-nav a:hover { color: var(--green-dark); }
.legal-language { min-width: 62px; }
.legal-content { width: min(830px, calc(100% - 48px)); margin: 0 auto; padding: 82px 0 110px; }
.legal-content h1 { margin-bottom: 20px; font-size: clamp(48px, 7vw, 78px); }
.legal-lead { max-width: 660px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.legal-updated { margin-bottom: 38px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.legal-card { padding: 26px; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.legal-card h2 { margin-bottom: 14px; font-size: 28px; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 14px; line-height: 1.7; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { padding-inline-start: 22px; margin-bottom: 0; }
.legal-notice { border-color: #dbe7b5; background: #f1f6df; color: var(--green-dark); }
.legal-notice p { color: var(--green-dark); }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(18,35,29,.6); backdrop-filter: blur(5px); }
.checkout-modal { position: relative; width: min(100%, 470px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 35px; border-radius: 14px; background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.24); }
.close-button { position: absolute; top: 17px; right: 20px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 25px; line-height: 1; }
.modal-kicker { margin-bottom: 10px; color: var(--green-dark); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.checkout-modal h2 { margin-bottom: 24px; font-size: 40px; }
.checkout-details { padding: 16px; margin-bottom: 19px; border-radius: 8px; background: #f0f3e8; }
.checkout-details-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.checkout-details-row:last-child { margin-bottom: 0; color: var(--ink); font-weight: 700; }
.hold-timer { display: flex; align-items: center; gap: 9px; padding: 11px 0 20px; color: var(--muted); font-size: 11px; }
.hold-timer strong { color: var(--orange); }
.checkout-modal label { display: block; margin-bottom: 13px; color: var(--ink); font-size: 11px; font-weight: 700; }
.checkout-modal input { display: block; width: 100%; padding: 12px 13px; margin-top: 6px; border: 1px solid var(--line); border-radius: 5px; outline: none; background: white; color: var(--ink); font-size: 13px; }
.checkout-modal input:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(36,86,60,.1); }
.apple-pay-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 20px; padding: 14px; border: 0; border-radius: 5px; background: var(--ink); color: white; cursor: pointer; font-size: 13px; font-weight: 700; }
.apple-pay-button:hover { background: var(--green-dark); }
.apple-logo { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 2px solid white; border-radius: 50%; color: transparent; }
.pay-amount { margin-left: 5px; color: var(--green); }
.demo-note { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: 340px; padding: 16px 19px; border-radius: 8px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 13px; }
.toast strong { color: var(--green); }

@media (max-width: 840px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; padding-bottom: 60px; gap: 38px; }
  .hero-copy { max-width: 600px; }
  .hero-visual { min-height: 330px; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .feature-strip { gap: 18px; }
  .venue-section { grid-template-columns: 1fr; gap: 45px; padding: 80px 0; }
  .admin-layout { grid-template-columns: 1fr; gap: 25px; }
  .admin-sidebar { position: static; grid-template-columns: repeat(3, 1fr); }
  .admin-sidebar-note { display: none; }
}

@media (max-width: 580px) {
  .section-shell, .site-header { width: min(100% - 30px, 1180px); }
  .site-header { height: 70px; }
  .ghost-button { padding: 9px 12px; }
  .language-button { display: none; }
  h1 { font-size: 57px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .availability-legend { font-size: 11px; }
  .date-picker-grid { gap: 4px; }
  .date-picker-range { font-size: 11px; }
  .date-button { min-height: 61px; }
  .date-button strong { font-size: 16px; }
  .date-button span { font-size: 9px; }
  .booking-rules { line-height: 1.5; }
  .court-card { grid-template-columns: 92px 1fr; }
  .court-info { padding: 15px 13px; }
  .court-info h3 { font-size: 17px; }
  .court-price { float: none; display: block; margin-top: 4px; }
  .slot-grid { margin-top: 13px; gap: 5px; }
  .slot-button { min-width: 83px; padding: 7px 4px; font-size: 10px; }
  .feature-strip { grid-template-columns: 1fr; gap: 22px; }
  .venue-image { min-height: 290px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 25px 0; }
  .legal-header { height: auto; min-height: 70px; }
  .legal-nav { margin-left: 0; gap: 12px; }
  .legal-content { width: min(100% - 30px, 830px); padding: 54px 0 75px; }
  .legal-card { padding: 20px; }
  .checkout-modal { padding: 28px 22px; }
  .admin-shell { width: min(100% - 30px, 1240px); padding-top: 28px; }
  .admin-header { align-items: flex-start; flex-direction: column; padding-bottom: 25px; }
  .admin-header .ghost-button { align-self: stretch; }
  .admin-panel-heading { align-items: flex-start; flex-direction: column; }
  .admin-panel-heading h2 { font-size: 36px; }
  .admin-form-grid, .booking-edit-grid { grid-template-columns: 1fr 1fr; }
  .customer-edit-grid { grid-template-columns: 1fr 1fr; }
  .availability-day-row { grid-template-columns: 1fr 1fr; }
  .availability-day-row .day-toggle { grid-column: span 2; }
  .pricing-rule-fields { grid-template-columns: 1fr 1fr; padding-right: 0; }
  .report-summary-grid { grid-template-columns: 1fr 1fr; }
  .pricing-remove-button { position: static; margin-top: 12px; }
  .booking-edit-grid .admin-field:first-child { grid-column: span 2; }
  .admin-card { padding: 16px; }
}

@media (max-width: 560px) {
  .admin-sidebar { grid-template-columns: repeat(2, 1fr); }
  .report-summary-grid { grid-template-columns: 1fr; }
  .closure-row { align-items: flex-start; flex-direction: column; }
}
