/* ==========================================================================
   UWR WORLD — Club page template (club website + recruitment landing)
   Builds on main.css tokens. Each club sets --club (accent) and --on-club (text on it).
   ========================================================================== */
.club-page { --club: var(--cyan); --on-club: #021226; --club2: #0C2240; --club-soft: color-mix(in srgb, var(--club) 16%, transparent); --club-line: color-mix(in srgb, var(--club) 45%, transparent); --club2-soft: color-mix(in srgb, var(--club2) 55%, var(--abyss));
  background: var(--abyss); }
.cp-wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.cp-loading { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }

/* Accent button */
.cp-btn { --bg: var(--club); --fg: var(--on-club); --bd: var(--club); box-shadow: 0 12px 40px -12px color-mix(in srgb, var(--club) 80%, transparent); }
.cp-btn:hover { --bg: color-mix(in srgb, var(--club) 82%, #fff); box-shadow: 0 0 0 6px var(--club-soft), 0 16px 50px -12px var(--club); }
.cp-btn-xl { padding: 19px 30px; font-size: 1.12rem; }

/* Demo banner */
.cp-demo-banner { position: relative; z-index: 60; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 9px var(--gutter); background: #1a0b16; border-bottom: 1px solid rgba(255,64,129,.35); color: #fbcfe8; font-size: .84rem; text-align: center; }

/* ---------- Header ---------- */
.cp-top { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 18px; padding-inline: var(--gutter);
  border-bottom: 1px solid transparent; transition: background var(--t-med), border-color var(--t-med); }
.cp-top.is-solid { background: rgba(2, 8, 18, .8); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.cp-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 700 1.2rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; min-width: 0; }
.cp-brand > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-brand-logo { width: 42px; height: 42px; flex: none; border-radius: 50%; object-fit: contain; background: #fff; padding: 3px; }
.cp-brand-logo.is-mono, .cp-hero-logo.is-mono, .cp-foot-logo.is-mono { display: grid; place-items: center; background: rgba(2,8,18,.6); border: 2px solid var(--club); color: var(--text); font: 700 1rem/1 var(--font-display); padding: 0; }
.cp-nav { margin-left: auto; }
.cp-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.cp-nav a { display: block; padding: 10px 13px; border-radius: var(--radius-pill); color: var(--text-2); text-decoration: none; font: 600 .9rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; transition: color var(--t-fast), background var(--t-fast); }
.cp-nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.cp-top > .cp-btn { flex: none; }
/* The language menu, before the button: it takes the free space when the links are hidden; only the globe on phones. */
.cp-top > .cp-lang { flex: none; }
@media (max-width: 860px) { .cp-nav { display: none; } .cp-top > .cp-btn { margin-left: auto; } .cp-top > .cp-lang { margin-left: auto; } .cp-top > .cp-lang + .cp-btn { margin-left: 0; } }
@media (max-width: 560px) { .cp-top { gap: 10px; } .cp-top > .cp-lang > summary { padding: 0 10px; } .cp-top > .cp-lang > summary > span { display: none; } }
@media (max-width: 420px) { .cp-brand { font-size: 1rem; } .cp-brand-logo { width: 36px; height: 36px; } .cp-top > .cp-btn { padding: 9px 12px; font-size: .74rem; letter-spacing: .08em; } }

/* ---------- Hero ---------- */
.cp-hero { position: relative; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(56px, 10vw, 120px)) 0 clamp(64px, 9vw, 110px); overflow: hidden; isolation: isolate; text-align: center; }
.cp-hero-water { position: absolute; inset: 0; z-index: -1;
  background: var(--cover, none) center / cover no-repeat, radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--club) 30%, transparent), transparent 70%), radial-gradient(120% 90% at 50% 10%, #0d3866 0%, #06182e 50%, var(--abyss) 100%); }
.cp-hero-water::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(100deg, transparent 0 46px, rgba(125,211,252,.06) 52px 62px, transparent 70px 130px); mask-image: linear-gradient(#000, transparent 85%); -webkit-mask-image: linear-gradient(#000, transparent 85%); }
.cp-hero-water::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,8,18,.35), rgba(2,8,18,.15) 40%, var(--abyss)); }
.cp-hero-in { display: grid; justify-items: center; gap: 18px; }
.cp-hero-logo { width: clamp(104px, 14vw, 148px); height: clamp(104px, 14vw, 148px); border-radius: 50%; object-fit: contain; background: #fff; padding: 8px; box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 24px 60px -10px rgba(0,0,0,.7); }
.cp-hero-logo.is-mono { font-size: 2.6rem; }
.cp-geo { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font: 600 .95rem/1.2 var(--font-display); letter-spacing: .2em; text-transform: uppercase; flex-wrap: wrap; justify-content: center; }
.cp-geo .flag { width: 22px; height: auto; border-radius: 3px; }
.cp-h1 { font-size: clamp(2.8rem, 9vw, 7.4rem); line-height: .86; text-transform: uppercase; letter-spacing: -.01em; max-width: 14ch; text-wrap: balance; filter: drop-shadow(0 10px 40px rgba(2,8,18,.5)); }
.cp-tagline { max-width: 60ch; font-size: var(--fs-lead); color: var(--text-2); text-wrap: pretty; }
.cp-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* Trial hero */
.cp-hero-trial { padding-bottom: clamp(72px, 10vw, 130px); }
.cp-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--club-line); background: var(--club-soft); color: var(--text); font: 600 .86rem/1.2 var(--font-display); letter-spacing: .16em; text-transform: uppercase; }
.cp-badge i { color: var(--club); }
.cp-h1-trial { font-size: clamp(2.4rem, 6.6vw, 5.6rem); max-width: 17ch; line-height: .92; }
.cp-h1-trial span { color: var(--club); }
.cp-perks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--text-2); font-size: .92rem; }
.cp-perks i { color: var(--turquoise); margin-right: 8px; }
.cp-bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cp-bubbles i { position: absolute; left: var(--x); bottom: -30px; width: var(--s); height: var(--s); border-radius: 50%; border: 1px solid rgba(125,211,252,.5); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), rgba(56,189,248,.08) 60%); }
@media (prefers-reduced-motion: no-preference) { .cp-bubbles i { animation: cp-rise var(--d) var(--w) infinite ease-in; } }
@keyframes cp-rise { 0% { transform: translateY(0) scale(.5); opacity: 0; } 20% { opacity: .9; } 100% { transform: translateY(-110vh) translateX(20px) scale(1.2); opacity: 0; } }

/* ---------- Facts strip ---------- */
.cp-facts { border-block: 1px solid var(--line); background: linear-gradient(90deg, var(--club2-soft), color-mix(in srgb, var(--club2) 30%, var(--abyss)), var(--club2-soft)); }
.cp-facts-in { margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.cp-facts-in > div { padding: 26px 18px; display: grid; gap: 6px; align-content: start; text-align: center; border-left: 1px solid var(--line); }
.cp-facts-in > div:first-child { border-left: 0; }
.cp-facts dt { font: 500 var(--fs-mono)/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cp-facts dd { margin: 0; font: 700 clamp(1.7rem, 3.4vw, 2.5rem)/1 var(--font-display); color: var(--text); }
.cp-facts p { color: var(--text-2); font-size: .84rem; }
@media (max-width: 620px) { .cp-facts-in { grid-template-columns: 1fr 1fr; } .cp-facts-in > div { border-left: 0; border-top: 1px solid var(--line); } .cp-facts-in > div:nth-child(-n+2) { border-top: 0; } .cp-facts-in > div:nth-child(2n) { border-left: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.cp-sec { padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: var(--header-h); }
.cp-sec-alt { background: linear-gradient(180deg, color-mix(in srgb, var(--club2) 38%, var(--abyss)), color-mix(in srgb, var(--club2) 14%, var(--abyss))); border-block: 1px solid var(--line); }
.cp-k { color: var(--club); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cp-k::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.cp-h2 { font-size: clamp(2rem, 5vw, 3.8rem); text-transform: uppercase; line-height: .92; max-width: 20ch; text-wrap: balance; }
.cp-lead { margin-top: 16px; color: var(--text-2); font-size: var(--fs-lead); max-width: 56ch; }
.cp-prose { margin-top: 22px; display: grid; gap: 14px; color: var(--text-2); font-size: 1.05rem; max-width: 62ch; }

/* About */
.cp-about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .cp-about { grid-template-columns: 1fr; } }
.cp-tags { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cp-honours { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 26px; background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 60%), var(--navy); }
.cp-honours h3 { display: flex; gap: 10px; align-items: center; color: var(--gold); margin-bottom: 16px; font-family: var(--font-mono); font-weight: 500; }
.cp-honours ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cp-honours li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.cp-honours li:first-child { border-top: 0; padding-top: 0; }
.cp-hy { font: 700 1.3rem/1 var(--font-display); color: var(--gold); }
.cp-honours li > span:last-child { color: var(--text); }
.cp-src { font-size: .76rem; color: var(--muted); white-space: nowrap; }

/* Venues */
.cp-venues { margin-top: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.cp-venue { display: grid; gap: 16px; align-content: start; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--navy); }
.cp-venue header { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; border-bottom: 2px solid var(--club); }
.cp-venue header > i { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--club-soft); color: var(--club); }
.cp-venue h3 { font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.cp-venue header p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.cp-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cp-slots li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.cp-slots b { font: 700 1.1rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.cp-slots span { color: var(--text-2); font-size: .86rem; text-align: right; }
.cp-venue-note { color: var(--text-2); font-size: .95rem; }
.cp-dir { justify-self: start; display: inline-flex; align-items: center; gap: 8px; color: var(--club); font: 600 .9rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.cp-dir:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Gallery */
.cp-gallery { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 20vw, 240px); gap: 12px; }
.cp-gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.cp-gallery button { width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--navy); }
.cp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.cp-gallery button:hover img { transform: scale(1.05); }
.cp-ph { border-radius: var(--radius); border: 1px dashed rgba(255,64,129,.35); background: radial-gradient(80% 80% at 30% 0%, rgba(125,211,252,.18), transparent 60%), repeating-linear-gradient(100deg, transparent 0 30px, rgba(125,211,252,.05) 34px 40px, transparent 44px 80px), linear-gradient(180deg, #0B3A63, #04142A); display: grid; place-items: center; }
.cp-ph span { display: grid; justify-items: center; gap: 8px; color: var(--muted); font: 500 var(--fs-mono)/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 12px; }
.cp-ph i { font-size: 1.6rem; color: var(--text-2); }
@media (max-width: 620px) { .cp-gallery { grid-template-columns: 1fr 1fr; } }

.cp-lightbox { padding: 0; border: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.cp-lightbox img { max-width: 94vw; max-height: 88vh; border-radius: var(--radius); object-fit: contain; }
.cp-lightbox .icon-btn { position: absolute; background: rgba(2,8,18,.7); }
.cp-lb-x { top: 10px; right: 10px; } .cp-lb-prev { left: 10px; top: 50%; } .cp-lb-next { right: 10px; top: 50%; }

/* Contact */
.cp-contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .cp-contact { grid-template-columns: 1fr; } }
.cp-channels { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.cp-channel { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; background: rgba(255,255,255,.03); transition: border-color var(--t-fast), background var(--t-fast); overflow-wrap: anywhere; }
.cp-channel:hover { border-color: var(--club); background: var(--club-soft); }
.cp-channel i { font-size: 1.1rem; color: var(--club); }
.cp-channel.is-wa { border-color: rgba(37,211,102,.5); } .cp-channel.is-wa i { color: #25D366; }
.cp-trialcard { display: grid; gap: 12px; justify-items: start; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--club-line); background: radial-gradient(100% 100% at 100% 0%, var(--club-soft), transparent 60%), var(--navy); }
.cp-trialcard > i { font-size: 1.8rem; color: var(--club); }
.cp-trialcard h3 { font-size: 2rem; text-transform: uppercase; }
.cp-trialcard p { color: var(--text-2); }

/* Why / steps */
.cp-why { margin-top: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.cp-why article { padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--navy); display: grid; gap: 12px; align-content: start; transition: border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.cp-why article:hover { border-color: var(--club-line); transform: translateY(-4px); }
.cp-why i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--club-soft); color: var(--club); font-size: 1.4rem; }
.cp-why h3 { font-size: 1.6rem; text-transform: uppercase; }
.cp-why p { color: var(--text-2); }
.cp-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 960px) { .cp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cp-steps { grid-template-columns: 1fr; } }
.cp-steps li { position: relative; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(8,27,49,.9), rgba(4,20,42,.6)); display: grid; gap: 10px; align-content: start; }
.cp-step-n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--club); color: var(--on-club); font: 700 1.2rem/1 var(--font-display); }
.cp-steps h3 { font-size: 1.4rem; text-transform: uppercase; }
.cp-steps p { color: var(--text-2); font-size: .95rem; }

/* Form */
.cp-sec-form { background: radial-gradient(70% 60% at 50% 0%, var(--club-soft), transparent 70%), linear-gradient(180deg, var(--abyss), #06182e 50%, var(--abyss)); }
.cp-form-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .cp-form-wrap { grid-template-columns: 1fr; } }
.cp-form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--club-line); background: var(--navy); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.cp-field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cp-field > label, .cp-field > legend { font: 600 .9rem/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--text); padding: 0; margin-bottom: 8px; }
.cp-field small { color: var(--muted); font-size: .8rem; }
.cp-form input[type="text"], .cp-form textarea, .cp-select select { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--abyss); color: var(--text); font: inherit; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.cp-form textarea { resize: vertical; min-height: 64px; }
.cp-form input[type="text"]:focus, .cp-form textarea:focus, .cp-select select:focus { outline: none; border-color: var(--club); box-shadow: 0 0 0 4px var(--club-soft); }
.cp-select { position: relative; }
.cp-select select { appearance: none; padding-right: 40px; cursor: pointer; }
.cp-select i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); font-size: .8rem; }
.cp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .cp-row { grid-template-columns: 1fr; } }
.cp-seg { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--abyss); justify-self: start; }
.cp-seg label, .cp-date { position: relative; cursor: pointer; }
.cp-seg input, .cp-date input { position: absolute; opacity: 0; pointer-events: none; }
.cp-seg span { display: block; padding: 9px 16px; border-radius: var(--radius-pill); color: var(--text-2); font-size: .92rem; transition: background var(--t-fast), color var(--t-fast); }
.cp-seg input:checked + span { background: var(--club); color: var(--on-club); font-weight: 500; }
.cp-seg input:focus-visible + span, .cp-date input:focus-visible + span { outline: 2px solid var(--club); outline-offset: 2px; }
.cp-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.cp-date span { display: grid; gap: 4px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--abyss); text-align: center; transition: border-color var(--t-fast), background var(--t-fast); }
.cp-date b { font: 700 1.05rem/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.cp-date small { color: var(--muted); font-size: .76rem; }
.cp-date:hover span { border-color: var(--club-line); }
.cp-date input:checked + span { border-color: var(--club); background: var(--club-soft); box-shadow: inset 0 0 0 1px var(--club); }
.cp-consent { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: .9rem; cursor: pointer; }
.cp-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--club); flex: none; }
.is-invalid input[type="text"], .is-invalid textarea { border-color: var(--signal); }
.cp-consent.is-invalid span { color: #fda4af; }
.cp-form-err { color: #fda4af; font-size: .9rem; }
.cp-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 18px; border: 0; border-radius: 14px; background: #25D366; color: #052e16; font: 700 1.1rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; box-shadow: 0 14px 40px -14px rgba(37,211,102,.8); transition: transform var(--t-fast), box-shadow var(--t-med), background var(--t-fast); }
.cp-submit i { font-size: 1.4rem; }
.cp-submit:hover { background: #3ee27a; box-shadow: 0 18px 50px -12px rgba(37,211,102,.9); }
.cp-submit:active { transform: scale(.98); }
.cp-privacy { display: flex; gap: 8px; justify-content: center; align-items: baseline; color: var(--muted); font-size: .82rem; text-align: center; }

.cp-preview { width: min(520px, calc(100% - 24px)); padding: 26px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--navy); display: none; gap: 14px; }
.cp-preview[open] { display: grid; }
.cp-preview h2 { font-size: 1.6rem; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.cp-preview h2 i { color: #25D366; }
.cp-preview pre { margin: 0; padding: 16px; border-radius: 12px; background: #0b141a; color: #e9edef; font: .9rem/1.5 var(--font-body); white-space: pre-wrap; border-left: 3px solid #25D366; }
.cp-preview form { justify-self: end; }

/* FAQ */
.cp-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .cp-faq-wrap { grid-template-columns: 1fr; } }
.cp-faq { display: grid; gap: 10px; }
.cp-faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy); transition: border-color var(--t-fast); }
.cp-faq details[open] { border-color: var(--club-line); }
.cp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font: 700 1.2rem/1.15 var(--font-display); letter-spacing: .02em; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary i { color: var(--club); transition: transform var(--t-med) var(--ease-out); flex: none; }
.cp-faq details[open] summary i { transform: rotate(45deg); }
.cp-faq details p { padding: 0 20px 20px; color: var(--text-2); }

/* Final CTA */
.cp-final { padding: clamp(64px, 9vw, 120px) 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, var(--club-soft), transparent 70%); }
.cp-final .cp-wrap { display: grid; justify-items: center; gap: 22px; }
.cp-final .cp-h2 { max-width: none; }
.cp-final p a { color: var(--text-2); }

/* ---------- Footer ---------- */
.cp-foot { border-top: 1px solid var(--line); background: #01050c; padding: 36px 0; }
.cp-foot-in { display: flex; flex-wrap: wrap; gap: 22px 32px; align-items: center; justify-content: space-between; }
.cp-foot-club { display: flex; gap: 14px; align-items: center; }
.cp-foot-club div { display: grid; gap: 2px; }
.cp-foot-club strong { font: 700 1.15rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.cp-foot-club span { color: var(--muted); font-size: .84rem; }
.cp-foot-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; background: #fff; padding: 3px; flex: none; }
.cp-foot-social { display: flex; gap: 8px; }
.cp-foot-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.cp-foot-social a:hover { background: var(--club); color: var(--on-club); border-color: var(--club); }
.cp-foot-uwr { display: grid; gap: 6px; justify-items: end; font-size: .84rem; color: var(--muted); }
.cp-foot-uwr a { color: var(--text-2); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.cp-foot-uwr a:hover { color: var(--cyan); }
.cp-uwr { gap: 6px !important; }
.cp-uwr b { margin-right: 1px; }
.cp-uwr-mark { width: 20px; height: 20px; display: inline-grid; color: var(--cyan); }
.cp-uwr-mark svg { width: 100%; height: 100%; }
.cp-foot-uwr b { color: var(--text); }
@media (max-width: 700px) { .cp-foot-uwr { justify-items: start; } }

/* Plain-HTML version printed by WordPress for search engines; the script replaces it on load */
.cp-ssr { max-width: 760px; margin: 0 auto; padding: 120px var(--gutter) 80px; display: grid; gap: 14px; color: var(--text-2); }
.cp-ssr h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); text-transform: uppercase; color: var(--text); }
.cp-ssr h2 { font-size: 1.6rem; text-transform: uppercase; color: var(--text); margin-top: 18px; }
.cp-ssr ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }

/* ==========================================================================
   Portal sections (v1.5): reveal, hero video, honours, mascot, history, week, map, team, media, contact, sticky bar
   ========================================================================== */
.has-reveal .cp-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.has-reveal .cp-reveal.is-in { opacity: 1; transform: none; }
.cp-h3 { margin: 36px 0 14px; color: var(--text-2); display: flex; gap: 10px; align-items: center; }

.cp-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.cp-hero-water { background: var(--cover, none) center / cover no-repeat, radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--club) 30%, transparent), transparent 70%), radial-gradient(120% 90% at 50% 10%, color-mix(in srgb, var(--club2) 70%, #0d3866) 0%, #06182e 50%, var(--abyss) 100%); }

/* Honours with medals */
.cp-honours li { grid-template-columns: 34px 50px 1fr; }
.cp-medal { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fde68a, var(--gold) 55%, #b7791f); color: #4a3405; box-shadow: 0 6px 16px -6px rgba(245,196,81,.8); }

/* Mascot */
.cp-mascot { background: radial-gradient(60% 70% at 25% 50%, var(--club-soft), transparent 70%); }
.cp-mascot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 860px) { .cp-mascot-in { grid-template-columns: 1fr; } }
.cp-mascot-visual { position: relative; display: grid; justify-items: center; gap: 10px; }
.cp-mascot-3d { width: 100%; height: clamp(320px, 42vw, 520px); background: radial-gradient(60% 60% at 50% 55%, color-mix(in srgb, var(--club2) 60%, transparent), transparent 70%); border-radius: var(--radius-lg); --poster-color: transparent; }
.cp-mascot-img { width: min(440px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--club); box-shadow: 0 30px 80px -30px var(--club); }
.cp-mascot-svg { width: min(400px, 100%); display: grid; justify-items: center; gap: 10px; color: var(--muted); }
.cp-mascot-svg svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
@media (prefers-reduced-motion: no-preference) { .cp-mascot-svg svg { animation: cp-float 6s ease-in-out infinite; } }
@keyframes cp-float { 50% { transform: translateY(-12px) rotate(-2deg); } }
.cp-mascot-hint { color: var(--muted); display: flex; gap: 8px; align-items: center; }
.cp-ar { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); }

/* History timeline */
.cp-timeline { list-style: none; margin: 40px 0 0; padding: 0; position: relative; display: grid; gap: 26px; }
.cp-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--club), color-mix(in srgb, var(--club) 20%, transparent)); }
.cp-tl { position: relative; width: 50%; padding-right: 44px; }
.cp-tl.is-right { margin-left: 50%; padding-right: 0; padding-left: 44px; }
.cp-tl-dot { position: absolute; top: 18px; right: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--abyss); border: 3px solid var(--club); display: grid; place-items: center; z-index: 1; }
.cp-tl.is-right .cp-tl-dot { right: auto; left: -11px; }
.cp-tl.is-title .cp-tl-dot { width: 36px; height: 36px; top: 12px; right: -18px; border: 0; background: radial-gradient(circle at 35% 30%, #fde68a, var(--gold) 55%, #b7791f); color: #4a3405; font-size: .9rem; }
.cp-tl.is-right.is-title .cp-tl-dot { left: -18px; }
.cp-tl-card { padding: 20px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--navy); display: grid; gap: 8px; }
.cp-tl.is-title .cp-tl-card { border-color: rgba(245,196,81,.45); background: radial-gradient(100% 120% at 100% 0%, rgba(245,196,81,.12), transparent 60%), var(--navy); }
.cp-tl-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.cp-tl-year { font: 700 2rem/1 var(--font-display); color: var(--club); }
.cp-tl.is-title .cp-tl-year { color: var(--gold); }
.cp-tl-card h3 { font-size: 1.45rem; text-transform: uppercase; line-height: 1.05; }
.cp-tl-card p:not(.cp-tl-year) { color: var(--text-2); }
@media (max-width: 760px) {
  .cp-timeline::before { left: 16px; }
  .cp-tl, .cp-tl.is-right { width: auto; margin-left: 0; padding: 0 0 0 48px; }
  .cp-tl-dot, .cp-tl.is-right .cp-tl-dot { left: 5px; right: auto; }
  .cp-tl.is-title .cp-tl-dot, .cp-tl.is-right.is-title .cp-tl-dot { left: -2px; }
}

/* Week */
.cp-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cp-week li { display: grid; gap: 8px; align-content: start; padding: 14px 12px; min-height: 120px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.cp-week li.is-on { border-color: var(--club-line); background: linear-gradient(180deg, var(--club-soft), transparent); }
.cp-week b { font: 700 1.1rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.cp-week li:not(.is-on) b { color: var(--muted); }
.cp-wk-s { display: grid; gap: 2px; font-size: .84rem; color: var(--text); }
.cp-wk-s em { font-style: normal; font: 600 .95rem/1.1 var(--font-display); color: var(--club); }
.cp-wk-s small { color: var(--muted); font-size: .76rem; }
.cp-wk-rest { color: var(--muted); font-size: .8rem; }
@media (max-width: 900px) { .cp-week { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .cp-week { grid-template-columns: repeat(2, 1fr); } .cp-week li { min-height: 0; } }

/* Venues + map */
.cp-train { margin-top: 34px; display: grid; gap: 18px; }
.cp-train.has-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
@media (max-width: 960px) { .cp-train.has-map { grid-template-columns: 1fr; } }
.cp-train .cp-venues { margin-top: 0; grid-template-columns: 1fr; }
.cp-venue-img { width: calc(100% + 48px); margin: -24px -24px 0; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.cp-venue-depth { color: var(--text-2); font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.cp-venue-depth i { color: var(--club); }
.cp-map-wrap { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 8px; }
.cp-map { height: clamp(320px, 46vw, 520px); border-radius: var(--radius-lg); border: 1px solid var(--line-strong); overflow: hidden; background: var(--navy); }
.cp-map-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .82rem; }
.cp-pin span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--club); color: var(--on-club); box-shadow: 0 8px 20px -6px rgba(0,0,0,.7); border: 2px solid #fff; }
.cp-pin span i { transform: rotate(45deg); font-size: .9rem; }
.cp-map .leaflet-popup-content-wrapper, .cp-map .leaflet-popup-tip { background: var(--navy); color: var(--text); border: 1px solid var(--line-strong); }
.cp-map .leaflet-popup-content a { color: var(--club); }
.cp-map .leaflet-control-attribution { background: rgba(2,8,18,.7); color: var(--muted); }
.cp-map .leaflet-control-attribution a { color: var(--text-2); }

/* Team */
.cp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.cp-filter button { padding: 9px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); cursor: pointer; font: 600 .86rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.cp-filter button.is-active { background: var(--club); border-color: var(--club); color: var(--on-club); }
.cp-players { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(30%, 136px), 1fr)); gap: 10px; } /* compact: a club can have forty players */
.cp-players-more, .cp-list-more { margin: 18px 0 0; display: flex; justify-content: center; }
.cp-player button, .cp-player .is-link { width: 100%; padding: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--navy); cursor: pointer; display: grid; gap: 4px; text-align: center; overflow: hidden; transition: transform var(--t-med) var(--ease-out), border-color var(--t-med); }
.cp-player button:hover, .cp-player .is-link:hover { transform: translateY(-4px); border-color: var(--club-line); }
.cp-player .is-link { color: inherit; text-decoration: none; }
.cp-player button, .cp-player .is-link, .cp-player .is-static { height: 100%; align-content: start; } /* even rows: cards with a «Ver ficha» line are taller */
.cp-player-more { padding: 2px 12px 0; color: var(--text-2); font: 600 .74rem/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.cp-player-more i { margin-left: 4px; color: var(--club); font-size: .7rem; transition: transform var(--t-med) var(--ease-out); }
.cp-player .is-link:hover .cp-player-more i { transform: translateX(3px); }
.cp-player-photo { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 30%, color-mix(in srgb, var(--club2) 80%, #0d3866), var(--abyss)); color: rgba(255,255,255,.2); font-size: 2.4rem; overflow: hidden; }
.cp-player-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-player-n { position: absolute; left: 6px; bottom: 6px; min-width: 30px; height: 30px; padding: 0 6px; display: grid; place-items: center; border-radius: 9px; background: var(--club); color: var(--on-club); font: 700 1.05rem/1 var(--font-display); box-shadow: 0 8px 20px -8px rgba(0,0,0,.8); }
.cp-player-name { padding: 6px 8px 0; font: 700 .98rem/1.08 var(--font-display); text-transform: uppercase; color: var(--text); overflow-wrap: anywhere; }
.cp-player-role { padding: 0 8px; color: var(--muted); font-size: .76rem; }
.cp-pd-photo .cp-player-n { left: 10px; bottom: 8px; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 12px; font-size: 1.5rem; } /* the pop-up keeps the big number */
@media (max-width: 420px) { .cp-player-name { font-size: .86rem; } }
.cp-staff { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.cp-staff li { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--navy); }
.cp-staff-photo { width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--club-soft); color: var(--club); }
.cp-staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.cp-staff strong { display: block; font: 700 1.1rem/1.1 var(--font-display); text-transform: uppercase; }
.cp-staff span { color: var(--muted); font-size: .86rem; }
.cp-staff strong a { color: inherit; text-decoration: none; }
.cp-staff strong a:hover { color: var(--club); }
.cp-playerbox { padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--navy); width: min(760px, calc(100% - 24px)); overflow: hidden; }
.cp-player-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 620px) { .cp-player-in { grid-template-columns: 1fr; } }
.cp-pd-photo { position: relative; min-height: 320px; display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 30%, color-mix(in srgb, var(--club2) 80%, #0d3866), var(--abyss)); color: rgba(255,255,255,.2); font-size: 5rem; }
.cp-pd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-pd-body { padding: 28px; display: grid; gap: 14px; align-content: start; }
.cp-pd-body dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cp-pd-body dt { font: 500 var(--fs-mono)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cp-pd-body dd { margin: 4px 0 0; font: 700 1.2rem/1 var(--font-display); }
.cp-pd-body blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--club); color: var(--text-2); font-style: italic; }
.cp-pd-body form { justify-self: start; }
.cp-pd-body .cp-pd-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Videos + Instagram */
.cp-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.cp-videos li { display: grid; gap: 8px; }
.cp-videos p { color: var(--text-2); font-size: .92rem; }
.cp-yt, .cp-videos iframe { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); overflow: hidden; padding: 0; cursor: pointer; background: #000; display: block; }
.cp-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity var(--t-fast); }
.cp-yt:hover img { opacity: 1; }
.cp-yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--club); color: var(--on-club); font-size: 1.4rem; box-shadow: 0 10px 30px -8px rgba(0,0,0,.8); }

/* Contact */
.cp-main-ch { margin-top: 26px; display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--radius-lg); text-decoration: none; color: var(--on-club); background: var(--club); box-shadow: 0 16px 50px -18px var(--club); max-width: 460px; }
.cp-main-ch.is-whatsapp { background: #25D366; color: #052e16; box-shadow: 0 16px 50px -18px rgba(37,211,102,.9); }
.cp-main-ch > i { font-size: 2rem; }
.cp-main-ch span { display: grid; gap: 2px; font: 700 1.25rem/1.1 var(--font-display); letter-spacing: .04em; }
.cp-main-ch small { font: 500 var(--fs-mono)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.cp-channel span { display: grid; gap: 1px; }
.cp-channel small { color: var(--muted); font-size: .74rem; }

/* Sticky bar (phones) */
.cp-sticky { display: none; }
@media (max-width: 700px) {
  .cp-sticky { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70; display: flex; gap: 8px; padding: 8px; border-radius: var(--radius-pill); background: rgba(2,8,18,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-strong); box-shadow: 0 16px 40px -10px rgba(0,0,0,.8); }
  .cp-sticky a { flex: 1; display: flex; gap: 8px; align-items: center; justify-content: center; padding: 12px; border-radius: var(--radius-pill); text-decoration: none; font: 700 .95rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
  .cp-sticky-ch { background: var(--club); color: var(--on-club); }
  .cp-sticky-ch.is-whatsapp { background: #25D366; color: #052e16; }
  .cp-sticky-try { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid var(--line-strong); }
  .club-page:not(.is-trial) .cp-foot { padding-bottom: 96px; }
}

/* ==========================================================================
   v1.6: teams, trophy room, tournament cards, visitors
   ========================================================================== */
.cp-teams ol li { grid-template-columns: 18px 1fr auto; }
.cp-team-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--club); box-shadow: 0 0 0 4px var(--club-soft); }
.cp-team-n { color: var(--text-2); font-size: .86rem; white-space: nowrap; }
.cp-team-n i { color: var(--gold); }
.cp-teams h3 { color: var(--text); }
.cp-filter small { opacity: .7; margin-left: 4px; }
.cp-minor-note { margin-top: 12px; display: flex; gap: 8px; align-items: center; }
.cp-minor-note i { color: var(--turquoise); }
.cp-player .is-static { width: 100%; padding: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--navy); display: grid; gap: 6px; text-align: center; overflow: hidden; }

/* Trophy room */
.cp-trophies { background: radial-gradient(70% 60% at 50% 0%, rgba(245,196,81,.10), transparent 70%); }
.cp-tally { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.cp-tally-m { flex: 1 1 140px; display: grid; justify-items: center; gap: 4px; padding: 22px 16px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: var(--navy); text-align: center; }
.cp-tally-m b { font: 700 clamp(2.2rem, 5vw, 3.4rem)/1 var(--font-display); }
.cp-tally-m span:last-child { font: 500 var(--fs-mono)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cp-medal-big { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; }
.is-gold .cp-medal-big, .cp-places .is-gold i, .cp-trophy.is-gold .cp-trophy-cup { background: radial-gradient(circle at 35% 30%, #fde68a, var(--gold) 55%, #b7791f); color: #4a3405; }
.is-silver .cp-medal-big, .cp-places .is-silver i, .cp-trophy.is-silver .cp-trophy-cup { background: radial-gradient(circle at 35% 30%, #f8fafc, var(--silver) 55%, #7c8a9a); color: #1f2937; }
.is-bronze .cp-medal-big, .cp-places .is-bronze i, .cp-trophy.is-bronze .cp-trophy-cup { background: radial-gradient(circle at 35% 30%, #f5c9a0, var(--bronze) 55%, #8a4e22); color: #3b1d08; }
.cp-tally-m.is-gold { border-color: rgba(245,196,81,.45); }
.cp-tally-m.is-plain b { color: var(--club); }
.cp-shelf { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.cp-trophy { position: relative; display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; padding: 28px 20px 18px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: linear-gradient(180deg, color-mix(in srgb, var(--club2) 40%, var(--navy)), var(--navy)); }
.cp-trophy.is-gold { border-color: rgba(245,196,81,.5); box-shadow: 0 30px 60px -40px rgba(245,196,81,.7); }
.cp-trophy-cup { position: relative; width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; font-size: 2.1rem; box-shadow: 0 16px 30px -12px rgba(0,0,0,.7); }
.cp-trophy-cup em { position: absolute; right: -4px; bottom: -2px; min-width: 30px; height: 30px; padding: 0 6px; display: grid; place-items: center; border-radius: 10px; background: var(--abyss); color: var(--text); font: 700 1rem/1 var(--font-display); font-style: normal; border: 1px solid var(--line-strong); }
.cp-trophy-year { font: 700 1.5rem/1 var(--font-display); color: var(--club); }
.cp-trophy h3, .cp-tour h4 { font-size: 1.25rem; text-transform: uppercase; line-height: 1.05; }
.cp-trophy-meta { color: var(--text-2); font-size: .88rem; }
.cp-trophy-note { color: var(--muted); font-size: .86rem; font-style: italic; }
.cp-trophy-foot { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; }
.cp-seal { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: var(--radius-pill); font: 500 .66rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); }
.cp-seal.is-ok { color: #86efac; border-color: rgba(134,239,172,.4); background: rgba(34,197,94,.08); }
.cp-tours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.cp-tour { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--navy); overflow: hidden; }
.cp-tour-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.cp-tour-body { padding: 18px 20px; display: grid; gap: 10px; }
.cp-tour .cp-trophy-year { font-size: 1.1rem; }
.cp-tour .cp-trophy-foot { justify-content: flex-start; }
.cp-tour-note { color: var(--text-2); font-size: .92rem; }
.cp-places { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cp-places li { display: grid; grid-template-columns: 1fr auto 26px; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.cp-places span { color: var(--text-2); font-size: .9rem; }
.cp-places b { font: 700 1.2rem/1 var(--font-display); }
.cp-places i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; }

/* Visitors */
.cp-cards { display: grid; gap: 14px; }
.cp-trialcard.is-visitor { border-color: var(--line-strong); background: radial-gradient(100% 100% at 100% 0%, rgba(45,212,191,.12), transparent 60%), var(--navy); }
.cp-trialcard.is-visitor > i { color: var(--turquoise); }
.cp-visitor { background: linear-gradient(90deg, color-mix(in srgb, var(--club2) 40%, var(--abyss)), var(--abyss)); border-block: 1px solid var(--line); }
.cp-visitor-in { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.cp-visitor-in > i { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--turquoise); }
@media (max-width: 760px) { .cp-visitor-in { grid-template-columns: 1fr; } }
.cp-perks.is-left { justify-content: flex-start; margin-top: 16px; }
.cp-path { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; width: 100%; }
.cp-path span { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 12px; border-radius: 12px; text-align: center; }
@media (max-width: 460px) { .cp-path { grid-template-columns: 1fr; } }

/* Instagram strip (v1.6.1): the club's picked posts/reels in dark rounded frames */
.cp-ig { margin-top: 40px; }
.cp-ig-bar { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cp-ig-who { display: flex; gap: 14px; align-items: center; color: var(--text); text-decoration: none; }
.cp-ig-who b { display: block; font: 700 1.2rem/1.1 var(--font-display); letter-spacing: .02em; }
.cp-ig-who small { display: flex; gap: 8px; align-items: center; color: var(--muted); font: 500 var(--fs-mono)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.cp-ig-ring { width: 56px; height: 56px; flex: none; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.cp-ig-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: #fff; border: 3px solid var(--abyss); display: grid; place-items: center; font: 700 .9rem/1 var(--font-display); color: var(--abyss); }
.cp-ig-tools { display: flex; gap: 8px; align-items: center; }
.cp-ig-follow { --bg: transparent; --fg: var(--text); --bd: rgba(214,41,118,.6); }
.cp-ig-follow:hover { --bg: linear-gradient(90deg, #d62976, #962fbf); --bd: #d62976; }
.cp-ig-follow i { color: #e1306c; }
.cp-ig-rail { list-style: none; margin: 0; padding: 6px 2px 20px; display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 84vw); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; justify-content: safe center; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.cp-ig-rail::-webkit-scrollbar { height: 6px; }
.cp-ig-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }
.cp-ig-item { scroll-snap-align: center; padding: 8px; border-radius: 28px; background: linear-gradient(180deg, #111c2e, #0a1322); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.04); }
.cp-ig-item .instagram-media, .cp-ig-item iframe.instagram-media { min-width: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important; border: 0 !important; border-radius: 20px !important; box-shadow: none !important; background: #fff; display: block; }
.cp-ig-ph { display: grid; place-items: center; height: 560px; border-radius: 20px; background: radial-gradient(90% 60% at 30% 20%, rgba(214,41,118,.35), transparent 60%), radial-gradient(80% 60% at 80% 90%, rgba(79,91,213,.35), transparent 60%), linear-gradient(180deg, #0f1a2c, #070d18); color: rgba(255,255,255,.55); font-size: 2.6rem; }
@media (prefers-reduced-motion: no-preference) { .cp-ig-ph i { animation: cp-float 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); } }
.cp-ig-gate { display: grid; justify-items: center; gap: 10px; margin-top: -2px; text-align: center; background: none; border: 0; padding: 4px 0 0; }
.cp-ig-gate .btn i { color: inherit; }
@media (max-width: 620px) { .cp-ig-ph { height: 460px; } }

/* Sponsors (v1.7) */
.cp-sponsors { background: radial-gradient(60% 60% at 50% 0%, var(--club-soft), transparent 70%); }
.cp-sp-main, .cp-sp-grid { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.cp-sp-main { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cp-sp-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.cp-sp { display: grid; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--navy); overflow: hidden; transition: border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.cp-sp:hover { border-color: var(--club-line); transform: translateY(-3px); }
.cp-sp > a, .cp-sp > span { display: grid; gap: 12px; padding: 22px; color: var(--text); text-decoration: none; align-content: start; }
.cp-sp-logo { height: 76px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.035); }
.cp-sp-logo img { max-height: 54px; max-width: 80%; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .85; transition: filter var(--t-med), opacity var(--t-med); }
.cp-sp:hover .cp-sp-logo img, .cp-sp:focus-within .cp-sp-logo img { filter: none; opacity: 1; }
.cp-sp-logo b { font: 700 1.4rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.cp-sp-body { display: grid; gap: 4px; }
.cp-sp-body small { color: var(--club); }
.cp-sp-body strong { font: 700 1.25rem/1.1 var(--font-display); text-transform: uppercase; }
.cp-sp-body em { color: var(--text-2); font-size: .9rem; font-style: normal; }
.cp-sp-ok { color: var(--turquoise); font-size: .8em; vertical-align: .08em; }
.cp-sp-since { color: var(--muted); font-size: .8rem; }
.cp-sp.is-main { border-color: var(--club-line); background: radial-gradient(120% 120% at 100% 0%, var(--club-soft), transparent 60%), var(--navy); }
.cp-sp.is-main > a, .cp-sp.is-main > span { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 22px; padding: 28px; }
.cp-sp.is-main .cp-sp-logo { height: 130px; }
.cp-sp.is-main .cp-sp-logo img { max-height: 92px; }
.cp-sp.is-main .cp-sp-body strong { font-size: 1.8rem; }
@media (max-width: 560px) { .cp-sp.is-main > a, .cp-sp.is-main > span { grid-template-columns: 1fr; } }
.cp-sp-perk { margin: 0 22px 20px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--club-line); display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.cp-sp-perk i { color: var(--club); }
.cp-sp-perk span { display: grid; }
.cp-sp-perk small { color: var(--muted); font: 500 var(--fs-mono)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.cp-sp.is-yours { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.cp-sp.is-yours .cp-sp-logo { color: var(--club); font-size: 1.8rem; background: var(--club-soft); }
.cp-become { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--club-line); background: radial-gradient(90% 120% at 0% 0%, var(--club-soft), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--club2) 60%, var(--navy)), var(--navy)); scroll-margin-top: var(--header-h); }
@media (max-width: 860px) { .cp-become { grid-template-columns: 1fr; } }
.cp-become .cp-h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.cp-become-stats { margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.cp-become-stats div { padding: 14px; border-radius: 14px; background: rgba(2,8,18,.4); border: 1px solid var(--line); }
.cp-become-stats dd { margin: 0; font: 700 2rem/1 var(--font-display); color: var(--club); }
.cp-become-stats dt { margin-top: 4px; color: var(--text-2); font-size: .82rem; }
.cp-become-side { display: grid; gap: 14px; align-content: start; }
.cp-become-side h4 { color: var(--muted); }
.cp-become-offer { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cp-become-offer li { display: flex; gap: 10px; align-items: baseline; color: var(--text); }
.cp-become-offer i { color: var(--turquoise); }
.cp-become-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* «Con el apoyo de» strip above the footer (every page, landing too) */
.cp-strip { border-top: 1px solid var(--line); background: #030a14; }
.cp-strip-in { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; padding-block: 22px; }
.cp-strip-in > span { color: var(--muted); }
.cp-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; }
.cp-strip a, .cp-strip li > span { display: block; color: var(--text-2); text-decoration: none; }
.cp-strip img { height: 34px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .6; transition: filter var(--t-med), opacity var(--t-med); }
.cp-strip a:hover img { filter: none; opacity: 1; }
.cp-strip b { font: 700 1rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }

/* Header: room for the club name when the menu grows */
.cp-brand { flex: none; }
.cp-nav a { white-space: nowrap; }
@media (max-width: 1400px) { .cp-nav a { padding: 10px 9px; font-size: .82rem; letter-spacing: .1em; } }
@media (max-width: 1180px) { .cp-nav { display: none; } .cp-top > .cp-btn { margin-left: auto; } .cp-top > .cp-lang { margin-left: auto; } .cp-top > .cp-lang + .cp-btn { margin-left: 0; } }

/* Gallery (v1.10): album cards, preview on the club page, /galeria/ page, masonry, viewer */
.cp-albums { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.cp-albums.is-preview { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cp-album a { display: grid; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--navy); color: var(--text); text-decoration: none; transition: transform var(--t-med) var(--ease-out), border-color var(--t-med); }
.cp-album a:hover { transform: translateY(-4px); border-color: var(--club-line); }
.cp-album-cover { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(80% 80% at 30% 0%, rgba(125,211,252,.18), transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--club2) 70%, #0B3A63), #04142A); color: rgba(255,255,255,.4); font-size: 2.4rem; overflow: hidden; }
.cp-album-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.cp-album a:hover .cp-album-cover img { transform: scale(1.05); }
.cp-album-cover::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(2,8,18,.75)); }
.cp-album-n { position: absolute; z-index: 1; right: 12px; bottom: 10px; display: flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(2,8,18,.7); color: var(--text); font: 500 .74rem/1 var(--font-mono); }
.cp-album-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.cp-album-body small { color: var(--club); }
.cp-album-body strong { font: 700 1.3rem/1.1 var(--font-display); text-transform: uppercase; }
.cp-gallery-more { margin-top: 22px; display: flex; justify-content: center; }
.cp-tour-album { display: inline-flex; gap: 6px; align-items: center; color: var(--club); font-size: .82rem; text-decoration: none; }
.cp-tour-album:hover { text-decoration: underline; }

.cp-hero-gallery { padding-bottom: clamp(40px, 6vw, 70px); }
.cp-hero-gallery .cp-h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.cp-album-back a { display: inline-flex; gap: 8px; align-items: center; color: var(--text-2); text-decoration: none; font: 600 .9rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.cp-album-back a:hover { color: var(--club); }
.cp-album-back { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.cp-back-club { justify-content: center; margin-bottom: 18px; }
.cp-gallery-more .btn i { margin-right: 8px; }
.cp-album-head { margin: 18px 0 26px; display: grid; gap: 10px; }
.cp-album-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--text-2); font-size: .92rem; }
.cp-album-meta span { display: inline-flex; gap: 8px; align-items: center; }
.cp-album-meta i { color: var(--club); }
.cp-album-meta a { color: var(--text); }
.cp-masonry { list-style: none; margin: 0; padding: 0; columns: 4 240px; column-gap: 12px; }
.cp-masonry li { break-inside: avoid; margin: 0 0 12px; }
.cp-masonry button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); cursor: zoom-in; }
.cp-masonry img { width: 100%; height: auto; display: block; transition: transform .9s var(--ease-out), filter var(--t-med); }
.cp-masonry button:hover img { transform: scale(1.03); filter: brightness(1.08); }
.cp-masonry .cp-ph { display: grid; width: 100%; }

.cp-lb-cap { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; display: flex; gap: 14px; align-items: center; max-width: 90vw; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(2,8,18,.75); color: var(--text-2); font-size: .86rem; }
.cp-lb-n { font: 500 .78rem/1 var(--font-mono); color: var(--text); }
.cp-lb-t:empty { display: none; }
.cp-lightbox::backdrop { background: rgba(2,8,18,.94); }

/* ---------- Next tournaments: the convocatorias the club published (callupsHTML in club-page.js) ---------- */
.cp-callups { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.cp-callup { display: grid; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--navy); }
.cp-callup-h { display: flex; gap: 14px; align-items: center; }
.cp-callup-logo { width: 56px; height: 56px; flex: none; border-radius: 12px; object-fit: contain; background: #fff; display: grid; place-items: center; color: var(--club); }
span.cp-callup-logo { background: var(--club-soft); }
.cp-callup-h strong { display: block; font: 700 1.2rem/1.15 var(--font-display); text-transform: uppercase; }
.cp-callup-h strong a { color: inherit; }
.cp-callup-h span { color: var(--muted, #94A3B8); font-size: .82rem; }
.cp-callup-n { margin: 0; color: var(--club); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.cp-callup-who { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cp-callup-who a { display: grid; justify-items: center; gap: 4px; width: 60px; color: inherit; text-decoration: none; }
.cp-callup-who .cp-staff-photo { width: 48px; height: 48px; font: 700 .9rem/1 var(--font-display); }
.cp-callup-who small { font-size: .74rem; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- The club's teams at tournaments (wireLive) ---------- */
.cp-lives { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.cp-live { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: var(--radius); border: 1px solid rgba(255, 64, 129, .55); background: linear-gradient(180deg, rgba(255, 64, 129, .08), transparent 70%), var(--navy); }
.cp-live.is-upcoming, .cp-live.is-finished { border-color: color-mix(in srgb, var(--club) 50%, transparent); background: linear-gradient(180deg, var(--club-soft), transparent 70%), var(--navy); }
.cp-live-k { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #FF4081; }
.cp-live.is-upcoming .cp-live-k, .cp-live.is-finished .cp-live-k { color: var(--club); }
.cp-live-k i { width: 8px; height: 8px; border-radius: 50%; background: #FF4081; animation: cp-live-pulse 1.4s infinite; }
@keyframes cp-live-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .cp-live-k i { animation: none; } }
.cp-live h3 { margin: 0; }
.cp-live h3 a { color: inherit; text-decoration: none; }
.cp-live-now { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 64, 129, .5); background: rgba(2, 8, 18, .35); }
.cp-live-now span.mono { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #FF4081; }
.cp-live-now p { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; font-weight: 600; }
.cp-live-now p span:last-child { text-align: right; }
.cp-live-now b { font-size: 1.9rem; line-height: 1; white-space: nowrap; }
.cp-live-row { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.cp-live-row span.mono { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cp-live-row small { color: var(--muted); }
.cp-live-final { margin: 0; font-weight: 600; color: var(--gold, #F5C451); }
.cp-live-none { margin: 0; color: var(--muted); }
.cp-live .cp-btn { justify-self: start; }

