/*
 * Sport schools home of cooperacion (application/third_party/cooperacion/views/landing/home-schools.php), from the design
 * "EDM Vélez-Rubio". The home page is ".cp-page" (the whole document); the brand's public header and footer, also shown
 * on every page seen without logging in, are ".cp-chrome" (application/third_party/cooperacion/views/layouts/
 * menu-not-logged.php and footer-custom.php), so nothing here reaches the rest of those pages. Only the home has a dark theme.
 */
.cp-page,
.cp-chrome {
    --navy: #0B3A7A; --navy-2: #072B5C; --orange: #E8700F; --orange-ink: #10203F; --cyan: #189DD6;
    --bg: #F3F5F9; --surface: #FFFFFF; --surface-2: #EEF2F8; --ink: #0F1B33; --muted: #5A6478; --line: #E1E6EF;
    --link: #0B3A7A; --ok: #1E7B3A; --warn: #B42318;
    --shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 10px 28px -12px rgba(15, 27, 51, .18);
    --display: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
    --body: "Atkinson Hyperlegible", "Segoe UI", Verdana, Arial, sans-serif;
    color-scheme: light;
}

.cp-page {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px);
}

@media (prefers-color-scheme: dark) {
    .cp-page:not([data-theme="light"]),
    .cp-page:not([data-theme="light"]) .cp-chrome {
        --bg: #0A111E; --surface: #121B2C; --surface-2: #1A2539; --ink: #EAF0FA; --muted: #A3AEC4; --line: #24304A;
        --link: #9DBBF0; --ok: #7FD39A; --warn: #FF8A80; --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 28px -12px rgba(0, 0, 0, .6);
        color-scheme: dark;
    }
}

.cp-page[data-theme="dark"],
.cp-page[data-theme="dark"] .cp-chrome {
    --bg: #0A111E; --surface: #121B2C; --surface-2: #1A2539; --ink: #EAF0FA; --muted: #A3AEC4; --line: #24304A;
    --link: #9DBBF0; --ok: #7FD39A; --warn: #FF8A80; --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 28px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

.cp-page *, .cp-page *::before, .cp-page *::after,
.cp-chrome, .cp-chrome *, .cp-chrome *::before, .cp-chrome *::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    .cp-page {
        scroll-behavior: smooth;
    }
}

.cp-page body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.55;
    padding-bottom: 88px;
}

@media (min-width: 900px) {
    .cp-page body {
        padding-bottom: 0;
    }
}

.cp-chrome {
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.55;
    text-align: left;
}

.cp-page img, .cp-page svg, .cp-chrome img, .cp-chrome svg {
    display: block;
    max-width: 100%;
}

:where(.cp-page, .cp-chrome) a {
    color: var(--link);
}

.cp-page :focus-visible, .cp-chrome :focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
    border-radius: 6px;
}

.cp-page [hidden] {
    display: none !important;
}

.cp-page .wrap, .cp-chrome .cp-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.cp-page .ico {
    width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Header (also outside the home: there the site's header container sticks) ---------- */
.cp-site-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 20;
}

.cp-nav {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}

.cp-nav .cp-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 68px;
}

.cp-chrome .cp-brand {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.cp-chrome .cp-brand svg {
    width: 40px;
    height: 40px;
}

.cp-chrome .cp-wm {
    line-height: 1;
}

.cp-chrome .cp-wm b {
    display: block;
    font-family: var(--body);
    font-weight: 700;
    letter-spacing: .02em;
    font-size: 1.02rem;
    color: var(--navy);
    white-space: nowrap;
}

.cp-page[data-theme="dark"] .cp-wm b {
    color: #DDE7F8;
}

@media (prefers-color-scheme: dark) {
    .cp-page:not([data-theme="light"]) .cp-wm b {
        color: #DDE7F8;
    }
}

.cp-chrome .cp-wm span {
    display: block;
    font-size: .74rem;
    color: var(--muted);
    margin-top: 3px;
}

.cp-links {
    display: none;
    gap: 4px;
    margin-left: auto;
}

.cp-chrome .cp-links a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: .95rem;
    padding: 8px 12px;
    border-radius: 999px;
}

.cp-chrome .cp-links a:hover {
    background: var(--surface-2);
}

.cp-ayto {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.15;
}

.cp-ayto img {
    height: 40px;
    width: auto;
}

.cp-ayto b {
    display: block;
    color: var(--ink);
    font-size: .86rem;
}

/* Sign in (and up): the platform's pages need it, the design's home has no place for it. */
.cp-access {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cp-chrome .cp-access a {
    font-weight: 700;
    font-size: .9rem;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    white-space: nowrap;
}

.cp-chrome .cp-access a.cp-access__main {
    background: var(--navy);
    color: #fff;
}

@media (min-width: 980px) {
    .cp-links {
        display: flex;
    }

    .cp-ayto {
        margin-left: 14px;
    }
}

@media (max-width: 720px) {
    .cp-ayto span {
        display: none;
    }
}

@media (max-width: 600px) {
    /* Only "Acceso" fits beside the brand: signing up is offered on the sign in page too. */
    .cp-chrome .cp-access a:not(.cp-access__main) {
        display: none;
    }
}

@media (max-width: 420px) {
    .cp-ayto {
        display: none;
    }

    .cp-access {
        margin-left: auto;
    }
}

/* ---------- Footer ---------- */
.cp-footer {
    background: var(--navy-2);
    color: #C9D6EE;
    margin-top: 20px;
}

.cp-footer .cp-footer__grid {
    padding-top: 36px;
    padding-bottom: 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 26px;
}

@media (max-width: 760px) {
    .cp-footer .cp-footer__grid {
        grid-template-columns: 1fr;
    }
}

.cp-foot-logos {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.cp-chrome .cp-foot-logos .cp-wm b {
    color: #fff;
}

.cp-chrome .cp-foot-logos .cp-wm span {
    color: #C9D6EE;
}

.cp-logo-chip {
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-logo-chip img {
    height: 34px;
    width: auto;
}

.cp-logo-chip span {
    color: #0F1B33;
    font-size: .78rem;
    line-height: 1.15;
}

.cp-footer p {
    margin: 0 0 8px;
    font-size: .93rem;
}

.cp-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding-bottom: 28px;
    font-size: .88rem;
}

.cp-chrome.cp-footer a {
    color: #fff;
}

/* "Powered by" and the Competize logo (white, as the footer is dark), at the end of the legal links. */
.cp-chrome .cp-footer__powered {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    text-decoration: none;
}

.cp-chrome .cp-footer__powered img {
    width: auto;
    height: 16px;
}

/* ---------- Home sections (the design's, scoped to the home) ---------- */
.cp-page .sport svg,.cp-page .chip .dot svg{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* ---------- Portada ---------- */

.cp-page .hero{position:relative;overflow:hidden;background:var(--navy);color:#fff}
.cp-page .hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:8px;
  background:linear-gradient(90deg,#C62839 0 11%,#7B3FA0 11% 22%,#E07A1F 22% 33%,#1F4E9A 33% 44%,#3E8E41 44% 55%,#17694A 55% 66%,#9AAE17 66% 77%,#8B5A2B 77% 88%,#2E7D6B 88% 100%)}
.cp-page .hero .mark{position:absolute;right:-120px;top:-60px;width:620px;height:620px;opacity:.28;pointer-events:none}
@media (max-width:700px){
.cp-page .hero .mark{width:420px;height:420px;right:-170px;top:-40px;opacity:.16}}
.cp-page .hero .wrap{position:relative;padding-top:48px;padding-bottom:40px}
.cp-page .hero h1{font-family:var(--display);font-weight:800;margin:0;letter-spacing:-.025em;line-height:.95;font-size:clamp(2.3rem,6.4vw,4.6rem);max-width:13ch}
.cp-page .hero .season{display:inline-flex;align-items:center;gap:10px;margin:18px 0 4px;font-family:var(--display);font-weight:800;font-size:clamp(1.3rem,3vw,1.8rem)}
.cp-page .hero .season i{display:inline-block;width:34px;height:4px;background:var(--orange);border-radius:4px}
.cp-page .hero .lede{margin:14px 0 0;max-width:56ch;color:#D6E1F5;font-size:1.1rem}
.cp-page .finder{margin-top:34px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:20px 20px 12px}
.cp-page .finder h2{font-family:var(--display);font-weight:600;font-size:1.3rem;margin:0}
.cp-page .finder p{margin:4px 0 12px;color:#C9D6EE;font-size:.97rem}
.cp-page .bibs-scroll{overflow-x:auto;margin:0 -20px;padding:8px 20px 12px;scrollbar-width:thin}
.cp-page .bibs{display:flex;gap:10px;min-width:max-content}
@media (min-width:980px){
.cp-page .bibs-scroll{overflow:visible;margin:0;padding:8px 0 12px}
.cp-page .bibs{flex-wrap:wrap;min-width:0}}
.cp-page .bib{position:relative;font-family:var(--display);font-weight:800;font-size:1.3rem;min-width:5rem;padding:15px 10px 9px;
  background:#fff;color:var(--orange-ink);border:0;border-radius:10px;cursor:pointer;text-align:center;line-height:1;
  box-shadow:0 2px 0 rgba(0,0,0,.25)}
.cp-page .bib::before,.cp-page .bib::after{content:"";position:absolute;top:6px;width:6px;height:6px;border-radius:50%;background:var(--navy);opacity:.35}
.cp-page .bib::before{left:7px}
.cp-page .bib::after{right:7px}
.cp-page .bib small{display:block;font-family:var(--body);font-weight:400;font-size:.7rem;margin-top:5px;color:#4B5670}
.cp-page .bib[aria-pressed="true"]{background:var(--orange);color:var(--orange-ink);transform:translateY(-2px)}
.cp-page .bib[aria-pressed="true"] small{color:var(--orange-ink)}
.cp-page .bib.all{font-size:1rem;min-width:6.2rem}
.cp-page .result{min-height:1.7em;margin:4px 0 6px;font-weight:700}
.cp-page .result .hint{font-weight:400;color:#C9D6EE}

/* ---------- Secciones ---------- */

.cp-page section.block{padding:56px 0}
.cp-page .sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}
.cp-page .sec-head h2{font-family:var(--display);font-weight:800;font-size:clamp(1.8rem,4vw,2.6rem);margin:0;letter-spacing:-.015em;line-height:1}
.cp-page .sec-head p{margin:8px 0 0;color:var(--muted);max-width:60ch}

/* ---------- Escuelas ---------- */

.cp-page .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:20px}
@media (max-width:420px){
.cp-page .grid{grid-template-columns:1fr}}
.cp-page .card{background:var(--surface);border-radius:22px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;transition:opacity .2s}
.cp-page .card.dim{opacity:.4}
.cp-page .card-top{position:relative;background:var(--c);color:#fff;padding:18px 20px 16px;overflow:hidden}
.cp-page .card-top::after{content:"";position:absolute;right:-30px;bottom:-60px;width:150px;height:150px;border:18px solid rgba(255,255,255,.14);transform:rotate(45deg);border-radius:10px}
.cp-page .card-top .sport{width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.18);display:grid;place-items:center;margin-bottom:12px}
.cp-page .card-top .sport svg{width:28px;height:28px;stroke:#fff}
.cp-page .card-top h3{font-family:var(--display);font-weight:800;font-size:1.5rem;line-height:1.05;margin:0}
.cp-page .card-top p{margin:4px 0 0;font-size:.95rem;opacity:.92}
.cp-page .facts{display:flex;flex-wrap:wrap;gap:8px 16px;padding:14px 20px 4px;color:var(--muted);font-size:.93rem}
.cp-page .fact{display:flex;align-items:center;gap:7px}
.cp-page .fact .ico{width:18px;height:18px;color:var(--c)}
.cp-page .coach{display:flex;align-items:center;gap:10px;margin:10px 20px 4px;padding:10px 12px;background:var(--surface-2);border-radius:14px}
.cp-page .avatar{width:38px;height:38px;border-radius:50%;background:var(--c);color:#fff;display:grid;place-items:center;font-weight:700;font-size:.9rem;flex:none}
.cp-page .avatar.tbd{background:transparent;border:2px dashed var(--muted);color:var(--muted)}
.cp-page .coach small{display:block;color:var(--muted);font-size:.8rem;line-height:1.1}
.cp-page .coach b{font-size:.98rem}
.cp-page .pills{list-style:none;margin:10px 0 0;padding:0 14px 14px;display:flex;flex-direction:column;gap:8px;flex:1}
.cp-page .pill{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"when btn" "who who";gap:6px 12px;align-items:center;padding:10px 10px 12px 14px;border:1px solid var(--line);border-radius:14px;transition:opacity .2s,border-color .2s}
.cp-page .pill .when{grid-area:when;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}
.cp-page .pill .when b{font-size:1rem}
.cp-page .pill .when span{font-size:.95rem;color:var(--muted);font-weight:700}
.cp-page .pill .who{grid-area:who}
.cp-page .pill .btn-pick{grid-area:btn}
.cp-page .pill .who b{display:block;font-size:.95rem;line-height:1.25}
.cp-page .pill .who span{font-size:.84rem;color:var(--muted)}
.cp-page .lvl{display:inline-block;font-size:.72rem;font-weight:700;padding:1px 8px;border-radius:999px;background:color-mix(in srgb,var(--c) 16%,transparent);color:var(--ink);margin-left:4px;vertical-align:1px}
.cp-page .pill.dim{opacity:.35}
.cp-page .pill.match{border-color:var(--c);box-shadow:inset 4px 0 0 var(--c)}
.cp-page .card-foot{padding:0 20px 16px;color:var(--muted);font-size:.88rem}
.cp-page .btn{font:inherit;font-weight:700;border:0;border-radius:999px;cursor:pointer;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.cp-page .btn-pick{background:var(--ink);color:var(--surface);padding:8px 14px;font-size:.9rem}
.cp-page .btn-pick:hover{background:var(--c)}
.cp-page .btn-main{background:var(--orange);color:var(--orange-ink);padding:14px 22px;font-size:1.05rem;box-shadow:0 6px 18px -8px rgba(232,112,15,.8)}
.cp-page .btn-main:hover{filter:brightness(1.06)}
.cp-page .btn-ghost{background:var(--surface-2);color:var(--ink);padding:9px 16px}
.cp-page .btn[aria-disabled="true"]{opacity:.55}

/* ---------- Horario ---------- */

.cp-page .tabs{display:inline-flex;background:var(--surface);border-radius:999px;padding:5px;box-shadow:var(--shadow);gap:4px;flex-wrap:wrap}
.cp-page .tabs button{font:inherit;font-weight:700;border:0;background:transparent;color:var(--ink);padding:9px 18px;border-radius:999px;cursor:pointer}
.cp-page .tabs button[aria-selected="true"]{background:var(--navy);color:#fff}
.cp-page .agenda{margin-top:22px;background:var(--surface);border-radius:22px;box-shadow:var(--shadow);padding:8px 18px}
.cp-page .row{display:grid;grid-template-columns:70px 1fr;gap:14px;padding:14px 0;border-top:1px solid var(--line)}
.cp-page .row:first-child{border-top:0}
.cp-page .row > time{font-family:var(--display);font-weight:800;font-size:1.2rem;color:var(--navy);padding-top:6px}
.cp-page[data-theme="dark"] .row > time{color:#9DBBF0}
@media (prefers-color-scheme:dark){
.cp-page:not([data-theme="light"]) .row > time{color:#9DBBF0}}
.cp-page .chips{display:flex;flex-wrap:wrap;gap:10px}
.cp-page .chip{display:flex;gap:10px;align-items:center;background:var(--surface-2);border-radius:14px;padding:9px 14px 9px 10px;min-width:220px;flex:1 1 240px;max-width:380px;transition:opacity .2s}
.cp-page .chip .dot{width:34px;height:34px;border-radius:10px;background:var(--c);display:grid;place-items:center;flex:none}
.cp-page .chip .dot svg{width:20px;height:20px;stroke:#fff}
.cp-page .chip b{display:block;font-size:.96rem;line-height:1.2}
.cp-page .chip span{display:block;font-size:.84rem;color:var(--muted)}
.cp-page .chip.dim{opacity:.3}

/* ---------- Cuotas ---------- */

.cp-page .fees{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}
@media (max-width:860px){
.cp-page .fees{grid-template-columns:1fr}}
.cp-page .tiles{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cp-page .tile{background:var(--surface);border-radius:20px;box-shadow:var(--shadow);padding:18px}
.cp-page .tile.main{grid-column:1 / -1;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}
.cp-page .tile .amt{font-family:var(--display);font-weight:800;font-size:2.1rem;line-height:1}
.cp-page .tile.main .amt{font-size:3.4rem;color:#fff}
.cp-page .tile.main .amt small{font-size:1.2rem}
.cp-page .tile b{display:block;margin-bottom:6px}
.cp-page .tile p{margin:6px 0 0;color:var(--muted);font-size:.9rem}
.cp-page .tile.main p{color:#C9D6EE}
.cp-page .calc{background:var(--surface);border-radius:20px;box-shadow:var(--shadow);padding:20px}
.cp-page .calc h3{font-family:var(--display);font-weight:800;font-size:1.3rem;margin:0 0 12px}
.cp-page .switch{display:flex;align-items:center;gap:12px;cursor:pointer;margin-bottom:12px}
.cp-page .switch input{width:22px;height:22px;accent-color:var(--orange)}
.cp-page .kid{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line)}
.cp-page .seg{display:inline-flex;background:var(--surface-2);border-radius:999px;padding:3px}
.cp-page .seg button{font:inherit;font-weight:700;border:0;background:transparent;color:var(--ink);width:38px;height:34px;border-radius:999px;cursor:pointer}
.cp-page .seg button[aria-pressed="true"]{background:var(--navy);color:#fff}
.cp-page .linkbtn{font:inherit;background:none;border:0;color:var(--link);font-weight:700;cursor:pointer;padding:6px 0}
.cp-page .total{display:flex;justify-content:space-between;align-items:baseline;margin-top:10px;padding-top:14px;border-top:2px dashed var(--line)}
.cp-page .total .amt{font-family:var(--display);font-weight:800;font-size:2.5rem;color:var(--orange)}
.cp-page .breakdown{margin:6px 0 0;padding-left:18px;color:var(--muted);font-size:.9rem}
.cp-page .fine{font-size:.85rem;color:var(--muted);margin:10px 0 0}

/* ---------- Inscripción ---------- */

.cp-page .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;list-style:none;padding:0;margin:0 0 28px;counter-reset:s}
@media (max-width:900px){
.cp-page .steps{grid-template-columns:1fr 1fr}}
@media (max-width:520px){
.cp-page .steps{grid-template-columns:1fr}}
.cp-page .steps li{counter-increment:s;background:var(--surface);border-radius:20px;box-shadow:var(--shadow);padding:18px}
.cp-page .steps li::before{content:counter(s);display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--navy);color:#fff;font-family:var(--display);font-weight:800;font-size:1.2rem;margin-bottom:12px}
.cp-page .steps h3{font-family:var(--display);font-weight:600;font-size:1.12rem;margin:0 0 4px}
.cp-page .steps p{margin:0;color:var(--muted);font-size:.95rem}
.cp-page .cta-band{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:var(--navy);color:#fff;border-radius:24px;padding:24px 26px;position:relative;overflow:hidden}
.cp-page .cta-band svg.mark{position:absolute;right:-40px;top:-60px;width:240px;height:240px;opacity:.18}
.cp-page .cta-band h3{font-family:var(--display);font-weight:800;font-size:1.5rem;margin:0}
.cp-page .cta-band p{margin:4px 0 0;color:#C9D6EE}
.cp-page .cta-band .btn-main{position:relative}

/* ---------- Condiciones ---------- */

.cp-page .acc{max-width:880px}
.cp-page details{background:var(--surface);border-radius:16px;box-shadow:var(--shadow);margin:0 0 10px}
.cp-page summary{cursor:pointer;padding:16px 18px;font-weight:700;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
.cp-page summary::-webkit-details-marker{display:none}
.cp-page summary::after{content:"+";font-family:var(--display);font-weight:800;font-size:1.4rem;color:var(--orange);line-height:1}
.cp-page details[open] summary::after{content:"–"}
.cp-page details > div{padding:0 18px 14px;color:var(--ink)}
.cp-page details ul{margin:0;padding-left:20px}
.cp-page details li{margin:0 0 6px}

/* ---------- Diálogo de inscripción ---------- */

.cp-page dialog{border:0;padding:0;border-radius:24px;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);background:var(--surface);color:var(--ink);box-shadow:0 30px 80px -20px rgba(0,0,0,.5)}
.cp-page dialog::backdrop{background:rgba(7,20,45,.55);backdrop-filter:blur(3px)}
.cp-page .dlg-top{background:var(--c,var(--navy));color:#fff;padding:18px 20px;display:flex;align-items:center;gap:14px;position:relative}
.cp-page .dlg-top .sport{width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.2);display:grid;place-items:center;flex:none}
.cp-page .dlg-top .sport svg{width:26px;height:26px;stroke:#fff}
.cp-page .dlg-top h3{font-family:var(--display);font-weight:800;font-size:1.3rem;margin:0;line-height:1.1}
.cp-page .dlg-top p{margin:2px 0 0;font-size:.92rem;opacity:.92}
.cp-page .x{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.2);color:#fff;font-size:1.3rem;cursor:pointer;line-height:1}
.cp-page .dlg-body{padding:18px 20px 20px;overflow:auto}
.cp-page .dlg-body label.sel{display:block;font-weight:700;font-size:.9rem;margin-bottom:6px}
.cp-page .dlg-body select{width:100%;font:inherit;padding:11px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink)}
.cp-page .sum{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin:14px 0;font-size:.95rem}
.cp-page .sum div span{display:block;color:var(--muted);font-size:.8rem}
.cp-page .mini-steps{list-style:none;padding:0;margin:0 0 14px;counter-reset:m}
.cp-page .mini-steps li{counter-increment:m;display:grid;grid-template-columns:30px 1fr;gap:10px;padding:10px 0;border-top:1px solid var(--line)}
.cp-page .mini-steps li::before{content:counter(m);width:28px;height:28px;border-radius:9px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;font-size:.9rem}
.cp-page .mini-steps p{margin:0;font-size:.95rem}
.cp-page .iban{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;background:var(--surface-2);border-radius:12px;padding:8px 8px 8px 12px}
.cp-page .iban code{font-family:var(--body);font-weight:700;font-size:1rem;letter-spacing:.03em;flex:1}
.cp-page .ok{color:var(--ok);font-weight:700;font-size:.9rem}
.cp-page .accept{display:flex;gap:10px;align-items:flex-start;margin:6px 0 14px;cursor:pointer}
.cp-page .accept input{width:22px;height:22px;margin-top:2px;accent-color:var(--orange)}
.cp-page .dlg-body .btn-main{width:100%}
.cp-page .msg{margin:10px 0 0;font-weight:700;font-size:.95rem}

/* ---------- Barra fija móvil ---------- */

.cp-page .sticky{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:30;background:var(--navy);color:#fff;border-radius:18px;
  padding:10px 10px 10px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 14px 30px -10px rgba(7,20,45,.6)}
.cp-page .sticky span{font-size:.9rem;color:#C9D6EE;line-height:1.2}
.cp-page .sticky span b{display:block;color:#fff;font-size:.98rem}
.cp-page .sticky .btn-main{padding:11px 18px;font-size:.98rem;box-shadow:none}
@media (min-width:900px){
.cp-page .sticky{display:none}}

/* Later sections start closer to the previous one; the large family fee takes a whole row. */
.cp-page section.block--tight {
    padding-top: 8px;
}

.cp-page .tile--wide {
    grid-column: 1 / -1;
}

.cp-page .empty {
    margin: 0;
    padding: 18px 20px;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: var(--shadow);
    color: var(--muted);
}

