:root {
    --pf-blue: #0b63ce;
    --pf-blue-dark: #063f84;
    --pf-green: #34a853;
    --pf-green-dark: #20793a;
    --pf-ink: #102033;
    --pf-muted: #5f6f83;
    --pf-light: #f4f8fc;
    --pf-white: #ffffff;
    --pf-border: #dfe7f1;
    --pf-shadow: 0 18px 45px rgba(16, 32, 51, .12);
    --pf-radius: 24px;
    --pf-radius-sm: 14px;
    --pf-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--pf-ink);
    background: var(--pf-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: inherit; }
img, video { max-width: 100%; height: auto; }

.pf-container {
    width: min(var(--pf-container), calc(100% - 40px));
    margin: 0 auto;
}
.pf-narrow { max-width: 860px; }

.pf-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(223, 231, 241, .9);
}
.pf-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}
.pf-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
}
.pf-logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--pf-blue), var(--pf-green));
    font-size: 13px;
}
.pf-logo-text { white-space: nowrap; }
.pf-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.pf-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.pf-brand .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 54px;
    max-width: 260px;
    object-fit: contain;
}
.pf-nav { margin-left: auto; }
.pf-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pf-menu a {
    color: var(--pf-ink);
    font-weight: 700;
    text-decoration: none;
}
.pf-menu a:hover { color: var(--pf-blue); }
.pf-nav-toggle { display: none; }

.pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pf-btn:hover { transform: translateY(-1px); }
.pf-btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.pf-btn-primary { color: white; background: var(--pf-blue); box-shadow: 0 10px 28px rgba(11, 99, 206, .26); }
.pf-btn-primary:hover { background: var(--pf-blue-dark); }
.pf-btn-secondary { color: white; background: var(--pf-green); box-shadow: 0 10px 28px rgba(52, 168, 83, .24); }
.pf-btn-secondary:hover { background: var(--pf-green-dark); }
.pf-btn-outline { color: var(--pf-blue); border-color: var(--pf-blue); background: white; }
.pf-btn-outline-light { color: white; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); }
.pf-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pf-actions-wrap { margin-top: 20px; }

.pf-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, var(--pf-blue-dark), var(--pf-green-dark));
}
.pf-hero-media, .pf-hero-media video, .pf-hero-fallback, .pf-hero-overlay {
    position: absolute;
    inset: 0;
}
.pf-hero-media video, .pf-hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pf-hero-fallback {
    background: radial-gradient(circle at 20% 20%, rgba(52,168,83,.45), transparent 34%), linear-gradient(135deg, #063f84, #0b63ce 55%, #34a853);
    background-size: cover;
    background-position: center;
}
.pf-hero-overlay {
    background: linear-gradient(90deg, rgba(6,63,132,.86), rgba(6,63,132,.5), rgba(16,32,51,.1));
}
.pf-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 110px 0;
}
.pf-hero h1, .pf-page-hero h1 {
    margin: 12px 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .96;
    letter-spacing: -0.05em;
}
.pf-hero p, .pf-page-hero p {
    max-width: 680px;
    margin: 0 0 30px;
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255,255,255,.9);
}
.pf-sport-hero {
    min-height: 500px;
}
.pf-hero-padel {
    background: radial-gradient(circle at 80% 10%, rgba(52,168,83,.5), transparent 30%), linear-gradient(135deg, #053e7d, #0b63ce);
}
.pf-hero-futsal {
    background: radial-gradient(circle at 80% 10%, rgba(11,99,206,.45), transparent 30%), linear-gradient(135deg, #0f6a31, #34a853);
}

.pf-section {
    padding: 88px 0;
}
.pf-section-light { background: var(--pf-light); }
.pf-section-head {
    max-width: 760px;
    margin: 0 0 34px;
}
.pf-section-head h2, .pf-video-copy h2, .pf-contact-strip h2, .pf-page-content h1, .pf-page-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -0.04em;
}
.pf-section-head p, .pf-video-copy p, .pf-contact-strip p { color: var(--pf-muted); font-size: 18px; }
.pf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pf-green);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.pf-page-hero {
    color: white;
    background: linear-gradient(135deg, var(--pf-blue-dark), var(--pf-blue));
}
.pf-page-hero p { color: rgba(255,255,255,.9); }

.pf-grid { display: grid; gap: 24px; }
.pf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }

.pf-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius);
    background: white;
    box-shadow: 0 8px 28px rgba(16, 32, 51, .06);
}
.pf-card h3 { margin: 10px 0 12px; font-size: 24px; line-height: 1.15; }
.pf-card p { color: var(--pf-muted); }
.pf-sport-card { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; color: white; overflow: hidden; }
.pf-sport-card p { color: rgba(255,255,255,.86); }
.pf-card-blue { background: linear-gradient(135deg, #063f84, #0b63ce); }
.pf-card-green { background: linear-gradient(135deg, #20793a, #34a853); }
.pf-card-img { width: calc(100% + 56px); height: 190px; object-fit: cover; margin: -28px -28px 22px; border-radius: var(--pf-radius) var(--pf-radius) 0 0; }
.pf-card-img-placeholder {
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pf-blue), var(--pf-green));
}
.pf-card-body { padding: 0; }
.pf-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(11,99,206,.1);
    color: var(--pf-blue);
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 900;
}
.pf-meta { color: var(--pf-muted); font-size: 14px; }
.pf-price { margin: 14px 0; font-size: 34px; font-weight: 900; color: var(--pf-blue); letter-spacing: -0.04em; }
.pf-ribbon {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 11px;
    border-radius: 999px;
    color: white;
    background: var(--pf-green);
    font-size: 12px;
    font-weight: 900;
}
.pf-membership-card.is-featured { border-color: rgba(52,168,83,.55); box-shadow: var(--pf-shadow); }
.pf-check-list { padding: 0; margin: 18px 0; list-style: none; }
.pf-check-list li { position: relative; padding-left: 28px; margin: 10px 0; }
.pf-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .28em;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--pf-green);
}
.pf-check-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: .55em;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pf-video-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 32px; align-items: center; }
.pf-video-frame {
    min-height: 430px;
    border-radius: var(--pf-radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--pf-blue), var(--pf-green));
    background-position: center;
    background-size: cover;
    box-shadow: var(--pf-shadow);
}
.pf-video-frame video { display: block; width: 100%; height: 430px; object-fit: cover; }
.pf-placeholder-video { height: 430px; display: grid; place-items: center; text-align: center; color: white; padding: 24px; }
.pf-placeholder-video span { display: block; font-size: 28px; font-weight: 900; }
.pf-placeholder-video small { display: block; opacity: .85; }

.pf-tabs {
    position: sticky;
    top: 76px;
    z-index: 40;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px max(20px, calc((100vw - var(--pf-container)) / 2));
    border-bottom: 1px solid var(--pf-border);
    background: white;
}
.pf-tabs a, .pf-filter-tabs a {
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--pf-light);
    color: var(--pf-ink);
    font-weight: 800;
    text-decoration: none;
}
.pf-tabs a:hover, .pf-filter-tabs a:hover, .pf-filter-tabs .is-active { background: var(--pf-blue); color: white; }
.pf-filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }

.pf-schedule-grid { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.pf-schedule-day { min-width: 150px; padding: 18px; border-radius: var(--pf-radius-sm); background: white; border: 1px solid var(--pf-border); }
.pf-schedule-day h3 { margin: 0 0 14px; font-size: 17px; }
.pf-schedule-item { border-left: 5px solid var(--pf-item-color); padding: 12px; border-radius: 12px; background: var(--pf-light); margin-bottom: 10px; }
.pf-schedule-item strong, .pf-schedule-item span, .pf-schedule-item em { display: block; }
.pf-schedule-item span, .pf-schedule-item em, .pf-muted { color: var(--pf-muted); font-size: 13px; }

.pf-faq-list { display: grid; gap: 12px; }
.pf-faq { border: 1px solid var(--pf-border); border-radius: var(--pf-radius-sm); background: white; overflow: hidden; }
.pf-faq summary { cursor: pointer; padding: 18px 20px; font-weight: 900; }
.pf-faq div { padding: 0 20px 18px; color: var(--pf-muted); }

.pf-contact-strip { color: white; background: linear-gradient(135deg, var(--pf-blue), var(--pf-green)); }
.pf-contact-strip p { color: rgba(255,255,255,.9); }
.pf-contact-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pf-contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 28px; align-items: start; }
.pf-contact-card input, .pf-contact-card textarea, .pf-contact-card select,
.wpcf7 input, .wpcf7 textarea, .wpcf7 select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--pf-border);
    border-radius: 14px;
    font: inherit;
}
.wpcf7 textarea { min-height: 140px; }
.wpcf7-submit {
    width: auto !important;
    border: 0 !important;
    color: white;
    background: var(--pf-blue);
    font-weight: 900;
    cursor: pointer;
}
.pf-map iframe { width: 100%; border: 0; border-radius: var(--pf-radius); min-height: 320px; }

.pf-footer { color: white; background: #08182a; padding: 64px 0 26px; }
.pf-footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 32px; }
.pf-footer a { color: white; }
.pf-footer p { color: rgba(255,255,255,.76); }
.pf-footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.68); }
.pf-section-actions { margin-top: 28px; }

@media (max-width: 980px) {
    .pf-header-inner { gap: 12px; }
    .pf-nav-toggle { display: inline-flex; margin-left: auto; border: 0; border-radius: 999px; padding: 10px 14px; background: var(--pf-light); font-weight: 900; }
    .pf-nav { display: none; position: absolute; left: 20px; right: 20px; top: 76px; padding: 18px; border-radius: var(--pf-radius-sm); background: white; box-shadow: var(--pf-shadow); }
    .pf-nav.is-open { display: block; }
    .pf-menu { display: grid; gap: 12px; }
    .pf-header-cta { display: none; }
    .pf-grid-3, .pf-grid-2, .pf-two-col, .pf-video-grid, .pf-contact-grid, .pf-footer-grid { grid-template-columns: 1fr; }
    .pf-hero { min-height: 560px; }
    .pf-schedule-grid { grid-template-columns: 1fr; overflow: visible; }
    .pf-schedule-day { min-width: 0; }
}

@media (max-width: 640px) {
    .pf-container { width: min(100% - 28px, var(--pf-container)); }
    .pf-section { padding: 60px 0; }
    .pf-hero h1, .pf-page-hero h1 { font-size: 44px; }
    .pf-hero-content { padding: 84px 0; }
    .pf-contact-strip-inner { align-items: flex-start; flex-direction: column; }
    .pf-video-frame, .pf-video-frame video, .pf-placeholder-video { min-height: 300px; height: 300px; }
}

/* v0.2 image-placeholder support */
.pf-sport-hero .pf-hero-fallback {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.pf-image-frame {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* v0.3 media-managed section images */
.pf-sport-card-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.pf-page-hero-image {
    min-height: 360px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.pf-page-hero-image .pf-container {
    position: relative;
    z-index: 1;
}
.pf-overview-visual {
    min-height: 440px;
    border-radius: var(--pf-radius);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--pf-shadow);
}
.pf-check-list-dark li {
    color: var(--pf-ink);
}

@media (max-width: 640px) {
    .pf-page-hero-image { min-height: 320px; }
    .pf-overview-visual { min-height: 320px; }
}

/* v0.5 home layout refinements */
.pf-hero-home {
    min-height: 500px;
}
.pf-hero-home .pf-hero-content {
    padding-top: 88px;
    padding-bottom: 88px;
}
@media (max-width: 980px) {
    .pf-hero-home { min-height: 450px; }
}
@media (max-width: 640px) {
    .pf-hero-home { min-height: 448px; }
    .pf-hero-home .pf-hero-content { padding-top: 68px; padding-bottom: 68px; }
}


/* v0.6 unified page system */
:root {
    --pf-section-space: 76px;
    --pf-hero-height: 500px;
    --pf-hero-height-tablet: 450px;
    --pf-hero-height-mobile: 400px;
}

/* Every top-level hero uses the same geometry. */
.pf-hero,
.pf-hero-home,
.pf-sport-hero,
.pf-page-hero,
.pf-page-hero-image {
    min-height: var(--pf-hero-height);
}
.pf-page-hero {
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.pf-page-hero > .pf-container {
    width: min(var(--pf-container), calc(100% - 40px));
    position: relative;
    z-index: 2;
}
.pf-hero-content,
.pf-hero-home .pf-hero-content {
    padding-top: 72px;
    padding-bottom: 72px;
}
.pf-hero h1,
.pf-page-hero h1 {
    max-width: 900px;
    margin: 10px 0 16px;
    font-size: clamp(42px, 5.5vw, 68px);
    line-height: .98;
    letter-spacing: -.045em;
}
.pf-hero p,
.pf-page-hero p {
    max-width: 680px;
    margin: 0 0 28px;
    font-size: clamp(18px, 1.8vw, 21px);
}

/* Shared section rhythm and heading scale. */
.pf-section { padding: var(--pf-section-space) 0; }
.pf-section-head { margin-bottom: 30px; }
.pf-section-head h2,
.pf-video-copy h2,
.pf-contact-strip h2,
.pf-page-content h1 {
    font-size: clamp(32px, 3.6vw, 48px);
    line-height: 1.02;
}
.pf-section-head p,
.pf-video-copy p,
.pf-contact-strip p { font-size: 17px; }

/* Equal card geometry across listing sections. */
.pf-grid { align-items: stretch; }
.pf-event-card,
.pf-pricing-card,
.pf-membership-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pf-event-card .pf-card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pf-event-card .pf-btn,
.pf-pricing-card .pf-btn,
.pf-membership-card .pf-btn {
    margin-top: auto;
    align-self: flex-start;
}
.pf-card-img { height: 210px; }
.pf-sport-card { min-height: 320px; }

/* Overview and Experience images share one visual ratio. */
.pf-overview-visual,
.pf-video-frame,
.pf-video-frame video,
.pf-placeholder-video {
    min-height: 390px;
    height: 390px;
}
.pf-video-frame video { object-fit: cover; }
.pf-video-grid,
.pf-two-col { gap: 44px; }

/* Consistent end CTA on all content pages. */
.pf-contact-strip { padding: 58px 0; }
.pf-contact-strip h2 { margin-bottom: 8px; }

/* Make anchored sections land below sticky header + tabs. */
.pf-section[id] { scroll-margin-top: 142px; }

@media (max-width: 980px) {
    .pf-hero,
    .pf-hero-home,
    .pf-sport-hero,
    .pf-page-hero,
    .pf-page-hero-image {
        min-height: var(--pf-hero-height-tablet);
    }
    .pf-section { padding: 64px 0; }
    .pf-card-img { height: 230px; }
}

@media (max-width: 640px) {
    .pf-hero,
    .pf-hero-home,
    .pf-sport-hero,
    .pf-page-hero,
    .pf-page-hero-image {
        min-height: var(--pf-hero-height-mobile);
    }
    .pf-hero-content,
    .pf-hero-home .pf-hero-content {
        padding-top: 58px;
        padding-bottom: 58px;
    }
    .pf-hero h1,
    .pf-page-hero h1 { font-size: 40px; }
    .pf-section { padding: 54px 0; }
    .pf-section-head { margin-bottom: 24px; }
    .pf-overview-visual,
    .pf-video-frame,
    .pf-video-frame video,
    .pf-placeholder-video {
        min-height: 300px;
        height: 300px;
    }
    .pf-card-img { height: 200px; }
    .pf-contact-strip { padding: 48px 0; }
}


/* v0.7 floating round logo */
.pf-header {
    overflow: visible;
}
.pf-header-inner {
    position: relative;
    overflow: visible;
}
.pf-brand {
    position: relative;
    width: 132px;
    height: 76px;
    align-self: stretch;
    overflow: visible;
    z-index: 65;
}
.pf-brand .custom-logo-link {
    position: absolute;
    top: 8px;
    left: 0;
    display: block;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    text-decoration: none;
    filter: drop-shadow(0 10px 18px rgba(16, 32, 51, .18));
    transition: transform .18s ease, filter .18s ease;
}
.pf-brand .custom-logo-link:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 13px 22px rgba(16, 32, 51, .22));
}
.pf-brand .custom-logo {
    display: block;
    width: 116px;
    height: 116px;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

@media (max-width: 980px) {
    .pf-brand {
        width: 108px;
    }
    .pf-brand .custom-logo-link,
    .pf-brand .custom-logo {
        width: 94px;
        height: 94px;
    }
    .pf-brand .custom-logo-link {
        top: 10px;
    }
}

@media (max-width: 640px) {
    .pf-header-inner {
        min-height: 68px;
    }
    .pf-brand {
        width: 82px;
        height: 68px;
    }
    .pf-brand .custom-logo-link,
    .pf-brand .custom-logo {
        width: 76px;
        height: 76px;
    }
    .pf-brand .custom-logo-link {
        top: 8px;
    }
    .pf-nav {
        top: 68px;
    }
}
