/* ==========================================================================
   Chamber portal — design system
   White + navy, trust-focused. Colours come from the chamber (set on :root by
   the layout); everything else is derived so a new chamber only needs two hex
   values. Bootstrap 5.3 provides the grid and base components.
   ========================================================================== */

:root {
    --cp-primary: #1e3a5f;
    --cp-accent: #12a08c;

    --cp-primary-dark: color-mix(in srgb, var(--cp-primary) 68%, #000);
    --cp-primary-soft: color-mix(in srgb, var(--cp-primary) 7%, #fff);
    --cp-accent-dark: color-mix(in srgb, var(--cp-accent) 80%, #000);
    --cp-accent-soft: color-mix(in srgb, var(--cp-accent) 12%, #fff);

    --cp-ink: #1b2738;
    --cp-muted: #5d6b7e;
    --cp-line: #e4e9f0;
    --cp-bg: #f5f7fa;
    --cp-star: #f5a623;

    --cp-radius: 16px;
    --cp-shadow: 0 1px 2px rgba(16, 32, 56, .06), 0 8px 24px rgba(16, 32, 56, .06);
    --cp-shadow-lg: 0 2px 6px rgba(16, 32, 56, .08), 0 22px 44px rgba(16, 32, 56, .14);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--cp-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--cp-primary);
    letter-spacing: -.015em;
}
a { color: var(--cp-accent-dark); }
a:hover { color: var(--cp-primary); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--cp-accent) 55%, #fff); outline-offset: 2px; border-radius: 6px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 2000;
    background: var(--cp-primary); color: #fff; padding: .6rem 1rem; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---- Buttons ------------------------------------------------------------ */
.btn-cp, .btn-cp-navy, .btn-cp-outline, .btn-cp-light {
    --bs-btn-font-weight: 600;
    border-radius: 12px; padding: .62rem 1.15rem; font-size: .92rem; border-width: 1.5px; transition: all .15s ease;
}
.btn-cp { background: var(--cp-accent); border-color: var(--cp-accent); color: #fff; }
.btn-cp:hover, .btn-cp:focus { background: var(--cp-accent-dark); border-color: var(--cp-accent-dark); color: #fff; }
.btn-cp-navy { background: var(--cp-primary); border-color: var(--cp-primary); color: #fff; }
.btn-cp-navy:hover, .btn-cp-navy:focus { background: var(--cp-primary-dark); border-color: var(--cp-primary-dark); color: #fff; }
.btn-cp-outline { background: #fff; border-color: var(--cp-line); color: var(--cp-primary); }
.btn-cp-outline:hover, .btn-cp-outline:focus { border-color: var(--cp-primary); background: var(--cp-primary-soft); color: var(--cp-primary); }
.btn-cp-light { background: #fff; border-color: #fff; color: var(--cp-primary); }
.btn-cp-light:hover { background: var(--cp-primary-soft); border-color: var(--cp-primary-soft); color: var(--cp-primary); }
.btn-sm.btn-cp, .btn-sm.btn-cp-navy, .btn-sm.btn-cp-outline { padding: .42rem .85rem; font-size: .82rem; border-radius: 10px; }

/* ---- Header ------------------------------------------------------------- */
.cp-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--cp-line);
}
.cp-header .navbar { padding: .7rem 0; }
.cp-header .container { max-width: 1240px; }
.cp-lockup { display: flex; align-items: center; gap: .8rem; text-decoration: none; min-width: 0; }
.cp-mark {
    width: 44px; height: 44px; flex: none; border-radius: 12px; overflow: hidden;
    background: var(--cp-primary); color: #fff; display: grid; place-items: center; font-size: 1.25rem;
}
.cp-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 3px; }
/*
 * A wordmark logo (see Chamber::hasWideLogo) keeps its proportions on a white tile, taller than the square mark so that
 * the small line under the big word stays readable. It carries the name itself, so the written name is left out beside
 * it, and on a phone the small label goes too, to leave room for the menu button.
 */
.cp-mark.is-wide { --cp-wide-h: 56px; width: auto; height: var(--cp-wide-h); background: #fff; }
.cp-mark.is-wide img { width: auto; height: var(--cp-wide-h); padding: 4px 8px; }
.cp-mark.is-wide + .cp-lockup-text .cp-lockup-name { display: none; }
.cp-footer .cp-mark.is-wide { --cp-wide-h: 48px; }
@media (max-width: 767.98px) {
    .cp-mark.is-wide { --cp-wide-h: 48px; }
    .cp-mark.is-wide + .cp-lockup-text { display: none; }
}
.cp-lockup-text { display: flex; flex-direction: column; line-height: 1.1; }
.cp-lockup-name { font: 800 1.02rem 'Montserrat', sans-serif; color: var(--cp-primary); white-space: nowrap; }
.cp-lockup-main { flex: none; }
/* A private demo says so on every page; the hero shows the chamber's logo on a white card in place of the badge. */
.cp-demo-note { background: var(--cp-accent-soft); color: var(--cp-primary); text-align: center; font-size: .8rem; font-weight: 600; padding: .4rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--cp-accent) 25%, #fff); }
.cp-hero-logo { display: grid; place-items: center; background: #fff; border-radius: 24px; padding: 1.8rem 2.2rem; box-shadow: var(--cp-shadow-lg); }
.cp-hero-logo img { max-width: 100%; height: auto; }
/* The seasonal banner under the hero, a note on a cover picture that is still missing, and the lists on the partnership page. */
.cp-banner { background: var(--cp-accent-soft); border-bottom: 1px solid color-mix(in srgb, var(--cp-accent) 22%, #fff); }
.cp-banner .container { display: flex; align-items: center; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; flex-wrap: wrap; }
.cp-banner .bi-bag-heart { font-size: 1.5rem; color: var(--cp-accent-dark); }
.cp-banner-text { flex: 1 1 18rem; display: flex; flex-direction: column; line-height: 1.25; }
.cp-banner-text b { color: var(--cp-primary); }
.cp-banner-text span { color: var(--cp-muted); font-size: .88rem; }
.cp-cover-note { position: absolute; z-index: 1; left: 1rem; top: 1rem; background: rgba(255, 255, 255, .92); color: var(--cp-muted); font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; }
.cp-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.cp-checklist li { position: relative; padding-left: 1.7rem; color: var(--cp-ink); font-size: .93rem; }
.cp-checklist li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--cp-accent); }
.cp-lockup-sub { font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cp-muted); }
/* Between 1200 and 1349px the menu stays in the hamburger, so that a long chamber name or the longer Spanish labels can never overflow the header. */
@media (min-width: 1200px) and (max-width: 1349.98px) {
    .cp-header .navbar-expand-xl .navbar-collapse { display: none !important; }
    .cp-header .navbar-expand-xl .navbar-collapse.show, .cp-header .navbar-expand-xl .navbar-collapse.collapsing { display: block !important; }
    .cp-header .navbar-expand-xl .navbar-toggler { display: block; }
    .cp-header .navbar-expand-xl .navbar-nav { flex-direction: column; }
    .cp-header .navbar-expand-xl { flex-wrap: wrap; }
    .cp-nav { padding-top: .8rem; }
}
.cp-nav .nav-link {
    color: var(--cp-ink); font-weight: 600; font-size: .84rem; padding: .5rem .55rem !important; border-radius: 10px; white-space: nowrap;
}
.cp-nav .nav-link:hover { background: var(--cp-primary-soft); color: var(--cp-primary); }
.cp-nav .nav-link.active { color: var(--cp-primary); background: var(--cp-primary-soft); }
.cp-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--cp-bg); border: 1px solid var(--cp-line); }
.cp-lang a {
    padding: .28rem .85rem; border-radius: 999px; font-weight: 700; font-size: .76rem; letter-spacing: .04em;
    color: var(--cp-muted); text-decoration: none; line-height: 1.3;
}
.cp-lang a.active { background: var(--cp-primary); color: #fff; }
.navbar-toggler { border: 1px solid var(--cp-line); border-radius: 10px; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--cp-accent) 30%, #fff); }

/* ---- Hero --------------------------------------------------------------- */
.cp-hero {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(135deg, var(--cp-primary-dark) 0%, var(--cp-primary) 72%);
}
.cp-hero::before {
    content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -240px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--cp-accent) 38%, transparent), transparent 68%);
}
.cp-hero::after {
    content: ""; position: absolute; width: 420px; height: 420px; left: -140px; bottom: -220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 70%);
}
.cp-hero .container { position: relative; z-index: 1; }
.cp-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; margin-bottom: 1rem; }
.cp-hero .lead { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 34rem; }
.cp-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cp-accent-dark);
}
.cp-hero .cp-eyebrow { color: #7fe3d3; }
.cp-search {
    display: flex; gap: .4rem; background: #fff; border-radius: 18px; padding: .5rem; box-shadow: var(--cp-shadow-lg);
    max-width: 640px;
}
.cp-search .field { position: relative; flex: 1 1 0; min-width: 0; }
.cp-search .field i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--cp-muted); }
.cp-search input, .cp-search select {
    width: 100%; border: 0; background: transparent; color: var(--cp-ink);
    padding: .78rem .8rem .78rem 2.5rem; font-size: .95rem; border-radius: 12px; outline: none;
}
.cp-search select { padding-left: .8rem; cursor: pointer; border-left: 1px solid var(--cp-line); border-radius: 0; }
.cp-search .field-cat { flex: 0 0 34%; }
.cp-hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.8rem; }
.cp-hero-stat b { display: block; font: 800 1.55rem 'Montserrat', sans-serif; color: #fff; line-height: 1; }
.cp-hero-stat span { font-size: .78rem; color: rgba(255, 255, 255, .7); }
.cp-hero-badge { display: grid; place-items: center; }
.cp-hero-badge img { width: min(300px, 78%); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }

.cp-page-hero { background: linear-gradient(135deg, var(--cp-primary-dark), var(--cp-primary)); color: #fff; padding: 2.6rem 0 2.4rem; position: relative; overflow: hidden; }
.cp-page-hero::before { content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cp-accent) 34%, transparent), transparent 68%); }
.cp-page-hero .container { position: relative; }
.cp-page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: .35rem 0 .5rem; }
.cp-page-hero p { color: rgba(255, 255, 255, .8); max-width: 44rem; margin: 0; }
.cp-page-hero .cp-eyebrow { color: #7fe3d3; }

/* ---- Sections ----------------------------------------------------------- */
.cp-section { padding: 4rem 0; }
.cp-section-alt { background: var(--cp-bg); }
.cp-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.cp-section-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: .3rem 0 0; }
.cp-section-head p { color: var(--cp-muted); margin: .4rem 0 0; max-width: 40rem; }

/* ---- Category chips / tiles -------------------------------------------- */
.cp-chips { display: flex; gap: .55rem; overflow-x: auto; padding: .2rem .1rem .6rem; scrollbar-width: thin; }
.cp-chip {
    flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px;
    background: #fff; border: 1.5px solid var(--cp-line); color: var(--cp-ink); font-weight: 600; font-size: .86rem; text-decoration: none;
    transition: all .15s ease;
}
.cp-chip small { color: var(--cp-muted); font-weight: 600; }
.cp-chip:hover { border-color: var(--cp-primary); color: var(--cp-primary); }
.cp-chip.active { background: var(--cp-primary); border-color: var(--cp-primary); color: #fff; }
.cp-chip.active small { color: rgba(255, 255, 255, .75); }

.cp-tile {
    display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.15rem 1.2rem; background: #fff; text-decoration: none;
    border: 1px solid var(--cp-line); border-radius: var(--cp-radius); box-shadow: var(--cp-shadow); transition: all .18s ease; color: var(--cp-ink);
}
.cp-tile:hover { transform: translateY(-3px); box-shadow: var(--cp-shadow-lg); border-color: color-mix(in srgb, var(--cp-accent) 45%, var(--cp-line)); color: var(--cp-ink); }
.cp-tile-icon { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; }
.cp-tile b { display: block; font: 700 1rem 'Montserrat', sans-serif; color: var(--cp-primary); }
.cp-tile span { font-size: .82rem; color: var(--cp-muted); }
.cp-tile .bi-arrow-right { margin-left: auto; color: var(--cp-muted); transition: transform .15s; }
.cp-tile:hover .bi-arrow-right { transform: translateX(3px); color: var(--cp-accent); }

/* ---- Chamber First badge chip ------------------------------------------ */
.cp-badge-chip {
    display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--cp-primary);
    font-weight: 700; font-size: .72rem; letter-spacing: .01em; padding: .28rem .7rem .28rem .3rem; border-radius: 999px;
    box-shadow: 0 2px 8px rgba(9, 20, 38, .22); white-space: nowrap; line-height: 1;
}
.cp-badge-chip .star {
    width: 22px; height: 22px; border-radius: 50%; background: var(--cp-primary); color: #fff; display: grid; place-items: center; font-size: .68rem;
}
.cp-badge-chip .star i { color: #7fe3d3; }
.cp-badge-chip.flat { box-shadow: none; border: 1.5px solid var(--cp-line); }
.cp-badge-chip.lg { font-size: .9rem; padding: .4rem 1rem .4rem .4rem; }
.cp-badge-chip.lg .star { width: 30px; height: 30px; font-size: .9rem; }

/* ---- Status / rating ---------------------------------------------------- */
.cp-status { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; padding: .28rem .6rem; border-radius: 999px; line-height: 1; }
.cp-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cp-status.open { background: #e7f7ef; color: #0f7a4a; }
.cp-status.closed { background: #fdecec; color: #b4232a; }
.cp-status.unknown { background: #eef1f5; color: #64748b; }
.cp-status.on-image { box-shadow: 0 2px 8px rgba(9, 20, 38, .2); background: #fff; }
.cp-status.on-image.open { color: #0f7a4a; }
.cp-status.on-image.closed { color: #b4232a; }
.cp-status.on-image.unknown { color: #64748b; }
.cp-stars { color: var(--cp-star); letter-spacing: 1px; white-space: nowrap; }
.cp-stars .off { color: #d5dbe4; }
.cp-rating { display: flex; align-items: center; gap: .45rem; font-size: .86rem; flex-wrap: wrap; }
.cp-rating b { color: var(--cp-ink); }
.cp-rating .count { color: var(--cp-muted); }

/* ---- Business card ------------------------------------------------------ */
.cp-biz {
    position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; overflow: hidden;
    border: 1px solid var(--cp-line); border-radius: var(--cp-radius); box-shadow: var(--cp-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.cp-biz:hover { transform: translateY(-4px); box-shadow: var(--cp-shadow-lg); }
.cp-biz-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--tone-a, #4b6584), var(--tone-b, #243447)); }
.cp-biz-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cp-biz:hover .cp-biz-cover img { transform: scale(1.04); }
.cp-biz-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 20, 38, 0) 48%, rgba(9, 20, 38, .5)); pointer-events: none; }
.cp-biz-initials { position: absolute; left: 16px; top: 8px; font: 800 2.6rem 'Montserrat', sans-serif; color: rgba(255, 255, 255, .88); z-index: 0; }
.cp-biz-badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; }
.cp-biz-state { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.cp-biz-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.1rem; flex: 1; }
.cp-biz-name { font: 700 1.06rem/1.25 'Montserrat', sans-serif; color: var(--cp-primary); margin: 0; }
.cp-biz-name a { color: inherit; text-decoration: none; }
.cp-biz-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cp-biz-meta { font-size: .8rem; color: var(--cp-muted); display: flex; flex-wrap: wrap; gap: .25rem .7rem; }
.cp-biz-meta i { margin-right: .25rem; color: var(--cp-accent); }
.cp-biz-desc { font-size: .85rem; color: #475467; margin: .2rem 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp-biz-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .8rem; position: relative; z-index: 2; }
.cp-biz-foot .link { font-weight: 600; font-size: .84rem; text-decoration: none; color: var(--cp-accent-dark); }
.cp-biz-foot .link:hover { color: var(--cp-primary); }

/* ---- Value props / steps ----------------------------------------------- */
.cp-value { height: 100%; padding: 1.7rem; background: #fff; border: 1px solid var(--cp-line); border-radius: var(--cp-radius); box-shadow: var(--cp-shadow); }
.cp-value-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem; background: var(--cp-accent-soft); color: var(--cp-accent-dark); }
.cp-value h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.cp-value p { color: var(--cp-muted); font-size: .92rem; margin: 0; }

.cp-stepset { counter-reset: step; }
.cp-step { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--cp-line); border-radius: var(--cp-radius); }
.cp-step::before {
    counter-increment: step; content: counter(step); flex: none; width: 38px; height: 38px; border-radius: 50%;
    background: var(--cp-primary); color: #fff; display: grid; place-items: center; font: 800 1rem 'Montserrat', sans-serif;
}
.cp-step h3 { font-size: 1rem; margin: 0 0 .25rem; }
.cp-step p { margin: 0; color: var(--cp-muted); font-size: .9rem; }

.cp-cta {
    background: linear-gradient(135deg, var(--cp-primary-dark), var(--cp-primary)); color: #fff; border-radius: 24px; padding: 2.6rem 2rem;
    position: relative; overflow: hidden;
}
.cp-cta::after { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cp-accent) 40%, transparent), transparent 68%); }
.cp-cta > * { position: relative; z-index: 1; }
.cp-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cp-cta p { color: rgba(255, 255, 255, .82); max-width: 36rem; }

.cp-callout { background: var(--cp-accent-soft); border: 1px solid color-mix(in srgb, var(--cp-accent) 30%, #fff); border-radius: var(--cp-radius); padding: 1.3rem 1.5rem; }

/* ---- Profile ------------------------------------------------------------ */
.cp-crumbs { font-size: .82rem; color: var(--cp-muted); }
.cp-crumbs a { color: var(--cp-muted); text-decoration: none; }
.cp-crumbs a:hover { color: var(--cp-primary); }
.cp-profile-cover { position: relative; height: 300px; background: linear-gradient(135deg, var(--tone-a, #4b6584), var(--tone-b, #243447)); overflow: hidden; }
.cp-profile-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 20, 38, .1), rgba(9, 20, 38, .55)); }
.cp-profile-head { position: relative; z-index: 2; margin-top: -84px; }
.cp-profile-card { background: #fff; border: 1px solid var(--cp-line); border-radius: 20px; box-shadow: var(--cp-shadow-lg); padding: 1.6rem; }
.cp-avatar {
    width: 84px; height: 84px; flex: none; border-radius: 20px; display: grid; place-items: center; overflow: hidden; color: #fff;
    font: 800 1.9rem 'Montserrat', sans-serif; background: linear-gradient(135deg, var(--tone-a, #4b6584), var(--tone-b, #243447)); border: 3px solid #fff; box-shadow: var(--cp-shadow);
}
.cp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cp-profile-card h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .2rem; }
.cp-panel { background: #fff; border: 1px solid var(--cp-line); border-radius: var(--cp-radius); padding: 1.4rem; box-shadow: var(--cp-shadow); }
.cp-panel + .cp-panel { margin-top: 1.25rem; }
.cp-panel h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.cp-panel h3 { font-size: .92rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cp-muted); font-weight: 700; margin-bottom: .9rem; }
.cp-info { list-style: none; padding: 0; margin: 0; }
.cp-info li { display: flex; gap: .8rem; justify-content: space-between; padding: .62rem 0; border-bottom: 1px dashed var(--cp-line); font-size: .9rem; }
.cp-info li:last-child { border-bottom: 0; }
.cp-info .k { color: var(--cp-muted); }
.cp-info .v { font-weight: 600; text-align: right; }
.cp-info a { text-decoration: none; }
.cp-hours { width: 100%; font-size: .88rem; }
.cp-hours td { padding: .38rem 0; border-bottom: 1px dashed var(--cp-line); }
.cp-hours tr:last-child td { border-bottom: 0; }
.cp-hours td:last-child { text-align: right; font-weight: 600; }
.cp-hours tr.today td { color: var(--cp-primary); font-weight: 700; }
.cp-hours tr.today td:first-child::after { content: "•"; color: var(--cp-accent); margin-left: .35rem; }
.cp-trust { background: linear-gradient(160deg, var(--cp-accent-soft), #fff); border-color: color-mix(in srgb, var(--cp-accent) 35%, #fff); }
.cp-trust img { width: 72px; height: 72px; flex: none; }
.cp-trust h3 { color: var(--cp-primary); text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 800; font-family: 'Montserrat', sans-serif; margin: 0; }
.cp-review { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--cp-line); }
.cp-review:last-child { border-bottom: 0; padding-bottom: 0; }
.cp-review-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--cp-primary-soft); color: var(--cp-primary); display: grid; place-items: center; font-weight: 700; }
.cp-review-src { font-size: .72rem; font-weight: 600; color: var(--cp-muted); background: var(--cp-bg); border-radius: 999px; padding: .15rem .55rem; }
.cp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.cp-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--cp-bg); }
.cp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cp-gallery a:hover img { transform: scale(1.05); }
.cp-social a { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--cp-bg); color: var(--cp-primary); text-decoration: none; margin-right: .4rem; transition: all .15s; }
.cp-social a:hover { background: var(--cp-primary); color: #fff; }
@media (min-width: 992px) { .cp-sticky { position: sticky; top: 92px; } }

/* ---- Forms -------------------------------------------------------------- */
.cp-form .form-label { font-weight: 600; font-size: .85rem; color: var(--cp-ink); }
.cp-form .form-control, .cp-form .form-select { border: 1.5px solid var(--cp-line); border-radius: 12px; padding: .7rem .95rem; font-size: .94rem; }
.cp-form .form-control:focus, .cp-form .form-select:focus { border-color: var(--cp-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cp-accent) 18%, #fff); }
.cp-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---- Filters row / pagination ------------------------------------------ */
.cp-filters { background: #fff; border: 1px solid var(--cp-line); border-radius: var(--cp-radius); padding: 1rem; box-shadow: var(--cp-shadow); }
.pagination { --bs-pagination-color: var(--cp-primary); --bs-pagination-active-bg: var(--cp-primary); --bs-pagination-active-border-color: var(--cp-primary); --bs-pagination-border-radius: 10px; gap: .3rem; }
.pagination .page-link { border-radius: 10px !important; border: 1px solid var(--cp-line); font-weight: 600; font-size: .86rem; }
.cp-empty { text-align: center; padding: 3.5rem 1rem; background: var(--cp-bg); border: 1px dashed #cdd6e2; border-radius: var(--cp-radius); }
.cp-empty i { font-size: 2.2rem; color: var(--cp-muted); }

/* ---- Quick view modal ---------------------------------------------------- */
.cp-modal .modal-content { border: 0; border-radius: 20px; overflow: hidden; }
.cp-modal .cover { position: relative; height: 170px; background: linear-gradient(135deg, var(--tone-a, #4b6584), var(--tone-b, #243447)); }
.cp-modal .cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cp-modal .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(9, 20, 38, .45)); }
.cp-modal .btn-close { position: absolute; right: 14px; top: 14px; z-index: 3; background-color: #fff; opacity: 1; border-radius: 50%; padding: .6rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }

/* ---- Footer ------------------------------------------------------------- */
.cp-footer { background: var(--cp-primary-dark); color: #b8c4d6; padding: 3.4rem 0 0; }
.cp-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-family: 'Poppins', sans-serif; font-weight: 700; margin-bottom: 1rem; }
.cp-footer a { color: #b8c4d6; text-decoration: none; font-size: .9rem; }
.cp-footer a:hover { color: #fff; }
.cp-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.cp-footer .cp-lockup-name { color: #fff; }
.cp-footer .cp-lockup-sub { color: #93a4bb; }
.cp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.6rem; padding: 1.2rem 0; font-size: .82rem; }
.cp-footer .cp-badge-mini img { height: 76px; }

/* ---- Misc --------------------------------------------------------------- */
.cp-toast-wrap { position: fixed; z-index: 2000; right: 16px; bottom: 16px; }
.text-muted-cp { color: var(--cp-muted) !important; }
.cp-403 { min-height: 55vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 1199.98px) {
    .cp-nav { padding-top: .8rem; }
}
@media (max-width: 991.98px) {
    .cp-search { flex-direction: column; }
    .cp-search .field-cat { flex: 1 1 auto; }
    .cp-search select { border-left: 0; border-top: 1px solid var(--cp-line); }
    .cp-section { padding: 3rem 0; }
    .cp-profile-cover { height: 220px; }
    .cp-profile-head { margin-top: -60px; }
}
@media (max-width: 575.98px) {
    .cp-lockup-name { font-size: .9rem; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
    .cp-hero-stats { gap: 1.1rem; }
    .cp-gallery { grid-template-columns: repeat(2, 1fr); }
    .cp-profile-card { padding: 1.2rem; }
    .cp-avatar { width: 68px; height: 68px; font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Printable badge page ----------------------------------------------- */
.cp-print-sheet { display: grid; gap: 2rem; }
.cp-print-item { border: 1px dashed #b6c0cf; border-radius: 14px; padding: 1.5rem; text-align: center; background: #fff; }
.cp-print-item img { display: block; margin: 0 auto .8rem; }
@media print {
    .cp-header, .cp-footer, .cp-noprint, .skip-link { display: none !important; }
    body { background: #fff; }
    .cp-print-item { break-inside: avoid; border: 1px dashed #999; }
    @page { margin: 12mm; }
}

.cp-page-hero .cp-crumbs, .cp-page-hero .cp-crumbs a { color: rgba(255, 255, 255, .72); }
.cp-page-hero .cp-crumbs a:hover { color: #fff; }
.cp-page-hero .cp-crumbs .sep { margin: 0 .35rem; opacity: .6; }

/* FAQ accordion in the chamber colours instead of Bootstrap blue */
.accordion { --bs-accordion-active-bg: var(--cp-primary-soft); --bs-accordion-active-color: var(--cp-primary); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px color-mix(in srgb, var(--cp-accent) 25%, #fff); --bs-accordion-btn-color: var(--cp-primary); --bs-accordion-border-color: var(--cp-line); }
.accordion-button:not(.collapsed) { box-shadow: none; }

.cp-stepset .cp-step { height: 100%; }
