/* ==========================================================================
   Congo Bullion Market - Main theme stylesheet
   Ports the original React/Vite + Tailwind design into plain CSS.
   ========================================================================== */

:root {
    --gold:        #C9A84C;
    --gold-light:  #E8D5A3;
    --gold-dark:   #8B6914;
    --black:       #0A0A0A;
    --black-soft:  #111111;
    --charcoal:    #1A1A1A;
    --navy:        #0D1B2A;
    --navy-light:  #162B3D;
    --white:       #FFFFFF;
    --off-white:   #F8F7F4;
    --gray:        #6B7280;
    --gray-dark:   #374151;
    --gray-light:  #E5E7EB;
    --gray-muted:  #9CA3AF;
    --success:     #10B981;
    --warning:     #F59E0B;
    --error:       #EF4444;

    --container: 1280px;
    --radius: 0.5rem;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: 250ms ease;
}

/* ---------- Base typography ---------- */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: var(--gray-dark);
    margin: 0 0 0.5em;
    line-height: 1.2;
    font-weight: 600;
}

p { margin: 0 0 1em; }
a { color: var(--gold-dark); transition: color 150ms ease; }
a:hover { color: var(--gold); }

.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-body    { font-family: 'Inter', system-ui, sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', 'Courier New', monospace; }

.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.bg-gold { background-color: var(--gold); }
.bg-navy { background-color: var(--navy); }
.bg-black { background-color: var(--black); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-off-white { background-color: var(--off-white); }

/* ---------- Layout helpers ---------- */
.cbm-site {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
.cbm-main {
    flex: 1 1 auto;
    padding-top: 80px; /* matches fixed header height */
}
.cbm-container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) { .cbm-container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px){ .cbm-container { padding-left: 2rem;   padding-right: 2rem;   } }
@media (min-width: 1280px){ .cbm-container { padding-left: 3rem;   padding-right: 3rem;   } }

.cbm-section { padding: 6rem 0; }
@media (max-width: 640px) { .cbm-section { padding: 4rem 0; } }

/* ---------- Buttons ---------- */
.cbm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 4px;
    padding: 1rem 2rem;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 200ms ease;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1;
}
.cbm-btn-primary {
    background-color: var(--gold);
    color: var(--black);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.cbm-btn-primary:hover {
    color: var(--black);
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(201, 168, 76, 0.35);
}
.cbm-btn-outline {
    color: var(--gold);
    border-color: var(--gold);
    background: transparent;
}
.cbm-btn-outline:hover {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold-light);
}
.cbm-btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    background: transparent;
}
.cbm-btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.cbm-btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    text-transform: none;
    letter-spacing: 0;
}
.cbm-btn-whatsapp:hover { color: var(--white); transform: scale(1.02); }

.cbm-btn-sm { padding: .65rem 1.25rem; font-size: 13px; }

/* ---------- Header / Navbar ---------- */
.cbm-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 60;
    height: 80px;
    background-color: rgba(10, 10, 10, 0.6);
    border-bottom: 1px solid transparent;
    transition: background-color 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
}
.cbm-header.is-scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(201, 168, 76, 0.1);
}
.cbm-header-inner {
    max-width: var(--container);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}
@media (min-width: 640px)  { .cbm-header-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .cbm-header-inner { padding: 0 2rem;   } }
@media (min-width: 1280px) { .cbm-header-inner { padding: 0 3rem;   } }

.cbm-logo { display: inline-flex; align-items: center; gap: .75rem; }
.cbm-logo img, .cbm-logo svg { height: 40px; width: auto; }
.cbm-logo-text {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.cbm-nav { display: none; }
@media (min-width: 1024px) { .cbm-nav { display: block; } }
.cbm-nav > ul, .cbm-nav .menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.cbm-nav .menu-item { list-style: none; }
.cbm-nav a, .cbm-nav .menu-item > a {
    position: relative;
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 500;
    transition: color 150ms ease;
    padding: 0.25rem 0;
    display: inline-block;
    text-decoration: none;
    line-height: 1;
}
.cbm-nav a:hover, .cbm-nav .current-menu-item > a { color: var(--gold); }
.cbm-nav .current-menu-item > a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--gold);
}

.cbm-nav .menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 10px;
    margin-left: 4px;
    color: inherit;
}
.cbm-nav .sub-menu {
    display: block;
    list-style: none;
    margin: 0; padding: .5rem 0;
    position: absolute;
    top: 100%; left: 0;
    min-width: 220px;
    background-color: var(--black-soft);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
    opacity: 0; pointer-events: none;
    transform: translateY(8px);
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 70;
}
.cbm-nav .menu-item-has-children { position: relative; }
.cbm-nav .menu-item-has-children:hover > .sub-menu,
.cbm-nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}
.cbm-nav .sub-menu li { list-style: none; }
.cbm-nav .sub-menu a {
    display: block;
    padding: .5rem 1rem;
    font-size: 14px;
    color: var(--gray-light);
}
.cbm-nav .sub-menu a:hover { background-color: rgba(201, 168, 76, .1); color: var(--gold); }

.cbm-header-cta { display: none; align-items: center; gap: .75rem; }
@media (min-width: 1024px) { .cbm-header-cta { display: flex; } }
.cbm-header-cta .cbm-btn-whatsapp-icon {
    height: 40px; width: 40px;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background-color: #25D366; color: var(--white);
    transition: transform 200ms ease;
}
.cbm-header-cta .cbm-btn-whatsapp-icon:hover { transform: scale(1.1); color: var(--white); }

.cbm-mobile-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    height: 40px; width: 40px; color: var(--white);
    background: transparent; border: 0;
}
@media (min-width: 1024px) { .cbm-mobile-toggle { display: none; } }
.cbm-mobile-toggle svg { width: 24px; height: 24px; }

/* ---------- Mobile drawer ---------- */
.cbm-drawer {
    position: fixed; inset: 0;
    background: var(--black-soft);
    z-index: 55;
    opacity: 0; pointer-events: none;
    transition: opacity 300ms ease;
    display: flex; flex-direction: column;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}
.cbm-drawer.is-open { opacity: 1; pointer-events: auto; }
.cbm-drawer nav { width: 100%; }
.cbm-drawer ul, .cbm-drawer .menu, .cbm-drawer .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.cbm-drawer .menu-item { list-style: none; }
.cbm-drawer .menu-item > a {
    display: block;
    padding: .85rem 0;
    font-size: 1.05rem;
    color: var(--gray-light);
    font-weight: 500;
}
.cbm-drawer .menu-item-has-children > a { color: var(--gold); }
.cbm-drawer .sub-menu a {
    padding: .5rem 0 .5rem 1rem;
    font-size: 1rem;
}
.cbm-drawer .menu-item > a:hover { color: var(--gold); }
.cbm-drawer-cta { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.cbm-drawer-cta .cbm-btn { width: 100%; padding: 1rem 1.5rem; }

/* ---------- Hero ---------- */
.cbm-hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
}
.cbm-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.9) 100%);
    z-index: 2;
}
.cbm-hero-bg {
    position: absolute; inset: 0;
    z-index: 1;
    width: 100%; height: 100%;
    object-fit: cover;
}
.cbm-hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}
.cbm-hero-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1rem;
}
.cbm-hero h1 {
    color: var(--white);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}
.cbm-hero-lead {
    color: var(--gray-light);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 680px;
    margin: 1.5rem auto 0;
}
@media (min-width: 640px) { .cbm-hero-lead { font-size: 1.25rem; } }
.cbm-hero-actions {
    margin-top: 2.5rem;
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.cbm-hero-badges {
    margin-top: 4rem;
    display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; justify-content: center;
}
.cbm-hero-badges .cbm-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--gray-light);
    font-size: 14px; font-weight: 500;
}
.cbm-hero-badges .cbm-badge svg { color: var(--gold); width: 20px; height: 20px; }
.cbm-hero-particles {
    position: absolute; top:0; left:0; width:100%; height:100%;
    z-index: 3; pointer-events: none;
}

/* ---------- Section eyebrow + title ---------- */
.cbm-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}
.cbm-h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.875rem, 3.5vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
}
.cbm-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray);
    max-width: 800px;
}
.cbm-text-center { text-align: center; }
.cbm-mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Stats ---------- */
.cbm-stats {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cbm-stats { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px){ .cbm-stats { grid-template-columns: repeat(4,1fr); } }
.cbm-stat { text-align: center; }
.cbm-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
@media (min-width: 768px){ .cbm-stat-num { font-size: 3rem; } }
.cbm-stat-label { font-size: 14px; color: var(--gray); margin-top: .5rem; }

/* ---------- Products / cards grid ---------- */
.cbm-grid-3 {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    margin-top: 3.5rem;
}
@media (min-width: 640px)  { .cbm-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .cbm-grid-3 { grid-template-columns: repeat(3,1fr); } }

.cbm-grid-4 {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    margin-top: 3.5rem;
}
@media (min-width: 640px)  { .cbm-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .cbm-grid-4 { grid-template-columns: repeat(4,1fr); } }

.cbm-card-dark {
    background: linear-gradient(180deg, #111111 0%, #1A1A1A 100%);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.cbm-card-dark:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: var(--shadow-dark);
}
.cbm-card-dark img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}
.cbm-card-dark:hover img { transform: scale(1.05); }
.cbm-card-dark .cbm-card-body { padding: 1.5rem 2rem 2rem; }
.cbm-card-dark h3 { color: var(--white); font-size: 1.5rem; margin: .75rem 0 .5rem; }
.cbm-card-dark p { color: var(--gray-muted); font-size: 14px; line-height: 1.6; margin: 0 0 1rem; }
.cbm-pill {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    border-radius: 999px;
    padding: .25rem .75rem;
    font-size: 12px; font-weight: 600;
}

.cbm-card-light {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    color: inherit;
    display: block;
}
.cbm-card-light:hover { box-shadow: var(--shadow-card-hover); }
.cbm-card-light img { aspect-ratio: 16/9; width: 100%; object-fit: cover; transition: transform 400ms ease; }
.cbm-card-light:hover img { transform: scale(1.05); }
.cbm-card-light .cbm-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.cbm-card-light .cbm-card-tag { color: var(--gold); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.cbm-card-light h3 { color: var(--gray-dark); font-size: 1.125rem; margin: .5rem 0; }
@media (min-width: 768px) { .cbm-card-light h3 { font-size: 1.25rem; } }
.cbm-card-light p { color: var(--gray); font-size: 14px; line-height: 1.6; margin: 0; }
.cbm-card-light .cbm-card-meta { color: var(--gray-muted); font-size: 12px; margin-top: .75rem; }

/* ---------- 4-step process ---------- */
.cbm-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
    position: relative;
}
@media (min-width: 640px)  { .cbm-steps { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .cbm-steps { grid-template-columns: repeat(4,1fr); } }
.cbm-step { text-align: center; position: relative; }
.cbm-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    color: rgba(201, 168, 76, .3);
    font-weight: 700;
    line-height: 1;
}
.cbm-step-icon {
    margin: 1rem auto 0;
    width: 48px; height: 48px;
    color: var(--gold);
    display: inline-flex; align-items: center; justify-content: center;
}
.cbm-step h3 { color: var(--gray-dark); font-size: 1.25rem; margin-top: 1rem; }
.cbm-step p  { color: var(--gray); font-size: 14px; line-height: 1.6; }
.cbm-steps-line {
    display: none;
    position: absolute; top: 32px;
    left: 12.5%; right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
}
@media (min-width: 1024px) { .cbm-steps-line { display: block; } }

/* ---------- Why-choose-us / icon grid ---------- */
.cbm-grid-features { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-top: 3.5rem; }
@media (min-width: 640px)  { .cbm-grid-features { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .cbm-grid-features { grid-template-columns: repeat(3,1fr); } }
.cbm-feature { text-align: center; }
.cbm-feature-icon { color: var(--gold); width: 40px; height: 40px; margin: 0 auto; }
.cbm-feature h3 { color: var(--white); font-size: 1.25rem; margin-top: 1rem; }
.cbm-feature p  { color: var(--gray-muted); font-size: 14px; line-height: 1.6; }

/* ---------- Compliance split section ---------- */
.cbm-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) { .cbm-split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.cbm-split img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.cbm-split-caption { text-align: center; font-style: italic; color: var(--gray-muted); font-size: 14px; margin-top: .75rem; }
.cbm-split h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.15; }
.cbm-checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: .75rem; }
.cbm-checklist li { display: flex; align-items: center; gap: .75rem; color: var(--gray); }
.cbm-checklist svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.cbm-faq { max-width: 800px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.cbm-faq-item {
    background: var(--charcoal);
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    overflow: hidden;
}
.cbm-faq-item.is-open { border-color: rgba(201, 168, 76, .3); }
.cbm-faq-q {
    width: 100%;
    background: none;
    border: 0;
    color: var(--white);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cbm-faq-q svg { width: 20px; height: 20px; color: var(--gold); transition: transform 200ms ease; flex-shrink: 0; }
.cbm-faq-item.is-open .cbm-faq-q svg { transform: rotate(180deg); }
.cbm-faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 300ms ease;
    color: var(--gray-light);
    padding: 0 1.5rem;
}
.cbm-faq-item.is-open .cbm-faq-a {
    max-height: 600px;
    padding: 0 1.5rem 1.25rem;
}

/* ---------- Footer ---------- */
.cbm-footer {
    width: 100%;
    background-color: var(--navy);
    color: var(--gray-muted);
}
.cbm-footer-accent { height: 2px; background: var(--gold); width: 100%; }
.cbm-footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 4rem 1rem;
}
@media (min-width: 640px)  { .cbm-footer-inner { padding: 5rem 1.5rem; } }
@media (min-width: 1024px) { .cbm-footer-inner { padding: 5rem 2rem; } }
@media (min-width: 1280px) { .cbm-footer-inner { padding: 5rem 3rem; } }

.cbm-footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .cbm-footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .cbm-footer-grid { grid-template-columns: repeat(4,1fr); } }
.cbm-footer h4 {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    margin: 0 0 1rem;
}
.cbm-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.cbm-footer a { color: var(--gray-muted); font-size: 14px; transition: color 200ms ease, transform 200ms ease; }
.cbm-footer a:hover { color: var(--gold); transform: translateX(2px); }
.cbm-footer p { color: var(--gray-muted); font-size: 14px; line-height: 1.7; max-width: 280px; }
.cbm-footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.cbm-footer-social a { color: var(--gray-muted); display: inline-flex; }
.cbm-footer-social svg { width: 20px; height: 20px; }
.cbm-footer-contact li { display: flex; align-items: center; gap: .5rem; color: var(--gray-muted); font-size: 14px; }
.cbm-footer-contact svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.cbm-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column; gap: 1rem;
    color: var(--gray-muted); font-size: 12px;
}
@media (min-width: 640px) {
    .cbm-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cbm-footer-bottom .cbm-legal-links { display: flex; gap: 1rem; }
.cbm-footer-disclaimer {
    margin-top: 1rem;
    font-size: 12px;
    color: var(--gray-muted);
    line-height: 1.7;
    text-align: center;
}

/* ---------- Sticky buttons ---------- */
.cbm-sticky-quote, .cbm-sticky-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.cbm-sticky-whatsapp {
    right: 1.5rem;
    width: 56px; height: 56px; border-radius: 50%;
    background-color: #25D366; color: var(--white);
    display: flex; align-items: center; justify-content: center;
}
.cbm-sticky-whatsapp:hover { transform: scale(1.1); color: var(--white); }
.cbm-sticky-whatsapp svg { width: 28px; height: 28px; }
.cbm-sticky-quote {
    left: 1.5rem;
    border-radius: 999px;
    padding: .85rem 1.25rem;
    background: var(--gold); color: var(--black);
    font-size: 14px; font-weight: 600;
    display: inline-flex; align-items: center; gap: .5rem;
    box-shadow: 0 4px 20px rgba(201, 168, 76, .3);
}
.cbm-sticky-quote:hover { transform: scale(1.05); color: var(--black); }
.cbm-sticky-quote svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
    .cbm-sticky-quote span { display: none; }
    .cbm-sticky-quote { padding: .85rem; }
}

/* ---------- Contact CTA strip ---------- */
.cbm-contact-cta {
    position: relative;
    text-align: center;
    color: var(--white);
}
.cbm-contact-cta h2 {
    color: var(--white);
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 600;
}
.cbm-contact-cta p { color: var(--gray-light); font-size: 1.125rem; margin: 1rem auto 0; max-width: 640px; }
.cbm-contact-cta .cbm-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cbm-contact-cta .cbm-info {
    margin-top: 3rem;
    display: flex; flex-wrap: wrap; gap: 2rem;
    justify-content: center;
    color: var(--gray-light);
    font-size: 14px;
}
.cbm-contact-cta .cbm-info svg { color: var(--gold); margin-right: .5rem; vertical-align: -3px; width: 16px; height: 16px; }

/* ---------- Page templates / blog ---------- */
.cbm-page-content { padding: 4rem 0; }
.cbm-page-content h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cbm-page-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2rem 0 1rem; }
.cbm-page-content h3 { font-size: 1.25rem; margin: 1.5rem 0 .75rem; }
.cbm-page-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.cbm-page-content blockquote {
    border-left: 4px solid var(--gold);
    margin: 1.5rem 0;
    padding: .5rem 1.25rem;
    color: var(--gray-dark);
    background: var(--off-white);
    font-style: italic;
}
.cbm-page-content ul, .cbm-page-content ol { padding-left: 1.5rem; margin-bottom: 1em; }
.cbm-page-content a { color: var(--gold-dark); text-decoration: underline; }

.cbm-archive-header { padding: 4rem 0 2rem; text-align: center; }
.cbm-archive-header h1 { font-size: clamp(2rem, 4vw, 3rem); }
.cbm-archive-list { padding: 2rem 0 5rem; }
.cbm-archive-list .cbm-grid-3 { margin-top: 0; }

/* Pagination */
.cbm-pagination { display: flex; justify-content: center; gap: .5rem; margin: 3rem 0; }
.cbm-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 .75rem;
    border: 1px solid var(--gray-light); border-radius: 6px;
    color: var(--gray-dark); font-size: 14px; font-weight: 500;
    transition: all 150ms ease;
}
.cbm-pagination .page-numbers.current,
.cbm-pagination .page-numbers:hover {
    background: var(--gold); border-color: var(--gold); color: var(--black);
}

/* Comments */
.cbm-comments { margin-top: 3rem; }
.cbm-comments .comment-list { list-style: none; padding: 0; }
.cbm-comments .comment { border-bottom: 1px solid var(--gray-light); padding: 1rem 0; }
.cbm-comments .comment-author { font-weight: 600; color: var(--gray-dark); }
.cbm-comments .comment-meta a { color: var(--gray-muted); font-size: 12px; }

/* 404 / search */
.cbm-error { text-align: center; padding: 6rem 1rem; }
.cbm-error h1 { font-size: clamp(2rem, 5vw, 4rem); color: var(--gold); }
.cbm-error p { color: var(--gray); max-width: 480px; margin: 1rem auto 2rem; }

/* ---------- Reveal animations (CSS replacement for framer-motion) ---------- */
.cbm-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}
.cbm-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .cbm-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Elementor compatibility ---------- */
/* Allow Elementor full-width pages to break out of theme container */
.elementor-page .cbm-main { padding-top: 80px; }
.elementor-template-canvas .cbm-header,
.elementor-template-canvas .cbm-footer { display: none; }
.elementor-default .entry-content > .elementor { margin: 0; }

/* Elementor-friendly section helpers (so users can drop a Container at full bleed) */
.cbm-page-template-elementor-fullwidth .cbm-main { padding-top: 80px; }
.cbm-page-template-elementor-canvas .cbm-main { padding-top: 0; }

/* Make sure Elementor's images don't inherit border-radius from .cbm-page-co