/* ==========================================================================
   Mulan Technologies: theme layer on top of the JobPath template
   Brand: navy #26447B (primary), sky #5C9FD2 (accent)
   ========================================================================== */

:root {
    --mt-navy: #26447B;
    --mt-navy-600: #2E5394;
    --mt-navy-800: #1B3361;
    --mt-navy-900: #13254A;
    --mt-sky: #5C9FD2;
    --mt-sky-300: #9CC6EA;
    --mt-sky-100: #E3EFFA;
    --mt-tint: #EEF4FB;
    --mt-tint-2: #F6F9FD;
    --mt-line: #E3EAF3;
    --mt-ink: #0F1B33;
    --mt-body: #4A5568;
    --mt-muted: #7B8597;
    --mt-success: #1F9D6B;
    --mt-radius: 18px;
    --mt-radius-sm: 12px;
    --mt-shadow-sm: 0 4px 14px rgba(19, 37, 74, .06);
    --mt-shadow: 0 18px 44px rgba(19, 37, 74, .10);
    --mt-shadow-lg: 0 28px 70px rgba(19, 37, 74, .16);
    --mt-gradient: linear-gradient(135deg, var(--mt-navy-600) 0%, var(--mt-navy-900) 100%);
    --mt-gradient-brand: linear-gradient(120deg, var(--mt-navy) 0%, var(--mt-sky) 100%);

    /* Calmer type scale than the template's 80px headings */
    --h1: 58px;
    --h2: 46px;
    --h3: 40px;
    --h4: 32px;
    --h5: 26px;
    --h6: 20px;
    --p: 17px;
}

@media (max-width: 991.98px) {
    :root { --h1: 44px; --h2: 38px; --h3: 32px; --h4: 28px; --h5: 24px; --h6: 19px; --p: 16px; }
}

@media (max-width: 575.98px) {
    :root { --h1: 34px; --h2: 30px; --h3: 27px; --h4: 24px; --h5: 21px; }
}

html { scroll-padding-top: 100px; }
body { color: var(--mt-body); background: #fff; line-height: 1.7; }
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { color: var(--mt-ink); letter-spacing: -.02em; line-height: 1.18; font-weight: 800; }
h6, .h6 { letter-spacing: -.01em; font-weight: 700; }
a { color: var(--mt-navy); transition: color .2s ease; }
a:hover { color: var(--mt-sky); }
::selection { background: var(--mt-sky-100); color: var(--mt-navy-900); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--mt-sky); outline-offset: 2px; border-radius: 6px; }

.text-navy { color: var(--mt-navy) !important; }
.text-sky { color: var(--mt-sky) !important; }
.bg-tint { background: var(--mt-tint-2) !important; }
.visually-hidden-focusable:focus { position: fixed; top: 10px; left: 10px; z-index: 10000; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--mt-shadow); }

.mt-section { padding: 110px 0; }
.mt-section-sm { padding: 80px 0; }
@media (max-width: 991.98px) { .mt-section { padding: 80px 0; } .mt-section-sm { padding: 60px 0; } }

/* ---------- Section headings ---------- */
.mt-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--mt-navy); background: var(--mt-sky-100);
    padding: 7px 14px; border-radius: 99px; margin-bottom: 18px;
}
.mt-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mt-sky); }
.mt-eyebrow.on-dark { background: rgba(255, 255, 255, .1); color: #fff; }
.mt-heading { margin-bottom: 56px; }
.mt-heading h2 { font-size: var(--h3); margin-bottom: 16px; }
.mt-heading p { font-size: 18px; max-width: 640px; margin: 0; }
.mt-heading.text-center p { margin: 0 auto; }
.mt-heading .accent { background: var(--mt-gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.mt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: 16px; line-height: 1;
    padding: 17px 28px; border-radius: 12px; border: 1.5px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap; cursor: pointer; text-decoration: none;
}
.mt-btn:hover { transform: translateY(-2px); }
.mt-btn i { font-size: 15px; transition: transform .2s ease; }
.mt-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.mt-btn-primary { background: var(--mt-navy); color: #fff; box-shadow: 0 10px 24px rgba(38, 68, 123, .25); }
.mt-btn-primary:hover { background: var(--mt-navy-900); color: #fff; box-shadow: 0 14px 30px rgba(38, 68, 123, .32); }
.mt-btn-sky { background: var(--mt-sky); color: #fff; box-shadow: 0 10px 24px rgba(92, 159, 210, .32); }
.mt-btn-sky:hover { background: #4C8FC3; color: #fff; }
.mt-btn-outline { border-color: var(--mt-navy); color: var(--mt-navy); background: transparent; }
.mt-btn-outline:hover { background: var(--mt-navy); color: #fff; }
.mt-btn-light { background: #fff; color: var(--mt-navy); }
.mt-btn-light:hover { color: var(--mt-navy-900); box-shadow: var(--mt-shadow); }
.mt-btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.mt-btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.mt-btn-sm { padding: 12px 18px; font-size: 14px; border-radius: 10px; }
.mt-link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--mt-navy); }
.mt-link i { transition: transform .2s ease; }
.mt-link:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.mt-topbar { background: var(--mt-navy-900); color: #C9D6EA; font-size: 14px; }
.mt-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.mt-topbar a { color: #C9D6EA; }
.mt-topbar a:hover { color: #fff; }
.mt-topbar i { color: var(--mt-sky); margin-right: 7px; }
.mt-topbar .mt-topbar-items { display: flex; gap: 26px; flex-wrap: wrap; }
.mt-social { display: flex; gap: 10px; }
.mt-social a {
    width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px;
}
.mt-social a:hover { background: var(--mt-sky); color: #fff; }
.mt-topbar .mt-social a { width: 28px; height: 28px; font-size: 12px; background: transparent; color: #C9D6EA; }
.mt-topbar .mt-social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Header ---------- */
.mt-header { background: rgba(255, 255, 255, .97); position: relative; z-index: 50; border-bottom: 1px solid var(--mt-line); }
.mt-header.sticky { position: fixed; top: 0; left: 0; right: 0; width: 100%; box-shadow: 0 10px 30px rgba(19, 37, 74, .08); backdrop-filter: saturate(160%) blur(8px); }
.mt-header .mt-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.mt-header .rts__logo img { height: 46px; width: auto; }
.mt-header .navigation__menu > ul { display: flex; align-items: center; gap: 34px; margin: 0; }
.mt-header .navigation__menu--item { position: relative; }
.mt-header .navigation__menu--item__link { padding: 30px 0; font-weight: 600; font-size: 16px; color: var(--mt-ink); }
.mt-header .navigation__menu--item.active > .navigation__menu--item__link,
.mt-header .navigation__menu--item:hover > .navigation__menu--item__link { color: var(--mt-navy); }
.mt-header .navigation__menu--item.active > .navigation__menu--item__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 3px; border-radius: 3px; background: var(--mt-sky);
}
.mt-header .has-child > .navigation__menu--item__link::after { content: none; }
.mt-header .has-child > .navigation__menu--item__link .fa-chevron-down { font-size: 11px; margin-left: 6px; transition: transform .2s ease; }
.mt-header .has-child:hover > .navigation__menu--item__link .fa-chevron-down { transform: rotate(180deg); }
.mt-header .mt-dropdown {
    position: absolute; top: 100%; left: -24px; min-width: 300px; padding: 14px;
    background: #fff; border-radius: 16px; border: 1px solid var(--mt-line); box-shadow: var(--mt-shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .22s ease; z-index: 60;
}
.mt-header .has-child:hover > .mt-dropdown,
.mt-header .has-child:focus-within > .mt-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mt-header .mt-dropdown.is-wide { min-width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mt-header .mt-dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; color: var(--mt-ink); }
.mt-header .mt-dropdown a:hover { background: var(--mt-tint); color: var(--mt-navy); }
.mt-header .mt-dropdown a .mt-dd-icon { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--mt-sky-100); color: var(--mt-navy); font-size: 17px; overflow: hidden; }
.mt-header .mt-dropdown a .mt-dd-icon img { width: 40px; height: 40px; }
.mt-header .mt-dropdown a strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.mt-header .mt-dropdown a small { display: block; font-size: 13px; color: var(--mt-muted); line-height: 1.45; margin-top: 2px; }
.mt-header .mt-dropdown .mt-dd-footer { grid-column: 1 / -1; border-top: 1px solid var(--mt-line); margin-top: 6px; padding: 10px 12px 2px; }
.mt-header-actions { display: flex; align-items: center; gap: 14px; }
.mt-header-phone { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--mt-ink); font-size: 15px; }
.mt-header-phone span.icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mt-tint); color: var(--mt-navy); }
.mt-header-phone small { display: block; font-size: 12px; color: var(--mt-muted); font-weight: 600; }
.mt-menu-toggle { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--mt-line); background: #fff; color: var(--mt-navy); font-size: 20px; }
@media (max-width: 1199.98px) { .mt-header .navigation__menu > ul { gap: 22px; } .mt-header-phone { display: none; } }

/* Offcanvas (mobile) */
.mt-offcanvas { max-width: 360px; }
.mt-offcanvas .offcanvas-header { border-bottom: 1px solid var(--mt-line); padding: 18px 22px; }
.mt-offcanvas .offcanvas-body { padding: 10px 22px 30px; }
.mt-offcanvas .mean-container .mean-nav { background: transparent; margin-top: 0; }
.mt-offcanvas .mean-container .mean-bar { background: transparent; padding: 0; min-height: 0; }
.mt-offcanvas .mean-container a.meanmenu-reveal { display: none !important; }
.mt-offcanvas .mean-container .mean-nav ul li a { color: var(--mt-ink); border-top: 1px solid var(--mt-line); font-weight: 600; padding: 14px 0; width: 100%; font-size: 16px; text-transform: none; }
.mt-offcanvas .mean-container .mean-nav ul li li a { padding-left: 14px; font-weight: 500; font-size: 15px; opacity: 1; color: var(--mt-body); width: 100%; }
.mt-offcanvas .mean-container .mean-nav ul li a.mean-expand { background: transparent; color: var(--mt-navy); width: 40px; padding: 12px 0 !important; height: auto; text-align: right; border: 0; font-size: 20px !important; }
.mt-offcanvas .mean-container .mean-nav ul li a .mt-dd-icon,
.mt-offcanvas .mean-container .mean-nav ul li a small,
.mt-offcanvas .mean-container .mean-nav .mt-dd-footer { display: none; }
.mt-offcanvas .mean-container .mean-nav ul li a strong { font-weight: 500; }
.mt-offcanvas .mean-container .mean-nav .fa-chevron-down { display: none; }

/* ---------- Home hero ---------- */
.mt-hero { position: relative; overflow: hidden; padding: 90px 0 110px; background: radial-gradient(1100px 520px at 85% 10%, rgba(92, 159, 210, .20), transparent 60%), linear-gradient(180deg, #F6F9FD 0%, #FFFFFF 100%); }
.mt-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(38, 68, 123, .10) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent 70%); pointer-events: none; }
.mt-hero .container { position: relative; }
.mt-hero h1 { font-size: var(--h1); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 24px; }
.mt-hero h1 .accent { background: var(--mt-gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-hero .lead { font-size: 19px; line-height: 1.7; color: var(--mt-body); max-width: 560px; margin-bottom: 36px; }
.mt-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.mt-hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.mt-hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--mt-ink); }
.mt-hero-trust i { color: var(--mt-sky); font-size: 17px; }
.mt-hero-art { position: relative; }
.mt-hero-art img { width: 100%; filter: drop-shadow(0 30px 50px rgba(19, 37, 74, .08)); }
@media (max-width: 991.98px) { .mt-hero { padding: 60px 0 70px; } .mt-hero-art { margin-top: 0; } }

/* ---------- Page header (breadcrumb) ---------- */
.mt-page-header { position: relative; overflow: hidden; padding: 74px 0 70px; background: var(--mt-gradient); color: #fff; }
.mt-page-header::before { content: ""; position: absolute; right: -120px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: var(--mt-sky); opacity: .18; }
.mt-page-header::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.mt-page-header .container { position: relative; z-index: 1; }
.mt-page-header h1 { color: #fff; font-size: var(--h3); margin: 0 0 14px; max-width: 900px; }
.mt-page-header p.lead { color: #C9DBF0; font-size: 18px; max-width: 720px; margin: 0 0 6px; }
.mt-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.mt-breadcrumb li { color: var(--mt-sky-300); display: flex; align-items: center; gap: 8px; }
.mt-breadcrumb li + li::before { content: "\f054"; font-family: "Font Awesome 6 Pro"; font-weight: 400; font-size: 10px; color: rgba(255, 255, 255, .5); }
.mt-breadcrumb a { color: #fff; }
.mt-breadcrumb a:hover { color: var(--mt-sky-300); }
.mt-page-header-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 15px; color: #C9DBF0; }
.mt-page-header-meta i { color: var(--mt-sky-300); margin-right: 6px; }
.mt-page-header-meta a { color: #fff; }

/* ---------- Cards ---------- */
.mt-card { background: #fff; border: 1px solid var(--mt-line); border-radius: var(--mt-radius); padding: 32px; height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; }
.mt-card:hover { transform: translateY(-6px); box-shadow: var(--mt-shadow); border-color: transparent; }
.mt-card-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 25px; color: var(--mt-navy); background: var(--mt-sky-100); margin-bottom: 22px; transition: all .25s ease; }
.mt-card:hover .mt-card-icon { background: var(--mt-navy); color: #fff; }
.mt-card h3, .mt-card .h5 { font-size: 21px; margin-bottom: 12px; }
.mt-card h3 a { color: var(--mt-ink); }
.mt-card h3 a:hover { color: var(--mt-navy); }
.mt-card p { font-size: 16px; margin-bottom: 18px; }
.mt-card .mt-link { font-size: 15px; }
.mt-card.is-stretched .stretched-link::after { z-index: 1; }

/* Service cards on the home page carry a faint number */
.mt-service-card .mt-card-num { position: absolute; top: 24px; right: 28px; font-size: 44px; font-weight: 800; color: var(--mt-tint); line-height: 1; transition: color .25s ease; }
.mt-service-card:hover .mt-card-num { color: var(--mt-sky-100); }

/* Product cards */
.mt-product-card { background: #fff; border: 1px solid var(--mt-line); border-radius: 22px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.mt-product-card:hover { transform: translateY(-6px); box-shadow: var(--mt-shadow-lg); }
.mt-product-cover { display: block; background: var(--mt-tint); aspect-ratio: 3 / 2; overflow: hidden; }
.mt-product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mt-product-card:hover .mt-product-cover img { transform: scale(1.04); }
.mt-product-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.mt-product-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.mt-product-head img { width: 52px; height: 52px; border-radius: 14px; box-shadow: var(--mt-shadow-sm); }
.mt-product-head h3 { font-size: 22px; margin: 0; }
.mt-product-head h3 a { color: var(--mt-ink); }
.mt-product-head small { display: block; font-size: 13px; font-weight: 700; color: var(--mt-sky); text-transform: uppercase; letter-spacing: .08em; }
.mt-product-tagline { font-weight: 700; color: var(--mt-ink); font-size: 17px; margin-bottom: 8px; line-height: 1.45; }
.mt-product-body p { font-size: 15.5px; }
.mt-product-actions { margin-top: auto; padding-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Featured product (portfolio page, alternating rows) */
.mt-product-feature { padding: 64px 0; border-bottom: 1px solid var(--mt-line); }
.mt-product-feature:last-child { border-bottom: 0; }
.mt-product-feature .mt-product-shot { border-radius: 24px; overflow: hidden; background: var(--mt-tint); box-shadow: var(--mt-shadow); display: block; }
.mt-product-feature .mt-product-shot img { display: block; width: 100%; transition: transform .6s ease; }
.mt-product-feature .mt-product-shot:hover img { transform: scale(1.03); }
.mt-product-feature h2 { font-size: var(--h4); margin-bottom: 10px; }

/* Chips */
.mt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-chip { font-size: 13px; font-weight: 600; color: var(--mt-navy); background: var(--mt-tint); border: 1px solid var(--mt-line); padding: 6px 12px; border-radius: 99px; line-height: 1.2; }
.mt-chip.is-solid { background: var(--mt-navy); color: #fff; border-color: var(--mt-navy); }
.mt-chip i { margin-right: 6px; color: var(--mt-sky); }

/* Tick lists */
.mt-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mt-checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; }
@media (max-width: 575.98px) { .mt-checklist.cols-2 { grid-template-columns: 1fr; } }
.mt-checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--mt-ink); line-height: 1.5; }
.mt-checklist li::before { content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 900; font-size: 11px; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--mt-sky-100); color: var(--mt-navy); display: grid; place-items: center; margin-top: 1px; }
.mt-checklist.on-dark li { color: #fff; }
.mt-checklist.on-dark li::before { background: rgba(255, 255, 255, .14); color: #fff; }

/* Process steps */
.mt-steps { counter-reset: step; }
.mt-step { position: relative; padding: 34px 28px 30px; background: #fff; border-radius: var(--mt-radius); border: 1px solid var(--mt-line); height: 100%; }
.mt-step .mt-step-num { position: absolute; top: -18px; left: 28px; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--mt-gradient-brand); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; letter-spacing: .06em; }
.mt-step i { font-size: 28px; color: var(--mt-sky); margin: 10px 0 18px; display: block; }
.mt-step h3 { font-size: 20px; margin-bottom: 10px; }
.mt-step p { font-size: 15.5px; margin: 0; }
@media (min-width: 992px) {
    .mt-steps > [class*="col-"]:not(:last-child) .mt-step::after { content: ""; position: absolute; top: 50%; right: -22px; width: 20px; border-top: 2px dashed var(--mt-sky-300); }
}

/* About split */
.mt-split-art { position: relative; }
.mt-split-art img { width: 100%; }
.mt-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.mt-mv > div { background: var(--mt-tint-2); border: 1px solid var(--mt-line); border-radius: 16px; padding: 22px; }
.mt-mv h3 { font-size: 18px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.mt-mv h3 i { color: var(--mt-sky); }
.mt-mv p { font-size: 15px; margin: 0; }
@media (max-width: 575.98px) { .mt-mv { grid-template-columns: 1fr; } }

/* Stats band */
.mt-stats { background: var(--mt-gradient); border-radius: 26px; padding: 54px 40px; position: relative; overflow: hidden; color: #fff; }
.mt-stats::after { content: ""; position: absolute; right: -100px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: var(--mt-sky); opacity: .2; }
.mt-stat { text-align: center; position: relative; z-index: 1; }
.mt-stat .value { font-size: 46px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.mt-stat .value small { font-size: 28px; color: var(--mt-sky-300); }
.mt-stat .label { color: #C9DBF0; font-weight: 600; margin-top: 10px; font-size: 15px; }

/* Industries */
.mt-industry { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--mt-line); font-weight: 700; color: var(--mt-ink); height: 100%; transition: all .2s ease; }
.mt-industry i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mt-tint); color: var(--mt-navy); font-size: 18px; flex: 0 0 44px; }
.mt-industry:hover { border-color: var(--mt-sky-300); box-shadow: var(--mt-shadow-sm); }

/* FAQ (Bootstrap accordion) */
.mt-faq .accordion-item { border: 1px solid var(--mt-line) !important; border-radius: 16px !important; overflow: hidden; margin-bottom: 14px; background: #fff; }
.mt-faq .accordion-button { font-weight: 700; font-size: 17px; color: var(--mt-ink); padding: 22px 24px; background: #fff; box-shadow: none !important; gap: 14px; line-height: 1.45; }
.mt-faq .accordion-button:not(.collapsed) { color: var(--mt-navy); background: var(--mt-tint-2); }
.mt-faq .accordion-button::after { background-image: none; content: "\2b"; font-family: "Font Awesome 6 Pro"; font-weight: 400; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--mt-tint); color: var(--mt-navy); display: grid; place-items: center; font-size: 15px; transform: none; }
.mt-faq .accordion-button:not(.collapsed)::after { content: "\f068"; background: var(--mt-navy); color: #fff; transform: none; }
.mt-faq .accordion-body { padding: 0 24px 22px; font-size: 16px; background: var(--mt-tint-2); }

/* CTA banner */
.mt-cta { background: var(--mt-gradient); border-radius: 28px; padding: 64px; position: relative; overflow: hidden; color: #C9DBF0; }
.mt-cta::before { content: ""; position: absolute; width: 460px; height: 460px; right: -120px; bottom: -220px; border-radius: 50%; background: var(--mt-sky); opacity: .22; }
.mt-cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 40%, #000); }
.mt-cta > * { position: relative; z-index: 1; }
.mt-cta h2 { color: #fff; font-size: var(--h4); margin-bottom: 14px; }
.mt-cta p { font-size: 18px; margin: 0; max-width: 620px; }
@media (max-width: 767.98px) { .mt-cta { padding: 40px 26px; } }

/* ---------- Blog ---------- */
.mt-post-card { background: #fff; border: 1px solid var(--mt-line); border-radius: 20px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.mt-post-card:hover { transform: translateY(-5px); box-shadow: var(--mt-shadow); }
.mt-post-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mt-tint); }
.mt-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mt-post-card:hover .mt-post-thumb img { transform: scale(1.05); }
.mt-post-thumb .mt-chip { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .95); border: 0; }
.mt-post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.mt-post-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--mt-muted); font-weight: 600; margin-bottom: 12px; }
.mt-post-meta i { color: var(--mt-sky); margin-right: 5px; }
.mt-post-body h3 { font-size: 19px; line-height: 1.4; margin-bottom: 12px; letter-spacing: -.01em; }
.mt-post-body h3 a { color: var(--mt-ink); }
.mt-post-body h3 a:hover { color: var(--mt-navy); }
.mt-post-body p { font-size: 15px; margin-bottom: 18px; }
.mt-post-body .mt-link { margin-top: auto; font-size: 15px; }

.mt-sidebar { position: sticky; top: 110px; display: grid; gap: 24px; }
.mt-widget { background: var(--mt-tint-2); border: 1px solid var(--mt-line); border-radius: 18px; padding: 26px; }
.mt-widget h2, .mt-widget .h6 { font-size: 18px; margin-bottom: 18px; }
.mt-search { position: relative; }
.mt-search input { box-sizing: border-box; max-width: 100%; display: block; width: 100%; height: 54px; border-radius: 12px; border: 1px solid var(--mt-line); padding: 0 56px 0 18px; background: #fff; font-size: 15px; color: var(--mt-ink); }
.mt-search input:focus { border-color: var(--mt-sky); outline: 0; box-shadow: 0 0 0 4px rgba(92, 159, 210, .15); }
.mt-search button { position: absolute; right: 6px; top: 6px; width: 42px; height: 42px; border-radius: 10px; border: 0; background: var(--mt-navy); color: #fff; }
.mt-cat-list { list-style: none; padding: 0; margin: 0; }
.mt-cat-list li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--mt-line); color: var(--mt-body); font-weight: 600; font-size: 15px; }
.mt-cat-list li:last-child a { border-bottom: 0; }
.mt-cat-list li a span { font-size: 12px; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 99px; background: #fff; border: 1px solid var(--mt-line); display: grid; place-items: center; color: var(--mt-navy); }
.mt-cat-list li a:hover, .mt-cat-list li a.active { color: var(--mt-navy); }
.mt-cat-list li a.active span { background: var(--mt-navy); color: #fff; border-color: var(--mt-navy); }
.mt-mini-post { display: flex; gap: 14px; align-items: center; }
.mt-mini-post + .mt-mini-post { margin-top: 16px; }
.mt-mini-post img { width: 78px; height: 62px; object-fit: cover; border-radius: 10px; flex: 0 0 78px; }
.mt-mini-post a { font-weight: 700; color: var(--mt-ink); font-size: 14.5px; line-height: 1.4; display: block; }
.mt-mini-post a:hover { color: var(--mt-navy); }
.mt-mini-post small { color: var(--mt-muted); font-size: 12.5px; font-weight: 600; }
.mt-widget-cta { background: var(--mt-gradient); color: #C9DBF0; border: 0; }
.mt-widget-cta h2 { color: #fff; }

/* Pagination */
.mt-pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 56px 0 0; }
.mt-pagination a, .mt-pagination span { min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; border: 1px solid var(--mt-line); color: var(--mt-ink); background: #fff; }
.mt-pagination a:hover { border-color: var(--mt-navy); color: var(--mt-navy); }
.mt-pagination .active span { background: var(--mt-navy); color: #fff; border-color: var(--mt-navy); }
.mt-pagination .disabled span { opacity: .45; }

/* Article typography: imported WordPress HTML and product descriptions */
.mt-prose { font-size: 18px; line-height: 1.8; color: #2D3748; overflow-wrap: anywhere; }
.mt-prose > *:first-child { margin-top: 0; }
.mt-prose p, .mt-prose ul, .mt-prose ol, .mt-prose blockquote, .mt-prose figure, .mt-prose table { margin: 0 0 1.35em; }
.mt-prose h1, .mt-prose h2, .mt-prose h3, .mt-prose h4, .mt-prose h5, .mt-prose h6 { margin: 1.8em 0 .7em; line-height: 1.3; }
.mt-prose h1, .mt-prose h2 { font-size: 30px; }
.mt-prose h3 { font-size: 25px; }
.mt-prose h4, .mt-prose h5 { font-size: 21px; }
.mt-prose h6 { font-size: 18px; }
.mt-prose ul, .mt-prose ol { padding-left: 1.4em; }
.mt-prose ul { list-style: disc; }
.mt-prose ol { list-style: decimal; }
.mt-prose li { margin-bottom: .55em; padding-left: .2em; }
.mt-prose li::marker { color: var(--mt-sky); font-weight: 700; }
.mt-prose a { color: var(--mt-navy); text-decoration: underline; text-decoration-color: var(--mt-sky-300); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.mt-prose a:hover { text-decoration-color: var(--mt-navy); }
.mt-prose strong, .mt-prose b { color: var(--mt-ink); font-weight: 700; }
.mt-prose em, .mt-prose i { font-style: italic; }
.mt-prose img { border-radius: 14px; height: auto; margin: .4em 0; }
.mt-prose figure img { margin: 0; }
.mt-prose figcaption { font-size: 14px; color: var(--mt-muted); text-align: center; margin-top: 8px; }
.mt-prose blockquote { border-left: 4px solid var(--mt-sky); background: var(--mt-tint-2); padding: 20px 26px; border-radius: 0 14px 14px 0; font-style: italic; color: var(--mt-ink); }
.mt-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.mt-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.mt-prose th, .mt-prose td { border: 1px solid var(--mt-line); padding: 10px 14px; text-align: left; }
.mt-prose th { background: var(--mt-tint); color: var(--mt-ink); }
.mt-prose code { background: var(--mt-tint); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.mt-prose pre { background: var(--mt-navy-900); color: #E3EFFA; padding: 20px; border-radius: 14px; overflow-x: auto; }
.mt-prose pre code { background: transparent; padding: 0; }
.mt-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.mt-prose .alignright { float: right; margin: 0 0 1em 1.5em; max-width: 50%; }
.mt-prose .alignleft { float: left; margin: 0 1.5em 1em 0; max-width: 50%; }
.mt-prose::after { content: ""; display: table; clear: both; }

.mt-article-cover { border-radius: 22px; overflow: hidden; margin-bottom: 40px; box-shadow: var(--mt-shadow); background: var(--mt-tint); }
.mt-article-cover img { width: 100%; display: block; max-height: 520px; object-fit: cover; }
.mt-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--mt-line); border-bottom: 1px solid var(--mt-line); margin: 40px 0; }
.mt-share strong { color: var(--mt-ink); }
.mt-share .mt-social a { background: var(--mt-tint); color: var(--mt-navy); }
.mt-share .mt-social a:hover { background: var(--mt-navy); color: #fff; }
.mt-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.mt-adjacent a { display: block; padding: 20px; border-radius: 16px; border: 1px solid var(--mt-line); color: var(--mt-ink); font-weight: 700; line-height: 1.45; font-size: 15.5px; }
.mt-adjacent a:hover { border-color: var(--mt-sky); box-shadow: var(--mt-shadow-sm); }
.mt-adjacent small { display: block; color: var(--mt-sky); text-transform: uppercase; font-size: 12px; letter-spacing: .1em; margin-bottom: 6px; }
.mt-adjacent .next { text-align: right; }
@media (max-width: 575.98px) { .mt-adjacent { grid-template-columns: 1fr; } .mt-adjacent .next { text-align: left; } }

.mt-comment { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--mt-line); }
.mt-comment img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 52px; }
.mt-comment strong { color: var(--mt-ink); }
.mt-comment small { color: var(--mt-muted); margin-left: 8px; }
.mt-comment p { margin: 6px 0 0; font-size: 16px; }

/* ---------- Forms ---------- */
.mt-form-card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--mt-shadow-lg); border: 1px solid var(--mt-line); }
@media (max-width: 575.98px) { .mt-form-card { padding: 26px 20px; } }
.mt-form label { font-weight: 700; color: var(--mt-ink); font-size: 14.5px; margin-bottom: 8px; display: block; }
.mt-form label .req { color: #D9534F; }
.mt-form .form-control, .mt-form .form-select {
    height: 54px; border-radius: 12px; border: 1px solid #D5DEEA; padding: 0 16px; font-size: 15.5px; color: var(--mt-ink); background-color: #fff; box-shadow: none;
}
.mt-form textarea.form-control { height: auto; min-height: 130px; padding: 14px 16px; }
.mt-form .form-control:focus, .mt-form .form-select:focus { border-color: var(--mt-sky); box-shadow: 0 0 0 4px rgba(92, 159, 210, .16); }
.mt-form .form-control::placeholder { color: #9AA4B5; }
.mt-form .is-invalid { border-color: #D9534F !important; }
.mt-form .invalid-feedback { font-size: 13.5px; font-weight: 600; }
.mt-form .form-text { font-size: 13px; color: var(--mt-muted); }

.mt-alert { border-radius: 14px; padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; font-weight: 600; margin-bottom: 24px; font-size: 15.5px; line-height: 1.55; }
.mt-alert i { font-size: 20px; margin-top: 1px; }
.mt-alert-success { background: #E3F5EC; color: #156C4A; }
.mt-alert-warning { background: #FDF1DE; color: #8A5A12; }
.mt-alert-danger { background: #FBE7E6; color: #9B2C29; }

.mt-contact-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--mt-line); height: 100%; }
.mt-contact-item .mt-card-icon { margin: 0; flex: 0 0 56px; width: 56px; height: 56px; }
.mt-contact-item h3 { font-size: 17px; margin-bottom: 4px; }
.mt-contact-item p, .mt-contact-item a { margin: 0; font-size: 15.5px; color: var(--mt-body); display: block; }
.mt-contact-item a:hover { color: var(--mt-navy); }
.mt-map { border-radius: 22px; overflow: hidden; border: 1px solid var(--mt-line); height: 100%; min-height: 360px; background: var(--mt-tint); }
.mt-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: saturate(.85); }

/* ---------- Product details page ---------- */
.mt-product-hero { padding: 70px 0 80px; background: radial-gradient(900px 480px at 90% 0%, rgba(92, 159, 210, .22), transparent 60%), linear-gradient(180deg, var(--mt-tint-2), #fff); position: relative; overflow: hidden; }
.mt-product-hero .mt-breadcrumb li { color: var(--mt-muted); }
.mt-product-hero .mt-breadcrumb a { color: var(--mt-navy); }
.mt-product-hero .mt-breadcrumb li + li::before { color: var(--mt-muted); }
.mt-product-hero h1 { font-size: var(--h2); margin-bottom: 14px; letter-spacing: -.03em; }
.mt-product-hero .tagline { font-size: 22px; font-weight: 700; color: var(--mt-navy); margin-bottom: 18px; line-height: 1.4; }
.mt-product-hero .lead { font-size: 18px; margin-bottom: 30px; }
.mt-product-hero .mt-product-logo { width: 72px; height: 72px; border-radius: 20px; box-shadow: var(--mt-shadow); margin-bottom: 22px; }
.mt-product-hero .mt-product-shot { border-radius: 24px; overflow: hidden; box-shadow: var(--mt-shadow-lg); background: #fff; }
.mt-product-hero .mt-product-shot img { display: block; width: 100%; }
.mt-stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.mt-stat-row > div { background: #fff; border: 1px solid var(--mt-line); border-radius: 16px; padding: 16px 18px; }
.mt-stat-row strong { display: block; font-size: 24px; font-weight: 800; color: var(--mt-navy); letter-spacing: -.02em; line-height: 1.2; }
.mt-stat-row span { font-size: 13.5px; font-weight: 600; color: var(--mt-muted); line-height: 1.4; display: block; margin-top: 4px; }
@media (max-width: 575.98px) { .mt-stat-row { grid-template-columns: 1fr; } }
.mt-subnav { position: sticky; top: 84px; z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--mt-line); backdrop-filter: blur(6px); }
.mt-subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.mt-subnav a { display: block; white-space: nowrap; padding: 9px 16px; border-radius: 99px; font-weight: 700; font-size: 14.5px; color: var(--mt-body); }
.mt-subnav a:hover, .mt-subnav a.active { background: var(--mt-tint); color: var(--mt-navy); }
.mt-subnav .mt-btn { margin-left: auto; }
.mt-module { background: var(--mt-tint-2); border: 1px solid var(--mt-line); border-radius: 20px; padding: 30px; height: 100%; }
.mt-module h3 { font-size: 20px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.mt-module h3 span { width: 36px; height: 36px; border-radius: 10px; background: var(--mt-navy); color: #fff; font-size: 15px; display: grid; place-items: center; }
.mt-module .mt-checklist li { font-weight: 600; font-size: 15.5px; }
.mt-audience { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-weight: 600; height: 100%; }
.mt-audience i { color: var(--mt-sky-300); font-size: 18px; }
.mt-dark-section { background: var(--mt-gradient); color: #C9DBF0; position: relative; overflow: hidden; }
.mt-dark-section h2, .mt-dark-section h3 { color: #fff; }
.mt-dark-section::after { content: ""; position: absolute; left: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: var(--mt-sky); opacity: .14; }
.mt-dark-section .container { position: relative; z-index: 1; }

/* Service details */
.mt-service-visual { position: relative; border-radius: 26px; padding: 44px; background: var(--mt-gradient); overflow: hidden; min-height: 360px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.mt-service-visual::before { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: var(--mt-sky); opacity: .28; }
.mt-service-visual::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(200deg, #000, transparent 70%); }
.mt-service-visual > * { position: relative; z-index: 1; }
.mt-service-visual .big-icon { width: 96px; height: 96px; border-radius: 26px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 44px; color: #fff; }
.mt-service-visual .floating { background: #fff; color: var(--mt-ink); border-radius: 16px; padding: 16px 18px; box-shadow: var(--mt-shadow-lg); display: flex; gap: 12px; align-items: center; font-weight: 700; max-width: 290px; font-size: 15px; }
.mt-service-visual .floating i { width: 40px; height: 40px; border-radius: 12px; background: var(--mt-sky-100); color: var(--mt-navy); display: grid; place-items: center; flex: 0 0 40px; }
.mt-service-visual .floating small { display: block; color: var(--mt-muted); font-weight: 600; font-size: 13px; }
.mt-service-visual .mt-chips .mt-chip { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .2); }
.mt-service-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--mt-ink); font-weight: 600; font-size: 15px; }
.mt-service-nav a i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--mt-navy); border: 1px solid var(--mt-line); flex: 0 0 34px; }
.mt-service-nav a:hover { background: #fff; color: var(--mt-navy); }

/* ---------- Footer ---------- */
.mt-footer { background: var(--mt-navy-900); color: #AFC0D9; position: relative; overflow: hidden; padding-top: 90px; }
.mt-footer::before { content: ""; position: absolute; right: -180px; top: -260px; width: 560px; height: 560px; border-radius: 50%; background: var(--mt-sky); opacity: .08; }
.mt-footer .container { position: relative; }
.mt-footer h2 { color: #fff; font-size: 17px; margin-bottom: 22px; letter-spacing: 0; }
.mt-footer a { color: #AFC0D9; }
.mt-footer a:hover { color: #fff; }
.mt-footer p { font-size: 15.5px; }
.mt-footer-logo img { height: 50px; width: auto; }
.mt-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 15.5px; }
.mt-footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.mt-footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mt-sky); opacity: .6; }
.mt-footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: 15.5px; }
.mt-footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.mt-footer-contact i { color: var(--mt-sky); margin-top: 4px; width: 16px; }
.mt-footer-post { display: flex; gap: 12px; align-items: center; }
.mt-footer-post + .mt-footer-post { margin-top: 16px; }
.mt-footer-post img { width: 70px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 70px; }
.mt-footer-post a { color: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.4; display: block; }
.mt-footer-post a:hover { color: var(--mt-sky-300); }
.mt-footer-post small { font-size: 12.5px; color: #8EA2C2; }
.mt-footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 40px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 70px; }
.mt-footer-cta h2 { font-size: 26px; margin: 0 0 6px; }
.mt-footer-cta p { margin: 0; }
.mt-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; margin-top: 64px; font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

.mt-whatsapp { position: fixed; left: 20px; bottom: 20px; z-index: 990; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 27px; box-shadow: 0 12px 26px rgba(37, 211, 102, .35); transition: transform .2s ease; }
.mt-whatsapp:hover { color: #fff; transform: scale(1.07); }
.rts__back__top { background: var(--mt-navy); width: 48px; height: 48px; line-height: 48px; border-radius: 14px; border: 0; }

/* 404 */
.mt-404 { padding: 120px 0; text-align: center; }
.mt-404 .code { font-size: 140px; font-weight: 800; line-height: 1; background: var(--mt-gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.05em; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .wow { visibility: visible !important; }
}

/* Bootstrap's 3rem gutter is wider than the container padding on phones; keep rows inside the viewport. */
@media (max-width: 767.98px) {
    .row.g-5, .row.g-lg-5 { --bs-gutter-x: 1.5rem; }
}

/* ---------- Testimonials ---------- */
.mt-testimonials { background: linear-gradient(180deg, #fff 0%, var(--mt-tint-2) 100%); }
.mt-testimonial { background: #fff; border: 1px solid var(--mt-line); border-radius: 22px; padding: 32px; height: 100%; margin: 0; display: flex; flex-direction: column; position: relative; }
.mt-testimonial::before { content: "\201C"; position: absolute; right: 26px; top: 6px; font-size: 110px; line-height: 1; font-weight: 800; color: var(--mt-tint); }
.mt-testimonial blockquote { font-size: 17px; line-height: 1.75; color: var(--mt-ink); margin: 18px 0 26px; flex: 1; position: relative; }
.mt-testimonial figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--mt-line); }
.mt-testimonial figcaption img, .mt-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 52px; }
.mt-avatar { display: grid; place-items: center; background: var(--mt-gradient-brand); color: #fff; font-weight: 800; font-size: 17px; }
.mt-testimonial strong { display: block; font-weight: 700; color: var(--mt-ink); font-size: 16px; }
.mt-testimonial small { display: block; color: var(--mt-muted); font-size: 13.5px; line-height: 1.4; }
.mt-stars { color: #F2A93B; font-size: 15px; display: flex; gap: 3px; position: relative; }
.mt-stars .is-off { color: var(--mt-line); }
.mt-slider-btn { width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--mt-line); background: #fff; color: var(--mt-navy); font-size: 17px; transition: all .2s ease; }
.mt-slider-btn:hover { background: var(--mt-navy); color: #fff; border-color: var(--mt-navy); }
.mt-slider-btn.swiper-button-disabled { opacity: .4; pointer-events: none; }

/* Tighter hand-off from the hero to the first section (products) */
.mt-hero { padding-bottom: 56px; }
.mt-hero + .mt-section { padding-top: 56px; }
@media (max-width: 991.98px) {
    .mt-hero { padding-bottom: 32px; }
    .mt-hero + .mt-section { padding-top: 40px; }
}

/* ---------- Products mega menu ---------- */
.mt-header .mt-header-inner { position: relative; }
/* Anchor the mega menu to the header row, not to the nav links. */
.mt-header .navigation, .mt-header .navigation__menu, .mt-header .navigation__menu > ul, .mt-header .navigation__menu--item.is-mega { position: static; }
.mt-header .mt-dropdown.mt-mega {
    left: 50%; right: auto; width: min(960px, calc(100vw - 48px)); min-width: 0; padding: 18px;
    display: grid; grid-template-columns: 1fr 1fr 270px; grid-auto-flow: row dense; gap: 4px 8px; align-items: start;
    transform: translate(-50%, 10px);
}
.mt-header .has-child.is-mega:hover > .mt-mega,
.mt-header .has-child.is-mega:focus-within > .mt-mega { transform: translate(-50%, 0); }
.mt-header .mt-mega > li { grid-column: span 1; }
.mt-header .mt-mega .mt-mega-heading { grid-column: 1 / 3; padding: 4px 12px 10px; border-bottom: 1px solid var(--mt-line); margin-bottom: 6px; }
.mt-header .mt-mega .mt-mega-heading span { display: block; font-weight: 800; color: var(--mt-ink); font-size: 16px; }
.mt-header .mt-mega .mt-mega-heading small { display: block; color: var(--mt-muted); font-size: 13px; }
.mt-header .mt-mega a .mt-dd-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: transparent; }
.mt-header .mt-mega a .mt-dd-icon img { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--mt-shadow-sm); }
.mt-header .mt-mega a em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mt-sky); line-height: 1.3; margin-bottom: 1px; }
.mt-header .mt-mega a.is-current { background: var(--mt-tint); }
.mt-header .mt-mega .mt-dd-footer { grid-column: 1 / 3; }
.mt-header .mt-mega .mt-dd-footer a { font-size: 14.5px; padding: 0; }
.mt-header .mt-mega .mt-dd-footer a:hover { background: none; }
.mt-header .mt-mega .mt-mega-promo {
    grid-column: 3; align-self: stretch;
    display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 14px;
    background: var(--mt-gradient); color: #C9DBF0; position: relative; overflow: hidden;
}
.mt-header .mt-mega .mt-mega-promo::after { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: var(--mt-sky); opacity: .25; }
.mt-header .mt-mega .mt-mega-promo > * { position: relative; z-index: 1; }
.mt-header .mt-mega .mt-mega-promo strong { color: #fff; font-size: 17px; }
.mt-header .mt-mega .mt-mega-promo small { font-size: 13.5px; line-height: 1.55; margin-bottom: 10px; }
.mt-header .mt-mega .mt-mega-promo-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; font-size: 19px; margin-bottom: 6px; }
.mt-header .mt-mega .mt-mega-promo a.mt-btn { display: inline-flex; padding: 11px 16px; align-self: flex-start; color: var(--mt-navy); }
.mt-header .mt-mega .mt-mega-promo a.mt-btn:hover { background: #fff; }
.mt-header .mt-mega .mt-mega-promo a.mt-mega-promo-link { display: inline-flex; padding: 8px 0 0; margin-top: auto; color: #fff; font-size: 13.5px; font-weight: 600; background: none; gap: 6px; }
.mt-header .mt-mega .mt-mega-promo a.mt-mega-promo-link:hover { color: var(--mt-sky-300); background: none; }
@media (max-width: 1199.98px) {
    .mt-header .mt-dropdown.mt-mega { grid-template-columns: 1fr 1fr 230px; }
}

/* Mobile menu (meanmenu clone): plain product list only. */
.mt-offcanvas .mean-container .mean-nav .mt-mega-heading,
.mt-offcanvas .mean-container .mean-nav .mt-mega-promo { display: none; }
.mt-offcanvas .mean-container .mean-nav ul li a em { display: none; }

/* Keep the header on one row at laptop widths. */
.mt-header .navigation__menu--item__link { white-space: nowrap; }
@media (max-width: 1399.98px) {
    .mt-header-phone { display: none; }
    .mt-header .navigation__menu > ul { gap: 26px; }
}
.mt-header .rts__logo { flex-shrink: 0; }
@media (max-width: 1199.98px) {
    .mt-header .navigation__menu > ul { gap: 20px; }
    .mt-header .navigation__menu--item__link { font-size: 15px; }
}

/* Mobile menu items: full width, wrap long labels, simple dividers. */
.mt-offcanvas .mean-container .mean-nav ul li a { float: none; width: 100%; white-space: normal; border-radius: 0; }
.mt-offcanvas .mean-container .mean-nav ul li li a { padding: 10px 40px 10px 14px; border-top: 1px solid var(--mt-line); display: block; }
.mt-offcanvas .mean-container .mean-nav ul li a.mean-expand { width: 40px; font-weight: 400; }
/* Dropdown lists (no .list-unstyled: the template forces those visible in the mobile menu). */
.mt-dropdown { list-style: none; margin: 0; }
.mt-offcanvas .mean-container .mean-nav ul.mt-dropdown { padding: 0; }

/* ---------- Live deployments ---------- */
.mt-live-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--mt-success); }
.mt-live-link:hover { color: #156C4A; }
.mt-live-link i { font-size: 11px; }
.mt-live-link + .mt-live-link { margin-top: 6px; }
.mt-live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mt-success); box-shadow: 0 0 0 0 rgba(31, 157, 107, .5); animation: mt-pulse 2s infinite; flex: 0 0 9px; display: inline-block; }
@keyframes mt-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 107, .45); } 70% { box-shadow: 0 0 0 8px rgba(31, 157, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 107, 0); } }
.mt-widget-live { background: #F1FAF6; border-color: #CBEBDD; }
.mt-widget-live h2 { display: flex; align-items: center; gap: 10px; }
.mt-live-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #CBEBDD; color: var(--mt-ink); }
.mt-live-item + .mt-live-item { margin-top: 8px; }
.mt-live-item strong { display: block; font-size: 15px; font-weight: 700; }
.mt-live-item small { color: var(--mt-success); font-weight: 600; }
.mt-live-item i { color: var(--mt-success); }
.mt-live-item:hover { border-color: var(--mt-success); color: var(--mt-ink); box-shadow: var(--mt-shadow-sm); }

/* ---------- Personal profile page (/mulombi) ---------- */
.mt-profile { padding: 60px 0 100px; background: radial-gradient(900px 480px at 90% 0%, rgba(92, 159, 210, .16), transparent 60%), linear-gradient(180deg, var(--mt-tint-2), #fff 40%); }
.mt-profile-card { position: sticky; top: 110px; background: #fff; border: 1px solid var(--mt-line); border-radius: 26px; padding: 30px 26px; text-align: center; box-shadow: var(--mt-shadow); }
.mt-profile-photo { width: 190px; height: 190px; margin: 0 auto 22px; border-radius: 50%; padding: 6px; background: var(--mt-gradient-brand); }
.mt-profile-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.mt-profile-card h1 { font-size: 28px; margin-bottom: 6px; letter-spacing: -.02em; }
.mt-profile-role { color: var(--mt-sky); font-weight: 700; font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
.mt-profile-meta { list-style: none; padding: 18px 0; margin: 0 0 20px; border-top: 1px solid var(--mt-line); border-bottom: 1px solid var(--mt-line); display: grid; gap: 10px; text-align: left; font-size: 14.5px; }
.mt-profile-meta li { display: flex; gap: 10px; align-items: center; color: var(--mt-body); overflow-wrap: anywhere; }
.mt-profile-meta i { color: var(--mt-sky); width: 16px; }
.mt-profile-card .mt-social a { background: var(--mt-tint); color: var(--mt-navy); }
.mt-profile-card .mt-social a:hover { background: var(--mt-navy); color: #fff; }
@media (max-width: 991.98px) { .mt-profile-card { position: static; } }

.mt-profile-section { background: #fff; border: 1px solid var(--mt-line); border-radius: 22px; padding: 34px; margin-bottom: 24px; }
@media (max-width: 575.98px) { .mt-profile-section { padding: 24px 20px; } }
.mt-profile-section > h2 { font-size: 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.mt-profile-section > h2 i { width: 40px; height: 40px; border-radius: 12px; background: var(--mt-sky-100); color: var(--mt-navy); display: inline-grid; place-items: center; font-size: 16px; }
.mt-profile-headline { font-size: var(--h4); line-height: 1.2; margin-bottom: 16px; }
.mt-profile-section .lead { font-size: 18px; color: var(--mt-body); }
.mt-profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.mt-profile-stats div { background: var(--mt-tint-2); border: 1px solid var(--mt-line); border-radius: 16px; padding: 16px 18px; }
.mt-profile-stats strong { display: block; font-size: 30px; font-weight: 800; color: var(--mt-navy); line-height: 1.1; letter-spacing: -.02em; }
.mt-profile-stats span { font-size: 13.5px; font-weight: 600; color: var(--mt-muted); }

.mt-timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--mt-line); }
.mt-timeline > li { position: relative; padding-bottom: 26px; }
.mt-timeline > li:last-child { padding-bottom: 0; }
.mt-timeline > li::before { content: ""; position: absolute; left: -34px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--mt-sky); }
.mt-timeline > li:first-child::before { background: var(--mt-navy); border-color: var(--mt-navy); }
.mt-timeline-period { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--mt-navy); background: var(--mt-sky-100); padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }
.mt-timeline h3 { font-size: 18px; margin-bottom: 2px; }
.mt-timeline-org { color: var(--mt-sky); font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.mt-timeline ul { margin: 0; padding-left: 18px; list-style: disc; font-size: 15px; }
.mt-timeline ul li { margin-bottom: 4px; }
.mt-timeline ul li::marker { color: var(--mt-sky); }

.mt-skill-group { height: 100%; background: var(--mt-tint-2); border: 1px solid var(--mt-line); border-radius: 16px; padding: 20px; }
.mt-skill-group h3 { font-size: 16px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.mt-skill-group h3 i { color: var(--mt-sky); }
.mt-skill-group .mt-chip { background: #fff; }
.mt-membership { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--mt-tint-2); border: 1px solid var(--mt-line); }
.mt-membership + .mt-membership { margin-top: 12px; }
.mt-membership i { font-size: 20px; color: var(--mt-navy); margin-top: 2px; }
.mt-membership strong { display: block; font-weight: 700; color: var(--mt-ink); font-size: 15px; line-height: 1.4; }
.mt-membership small { color: var(--mt-muted); font-weight: 600; }

.mt-project { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 18px; border-radius: 16px; border: 1px solid var(--mt-line); color: var(--mt-ink); transition: all .2s ease; }
.mt-project:hover { border-color: var(--mt-sky-300); box-shadow: var(--mt-shadow-sm); color: var(--mt-ink); transform: translateY(-2px); }
.mt-project img { width: 52px; height: 52px; border-radius: 14px; flex: 0 0 52px; }
.mt-project small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mt-sky); }
.mt-project strong { display: block; font-size: 17px; font-weight: 800; }
.mt-project em { display: block; font-style: normal; font-size: 14px; color: var(--mt-body); line-height: 1.5; }
.mt-project-live { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--mt-success); }

.mt-profile-section > h2.mt-profile-headline { font-size: var(--h4); display: block; margin-bottom: 16px; }
.mt-profile-section p { margin-bottom: 14px; }
.mt-profile-section p:last-child { margin-bottom: 0; }
.mt-profile-section .mt-checklist li { font-size: 15.5px; font-weight: 600; }
.mt-profile-section .mt-checklist { gap: 10px; }
.mt-profile-alt-link { font-weight: 600; color: var(--mt-navy); display: inline-flex; align-items: center; gap: 8px; }
.mt-profile-alt-link:hover { color: var(--mt-sky); }
/* X (Twitter) logo: not in the bundled Font Awesome 6.0, drawn with a mask so it takes the text colour */
.fa-x-twitter::before { content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E") no-repeat center / contain; }
/* Profile hover motion, matching .mt-card */
.mt-profile-section { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.mt-profile-section:hover { transform: translateY(-4px); box-shadow: var(--mt-shadow); border-color: transparent; }
.mt-profile-section > h2 i { transition: all .25s ease; }
.mt-profile-section:hover > h2 i { background: var(--mt-navy); color: #fff; }
.mt-profile-stats div, .mt-skill-group, .mt-membership { transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.mt-profile-stats div:hover, .mt-skill-group:hover, .mt-membership:hover { transform: translateY(-4px); box-shadow: var(--mt-shadow-sm); background: #fff; }
.mt-timeline > li::before { transition: transform .25s ease, background-color .25s ease; }
.mt-timeline > li:hover::before { transform: scale(1.25); background: var(--mt-sky); }
.mt-project:hover { transform: translateY(-6px); box-shadow: var(--mt-shadow); }
@media (prefers-reduced-motion: reduce) {
    .mt-profile-section:hover, .mt-profile-stats div:hover, .mt-skill-group:hover, .mt-membership:hover, .mt-project:hover { transform: none; }
}
/* "Request my CV" pop-up on the profile page */
.mt-cv-modal .modal-content { border: 0; border-radius: 22px; box-shadow: var(--mt-shadow); }
.mt-cv-modal .modal-header { border-bottom: 1px solid var(--mt-line); padding: 22px 30px; }
.mt-cv-modal .modal-title { font-size: 22px; margin: 0; display: flex; align-items: center; gap: 12px; }
.mt-cv-modal .modal-title i { width: 40px; height: 40px; border-radius: 12px; background: var(--mt-sky-100); color: var(--mt-navy); display: inline-grid; place-items: center; font-size: 16px; }
.mt-cv-modal .modal-body { padding: 24px 30px 30px; }
.mt-cv-modal .modal-body > p { margin-bottom: 18px; }
.modal-backdrop.show { opacity: .55; }
@media (max-width: 575.98px) { .mt-cv-modal .modal-header, .mt-cv-modal .modal-body { padding-left: 20px; padding-right: 20px; } }
/* Small screens: stack the intro figures, one full-width row each (figure left, label right) */
@media (max-width: 575.98px) {
    .mt-profile-stats { grid-template-columns: 1fr; gap: 10px; }
    .mt-profile-stats div { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
    .mt-profile-stats strong { flex: 0 0 76px; font-size: 28px; }
    .mt-profile-stats span { font-size: 15px; }
}
/* Profile welcome toast: chat-style greeting in the bottom-right corner */
.mt-welcome { position: fixed; right: 20px; bottom: 90px; z-index: 1040; width: 360px; max-width: calc(100vw - 24px); background: #fff; border-radius: 20px; padding: 16px 16px 18px; box-shadow: 0 24px 60px rgba(19, 37, 74, .22); border: 1px solid var(--mt-line); overflow: hidden; opacity: 0; transform: translateY(24px) scale(.96); transform-origin: bottom right; transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .3, 1.25); }
.mt-welcome.is-visible { opacity: 1; transform: none; }
.mt-welcome-close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--mt-muted); display: grid; place-items: center; transition: background .2s ease, color .2s ease; }
.mt-welcome-close:hover { background: var(--mt-sky-100); color: var(--mt-navy); }
.mt-welcome-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 30px; }
.mt-welcome-head strong { display: block; font-size: 15px; font-weight: 800; color: var(--mt-ink); line-height: 1.2; }
.mt-welcome-head small { font-size: 12.5px; font-weight: 600; color: var(--mt-sky); }
.mt-welcome.is-typed .mt-welcome-head small { color: var(--mt-success); }
.mt-welcome-avatar { position: relative; flex: 0 0 46px; }
.mt-welcome-avatar img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--mt-sky-300); }
.mt-welcome-online { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--mt-success); border: 2px solid #fff; }
.mt-welcome-bubble { position: relative; background: var(--mt-tint-2); border: 1px solid var(--mt-line); border-radius: 4px 16px 16px 16px; padding: 12px 14px; }
.mt-welcome-typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.mt-welcome-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mt-sky); animation: mt-typing 1s infinite ease-in-out; }
.mt-welcome-typing i:nth-child(2) { animation-delay: .15s; }
.mt-welcome-typing i:nth-child(3) { animation-delay: .3s; }
.mt-welcome-text { display: none; }
.mt-welcome.is-typed .mt-welcome-typing { display: none; }
.mt-welcome.is-typed .mt-welcome-text { display: block; animation: mt-pop-in .35s ease both; }
.mt-welcome-text p { font-size: 14px; line-height: 1.55; margin: 0 0 10px; color: var(--mt-body); }
.mt-welcome-text .mt-welcome-title { font-size: 15.5px; font-weight: 800; color: var(--mt-ink); margin-bottom: 4px; }
.mt-wave { display: inline-block; transform-origin: 70% 70%; animation: mt-wave 1.8s ease-in-out .3s 2; }
.mt-welcome-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-welcome-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--mt-sky-300); background: #fff; color: var(--mt-navy); transition: all .2s ease; }
.mt-welcome-btn:hover { background: var(--mt-sky-100); color: var(--mt-navy); }
.mt-welcome-btn.is-primary { background: var(--mt-navy); border-color: var(--mt-navy); color: #fff; }
.mt-welcome-btn.is-primary:hover { background: var(--mt-sky); border-color: var(--mt-sky); color: #fff; }
.mt-welcome-timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--mt-gradient); transform-origin: left; transform: scaleX(1); }
.mt-welcome.is-typed .mt-welcome-timer { animation: mt-welcome-timer var(--mt-welcome-life, 14s) linear forwards; }
.mt-welcome.is-paused .mt-welcome-timer { animation-play-state: paused; }
@keyframes mt-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes mt-pop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes mt-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
@keyframes mt-welcome-timer { to { transform: scaleX(0); } }
@media (max-width: 575.98px) {
    .mt-welcome { left: 12px; right: 12px; bottom: 86px; width: auto; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mt-welcome, .mt-welcome.is-typed .mt-welcome-text { transition: opacity .2s ease; transform: none; animation: none; }
    .mt-wave, .mt-welcome-typing i { animation: none; }
}
/* ---------- Profile page layout (/mulombi): its own header and footer ---------- */
.mtp-header { position: sticky; top: 0; z-index: 1020; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--mt-line); }
.mtp-header-bar { display: flex; align-items: center; column-gap: 24px; padding: 14px 0; flex-wrap: wrap; }
.mtp-brand { display: flex; align-items: center; gap: 12px; color: var(--mt-ink); margin-right: auto; }
.mtp-brand:hover { color: var(--mt-ink); }
.mtp-monogram { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--mt-gradient-brand); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .04em; box-shadow: 0 8px 18px rgba(38, 68, 123, .25); flex: 0 0 42px; }
.mtp-monogram.is-light { background: #fff; color: var(--mt-navy); box-shadow: none; }
.mtp-brand-text strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; }
.mtp-brand-text small { display: block; font-size: 12.5px; font-weight: 600; color: var(--mt-sky); }
.mtp-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mtp-nav a { display: block; padding: 8px 12px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: var(--mt-body); transition: background-color .2s ease, color .2s ease; }
.mtp-nav a:hover { color: var(--mt-navy); background: var(--mt-sky-100); }
.mtp-nav a.active { color: #fff; background: var(--mt-navy); }
.mtp-header-actions { display: flex; align-items: center; gap: 10px; }
.mtp-toggle { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--mt-line); background: #fff; color: var(--mt-navy); font-size: 18px; display: grid; place-items: center; }
@media (min-width: 1200px) {
    .mtp-nav.collapse { display: block !important; }
}
@media (max-width: 1199.98px) {
    .mtp-nav { order: 3; flex: 0 0 100%; }
    .mtp-nav ul { flex-direction: column; gap: 2px; padding: 4px 0 10px; }
    .mtp-nav a { border-radius: 12px; padding: 11px 14px; }
    .mtp-cv-btn { margin-bottom: 14px; justify-content: center; }
}
.page-profile .mt-profile-section { scroll-margin-top: 92px; }
.page-profile .mt-profile-card { top: 96px; }
.page-profile .mt-profile { padding-top: 44px; }

.mtp-footer { background: var(--mt-gradient); color: #C9DBF0; padding: 48px 0 26px; position: relative; overflow: hidden; }
.mtp-footer::after { content: ""; position: absolute; right: -120px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: var(--mt-sky); opacity: .14; }
.mtp-footer .container { position: relative; z-index: 1; }
.mtp-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.mtp-footer-brand { display: flex; align-items: center; gap: 16px; }
.mtp-footer-brand strong { display: block; color: #fff; font-size: 20px; font-weight: 800; }
.mtp-footer-brand p { margin: 2px 0 0; color: #C9DBF0; font-size: 15px; }
.mtp-footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mtp-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-right: 72px; }
.mtp-footer-bottom p { margin: 0; font-size: 14px; color: #A9C2E2; }
.mtp-footer-socials { display: flex; gap: 8px; }
.mtp-footer-socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s ease, transform .2s ease; }
.mtp-footer-socials a:hover { background: var(--mt-sky); color: #fff; transform: translateY(-2px); }
@media (max-width: 575.98px) {
    .mtp-brand-text small { display: none; }
    .mtp-footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width: 575.98px) { .mtp-footer-bottom { padding-right: 0; padding-bottom: 56px; } }
/* Certifications: two columns on wider screens */
@media (min-width: 768px) { .mt-cert-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.mt-membership { height: 100%; }
.mt-membership + .mt-membership { margin-top: 0; }
/* 1200-1399px: eight menu links leave room only for an icon-only CV button */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .mtp-cv-label { display: none; }
    .mtp-cv-top { padding-left: 13px; padding-right: 13px; }
}
.mtp-header-bar { flex-wrap: wrap; }
@media (min-width: 1200px) { .mtp-header-bar { flex-wrap: nowrap; } }
