/* De-Mwananchi — public site styles (on top of Bootstrap 5) */

:root {
    --brand-50: #eef3ff;
    --brand-100: #dfe8ff;
    --brand-200: #c2d3ff;
    --brand-300: #94b3ff;
    --brand-600: #1e46ee;
    --brand-700: #1734d6;
    --brand-900: #1a2c88;
    --navy: #131c52;
    --accent-50: #fef3f2;
    --accent-400: #f4756c;
    --accent-600: #d63324;
    --accent-700: #b4271b;
    --accent-900: #7c231b;
    --ink: #1a2438;
    --shadow-card: 0 10px 30px -12px rgba(20, 39, 120, 0.25);

    --bs-primary: var(--brand-600);
    --bs-primary-rgb: 30, 70, 238;
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-color: var(--ink);
    --bs-link-color: var(--brand-600);
    --bs-link-hover-color: var(--brand-700);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@media (max-width: 575.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
body { font-family: var(--bs-body-font-family); color: var(--ink); }
img { max-width: 100%; }

.container { max-width: 1280px; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 576px) { .container { padding-left: 2rem; padding-right: 2rem; } }

.section-py { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 576px) { .section-py { padding-top: 5rem; padding-bottom: 5rem; } }

.bg-soft { background: #f8fafc; }
.bg-navy { background: var(--navy); }
.text-navy { color: var(--navy) !important; }
.text-brand { color: var(--brand-600) !important; }
.text-accent { color: var(--accent-600) !important; }
.text-muted { color: #475569 !important; }

/* ---------- Typography ---------- */
.eyebrow {
    font-size: .875rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: var(--accent-600); margin-bottom: .5rem;
}
.section-title {
    font-size: 1.875rem; font-weight: 800; letter-spacing: -.02em;
    color: var(--navy); margin-bottom: 0;
}
@media (min-width: 576px) { .section-title { font-size: 2.25rem; } }

.eyebrow-script { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.eyebrow-script .bar { width: 1.5rem; height: 3px; border-radius: 3px; background: var(--brand-600); }
.eyebrow-script span:last-child { font-family: 'Caveat', cursive; font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--brand-600); }

.split-heading { font-size: 1.875rem; font-weight: 800; line-height: 1.2; color: var(--navy); margin: 0; }
@media (min-width: 576px) { .split-heading { font-size: 2.25rem; } }
.split-heading-sm { font-size: 1.5rem; }
@media (min-width: 576px) { .split-heading-sm { font-size: 1.875rem; } }
.heading-dots { display: flex; align-items: center; gap: .3rem; margin-top: .75rem; }
.heading-dots span { width: 4px; height: 4px; border-radius: 50%; background: var(--brand-300); }
.heading-dots .line { width: 2.5rem; border-radius: 4px; background: var(--brand-600); margin-left: .15rem; }

.lead-muted { font-size: 1rem; line-height: 1.75; color: #475569; }
.display-number { font-size: 2.5rem; font-weight: 800; line-height: 1.1; }
@media (min-width: 576px) { .display-number { font-size: 3rem; } }
.stat-label { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-200); }

/* ---------- Buttons ---------- */
.btn-brand, .btn-accent, .btn-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.5rem; font-size: .875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; border-radius: .375rem;
}
.btn-brand { background: var(--brand-600); color: #fff; border: 0; box-shadow: var(--shadow-card); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-700); color: #fff; }
.btn-accent { background: var(--accent-600); color: #fff; border: 0; }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-700); color: #fff; }
.btn-cta.btn-outline-light { border-width: 2px; }
.btn-cta.btn-outline-light:hover { color: var(--brand-700); }
.link-brand { font-size: .875rem; font-weight: 700; color: var(--brand-600); text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.link-brand:hover { color: var(--brand-700); }

/* ---------- Header ---------- */
.site-header { background: #fff; transition: box-shadow .2s; z-index: 1030; }
.site-header.scrolled { box-shadow: 0 4px 20px -6px rgba(15, 30, 90, .18); }
.header-inner { max-width: 1720px; margin: 0 auto; padding-left: 1rem; }
.brand img { height: 3.5rem; width: auto; }
.brand span { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: #0f172a; line-height: 1.2; }
@media (max-width: 1399.98px) { .brand span { font-size: 1.5rem; } }

.main-nav { gap: 2.25rem; }
.main-nav > a, .main-nav .dropdown > a {
    color: #1e293b; font-weight: 600; font-size: 1rem; text-decoration: none; padding: .5rem 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand-600); }
.main-nav .dropdown-menu { border: 1px solid #f1f5f9; border-radius: .5rem; box-shadow: var(--shadow-card); padding: .5rem 0; min-width: 14rem; margin-top: 0; }
.main-nav .dropdown-item { font-size: .875rem; font-weight: 500; padding: .6rem 1rem; color: #334155; }
.main-nav .dropdown-item:hover { background: var(--brand-50); color: var(--brand-700); }
@media (min-width: 992px) {
    .hover-dropdown:hover > .dropdown-menu { display: block; }
}

.btn-header-apply {
    align-items: center; gap: .5rem; background: var(--brand-600); color: #fff;
    padding: 1.5rem; font-size: .875rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; text-decoration: none; box-shadow: var(--shadow-card);
}
.btn-header-apply:hover { background: var(--brand-700); color: #fff; }
.btn-menu { width: 2.75rem; height: 2.75rem; border: 1px solid #e2e8f0; font-size: 1.5rem; line-height: 1; color: var(--navy); margin-right: 1rem; }
@media (max-width: 575.98px) { .header-inner { padding-top: .5rem; padding-bottom: .5rem; } }

.mobile-nav { background: var(--navy); color: #fff; }
.mobile-nav .m-link { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 600; text-decoration: none; }
.mobile-nav .m-sub a { display: block; padding: .5rem 0 .5rem .75rem; color: var(--brand-100); font-size: .9rem; text-decoration: none; }
.mobile-nav .m-sub a:hover { color: #fff; }

/* ---------- Hero ---------- */
.home-hero { position: relative; overflow: hidden; background: var(--navy); }
.home-hero .carousel, .home-hero .carousel-inner, .home-hero .carousel-item { position: absolute; inset: 0; height: 100%; }
.home-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.home-hero .carousel-fade .carousel-item { transition-duration: 1s; }
.home-hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.35), rgba(0,0,0,.1)); pointer-events: none; z-index: 2; }
.home-hero .hero-content { position: relative; z-index: 2; min-height: 620px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 576px) { .home-hero .hero-content { min-height: 680px; } }
.home-hero h1 { font-size: 2.25rem; font-weight: 800; text-transform: uppercase; line-height: 1.15; color: #fff; }
@media (min-width: 576px) { .home-hero h1 { font-size: 3.75rem; } }
.home-hero .hero-sub { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; color: rgba(255,255,255,.9); }
.home-hero .carousel-indicators { z-index: 4; margin-bottom: 1.5rem; }
.home-hero .carousel-indicators [data-bs-target] { width: .625rem; height: .625rem; border-radius: 999px; border: 0; background: rgba(255,255,255,.5); opacity: 1; transition: all .3s; }
.home-hero .carousel-indicators .active { width: 2rem; background: #fff; }

.page-hero, .cta-banner, .stats-band { position: relative; overflow: hidden; background: var(--navy); }
.page-hero .bg-img, .cta-banner .bg-img, .stats-band .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg-img { opacity: .3; }
.page-hero .overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--navy), rgba(19,28,82,.95), rgba(26,44,136,.7)); }
.page-hero .container { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 576px) { .page-hero .container { padding-top: 7rem; padding-bottom: 7rem; } }
.page-hero h1 { max-width: 48rem; font-size: 1.875rem; font-weight: 800; line-height: 1.2; color: #fff; }
@media (min-width: 576px) { .page-hero h1 { font-size: 3rem; } }
.page-hero .lead-text { margin-top: 1rem; max-width: 42rem; color: var(--brand-100); font-size: 1.05rem; }
.hero-crumb { display: flex; gap: .5rem; margin-bottom: 1rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-300); }
.hero-crumb a { color: inherit; text-decoration: none; }
.hero-crumb a:hover { color: #fff; }

.cta-banner .bg-img { opacity: .25; }
.cta-banner .overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--navy), rgba(19,28,82,.9), rgba(124,35,27,.6)); }
.cta-banner .container { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 576px) { .cta-banner .container { padding-top: 5rem; padding-bottom: 5rem; } }
.cta-banner h2 { font-size: 1.5rem; font-weight: 800; color: #fff; }
@media (min-width: 576px) { .cta-banner h2 { font-size: 1.875rem; } }
.cta-banner p { color: var(--brand-100); margin-top: .75rem; }

.stats-band .overlay { position: absolute; inset: 0; background: rgba(19,28,82,.85); }

/* ---------- Cards ---------- */
.card-soft { background: #fff; border-radius: .75rem; box-shadow: var(--shadow-card); border: 1px solid #f1f5f9; position: relative; }
.card-img-cover { width: 100%; object-fit: cover; display: block; }
.img-feature { width: 100%; border-radius: .75rem; object-fit: cover; box-shadow: var(--shadow-card); }
.h-420 { height: 420px; } .h-460 { height: 460px; } .h-384 { height: 384px; } .h-560 { height: 560px; } .h-224 { height: 224px; }
@media (max-width: 767.98px) { .h-420, .h-460, .h-384, .h-560 { height: 300px; } .h-224 { height: 170px; } }

.icon-circle { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--brand-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.number-circle { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; font-weight: 800; }
.step-card { padding: 1.5rem; }
.step-arrow { position: absolute; right: -1.25rem; top: 2.25rem; color: var(--brand-200); font-size: 1.4rem; }
.quote-icon { font-size: 2.6rem; color: var(--brand-100); line-height: 1; }
.stars { display: flex; gap: .2rem; color: #fbbf24; }

.check-item { display: flex; align-items: flex-start; gap: .75rem; background: #fff; padding: 1rem; border-radius: .5rem; box-shadow: var(--shadow-card); border: 1px solid #f1f5f9; }
.check-item .ic { width: 1.75rem; height: 1.75rem; flex-shrink: 0; border-radius: 50%; background: var(--brand-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.check-item p { margin: 0; font-size: .875rem; font-weight: 500; line-height: 1.6; color: #334155; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .75rem; font-weight: 500; }
.check-list i { font-size: 1.15rem; line-height: 1.3; }

.product-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 20rem; overflow: hidden; border-radius: .75rem; box-shadow: var(--shadow-card); text-decoration: none; }
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(19,28,82,.95), rgba(19,28,82,.5), transparent); transition: background .3s; }
.product-card:hover img { transform: scale(1.1); }
.product-card:hover .shade { background: linear-gradient(to top, rgba(149,36,26,.9), rgba(19,28,82,.5), transparent); }
.product-card .body { position: relative; padding: 1.5rem; }
.product-card h3 { font-size: 1.25rem; font-weight: 700; color: #fff; }
.product-card p { font-size: .875rem; color: var(--brand-100); margin: .5rem 0 0; }
.product-card .more { display: inline-flex; gap: .35rem; align-items: center; margin-top: 1rem; font-size: .875rem; font-weight: 700; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
.product-card:hover .more { opacity: 1; }

.progress-brand { height: .625rem; border-radius: 999px; background: #e2e8f0; }
.progress-brand .progress-bar { background: var(--brand-600); border-radius: 999px; }

.feature-box { border: 1px solid #f1f5f9; border-radius: .5rem; padding: 1.25rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); height: 100%; }
.feature-box .lbl { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-600); margin: 0; }
.feature-box .val { font-size: .875rem; font-weight: 600; color: var(--navy); margin: .35rem 0 0; }

.panel-brand { background: var(--brand-600); color: #fff; border-radius: 1rem; padding: 2.5rem; box-shadow: var(--shadow-card); height: 100%; }
.panel-accent { background: var(--accent-600); color: #fff; border-radius: 1rem; padding: 2.5rem; box-shadow: var(--shadow-card); height: 100%; }
.panel-brand li, .panel-accent li { color: rgba(255,255,255,.92); }

.bank-chip { border: 2px solid var(--brand-100); background: var(--brand-50); color: var(--brand-900); border-radius: .5rem; padding: 1rem; text-align: center; font-size: .875rem; font-weight: 700; height: 100%; display: flex; align-items: center; justify-content: center; }

/* ---------- Forms ---------- */
.form-label { font-size: .875rem; font-weight: 600; color: var(--navy); }
.form-control, .form-select { padding: .75rem 1rem; font-size: .875rem; border-color: #cbd5e1; border-radius: .375rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand-600); box-shadow: 0 0 0 .2rem var(--brand-100); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-point { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
.contact-point .icon-circle { width: 2.75rem; height: 2.75rem; font-size: 1.1rem; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--brand-200); }
.footer-logo { height: 2.75rem; width: auto; background: #fff; padding: .25rem; border-radius: .25rem; }
.footer-title { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .6rem; font-size: .875rem; }
.footer-links a { color: var(--brand-200); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.social-btn { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s; }
.social-btn:hover { background: var(--accent-600); color: #fff; }
.footer-bottom { background: var(--brand-900); border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; color: var(--brand-300); }

.whatsapp-btn {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040;
    width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
    box-shadow: 0 10px 15px -3px rgba(6,78,59,.3); transition: transform .2s, background .2s; text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.05); background: #1ebe5b; color: #fff; }
