/* Club Deal theme. Mobile first. Brand: navy #23346F, red #EE3640, white. */

@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2"); }

:root {
	--navy: #23346f;
	--navy-deep: #18244f;
	--red: #ee3640;
	--red-dark: #c81f29;
	--ink: #1b2340;
	--muted: #586079;
	--line: #dfe3ee;
	--tint: #f3f5fa;
	--white: #fff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(24, 36, 79, .10);
	--wrap: 1120px;
	--gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
.h-xl { font-size: clamp(1.7rem, 5vw, 2.5rem); }
.h-lg { font-size: clamp(1.35rem, 4vw, 1.8rem); }
.h-sm { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.small { font-size: .9rem; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); }
.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--red); margin-bottom: .6em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Placeholders: anything awaiting approval. Remove nothing — approve it in the admin. */
.ph { background: #fff3b0; color: #6b4e00; border-radius: 4px; padding: 0 .25em; font-weight: 700; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 800; text-decoration: none; border: 2px solid transparent; border-radius: 999px; padding: .8em 1.5em; cursor: pointer; text-align: center; line-height: 1.2; transition: transform .1s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand .logo { width: 104px; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 20px; }
.nav ul a { text-decoration: none; font-weight: 700; color: var(--ink); }
@media (min-width: 760px) { .nav ul { display: flex; } .brand .logo { width: 124px; } }

/* Brush accent (from the brochure's red brush swoosh) */
.brush { height: 56px; background: url("../img/brush.svg") center / 100% 100% no-repeat; }
.brush-bottom { position: absolute; left: 0; right: 0; bottom: -1px; }
.brush-top { transform: scaleY(-1); margin-bottom: -1px; height: 40px; }

/* Hero */
.hero { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); padding: 48px 0 110px; overflow: hidden; }
.hero h1, .hero .lead { color: var(--white); }
.hero .eyebrow { color: #ffb3b7; }
.hero-sm { padding: 40px 0 90px; }
.hero-inner { display: grid; gap: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hero .ticks { grid-auto-flow: row; }
.hero-art { position: relative; min-height: 260px; }
.hero-photo { position: absolute; inset: 0; border-radius: 24px 24px 24px 80px; background: url("../img/hero.jpg") 55% 35% / cover no-repeat, linear-gradient(135deg, #3a4f96, #23346f); box-shadow: var(--shadow); }
.goal-card { position: absolute; right: 12px; bottom: -18px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 14px 18px; width: 220px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.goal-card .goal-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.goal-card small { color: var(--muted); font-size: .75rem; }
.bar { display: block; height: 10px; background: var(--tint); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--red); border-radius: 99px; }
.strap { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 2; margin: 0 auto; color: var(--white); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; text-align: right; }
@media (min-width: 900px) {
	.hero { padding: 72px 0 130px; }
	.hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; }
	.hero-art { min-height: 380px; }
	.brush { height: 80px; }
}

/* Sections */
.section { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 24px; }
@media (min-width: 760px) { .steps:not(.steps-compact) { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; }
.step-no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: var(--white); font-weight: 900; font-size: 1.2rem; margin-bottom: 10px; }
.steps-compact li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps-compact p { margin: .45em 0 0; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card-navy h2 { color: var(--white); }
.ticks-dark li { margin-bottom: 6px; }
.cards-2, .cards-3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.service { border-left: 6px solid var(--navy); }
.service-health { border-left-color: var(--red); }
.service .by { font-size: .85rem; color: var(--muted); margin: 0; }
.split .card { height: 100%; }

/* Fee table */
.fees { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }
.fees th, .fees td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fees th { text-align: left; font-weight: 700; }
.fees td { text-align: right; font-weight: 900; color: var(--navy); font-size: 1.15rem; white-space: nowrap; padding-left: 12px; }
.fees .svc { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-weight: 800; }
.example { background: var(--tint); border-radius: 10px; padding: 12px 14px; }
.example p { margin: 0; }

/* Sports chips */
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 2px solid rgba(255, 255, 255, .35); border-radius: 99px; padding: .35em 1em; font-weight: 800; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 800; color: var(--navy); font-size: 1.05rem; list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.5rem; color: var(--red); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }

.cta-band { background: var(--red); color: var(--white); }
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band .btn-red { background: var(--navy); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

/* Campaign page */
.campaign-hero { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); padding: 36px 0 100px; }
.campaign-hero h1, .campaign-hero h2 { color: var(--white); }
.campaign-hero .eyebrow { color: #ffb3b7; margin: 0 0 .2em; }
.campaign-hero h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); margin: 0; }
.campaign-hero-inner { display: grid; gap: 28px; }
.club-id { display: flex; gap: 16px; align-items: center; }
.club-logo { width: 72px; height: 72px; border-radius: 50%; background: var(--white); object-fit: contain; padding: 6px; flex: none; }
.club-logo-blank { display: grid; place-items: center; color: var(--navy); font-weight: 900; font-size: 2rem; }
.goal { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 20px; }
.goal .goal-label { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin: 0 0 .3em; color: #cdd5f0; }
.goal-title { font-size: clamp(1.4rem, 4.5vw, 2rem); }
.progress .bar { background: rgba(255, 255, 255, .2); height: 12px; margin: 14px 0 8px; }
.progress p { margin: 0; }
.progress small { color: #cdd5f0; }
@media (min-width: 900px) { .campaign-hero-inner { grid-template-columns: 1fr 1fr; align-items: center; } .club-logo { width: 88px; height: 88px; } }

.campaign-grid { display: grid; gap: 32px; }
.campaign-main > h2 { margin-top: 36px; }
.offer { border-top: 6px solid var(--red); }
.offer.is-placeholder { border-top-color: #e7c400; }
.campaign-form { order: -1; }
@media (min-width: 900px) {
	.campaign-grid { grid-template-columns: 1fr 400px; align-items: start; gap: 48px; }
	.campaign-form { order: 0; position: sticky; top: 84px; }
}

.notice { border-left: 6px solid var(--navy); background: var(--tint); padding: 20px 22px; border-radius: 8px; }
.notice-closed { border-left-color: var(--muted); }
.notice-upcoming, .notice-paused { border-left-color: var(--red); }

/* Forms */
.form-card { padding: 24px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="number"], .form select, .form textarea {
	font: inherit; font-weight: 400; width: 100%; padding: .75em .85em; border: 2px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); min-height: 48px;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(35, 52, 111, .15); }
.form .opt { font-weight: 400; color: var(--muted); }
.form .row-2 { display: grid; gap: 14px; }
@media (min-width: 480px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.form legend { font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.check-card { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px !important; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.check-card:has(input:checked) { border-color: var(--red); background: #fff5f5; }
.check-card span { display: grid; gap: 2px; }
.check-card small { font-weight: 400; color: var(--muted); }
.check { display: flex !important; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; font-size: .92rem !important; }
.form input[type="checkbox"] { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.form .invalid input, .form .invalid select, .form fieldset.invalid .check-card { border-color: var(--red); }
.form .check.invalid { color: var(--red-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { background: #fff0f0; border: 2px solid var(--red); border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; }
.form-errors ul { margin: 0; padding-left: 20px; }
.notice-text { margin: 0; }

/* Thank-you */
.ref { background: var(--white); color: var(--navy); padding: .1em .5em; border-radius: 8px; letter-spacing: .06em; }
.share { margin: 28px 0; }
.share-row { display: flex; gap: 8px; }
.share-row input { flex: 1; min-width: 0; font: inherit; padding: .5em .7em; border: 2px solid var(--line); border-radius: 10px; }

/* Text pages */
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #d9def0; border-top: 6px solid var(--red); }
.footer-inner { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 24px; }
.footer-inner .logo { width: 130px; }
.site-footer h2 { color: var(--white); }
.site-footer a { color: var(--white); }
.tagline { font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-top: 10px; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.legal { font-size: .82rem; color: #aab3d3; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 28px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* What earns money (no amounts are published) */
.switch-list { list-style: none; padding: 0; margin: 8px 0 12px; }
.switch-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.switch-list .svc { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-weight: 800; }

/* Reviews and trust */
.reviews { background: linear-gradient(180deg, var(--tint) 0%, var(--white) 70%); }
.lead-dark { font-size: 1.1rem; max-width: 46em; }
.brands { display: grid; gap: 20px; margin: 28px 0 40px; }
@media (min-width: 860px) { .brands { grid-template-columns: 1fr 1fr; } }
.brand-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.brand-card header { background: var(--navy); color: var(--white); padding: 18px 22px; }
.brand-card h3 { color: var(--white); margin: 0; font-size: 1.4rem; }
.brand-card .since { margin: 2px 0 0; color: #cdd5f0; font-weight: 700; font-size: .9rem; }
.ratings { list-style: none; margin: 0; padding: 8px 22px; }
.rating { border-bottom: 1px solid var(--line); padding: 12px 0; }
.rating a, .rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; text-decoration: none; color: var(--ink); }
.rating .src { font-weight: 800; min-width: 84px; }
.rating strong { font-size: 1.5rem; color: var(--navy); font-weight: 900; }
.rating .count { color: var(--muted); font-size: .9rem; }
.stars { display: inline-flex; gap: 3px; }
.star { position: relative; width: 22px; height: 22px; background: #d9deea; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.star > span { position: absolute; inset: 0 auto 0 0; background: var(--red); }
.facts { margin: 0; padding: 14px 22px 20px 42px; display: grid; gap: 6px; color: var(--ink); }
.say-title { margin-top: 8px; }
.quotes { display: grid; gap: 16px; margin: 16px 0 40px; }
@media (min-width: 700px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .quotes { grid-template-columns: 1fr 1fr 1fr; } }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; }
.quote .star { width: 16px; height: 16px; }
.quote blockquote { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.quote figcaption { font-size: .85rem; color: var(--muted); }
.quote-energy { border-top: 4px solid var(--navy); }
.quote-health { border-top: 4px solid var(--red); }
.widgets { display: grid; gap: 20px; margin: 16px 0 40px; }
.promise { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.promise h3 { color: var(--white); }
.promise-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .promise-list { grid-template-columns: 1fr 1fr; } }
.promise-list strong { color: var(--white); display: block; }
.promise-list li { color: #d9def0; }
.trust-mini { list-style: none; padding: 12px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.rating-tp { list-style: none; }
.rating-tp .plain { list-style: none; padding: 0; margin: 0; }
.trustpilot-widget .tp-link { display: none; }
.carousel-block { margin: 16px 0 28px; }
.carousel-label { font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.carousel-block .quotes { margin: 0; }
.trust-mini li { display: grid; gap: 2px; }
.google-quotes { margin-top: 16px; }

/* Follow-up questions on the member form */
.followup { background: var(--tint); border-radius: 12px; padding: 14px !important; gap: 14px !important; }
.followup legend { float: left; width: 100%; margin-bottom: 2px; }
.field { display: grid; gap: 6px; }
.field-label { font-weight: 700; font-size: .95rem; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.form .chip { display: inline-flex !important; gap: 0 !important; font-weight: 700; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { border: 2px solid var(--line); background: var(--white); border-radius: 999px; padding: .45em .95em; font-size: .9rem; }
.chip input:checked + span { border-color: var(--red); background: #fff5f5; color: var(--red-dark); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.field.invalid .chip span { border-color: var(--red); }
.form [hidden] { display: none !important; }

/* Eligibility and payment terms on campaign pages */
.eligibility { background: #fff5f5; border-left: 4px solid var(--red, #d7262e); border-radius: 8px; padding: 14px 16px; margin: 12px 0; }
.eligibility p { margin: 0 0 8px; }
.eligibility p:last-child { margin-bottom: 0; }
