/* GoalField — global styles (red primary #B81E20) */
:root {
  --primary: #B81E20;
  --primary-600: #9f1819;
  --primary-700: #861415;
  --primary-50: #fce8e8;
  --primary-100: #f8d1d1;
  --accent: #f59e0b;
  --accent-600: #d97706;
  --ink: #1a0e0e;
  --ink-soft: #5a3d3d;
  --muted: #8a7878;
  --line: #f0e0e0;
  --bg: #fdf8f8;
  --bg-alt: #f9eeef;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --shadow-sm: 0 1px 3px rgba(184,30,32,.06), 0 1px 2px rgba(184,30,32,.04);
  --shadow: 0 4px 16px rgba(184,30,32,.08);
  --shadow-lg: 0 12px 40px rgba(184,30,32,.12);
  --radius: 16px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 12px; border: none; transition: all .2s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary-grad { background: linear-gradient(135deg, var(--primary), var(--primary-700)); color: #fff; box-shadow: 0 4px 14px rgba(184,30,32,.3); }
.btn-primary-grad:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,30,32,.4); }
.btn-accent { background: linear-gradient(135deg, #f59e0b, #e07b00); color: #fff; box-shadow: 0 4px 14px rgba(245,158,11,.3); }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,158,11,.4); color: #fff; }
.btn-outline-primary-grad { background: #fff; color: var(--primary-700); border: 1.5px solid var(--primary); }
.btn-outline-primary-grad:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: .85rem 1.5rem; font-size: 1.05rem; }

/* ---------- Topbar ---------- */
.topbar { background: #2a0a0a; color: #d8b8b8; font-size: .82rem; padding: .5rem 0; }
.topbar-left i, .topbar-right i { color: var(--primary); margin-right: .3rem; }
.topbar-link { color: #d8b8b8; transition: color .2s; margin-left: .8rem; }
.topbar-link:hover { color: #fff; }

/* ---------- Navbar ---------- */
.sticky-nav { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.sticky-nav.scrolled { box-shadow: var(--shadow); }
.navbar-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-700)); color: #fff; font-size: 1.2rem; }
.brand-accent { color: var(--primary); }
.navbar-light .navbar-nav .nav-link { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink-soft); padding: .5rem 1rem; border-radius: 10px; transition: all .2s; }
.navbar-light .navbar-nav .nav-link:hover { color: var(--primary); background: var(--primary-50); }
.navbar-light .navbar-nav .nav-link.active { color: var(--primary); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; background: radial-gradient(1200px 600px at 80% -10%, rgba(245,158,11,.2), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(184,30,32,.3), transparent 55%), linear-gradient(135deg, #2a0a0a 0%, #4a1010 45%, #6b1818 100%); color: #fde8e8; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: url("https://images.pexels.com/photos/274506/pexels-photo-274506.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover; opacity: .08; }
.hero-inner { position: relative; z-index: 2; padding: 4rem 0 6rem; width: 100%; }
.hero-row { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.hero-left { flex: 1 1 480px; }
.hero-right { flex: 0 1 400px; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #f8a0a0; margin-bottom: 1rem; }
.eyebrow.dark { color: var(--primary); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.1rem; max-width: 480px; color: #d8b8b8; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat strong { font-family: var(--font-head); font-size: 2rem; color: #fff; display: block; }
.hero-stat span { font-size: .85rem; color: #c8a0a0; }
.hero-search { background: rgba(255,255,255,.97); border-radius: 20px; padding: 1.75rem; box-shadow: 0 20px 60px rgba(0,0,0,.25); backdrop-filter: blur(8px); }
.hero-search-title { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin-bottom: .3rem; }
.hero-search-sub { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.hero-search .qs-group { margin-bottom: .9rem; }
.hero-search .qs-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .76rem; color: var(--muted); margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .05em; }
.hero-search .qs-group select, .hero-search .qs-group input { border: 1.5px solid var(--line); border-radius: 10px; padding: .65rem .8rem; font-family: var(--font-body); font-size: .95rem; color: var(--ink); width: 100%; background: #fff; }
.hero-search .qs-group select:focus, .hero-search .qs-group input:focus { outline: none; border-color: var(--primary); }
.hero-search-btn { width: 100%; padding: .8rem; font-size: 1rem; margin-top: .3rem; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 1; line-height: 0; }
.hero-wave svg { width: 100%; height: 120px; display: block; }

/* ---------- Sport tiles ---------- */
.sport-section { padding: 4rem 0 3rem; }
.sport-section-head { text-align: center; margin-bottom: 2.5rem; }
.sport-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .5rem; }
.sport-section-head p { color: var(--ink-soft); font-size: 1rem; }
.sport-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.sport-tile { display: flex; align-items: center; gap: .65rem; padding: .85rem 1.4rem; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink-soft); cursor: pointer; transition: all .25s; }
.sport-tile i { font-size: 1.25rem; color: var(--muted); transition: color .25s; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--bg-alt); line-height: 1; }
.sport-tile i.fas, .sport-tile i.far, .sport-tile i.fab { display: inline-flex; align-items: center; justify-content: center; }
.sport-tile:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.sport-tile:hover i, .sport-tile.active i { color: #fff; background: var(--primary); }
.sport-tile.active { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.sport-tile .sport-tile-count { font-size: .75rem; color: var(--muted); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-tint { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: .8rem; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Field cards ---------- */
.field-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; height: 100%; }
.field-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.field-thumb { position: relative; height: 200px; overflow: hidden; }
.field-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.field-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #fce8e8, #f8d1d1); }
.field-card:hover .field-thumb img { transform: scale(1.05); }
.field-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--primary-700); font-family: var(--font-head); font-weight: 700; font-size: .76rem; padding: .3rem .7rem; border-radius: 8px; backdrop-filter: blur(4px); }
.field-fav { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.field-fav:hover { background: #fff; color: var(--error); }
.field-fav.active { color: var(--error); }
.field-body { padding: 1.25rem 1.4rem 1.4rem; }
.field-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.field-loc { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.field-loc i { color: var(--primary); }
.field-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.tag { font-size: .74rem; font-weight: 600; padding: .25rem .6rem; border-radius: 7px; background: var(--bg-alt); color: var(--ink-soft); }
.tag.green { background: var(--primary-50); color: var(--primary-700); }
.field-foot { display: flex; justify-content: space-between; align-items: flex-end; padding-top: .8rem; border-top: 1px dashed var(--line); }
.field-price strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.field-price span { font-size: .8rem; color: var(--muted); }
.field-rating { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.field-rating i { color: var(--accent); }

/* ---------- How it works ---------- */
.step-card { text-align: center; padding: 2rem 1.5rem; }
.step-num { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 1.2rem; background: linear-gradient(135deg, var(--primary), var(--primary-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; box-shadow: 0 6px 16px rgba(184,30,32,.3); }
.step-card h4 { font-size: 1.1rem; margin-bottom: .5rem; }
.step-card p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Feature ---------- */
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; height: 100%; transition: transform .3s, box-shadow .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem; background: var(--primary-50); color: var(--primary-700); display: grid; place-items: center; font-size: 1.3rem; }
.feature-card h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature-card p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ---------- Reviews ---------- */
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; height: 100%; position: relative; }
.review-card::before { content: "\201C"; position: absolute; top: 10px; right: 20px; font-family: Georgia; font-size: 4rem; color: var(--primary-100); line-height: 1; }
.review-text { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.review-author { display: flex; align-items: center; gap: .8rem; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-avatar--placeholder { display: grid; place-items: center; background: var(--primary-50); color: var(--primary-700); font-size: 1.1rem; }
.review-name { font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.review-role { font-size: .8rem; color: var(--muted); }
.review-stars { color: var(--accent); font-size: .85rem; margin-bottom: .5rem; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow); }
.contact-info-item { display: flex; gap: .8rem; margin-bottom: 1.5rem; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: var(--primary-50); color: var(--primary-700); display: grid; place-items: center; font-size: 1.1rem; }
.contact-info-item h5 { font-size: .95rem; margin-bottom: .2rem; }
.contact-info-item p { color: var(--ink-soft); font-size: .88rem; margin: 0; }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: 10px; padding: .65rem .8rem; font-family: var(--font-body); font-size: .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(184,30,32,.1); }
#contactFeedback { color: var(--primary); font-weight: 600; font-size: .9rem; min-height: 1.2rem; }

/* ---------- CTA band ---------- */
.cta-band { padding: 3rem 0; }
.cta-card { background: linear-gradient(135deg, var(--primary), var(--primary-700)); border-radius: 24px; padding: 3rem; color: #fff; text-align: center; }
.cta-card h2 { color: #fff; margin-bottom: .5rem; }
.cta-card p { color: #f8c8c8; margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { background: #2a0a0a; color: #d8b8b8; padding: 4rem 0 2rem; }
.footer-fagleague {
    background: #20283f;
    color: #fff;
    padding: 2.5rem 0;
}
.footer-fagleague p {
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}
.footer-fag-copy p:last-child {
    margin-bottom: 1.25rem;
}
.footer-fag-apps {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.25rem;
}
.footer-fag-apps a.footer-fag-store {
    display: inline-flex;
    flex-shrink: 0;
    margin: 0;
    line-height: 0;
}
.footer-fag-app-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}
.footer-fag-store img {
    display: block;
    height: 26px;
    width: auto;
}
.footer-fag-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}
.footer-fag-contact li:last-child {
    margin-bottom: 0;
}
.footer-fag-contact i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.85);
}
.footer-fag-contact a {
    display: inline;
    color: #fff;
    text-decoration: none;
    margin: 0;
}
.footer-fag-contact a:hover {
    color: #f8c8c8;
}
.footer h5 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.2rem; }
.footer a { display: block; color: #a88; font-size: .9rem; margin-bottom: .6rem; transition: color .2s; }
.footer a:hover { color: #f8a0a0; }
.footer-about { font-size: .9rem; color: #a88; margin-bottom: 1.2rem; max-width: 300px; }
.brand-name.light { color: #fff; }
.social-row { display: flex; gap: .6rem; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #d8b8b8; margin: 0; transition: all .2s; }
.social-row a:hover { background: var(--primary); color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; font-size: .82rem; color: #886a6a; flex-wrap: wrap; gap: .5rem; }
.footer-bottom i { color: var(--error); }

/* ---------- Booking modal ---------- */
.modal-content { border: none; border-radius: 20px; overflow: hidden; }
.modal-header { border-bottom: 1px solid var(--line); padding: 1.5rem; }
.modal-title { font-size: 1.3rem; font-weight: 800; }
.modal-body { padding: 1.5rem; }
.booking-thumb { border-radius: 14px; overflow: hidden; margin-bottom: 1rem; }
.booking-thumb img { width: 100%; height: 180px; object-fit: cover; }
.booking-meta { list-style: none; padding: 0; margin: 0; }
.booking-meta li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); margin-bottom: .6rem; }
.booking-meta i { color: var(--primary); width: 18px; }
.sport-pick-wrap { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.sport-pick-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.sport-pick { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: .5rem .7rem; font-size: .82rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .2s; }
.sport-pick:hover { border-color: var(--primary); color: var(--primary); }
.sport-pick.selected { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Page hero (listing) ---------- */
.page-hero { position: relative; background: radial-gradient(1200px 600px at 80% -10%, rgba(245,158,11,.25), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(184,30,32,.35), transparent 55%), linear-gradient(135deg, #2a0a0a 0%, #4a1010 45%, #6b1818 100%); color: #fde8e8; padding: 3.5rem 0 6rem; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 2; }
.page-breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: #c8a0a0; margin-bottom: 1.2rem; }
.page-breadcrumb a { color: #f8a0a0; }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb i { font-size: .65rem; }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem; box-shadow: var(--shadow-sm); }
.filter-group { flex: 1 1 180px; min-width: 150px; }
.filter-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .76rem; color: var(--muted); margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .05em; }
.active-chips { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; }
.chip-active { display: inline-flex; align-items: center; gap: .4rem; background: rgba(184,30,32,.1); color: var(--primary-700); border: 1px solid rgba(184,30,32,.2); border-radius: 999px; padding: .35rem .8rem; font-size: .82rem; font-weight: 600; }
.chip-active i { font-size: .7rem; cursor: pointer; opacity: .6; }
.chip-active i:hover { opacity: 1; }
.chip-clear-all { background: none; border: none; color: var(--muted); font-size: .82rem; font-weight: 600; cursor: pointer; text-decoration: underline; padding: .2rem .4rem; }
.chip-clear-all:hover { color: var(--error); }
.no-result { color: var(--muted); font-size: 1rem; padding: 2rem; }

/* ---------- Reveal (progressive enhancement — visible without JS) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* Anchor scroll offset for sticky navbar */
section[id] { scroll-margin-top: 88px; }

/* ================================================================
   FIELD DETAIL PAGE
   ================================================================ */

.detail-gallery { position: relative; border-radius: 20px; overflow: hidden; background: #000; height: 480px; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.gallery-counter { position: absolute; bottom: 16px; left: 16px; background: rgba(0,0,0,.6); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: .35rem .8rem; border-radius: 8px; backdrop-filter: blur(4px); display: flex; align-items: center; gap: .4rem; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow); transition: all .2s; }
.gallery-nav:hover { background: #fff; box-shadow: var(--shadow-lg); }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; }
.gallery-thumb { width: 80px; height: 56px; border-radius: 10px; overflow: hidden; cursor: pointer; flex-shrink: 0; border: 2px solid transparent; transition: border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--primary); }

.detail-breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted); margin-top: 1.2rem; margin-bottom: 1rem; }
.detail-breadcrumb a { color: var(--primary-700); }
.detail-breadcrumb a:hover { text-decoration: underline; }
.detail-breadcrumb i { font-size: .65rem; color: var(--muted); }

.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.detail-sport-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-50); color: var(--primary-700); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.detail-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: .3rem; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; font-size: .88rem; color: var(--muted); }
.detail-meta .rating { color: var(--ink); font-weight: 600; }
.detail-meta .rating i { color: var(--accent); }
.detail-head-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.detail-head-actions .btn { padding: .5rem 1.1rem; font-size: .88rem; }

.detail-tabs { display: flex; border-bottom: 2px solid var(--line); margin-bottom: 1.5rem; }
.detail-tab { font-family: var(--font-head); font-weight: 600; font-size: .95rem; padding: .8rem 1.5rem; background: none; border: none; color: var(--muted); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -2px; transition: all .2s; }
.detail-tab:hover { color: var(--ink); }
.detail-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.detail-desc { font-size: 1rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.5rem; }

.amenity-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.amenity-chip { display: inline-flex; align-items: center; gap: .5rem; background: var(--primary-50); color: var(--primary-700); border: 1px solid var(--primary-100); border-radius: 999px; padding: .45rem 1rem; font-size: .84rem; font-weight: 600; }
.amenity-chip i { font-size: 1rem; }

.map-placeholder { border-radius: 16px; overflow: hidden; height: 260px; background: var(--bg-alt); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); gap: .5rem; }
.map-placeholder i { font-size: 2.5rem; color: var(--primary); }
.map-placeholder p { font-size: .9rem; margin: 0; }
.map-address { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); margin-top: .8rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.map-address i { color: var(--primary); }

.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { background: var(--bg-alt); font-family: var(--font-head); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.price-table thead th:last-child { text-align: right; }
.price-table tbody td { padding: 1rem; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: middle; }
.price-table tbody td:last-child { text-align: right; color: var(--primary-700); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-period { display: flex; align-items: center; gap: .6rem; }
.price-period i { font-size: 1.1rem; }
.price-period i.sun { color: var(--accent); }
.price-period i.moon { color: #6366f1; }

/* -------- Booking sidebar -------- */
.booking-sidebar { position: sticky; top: 80px; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-lg); }
.booking-sidebar-title { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .5rem; }
.booking-sidebar-title i { color: var(--primary); }

.sidebar-sport-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.sidebar-sport-btn { flex: 1; min-width: 80px; padding: .55rem .4rem; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--ink-soft); cursor: pointer; transition: all .2s; text-align: center; }
.sidebar-sport-btn:hover { border-color: var(--primary); color: var(--primary); }
.sidebar-sport-btn.active { background: var(--primary-50); border-color: var(--primary); color: var(--primary-700); }

.sb-label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .4rem; display: block; }
.date-display { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line); border-radius: 12px; padding: .65rem .9rem; cursor: pointer; transition: border-color .2s; margin-bottom: .5rem; background: #fff; }
.date-display:hover { border-color: var(--primary); }
.date-display span { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.date-display i { color: var(--muted); }

.cal-wrap { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 1.2rem; display: none; }
.cal-wrap.open { display: block; }
.cal-header { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: var(--primary-50); }
.cal-header span { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); }
.cal-nav { background: none; border: none; cursor: pointer; color: var(--primary-700); font-size: 1rem; padding: .2rem .5rem; border-radius: 6px; transition: background .2s; }
.cal-nav:hover { background: var(--primary-100); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: .6rem .6rem .8rem; background: #fff; }
.cal-day-head { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .72rem; color: var(--muted); padding: .3rem 0; }
.cal-day { text-align: center; padding: .45rem .2rem; border-radius: 8px; font-size: .85rem; font-family: var(--font-head); font-weight: 500; cursor: pointer; transition: all .2s; color: var(--ink); }
.cal-day:hover:not(.disabled):not(.active) { background: var(--primary-50); color: var(--primary-700); }
.cal-day.active { background: var(--primary); color: #fff; font-weight: 700; border-radius: 50%; }
.cal-day.today:not(.active) { color: var(--primary-700); font-weight: 700; }
.cal-day.other-month { color: var(--muted); opacity: .5; }
.cal-day.disabled { opacity: .3; cursor: not-allowed; }

.slot-section { margin-bottom: 1.2rem; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.time-slot { text-align: center; padding: .5rem .2rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: .78rem; color: var(--ink); cursor: pointer; transition: all .2s; background: #fff; white-space: nowrap; }
.time-slot:hover:not(.taken) { border-color: var(--primary); color: var(--primary); }
.time-slot.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.time-slot.taken { opacity: .4; cursor: not-allowed; text-decoration: line-through; background: var(--bg-alt); }

.pay-summary { background: var(--bg-alt); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.pay-row { display: flex; justify-content: space-between; font-size: .88rem; color: var(--ink-soft); margin-bottom: .35rem; }
.pay-row:last-child { margin-bottom: 0; }
.pay-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.pay-total span { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.pay-total strong { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--primary-700); }

.btn-book-main { width: 100%; padding: .9rem; font-size: 1.05rem; border-radius: 14px; background: linear-gradient(135deg, #f59e0b, #e07b00); color: #fff; font-family: var(--font-head); font-weight: 800; border: none; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: .6rem; box-shadow: 0 6px 20px rgba(245,158,11,.35); }
.btn-book-main:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,158,11,.45); }
.btn-book-main:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.booking-secure { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .78rem; color: var(--muted); margin-top: .6rem; }
.booking-secure i { color: var(--primary); }

.sidebar-contact { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.sidebar-contact-title { font-family: var(--font-head); font-weight: 800; font-size: .95rem; margin-bottom: .9rem; display: flex; align-items: center; gap: .45rem; color: var(--ink); }
.sidebar-contact-title i { color: var(--primary); }
.sidebar-contact-item { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .75rem; }
.sidebar-contact-item:last-child { margin-bottom: 0; }
.sidebar-contact-icon { width: 32px; height: 32px; border-radius: 10px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; font-size: .9rem; }
.sidebar-contact-body { min-width: 0; }
.sidebar-contact-label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .15rem; }
.sidebar-contact-value { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.45; word-break: break-word; }
.sidebar-contact-value.muted { color: var(--muted); font-weight: 500; }
a.sidebar-contact-value { color: var(--primary-700); text-decoration: none; }
a.sidebar-contact-value:hover { color: var(--primary); text-decoration: underline; }
.sidebar-contact-link { display: inline-block; margin-top: .2rem; font-size: .8rem; font-weight: 600; color: var(--primary-700); text-decoration: none; }
.sidebar-contact-link:hover { color: var(--primary); text-decoration: underline; }

.booking-history-page .contact-card { padding: 1.25rem 1.5rem; }
.booking-history-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.booking-history-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
.booking-history-code {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
}
.booking-history-date {
  font-size: .88rem;
  color: var(--muted);
  margin-top: .15rem;
}
.booking-history-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: .35rem;
}
.booking-history-row i { color: var(--primary); width: 18px; }
.booking-history-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.booking-history-link {
  font-size: .86rem;
  font-weight: 600;
  color: var(--primary-700);
  text-decoration: none;
}
.booking-history-link:hover { color: var(--primary); }

.detail-map { width: 100%; height: 320px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 1rem; background: var(--bg-alt); }
.leaflet-div-icon.sfm-map-marker-wrap {
    background: transparent;
    border: none;
    overflow: visible;
}
.sfm-map-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
}
.sfm-map-marker__label {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 8px 14px 10px;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.16);
    margin-bottom: 4px;
    max-width: 220px;
}
.sfm-map-marker__text {
    display: block;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: #dc2626;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
}
.sfm-map-marker__arrow {
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 0;
    margin-left: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
    z-index: 2;
}
.sfm-map-marker__pin {
    width: 25px;
    height: 41px;
    background: url('https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/images/marker-icon.png') no-repeat center / contain;
    flex-shrink: 0;
}
.detail-direction-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .75rem;
    padding: .55rem 1.1rem;
    font-size: .9rem;
    text-decoration: none;
}
.detail-direction-btn:hover { color: #fff; }

/* Responsive */
@media (max-width: 991px) {
  .hero-right { flex: 1 1 100%; }
  .detail-gallery { height: 280px; }
  .booking-sidebar { position: static; margin-top: 2rem; }
}
@media (max-width: 768px) {
  .hero-stats { gap: 1.5rem; }
  .cta-card { padding: 2rem 1.5rem; }
  .hero-wave svg { height: 60px; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
}

/* FAG public site logo */
.sfm-public-logo { height: 38px; width: auto; display: block; }
.sfm-public-logo--footer { height: 36px; }
