/* ==========================================================================
   Mango ERP — site styles (constructionerp.synobiz.com)
   Loaded after the Bexon theme's main.css. The theme files are never edited:
   everything project-specific lives here.

   1.  Tokens (Synobiz palette only)
   2.  Base & accessibility
   3.  Shared bits (lead text, link button, image-slot label, skeleton screens)
   4.  Header: brand, partner badge, mega menu, industries dropdown
   5.  Mobile menu (hamburger panel)
   6.  Hero
   7.  One connected flow
   8.  Modules grid
   9.  Marquee
   10. Industries
   11. Mobile on site
   12. Dashboards
   13. Why Synobiz
   14. Proof
   15. How we implement (theme h10-process tweaks)
   16. FAQ
   17. CTA band
   18. Footer
   19. Fixed elements: WhatsApp, mobile bar, back to top
   20. Callback modal
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
    /* Synobiz brand teal (from synobiz.com) replaces the theme's #1e8a8a */
    --tj-color-theme-primary: #099999;
    --mango-teal: #099999;
    --mango-teal-2: #1094a8;
    /* Text-safe teal: #099999 is 3.5:1 on white, too light for body-size text.
       #067a7a is 5.2:1 on white and carries white text at 5.2:1 — used for buttons and small teal text. */
    --mango-teal-deep: #067a7a;
    --mango-teal-tint: #eff7f8;
    --mango-teal-glow: rgba(9, 153, 153, 0.18);
    /* Light teal (from synobiz.com) — highlights on dark sections and secondary chart fills.
       Never as text on white (1.5:1); on the theme dark it is 11:1. */
    --mango-teal-light: #7fe3e3;
    /* One palette: Synobiz's. Mango ERP is represented only by its logo (client, 2026-09-25). */
    --mango-ink: #0c1e21;
    --mango-ink-2: #18292c;
    --mango-line: #dfe7e7;
    --mango-radius: 16px;
    --mango-radius-sm: 10px;
    --mango-shadow: 0 18px 40px -18px rgba(12, 30, 33, 0.25);
    --mango-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. BASE & ACCESSIBILITY -------------------------------------------------- */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 18px;
    background: var(--mango-ink);
    color: #fff;
    border-radius: 8px;
    transform: translateY(-160%);
    transition: transform 0.2s;
}

.skip-link:focus {
    transform: none;
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--mango-teal);
    outline-offset: 3px;
}

.tj-primary-btn {
    background-color: var(--mango-teal-deep);
}

.tj-primary-btn:focus-visible {
    outline-offset: 4px;
}

.sec-heading.style-3 .sub-title,
.sec-heading .sub-title {
    color: var(--mango-teal-deep);
}

.sec-heading .sub-title.text-white {
    color: #fff;
}

.sec-heading .sub-title.text-white i {
    color: var(--mango-teal-light);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 3. SHARED ---------------------------------------------------------------- */
.mg-lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--tj-color-text-body);
    margin-bottom: 28px;
    max-width: 560px;
}

.mg-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    color: var(--mango-ink);
    background: none;
    border: 0;
    padding: 6px 0;
    border-bottom: 1px solid currentColor;
    line-height: 1.2;
    transition: color 0.3s, gap 0.3s var(--mango-ease);
}

.mg-link-btn:hover {
    color: var(--mango-teal-deep);
    gap: 14px;
}

/* Label on every image slot — removed once the real asset is in */
.mg-slot-label {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mango-ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed var(--mango-teal);
    border-radius: 6px;
    padding: 5px 9px;
    pointer-events: none;
}

/* Skeleton "screen": stands in for product screenshots until Mango supplies them */
.mg-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--mango-shadow);
    display: flex;
    flex-direction: column;
}

.mg-screen__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 18px;
    background: #f4f7f7;
    border-bottom: 1px solid var(--mango-line);
    flex-shrink: 0;
}

.mg-screen__bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d6dede;
}

.mg-screen__bar span:first-child {
    background: var(--mango-teal-light);
}

.mg-screen__bar em {
    margin-left: 12px;
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    color: var(--tj-color-text-body-3);
}

.mg-screen__body {
    display: flex;
    flex: 1;
    min-height: 0;
}

.mg-screen__side {
    width: 17%;
    max-width: 220px;
    background: var(--mango-ink);
    padding: 26px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mg-screen__side i {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
}

.mg-screen__side i:first-child {
    width: 70%;
    height: 22px;
    background: var(--mango-teal-light);
    margin-bottom: 14px;
}

.mg-screen__side i:nth-child(3) {
    background: var(--mango-teal);
}

.mg-screen__main {
    flex: 1;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.mg-screen__main--pad {
    padding: 24px;
}

.mg-screen__kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 16px;
}

.mg-screen__kpis b {
    display: block;
    height: 76px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--mango-teal-tint), #fff);
    border: 1px solid var(--mango-line);
    position: relative;
}

.mg-screen__kpis b::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 46%;
    height: 12px;
    border-radius: 6px;
    background: var(--mango-teal);
    opacity: 0.55;
}

.mg-screen__kpis b:first-child::after {
    background: var(--mango-teal-light);
    opacity: 0.8;
}

.mg-screen__charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    flex: 1;
    min-height: 0;
}

.mg-screen__chart {
    border-radius: 12px;
    border: 1px solid var(--mango-line);
    padding: 20px;
    min-height: 150px;
}

.mg-screen__chart--bars {
    display: flex;
    align-items: flex-end;
    gap: 5%;
}

.mg-screen__chart--bars s {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: var(--mango-teal);
    opacity: 0.85;
    text-decoration: none;
}

.mg-screen__chart--bars s:nth-child(1) { height: 42%; }
.mg-screen__chart--bars s:nth-child(2) { height: 64%; }
.mg-screen__chart--bars s:nth-child(3) { height: 52%; background: var(--mango-teal-light); }
.mg-screen__chart--bars s:nth-child(4) { height: 78%; }
.mg-screen__chart--bars s:nth-child(5) { height: 58%; }
.mg-screen__chart--bars s:nth-child(6) { height: 88%; }
.mg-screen__chart--bars s:nth-child(7) { height: 70%; background: var(--mango-teal-light); }
.mg-screen__chart--bars s:nth-child(8) { height: 94%; }
.mg-screen__chart--bars s:nth-child(9) { height: 62%; }
.mg-screen__chart--bars s:nth-child(10) { height: 80%; }

.mg-screen__chart--donut {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mg-screen__chart--donut span {
    width: min(150px, 80%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(var(--mango-teal) 0 62%, var(--mango-teal-light) 62% 81%, #d6dede 81% 100%);
    -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%);
    mask: radial-gradient(circle, transparent 52%, #000 53%);
}

.mg-screen__rows {
    display: grid;
    gap: 10px;
}

.mg-screen__rows u {
    display: block;
    height: 14px;
    border-radius: 7px;
    background: #eef2f2;
    text-decoration: none;
}

.mg-screen__rows u:nth-child(2) { width: 86%; }
.mg-screen__rows u:nth-child(3) { width: 64%; }

/* dark variant, used inside the dashboards section */
.mg-screen--dark {
    background: #132a2e;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.mg-screen--dark .mg-screen__bar {
    background: #0f2326;
    border-color: rgba(255, 255, 255, 0.08);
}

.mg-screen--dark .mg-screen__bar span { background: rgba(255, 255, 255, 0.18); }
.mg-screen--dark .mg-screen__bar span:first-child { background: var(--mango-teal-light); }
.mg-screen--dark .mg-screen__bar em { color: rgba(255, 255, 255, 0.7); }

.mg-screen--dark .mg-screen__kpis b {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.mg-screen--dark .mg-screen__chart {
    border-color: rgba(255, 255, 255, 0.08);
}

.mg-screen__chart--tall {
    height: 260px;
    flex: none;
}

.mg-screen__chart--line svg {
    width: 100%;
    height: 100%;
    min-height: 190px;
}

.mg-screen__chart--line polyline {
    fill: none;
    stroke: var(--mango-teal);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.mg-screen__chart--line polyline.alt {
    stroke: var(--mango-teal-light);
}

.mg-screen__progress {
    display: grid;
    gap: 22px;
    padding: 14px 4px;
}

.mg-screen__progress p {
    margin: 0;
    height: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.mg-screen__progress i {
    display: block;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--mango-teal), var(--mango-teal-2));
}

.mg-screen__progress p:nth-child(3) i {
    background: linear-gradient(90deg, var(--mango-teal-light), var(--mango-teal-light));
}

/* 4. HEADER ---------------------------------------------------------------- */
.mango-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mango ERP logo — the only Mango brand element on the site (the palette is Synobiz's).
   Source: mangoconsultant.com/mango-logo.png, 113×53 — replace with the vector logo when supplied. */
.mango-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.mango-logo img {
    display: block;
    width: auto;
    height: 60px;
}

/* on dark backgrounds, white — the same treatment mangoconsultant.com uses */
.mango-logo--light img {
    filter: brightness(0) invert(1);
}

.partner-badge {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px 0 7px 16px;
    border-left: 1px solid var(--tj-color-border-1);
    line-height: 1;
}

.partner-badge__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tj-color-text-body-3);
}

/* Synobiz wordmark, recoloured to teal with a mask over the white logo from synobiz.com */
.partner-badge__logo {
    display: block;
    width: 124px;
    height: 21px;
    background: var(--mango-teal);
    -webkit-mask: url("../img/logo/synobiz-logo-bw-horizontal.webp") left center / contain no-repeat;
    mask: url("../img/logo/synobiz-logo-bw-horizontal.webp") left center / contain no-repeat;
    transition: background-color 0.3s;
}

.partner-badge:hover .partner-badge__logo {
    background: var(--mango-teal-deep);
}

.header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--mango-ink);
    font-size: 19px;
    transition: background-color 0.3s, color 0.3s;
}

.header-call:hover {
    background: var(--mango-teal-deep);
    color: #fff;
}

.header-area.header-sticky .header-call {
    background: var(--tj-color-grey-1);
}

/* the sticky copy: white bar */
.header-area.header-sticky .header-wrapper {
    padding: 10px 12px;
}

.header-area.header-sticky .mainmenu > ul > li > a {
    padding-top: 26px;
    padding-bottom: 26px;
}

.header-area.header-sticky .mainmenu > ul > li.has-dropdown > a::after {
    top: 29px;
}

/* Menu link hover/active colour: text-safe teal */
.mainmenu ul > li.current-menu-ancestor > a,
.mainmenu ul > li.current-menu-item > a,
.mainmenu ul > li:hover > a,
.mainmenu ul > li:hover > a::after {
    color: var(--mango-teal-deep);
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .mainmenu ul {
        column-gap: 20px;
    }

    .h10-header.header-area.header-absolute .mainmenu > ul {
        padding: 0 20px;
    }

    /* keep both logos visible; give up the call icon instead */
    .header-call {
        display: none;
    }

    .mango-logo img {
        height: 42px;
    }

    .partner-badge__logo {
        width: 100px;
        height: 17px;
    }
}

/* Modules mega menu */
.mainmenu ul > li > .mango-mega {
    padding: 0;
    background: transparent;
    box-shadow: none;
    top: calc(100% - 10px);
}

.h10-header.header-area.header-absolute .mainmenu > ul > li > .mango-mega {
    top: calc(100% - 20px);
}

.mango-mega__inner {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 70px -20px rgba(12, 30, 33, 0.28);
    overflow: hidden;
}

.mango-mega__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 30px 30px 24px;
}

.mango-mega__col {
    padding: 0 8px;
}

.mango-mega__col + .mango-mega__col {
    border-left: 1px dashed var(--mango-line);
    padding-left: 18px;
}

.mango-mega__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mango-teal-deep);
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--mango-teal-deep);
    display: inline-block;
}

.mango-mega__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mainmenu .mango-mega__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    margin: 0 -10px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--mango-ink);
    line-height: 1.3;
    transition: background-color 0.25s, color 0.25s;
}

.mango-mega__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
    font-size: 16px;
    transition: background-color 0.25s, color 0.25s;
}

.mainmenu .mango-mega__link:hover {
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
}

.mango-mega__link:hover .mango-mega__icon {
    background: var(--mango-teal-deep);
    color: #fff;
}

.mango-mega__strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 30px;
    background: var(--mango-teal-tint);
    border-top: 1px solid var(--mango-line);
}

.mango-mega__strip p {
    margin: 0;
    font-size: 14px;
    color: var(--tj-color-text-body);
}

.mango-mega__strip p i {
    color: var(--mango-teal-deep);
    margin-right: 6px;
}

.mango-mega__strip-links {
    display: flex;
    gap: 22px;
    flex-shrink: 0;
}

.mainmenu .mango-mega__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mango-ink);
}

.mainmenu .mango-mega__all:hover {
    color: var(--mango-teal-deep);
}

.mainmenu .mango-mega__all--accent {
    color: var(--mango-teal-deep);
}

/* Industries dropdown */
.mainmenu ul > li > .mango-ind-menu {
    width: 320px;
    padding: 10px;
    border-radius: 14px;
}

.mainmenu ul > li > .mango-ind-menu > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 9px;
    color: var(--mango-ink);
    font-weight: 500;
    line-height: 1.35;
}

.mainmenu ul > li > .mango-ind-menu > li > a i {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mainmenu ul > li > .mango-ind-menu > li:hover > a {
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
}

/* 5. MOBILE MENU ----------------------------------------------------------- */
.menu_bar.mobile_menu_bar {
    border: 0;
    background: var(--mango-teal-deep);
}

.m-nav__partner {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 18px 0 8px;
}

.m-nav__partner a {
    color: var(--mango-teal);
    font-weight: 600;
}

.m-nav {
    margin: 10px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.m-nav__group,
.m-nav__link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.m-nav__group summary,
.m-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
}

.m-nav__group summary::-webkit-details-marker {
    display: none;
}

.m-nav__group summary::after {
    content: "\e929";
    font-family: "bexon-icons";
    font-size: 12px;
    transition: transform 0.3s;
}

.m-nav__group[open] summary::after {
    transform: rotate(180deg);
}

.m-nav__link:hover,
.m-nav__group summary:hover {
    color: var(--mango-teal);
}

.m-nav__panel {
    padding: 0 0 16px;
}

.m-nav__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mango-teal-light);
    margin: 12px 0 4px;
}

.m-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-nav__list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
}

.m-nav__list a i {
    width: 18px;
    color: var(--mango-teal);
    text-align: center;
}

.m-nav__list a:hover {
    color: #fff;
}

.m-nav__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-weight: 600;
    color: var(--mango-teal);
}

.m-nav__cta .tj-primary-btn {
    width: 100%;
    justify-content: space-between;
}

/* 6. HERO ------------------------------------------------------------------ */
.mg-hero .banner-content-2 {
    max-width: 920px;
}

.mg-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mango-teal-deep);
    margin-bottom: 22px;
}

.mg-hero__eyebrow i {
    font-size: 22px;
    color: var(--mango-teal);
}

.mg-hero .banner-content-2 .banner-title {
    font-size: 80px;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

/* accent phrase: Synobiz teal (3.5:1 — fine at this large size). Keep it a solid colour: a
   background-clip gradient breaks because .text-anim splits the heading into per-letter boxes. */
.mg-hero .banner-content-2 .banner-title span {
    color: var(--mango-teal);
}

.mg-hero .banner-content-2 .banner-title i {
    font-size: 70px;
    color: var(--mango-teal-deep);
}

.mg-hero .banner-desc-area {
    flex-wrap: wrap;
    align-items: center;
}

.mg-hero__actions {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.mg-hero .banner-desc {
    max-width: 380px;
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
}

.mg-hero__partner .h6-hero-history-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--mango-ink);
    margin-bottom: 8px;
    padding-left: 14px;
    border-left: 3px solid var(--mango-teal-deep);
}

.mg-hero__partner .h6-hero-history-desc {
    margin: 0;
}

/* rotating circle text — inline SVG so it uses the page font */
.mg-circle-text {
    display: block;
    animation: mgSpin 22s linear infinite;
}

.mg-circle-text svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.mg-circle-text text {
    font-family: var(--tj-ff-heading);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    fill: var(--mango-ink);
}

.h10-hero-award-wrapper .circle-text-wrap .circle-icon i {
    color: var(--mango-teal-deep);
}

@keyframes mgSpin {
    to {
        transform: rotate(360deg);
    }
}

.mg-hero .h10-hero-banner {
    padding: 0 60px;
}

.mg-hero .h10-hero-banner-img.mg-screen {
    aspect-ratio: 16 / 7.4;
    height: auto;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 60px -20px rgba(12, 30, 33, 0.25);
    border: 1px solid var(--mango-line);
    border-bottom: 0;
}

/* 7. ONE CONNECTED FLOW ---------------------------------------------------- */
.mg-flow {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: var(--mango-ink);
    border-radius: 12px;
    margin-top: 15px;
}

.mg-flow .bg-shape-1,
.mg-flow .bg-shape-2 {
    position: absolute;
    top: 0;
    z-index: -1;
    opacity: 0.35;
}

.mg-flow .bg-shape-1 { left: 0; }
.mg-flow .bg-shape-2 { right: 0; }

.mg-flow__head {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 70px;
}

.mg-flow__head .sec-heading {
    margin-bottom: 0;
}

.mg-flow__head .sec-title span {
    color: var(--mango-teal);
}

.mg-flow__lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.mg-flow__track {
    --flow-progress: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--steps, 7), 1fr);
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* the rail behind the nodes, and the teal fill that grows as it scrolls into view */
.mg-flow__track::before,
.mg-flow__track::after {
    content: "";
    position: absolute;
    top: 33px;
    left: calc(100% / var(--steps, 7) / 2);
    right: calc(100% / var(--steps, 7) / 2);
    height: 2px;
    background: rgba(255, 255, 255, 0.14);
}

.mg-flow__track::after {
    right: auto;
    width: calc((100% - 100% / var(--steps, 7)) * var(--flow-progress));
    background: linear-gradient(90deg, var(--mango-teal), var(--mango-teal-light));
    transition: width 0.2s linear;
}

.mg-flow__step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.mg-flow__node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--mango-ink-2);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 24px;
    transition: background-color 0.5s, border-color 0.5s, transform 0.5s var(--mango-ease);
}

.mg-flow__step.is-lit .mg-flow__node {
    background: var(--mango-teal-deep);
    border-color: var(--mango-teal);
    transform: translateY(-4px);
    box-shadow: 0 0 0 8px var(--mango-teal-glow);
}

.mg-flow__step.is-lit .mg-flow__node--end {
    background: var(--mango-teal-light);
    border-color: var(--mango-teal-light);
    color: var(--mango-ink);
    box-shadow: 0 0 0 8px rgba(9, 153, 153, 0.2);
}

.mg-flow__num {
    display: block;
    margin: 18px 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--mango-teal-light);
}

.mg-flow__step h3 {
    font-size: 19px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.25;
}

.mg-flow__step p {
    font-size: 15px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.66);
    margin: 0;
}

/* 8. MODULES GRID ---------------------------------------------------------- */
.mg-modules .sec-heading-wrap {
    margin-bottom: 0;
}

.mg-modules .heading-wrap-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.mg-modules .heading-wrap-content .sec-heading {
    max-width: 680px;
    margin: 0;
}

.mg-modules__grid {
    margin-top: 50px;
}

.mg-group {
    height: 100%;
    background: #fff;
    border-radius: var(--mango-radius);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.mg-group__head {
    position: relative;
    padding: 24px 22px 22px;
    border-radius: 12px;
    background: var(--mango-teal-tint);
    margin-bottom: 8px;
}

.mg-group__num {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--mango-teal-deep);
}

.mg-group__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--mango-ink);
    color: var(--mango-teal-light);
    font-size: 22px;
    margin-bottom: 18px;
}

.mg-group__title {
    font-size: 22px;
    margin-bottom: 6px;
}

.mg-group__line {
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
    color: var(--tj-color-text-body);
}

.mg-group__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mg-tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 12px;
    border-radius: 12px;
    border-bottom: 1px dashed var(--mango-line);
    transition: background-color 0.3s;
}

.mg-group__list li:last-child .mg-tile {
    border-bottom: 0;
}

.mg-tile__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tj-color-grey-1);
    color: var(--mango-teal-deep);
    font-size: 17px;
    transition: background-color 0.3s, color 0.3s;
}

.mg-tile__text {
    flex: 1;
    min-width: 0;
}

.mg-tile__text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--mango-ink);
    margin-bottom: 3px;
}

.mg-tile__text small {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: var(--tj-color-text-body-3);
}

.mg-tile__go {
    flex-shrink: 0;
    margin-top: 10px;
    font-size: 16px;
    color: var(--mango-teal-deep);
    opacity: 0;
    transform: translateX(-6px) rotate(-45deg);
    transition: opacity 0.3s, transform 0.3s var(--mango-ease);
}

.mg-tile:hover {
    background: var(--mango-teal-tint);
}

.mg-tile:hover .mg-tile__icon {
    background: var(--mango-teal-deep);
    color: #fff;
}

.mg-tile:hover .mg-tile__go {
    opacity: 1;
    transform: none;
}

/* 9. MARQUEE --------------------------------------------------------------- */
.mg-marquee .marquee-text {
    color: var(--mango-ink);
}

.mg-marquee .mg-marquee__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
    font-size: 22px;
}

/* 10. INDUSTRIES ----------------------------------------------------------- */
.mg-industries {
    background: #fff;
    border-radius: 12px;
}

.mg-industries .sec-heading-centered {
    max-width: 720px;
}

.mg-ind {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--mango-radius);
    background: var(--tj-color-grey-1);
    overflow: hidden;
    transition: transform 0.45s var(--mango-ease), box-shadow 0.45s;
}

.mg-ind__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(circle at 80% 20%, rgba(9, 153, 153, 0.35), transparent 45%),
        linear-gradient(145deg, var(--mango-teal-deep), var(--mango-ink));
    overflow: hidden;
}

.mg-ind__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}

.mg-ind__media i {
    position: relative;
    z-index: 1;
    font-size: 70px;
    --fa-primary-color: #fff;
    --fa-secondary-color: var(--mango-teal-light);
    --fa-secondary-opacity: 0.9;
    transition: transform 0.6s var(--mango-ease);
}

.mg-ind__num {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 1;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

.mg-ind__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 26px;
}

.mg-ind__title {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--mango-ink);
    margin-bottom: 10px;
}

.mg-ind__line {
    font-size: 15px;
    line-height: 1.5;
    color: var(--tj-color-text-body);
    margin-bottom: 20px;
}

.mg-ind__go {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--mango-teal-deep);
}

.mg-ind__go i {
    transform: rotate(-45deg);
    transition: transform 0.3s;
}

.mg-ind:hover {
    transform: translateY(-6px);
    box-shadow: var(--mango-shadow);
}

.mg-ind:hover .mg-ind__media i {
    transform: scale(1.1);
}

.mg-ind:hover .mg-ind__go i {
    transform: none;
}

/* 11. MOBILE ON SITE ------------------------------------------------------- */
.mg-mobile .sec-heading {
    margin-bottom: 20px;
}

.mg-phone-stage {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.mg-phone-stage::before {
    content: "";
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, var(--mango-teal-glow), transparent 68%);
    border: 1px dashed rgba(9, 153, 153, 0.35);
}

.mg-phone {
    position: relative;
    width: 270px;
    aspect-ratio: 9 / 18.5;
    border-radius: 42px;
    background: var(--mango-ink);
    padding: 12px;
    box-shadow: 0 40px 70px -30px rgba(12, 30, 33, 0.55);
}

.mg-phone__notch {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 80px;
    height: 20px;
    transform: translateX(-50%);
    border-radius: 12px;
    background: var(--mango-ink);
    z-index: 2;
}

.mg-phone__screen {
    height: 100%;
    border-radius: 32px;
    background: linear-gradient(180deg, var(--mango-teal-tint), #fff 40%);
    padding: 52px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mg-phone__app {
    font-size: 15px;
    font-weight: 700;
    color: var(--mango-ink);
    margin: 0 0 4px;
}

.mg-phone__card {
    background: #fff;
    border: 1px solid var(--mango-line);
    border-radius: 14px;
    padding: 14px;
}

.mg-phone__card b,
.mg-phone__card i {
    display: block;
    height: 10px;
    border-radius: 5px;
    background: #e3eaea;
}

.mg-phone__card b {
    width: 60%;
    margin-bottom: 10px;
    background: var(--mango-teal);
    opacity: 0.6;
}

.mg-phone__card--accent {
    background: var(--mango-ink);
    border-color: var(--mango-ink);
}

.mg-phone__card--accent b {
    background: var(--mango-teal-light);
    opacity: 1;
}

.mg-phone__card--accent i {
    background: rgba(255, 255, 255, 0.2);
}

.mg-phone__btn {
    margin-top: auto;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    background: var(--mango-teal-deep);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.mg-phone-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 40px;
    background: #fff;
    box-shadow: var(--mango-shadow);
    font-size: 14px;
    font-weight: 600;
    color: var(--mango-ink);
    white-space: nowrap;
    animation: mgFloat 5s ease-in-out infinite;
}

.mg-phone-chip i {
    color: var(--mango-teal-deep);
    font-size: 17px;
}

.mg-phone-chip--a {
    top: 22%;
    left: 0;
}

.mg-phone-chip--b {
    bottom: 20%;
    right: 0;
    animation-delay: -2.5s;
}

.mg-phone-chip--b i {
    color: var(--mango-teal-deep);
}

@keyframes mgFloat {
    50% {
        transform: translateY(-10px);
    }
}

.mg-mobile__list {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mg-mobile__list li {
    display: flex;
    gap: 14px;
    padding: 20px;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    line-height: 1.5;
}

.mg-mobile__list strong {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: var(--mango-ink);
    margin-bottom: 4px;
}

.mg-mobile__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
    font-size: 19px;
}

/* 12. DASHBOARDS ----------------------------------------------------------- */
.mg-dash {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: var(--mango-ink);
    border-radius: 12px;
}

.mg-dash .bg-shape-1,
.mg-dash .bg-shape-2 {
    position: absolute;
    top: 0;
    z-index: -1;
    opacity: 0.35;
}

.mg-dash .bg-shape-1 { left: 0; }
.mg-dash .bg-shape-2 { right: 0; }

.mg-dash .sec-title span {
    color: var(--mango-teal);
}

.mg-dash .sec-heading {
    margin-bottom: 34px;
}

.mg-dash__tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mg-dash__tab {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    text-align: left;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: rgba(255, 255, 255, 0.66);
    font-size: 15px;
    line-height: 1.5;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.mg-dash__tab i {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.mg-dash__tab strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.mg-dash__tab:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.mg-dash__tab.is-active {
    background: rgba(9, 153, 153, 0.14);
    border-color: var(--mango-teal);
    color: rgba(255, 255, 255, 0.85);
}

.mg-dash__tab.is-active i {
    background: var(--mango-teal);
    color: #fff;
}

.mg-dash__panels {
    position: relative;
}

.mg-dash__panel .mg-screen {
    min-height: 430px;
}

.mg-dash__panel.is-active {
    animation: mgPanelIn 0.5s var(--mango-ease);
}

@keyframes mgPanelIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

/* 13. WHY SYNOBIZ ---------------------------------------------------------- */
.mg-why__intro {
    position: sticky;
    top: 110px;
}

.mg-duo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    border-radius: var(--mango-radius);
    background: #fff;
}

.mg-duo__side {
    padding: 20px 18px;
    border-radius: 12px;
    background: var(--tj-color-grey-1);
}

.mg-duo__side p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.mg-duo__who {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--mango-ink);
    margin-bottom: 8px;
}

.mg-duo__mark {
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.mg-duo__mark--mango { background: var(--mango-teal-light); }
.mg-duo__mark--synobiz { background: var(--mango-teal); }

.mg-duo__plus {
    display: flex;
    align-items: center;
    color: var(--mango-teal-deep);
    font-size: 18px;
}

.mg-why__card.choose-box {
    height: 100%;
    background: #fff;
}

.mg-why__card .title {
    font-size: 21px;
}

.mg-why__card .choose-icon {
    width: 64px;
    height: 64px;
    max-width: none;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
    font-size: 28px;
    margin-bottom: 26px;
}

.mg-why__card .choose-icon i {
    color: inherit;
}

.mg-why__card.choose-box:hover .choose-icon {
    background: var(--mango-teal-deep);
    color: #fff;
}

/* 14. PROOF ---------------------------------------------------------------- */
.mg-proof {
    background: #fff;
    border-radius: 12px;
}

.mg-proof .sec-heading-centered {
    max-width: 700px;
}

.mg-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--mango-radius);
    background: var(--mango-teal-tint);
    margin-bottom: 60px;
}

.mg-stat {
    padding: 34px 30px;
    text-align: center;
}

.mg-stat + .mg-stat {
    border-left: 1px dashed rgba(9, 153, 153, 0.35);
}

.mg-stat .inline-content {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--mango-ink);
    margin-bottom: 10px;
}

.mg-stat .inline-content span,
.mg-stat .odometer,
.mg-stat .odometer .odometer-digit {
    color: var(--mango-ink);
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
}

.mg-stat .count-plus {
    color: var(--mango-teal-deep);
}

.mg-stat__ph {
    color: var(--tj-color-text-body-3);
}

.mg-stat p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

.mg-logos {
    margin-bottom: 60px;
}

.mg-logos__title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tj-color-text-body-3);
    margin-bottom: 26px;
}

/* Two marquee rows of Synobiz client logos (theme .client-slider, second row dir="rtl") */
.mg-logos__slider {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.mg-logos__slider + .mg-logos__slider {
    margin-top: 16px;
}

.mg-logos__slider .client-item {
    width: auto;
    padding: 0 8px;
}

.mg-logos__slider .client-logo {
    width: 188px;
    height: 88px;
    padding: 16px 22px;
    border: 1px solid var(--tj-color-border-1);
    border-radius: 12px;
}

.mg-logos__slider .client-logo img,
.mg-logo-row__item img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
}

.mg-logos__note {
    max-width: 640px;
    margin: 26px auto 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    color: var(--tj-color-text-body-3);
}

@media (max-width: 767px) {
    .mg-logos__slider .client-logo {
        width: 150px;
        height: 72px;
        padding: 12px 16px;
    }

    .mg-logos__slider .client-logo img {
        max-height: 46px;
    }
}

.mg-logo-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 70px;
    border: 1px dashed var(--tj-color-border-1);
    border-radius: 12px;
    font-size: 13px;
    color: var(--tj-color-text-body-3);
}

.mg-quote {
    height: 100%;
    margin: 0;
    padding: 34px 30px 30px;
    border-radius: var(--mango-radius);
    background: var(--tj-color-grey-1);
    display: flex;
    flex-direction: column;
}

.mg-quote__mark {
    font-size: 30px;
    color: var(--mango-teal-deep);
    margin-bottom: 18px;
}

.mg-quote__text {
    margin: 0 0 26px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--mango-ink);
}

.mg-quote figcaption {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--tj-color-text-body-3);
}

.mg-quote figcaption strong {
    display: block;
    font-size: 16px;
    color: var(--mango-ink);
}

.mg-quote__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--mango-teal-deep);
    font-size: 18px;
}

/* 15. HOW WE IMPLEMENT (theme h10-process) --------------------------------- */
.mg-process .sec-heading .sec-title span {
    color: var(--mango-teal);
}

.mg-process .sec-heading .sub-title {
    color: #fff;
}

.mg-process .sec-heading .sub-title i {
    color: var(--mango-teal-light);
}

.mg-process .mg-lead {
    color: var(--tj-color-text-body-2);
    margin: 20px 0 0;
}

.mg-process .h10-process-wrapper .h10-process-sln {
    color: var(--mango-teal-light);
}

/* 16. FAQ ------------------------------------------------------------------ */
.mg-faq__aside {
    position: sticky;
    top: 110px;
}

.mg-faq__call {
    padding: 30px;
    border-radius: var(--mango-radius);
    background: var(--mango-ink);
    color: rgba(255, 255, 255, 0.72);
}

.mg-faq__call-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.mg-faq__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 18px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.mg-faq__phone i {
    color: var(--mango-teal);
}

.mg-faq__phone:hover {
    color: var(--mango-teal);
}

.mg-faq__call .mg-link-btn {
    color: #fff;
    display: flex;
}

.mg-faq__call .mg-link-btn:hover {
    color: var(--mango-teal);
}

.mg-faq__q {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.mg-faq__list .accordion-item {
    background: #fff;
}

/* theme paints the open item #099999 with white text (3.5:1) — use the text-safe teal */
.mg-faq__list.tj-faq.style-2 .accordion-item.active {
    background-color: var(--mango-teal-deep);
}

/* 17. CTA BAND ------------------------------------------------------------- */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 90px 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(9, 153, 153, 0.32), transparent 40%),
        linear-gradient(120deg, var(--mango-teal-deep), #075f65 55%, var(--mango-ink));
}

.cta-band__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-band .cta-band__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.cta-band .cta-band__eyebrow i {
    font-size: 22px;
    color: var(--mango-teal-light);
}

.cta-band__title {
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 18px;
}

.cta-band__title span {
    /* light teal: ≥3:1 on the band's teal side at this size */
    color: var(--mango-teal-light);
}

.cta-band__text p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-width: 560px;
}

.cta-band__actions {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.cta-band .tj-primary-btn {
    background: #fff;
}

.cta-band .tj-primary-btn .btn-text {
    color: var(--mango-ink);
}

.cta-band .tj-primary-btn .btn-icon {
    background: var(--mango-teal-deep);
}

.cta-band .tj-primary-btn .btn-icon i {
    color: var(--mango-ink);
}

.cta-band__alt {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.cta-band__alt a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 3px;
}

.cta-band__alt a:hover {
    color: var(--mango-teal-light);
    border-color: var(--mango-teal-light);
}

/* 18. FOOTER --------------------------------------------------------------- */
.mango-footer.tj-footer-section {
    padding-top: 0;
    background-color: var(--mango-ink);
}

.mango-footer .footer-main-area {
    padding: 80px 0 50px;
}

.mango-footer .widget-nav-menu ul {
    padding: 0;
    margin: 0;
}

.mango-footer__links .footer-widget {
    padding: 0;
    margin: 0 0 30px;
}

.mango-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mango-footer__brand {
    max-width: 520px;
}

.mango-footer__logos {
    display: flex;
    align-items: center;
    gap: 22px;
}

.mango-footer__logos .mango-logo img {
    height: 60px;
}

.mango-footer__synobiz {
    display: inline-flex;
    flex-direction: column;
    gap: 7px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    line-height: 1;
}

.mango-footer__synobiz-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tj-color-text-body-2);
}

.mango-footer__synobiz img {
    display: block;
    width: 150px;
    height: auto;
}

.mango-footer__brand p {
    margin: 20px 0 0;
    color: var(--tj-color-text-body-2);
    line-height: 1.6;
}

.mango-footer__brand p a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mango-footer__quick {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.mango-footer__pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px 14px 16px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.3s, border-color 0.3s;
}

.mango-footer__pill i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mango-teal-deep);
    font-size: 17px;
}

.mango-footer__pill small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--tj-color-text-body-2);
    margin-bottom: 2px;
}

.mango-footer__pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--mango-teal);
}

.mango-footer__links .footer-widget .title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

.mango-footer__links .widget-nav-menu ul li a {
    color: var(--tj-color-text-body-2);
}

.mango-footer__links .widget-nav-menu ul li a:hover {
    color: #fff;
}

.mango-footer__more {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: var(--mango-teal) !important;
    font-weight: 600;
}

.mango-footer__offices li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--tj-color-text-body-2);
    font-size: 15px;
    line-height: 1.5;
}

.mango-footer__offices li i {
    color: var(--mango-teal);
    margin-top: 4px;
}

.mango-footer__offices strong {
    display: block;
    color: #fff;
    font-weight: 600;
}

.mango-footer__offices a {
    color: var(--tj-color-text-body-2);
}

.mango-footer__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 26px 80px 26px 0;
}

.mango-footer__bar p {
    margin: 0;
    font-size: 14px;
    color: var(--tj-color-text-body-2);
}

.mango-footer__bar p a {
    color: #fff;
}

.mango-footer__bar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mango-footer__bar ul a {
    font-size: 14px;
    color: var(--tj-color-text-body-2);
}

.mango-footer__bar ul a:hover {
    color: #fff;
}

/* 19. FIXED ELEMENTS ------------------------------------------------------- */
#tj-back-to-top {
    bottom: 30px;
    right: 30px;
}

.wa-float {
    position: fixed;
    right: 30px;
    bottom: 104px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-float__btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.7);
    transition: transform 0.3s var(--mango-ease);
}

.wa-float__label {
    padding: 9px 14px;
    border-radius: 30px;
    background: #fff;
    color: var(--mango-ink);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--mango-shadow);
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s, transform 0.3s var(--mango-ease);
    pointer-events: none;
    white-space: nowrap;
}

.wa-float:hover .wa-float__btn {
    transform: scale(1.08);
}

.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
    opacity: 1;
    transform: none;
}

.mobile-bar {
    display: none;
}

/* 20. CALLBACK MODAL ------------------------------------------------------- */
.cb-modal {
    /* the theme's global reset zeroes margins, which un-centres a native <dialog> */
    position: fixed;
    inset: 0;
    margin: auto;
    max-height: calc(100% - 32px);
    overflow-y: auto;
    width: min(460px, calc(100% - 32px));
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 40px 90px -30px rgba(12, 30, 33, 0.5);
}

.cb-modal::backdrop {
    background: rgba(12, 30, 33, 0.6);
    backdrop-filter: blur(4px);
}

.cb-modal[open] {
    animation: mgPanelIn 0.4s var(--mango-ease);
}

.cb-modal__box {
    position: relative;
    padding: 40px 36px 32px;
}

.cb-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--tj-color-grey-1);
    color: var(--mango-ink);
    font-size: 18px;
}

.cb-modal__close:hover {
    background: var(--mango-ink);
    color: #fff;
}

.cb-modal__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
    font-size: 24px;
    margin-bottom: 18px;
}

.cb-modal h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.cb-modal__lead {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 24px;
}

.mango-field {
    margin-bottom: 16px;
}

.mango-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--mango-ink);
    margin-bottom: 7px;
}

.mango-field label span {
    color: #c0392b;
}

.mango-field input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--tj-color-border-1);
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    color: var(--mango-ink);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.mango-field input:focus {
    outline: 0;
    border-color: var(--mango-teal-deep);
    box-shadow: 0 0 0 4px var(--mango-teal-glow);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cb-modal__submit {
    width: 100%;
    justify-content: space-between;
    border: 0;
    margin-top: 6px;
}

.cb-modal__note {
    margin: 16px 0 0;
    font-size: 14px;
    text-align: center;
}

.cb-modal__note a {
    font-weight: 600;
    color: var(--mango-teal-deep);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1399px) {
    .mg-hero .banner-content-2 .banner-title {
        font-size: 70px;
    }

    .mg-flow__step h3 {
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    /* below 992px the flow becomes a vertical timeline */
    .mg-flow__track {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 640px;
    }

    .mg-flow__track::before,
    .mg-flow__track::after {
        top: 34px;
        bottom: 34px;
        left: 33px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .mg-flow__track::after {
        bottom: auto;
        height: calc((100% - 68px) * var(--flow-progress));
        background: linear-gradient(180deg, var(--mango-teal), var(--mango-teal-light));
        transition: height 0.2s linear;
    }

    .mg-flow__step {
        display: grid;
        grid-template-columns: 68px 1fr;
        column-gap: 22px;
        text-align: left;
        padding-bottom: 26px;
    }

    .mg-flow__node {
        grid-row: 1 / span 3;
    }

    .mg-flow__num {
        margin: 6px 0 4px;
    }

}

/* 992–1199px: the flow stays horizontal, just tighter */
@media (min-width: 992px) and (max-width: 1199px) {
    .mg-flow__track { gap: 10px; }
    .mg-flow__step h3 { font-size: 16px; }
    .mg-flow__step p { font-size: 13px; }
    .mg-flow__node { width: 58px; height: 58px; font-size: 21px; }
    .mg-flow__track::before, .mg-flow__track::after { top: 28px; }
}

@media (max-width: 1199px) {
    .mg-hero .banner-content-2 .banner-title {
        font-size: 58px;
    }

    .mg-hero .banner-content-2 .banner-title i {
        font-size: 50px;
    }

    .mg-hero .h10-hero-banner {
        padding: 0 20px;
    }

    .mg-flow__head {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }

    .mg-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .mg-stat:nth-child(3) {
        border-left: 0;
    }

    .mg-stat:nth-child(n + 3) {
        border-top: 1px dashed rgba(9, 153, 153, 0.35);
    }

    .cta-band__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .cta-band__actions {
        justify-self: start;
    }

    .cta-band__title {
        font-size: 46px;
    }
}

@media (max-width: 991px) {
    .mg-why__intro,
    .mg-faq__aside {
        position: static;
    }

    .mg-hero .banner-content-2 {
        padding-inline-start: 0;
    }

    .mg-dash__panel .mg-screen {
        min-height: 340px;
    }
}

@media (max-width: 767px) {
    .header-area .header-wrapper {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .mango-brand {
        gap: 10px;
        min-width: 0;
    }

    .mango-logo img {
        height: 38px;
    }

    .partner-badge {
        padding: 3px 0 4px 10px;
        gap: 4px;
    }

    .partner-badge__label {
        font-size: 8.5px;
        letter-spacing: 0.08em;
        white-space: nowrap;
    }

    .partner-badge__logo {
        width: 88px;
        height: 15px;
    }

    .menu_bar.mobile_menu_bar {
        flex-shrink: 0;
        width: 46px;
        height: 46px;
        padding: 11px;
    }

    .mg-hero__eyebrow {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .mg-hero .banner-content-2 .banner-title {
        font-size: 42px;
    }

    .mg-hero .banner-content-2 .banner-title i {
        font-size: 34px;
    }

    .mg-hero .h10-hero-banner {
        padding: 0;
    }

    .mg-hero .h10-hero-banner-img.mg-screen {
        aspect-ratio: 4 / 3.4;
        border-radius: 18px 18px 0 0;
    }

    .mg-screen__side {
        display: none;
    }

    .mg-screen__main {
        padding: 16px;
        gap: 14px;
    }

    .mg-screen__kpis {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mg-screen__kpis b {
        height: 54px;
    }

    .mg-screen__charts {
        grid-template-columns: 1fr;
    }

    .mg-screen__chart--donut,
    .mg-screen__rows {
        display: none;
    }

    .mg-lead,
    .mg-flow__lead {
        font-size: 16px;
    }

    .mg-mobile__list {
        grid-template-columns: 1fr;
    }

    .mg-phone {
        width: 230px;
    }

    .mg-phone-chip {
        font-size: 12px;
        padding: 9px 12px;
    }

    .mg-duo {
        grid-template-columns: 1fr;
    }

    .mg-duo__plus {
        justify-content: center;
    }

    .mg-stat {
        padding: 26px 14px;
    }

    .mg-stat .inline-content {
        font-size: 40px;
    }

    .mg-stat p {
        font-size: 13px;
    }

    .cta-band {
        padding: 60px 0;
    }

    .cta-band__title {
        font-size: 36px;
    }

    .mango-footer__pill {
        font-size: 16px;
        width: 100%;
    }

    /* fixed elements: the sticky bar replaces the floating buttons' bottom slot */
    .mobile-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 998;
        display: flex;
        gap: 8px;
        padding: 8px;
        border-radius: 18px;
        background: rgba(12, 30, 33, 0.94);
        backdrop-filter: blur(10px);
        box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
    }

    .mobile-bar__icon {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        border: 0;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 19px;
    }

    .mobile-bar__demo {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        height: 50px;
        border-radius: 12px;
        background: var(--mango-teal-deep);
        color: #fff;
        font-weight: 700;
        font-size: 16px;
    }

    .mobile-bar__demo:hover {
        color: #fff;
    }

    .wa-float {
        right: 16px;
        bottom: 88px;
    }

    .wa-float__btn {
        width: 50px;
        height: 50px;
        font-size: 27px;
    }

    #tj-back-to-top {
        display: none;
    }

    /* keep the last content clear of the sticky bar */
    .mango-footer__bar {
        padding: 22px 0 96px;
    }

    .cb-modal__box {
        padding: 34px 22px 26px;
    }
}

/* ==========================================================================
   21. INNER PAGES
   Shared blocks for every page except the homepage: page banner, content blocks, forms,
   cards, the modules hub, tables, contact cards.
   ========================================================================== */

/* Page banner --------------------------------------------------------------- */
.mg-page-hero {
    position: relative;
    z-index: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--tj-color-theme-bg);
    padding: 150px 0 80px;
}

.mg-page-hero .bg-shape-1,
.mg-page-hero .bg-shape-2 {
    position: absolute;
    top: 0;
    z-index: -1;
    opacity: 0.6;
}

.mg-page-hero .bg-shape-1 { left: 0; }
.mg-page-hero .bg-shape-2 { right: 0; }

.mg-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    font-size: 14px;
}

.mg-crumbs li {
    display: inline-flex;
    align-items: center;
    color: var(--tj-color-text-body-3);
}

.mg-crumbs li + li::before {
    content: "/";
    font-size: 13px;
    margin: 0 10px;
    color: var(--mango-teal-deep);
}

.mg-crumbs a {
    color: var(--mango-ink);
    font-weight: 500;
}

.mg-crumbs a:hover {
    color: var(--mango-teal-deep);
}

.mg-crumbs li[aria-current] span {
    color: var(--mango-teal-deep);
    font-weight: 600;
}

.mg-page-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.mg-page-hero--media .mg-page-hero__grid {
    grid-template-columns: 1.1fr 1fr;
}

.mg-page-hero__title {
    font-size: 64px;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
    max-width: 900px;
}

.mg-page-hero__title span {
    color: var(--mango-teal);
}

.mg-page-hero__lead {
    font-size: 19px;
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: 30px;
}

.mg-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
}

.mg-page-hero__media {
    position: relative;
}

.mg-page-hero__media .mg-screen {
    min-height: 380px;
}

.mg-page-hero__media .mg-screen__chart--tall {
    height: 180px;
}

/* industry hero illustration */
.mg-ind-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(127, 227, 227, 0.35), transparent 45%),
        linear-gradient(145deg, var(--mango-teal-deep), var(--mango-ink));
    box-shadow: var(--mango-shadow);
}

.mg-ind-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

.mg-ind-hero__icon {
    position: relative;
    z-index: 1;
    font-size: 130px;
    --fa-primary-color: #fff;
    --fa-secondary-color: var(--mango-teal-light);
    --fa-secondary-opacity: 0.9;
}

/* Content blocks ------------------------------------------------------------ */
.mg-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mango-teal-deep);
    margin-bottom: 14px;
}

.mg-kicker i {
    font-size: 16px;
}

.mg-kicker--light {
    color: var(--mango-teal-light);
}

.mg-detail__block + .mg-detail__block {
    margin-top: 64px;
}

.mg-detail__h2 {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.mg-detail__h2--sm {
    font-size: 26px;
}

.mg-detail__intro {
    font-size: 19px;
    line-height: 1.7;
    color: var(--mango-ink);
    margin-bottom: 26px;
}

.mg-pain {
    height: 100%;
    padding: 26px 24px;
    border-radius: var(--mango-radius);
    background: #fff;
    border-top: 3px solid var(--mango-teal);
}

.mg-pain__num {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--mango-teal-deep);
    margin-bottom: 12px;
}

.mg-pain h3,
.mg-feature h3,
.mg-steps__item h3 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.mg-pain p,
.mg-feature p,
.mg-steps__item p {
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.mg-feature {
    display: flex;
    gap: 16px;
    height: 100%;
    padding: 24px;
    border-radius: var(--mango-radius);
    background: #fff;
    transition: box-shadow 0.35s, transform 0.35s var(--mango-ease);
}

.mg-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--mango-shadow);
}

.mg-feature__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
    font-size: 20px;
}

.mg-feature--stack {
    flex-direction: column;
}

.mg-feature--pain .mg-feature__icon {
    background: var(--mango-ink);
    color: var(--mango-teal-light);
}

.mg-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.mg-steps__item {
    position: relative;
    padding: 24px 20px;
    border-radius: var(--mango-radius);
    background: var(--mango-ink);
    color: var(--tj-color-text-body-2);
}

.mg-steps__item h3 {
    color: #fff;
}

.mg-steps__item p {
    color: var(--tj-color-text-body-2);
}

.mg-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mango-teal-deep);
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}

.mg-steps__item:not(:last-child)::after {
    content: "\e913";
    font-family: "bexon-icons";
    position: absolute;
    top: 30px;
    right: -13px;
    z-index: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--mango-teal-deep);
    font-size: 12px;
    box-shadow: 0 4px 10px rgba(12, 30, 33, 0.15);
}

.mg-shots {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
}

.mg-shots__desk {
    min-height: 300px;
}

.mg-shots__phone,
.mg-phone--sm {
    width: 170px;
    border-radius: 30px;
    padding: 9px;
}

.mg-shots__phone .mg-phone__screen,
.mg-phone--sm .mg-phone__screen {
    border-radius: 23px;
    padding: 40px 12px 12px;
}

.mg-shots__phone .mg-phone__notch,
.mg-phone--sm .mg-phone__notch {
    top: 15px;
    width: 56px;
    height: 14px;
}

.mg-shots--gallery {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.mg-shots--gallery .mg-phone--sm:nth-child(even) {
    transform: translateY(28px);
}

.mg-shots__note {
    margin: 50px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--tj-color-text-body-2);
}

.mg-checklist {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.mg-checklist--2col {
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.mg-checklist li {
    display: flex;
    gap: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--mango-ink);
}

.mg-checklist li i {
    margin-top: 3px;
    color: var(--mango-teal-deep);
    font-size: 17px;
}

.mg-checklist--dark li {
    color: rgba(255, 255, 255, 0.85);
}

.mg-checklist--dark li i {
    color: var(--mango-teal-light);
}

.mg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mg-tags li {
    padding: 7px 14px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--mango-line);
    font-size: 14px;
    color: var(--mango-ink);
}

/* Sidebar -------------------------------------------------------------------- */
.mg-sidebar {
    display: grid;
    gap: 20px;
}

.mg-side-list {
    padding: 24px;
    border-radius: var(--mango-radius);
    background: #fff;
}

.mg-side-list__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mango-teal-deep);
    margin-bottom: 12px;
}

.mg-side-list ul {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.mg-side-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin: 0 -12px;
    border-radius: 10px;
    color: var(--mango-ink);
    font-weight: 500;
}

.mg-side-list li a i {
    width: 18px;
    text-align: center;
    color: var(--mango-teal-deep);
}

.mg-side-list li a:hover,
.mg-side-list li a.is-current {
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
}

.mg-side-list__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--mango-teal-deep);
}

.mg-sticky-side {
    display: grid;
    gap: 20px;
}

/* Forms ----------------------------------------------------------------------- */
.mg-form-card {
    padding: 34px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--mango-shadow);
}

.mg-form-card--mini {
    padding: 28px;
    border-top: 4px solid var(--mango-teal);
}

.mg-form-card__title {
    font-size: 26px;
    margin-bottom: 8px;
}

.mg-form-card__lead {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 22px;
}

.mg-form__group {
    border: 0;
    margin: 0 0 28px;
    padding: 0;
    min-width: 0;
}

.mg-form__group legend {
    float: none;
    width: 100%;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mango-teal-deep);
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--mango-line);
}

.mg-form__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--mango-ink);
    margin: 18px 0 10px;
}

.mg-form__label span {
    color: #c0392b;
}

.mango-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--tj-color-border-1);
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    color: var(--mango-ink);
    resize: vertical;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.mango-field textarea:focus {
    outline: 0;
    border-color: var(--mango-teal-deep);
    box-shadow: 0 0 0 4px var(--mango-teal-glow);
}

.mango-field label small {
    font-weight: 400;
    color: var(--tj-color-text-body-3);
}

.mg-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mg-chip {
    position: relative;
    cursor: pointer;
}

.mg-chip input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.mg-chip span {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 30px;
    border: 1px solid var(--tj-color-border-1);
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: var(--mango-ink);
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.mg-chip:hover span {
    border-color: var(--mango-teal-deep);
}

.mg-chip input:checked + span {
    background: var(--mango-teal-deep);
    border-color: var(--mango-teal-deep);
    color: #fff;
}

.mg-chip input:focus-visible + span {
    outline: 3px solid var(--mango-teal);
    outline-offset: 2px;
}

.mg-form__submit {
    border: 0;
    margin-top: 6px;
}

.mg-form-card--mini .mg-form__submit {
    width: 100%;
    justify-content: space-between;
}

.mg-form__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--tj-color-text-body-3);
}

.mg-form__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 30px;
    background: var(--mango-teal-tint);
    font-size: 14px;
    color: var(--mango-ink);
    margin-bottom: 20px;
}

.mg-form__tag i {
    color: var(--mango-teal-deep);
}

/* Link cards (connected / recommended modules) -------------------------------- */
.mg-connected .sec-heading {
    margin-bottom: 36px;
}

.mg-connected.section-gap-x {
    background: #fff;
    border-radius: 12px;
}

.mg-link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 26px 26px 26px;
    border-radius: var(--mango-radius);
    background: var(--tj-color-grey-1);
    color: var(--tj-color-text-body);
    font-size: 15px;
    line-height: 1.5;
    transition: background-color 0.3s, transform 0.35s var(--mango-ease), box-shadow 0.35s;
}

.mg-connected:not(.section-gap-x) .mg-link-card,
.mg-popular .mg-link-card {
    background: #fff;
}

.mg-link-card strong {
    font-size: 19px;
    font-weight: 600;
    color: var(--mango-ink);
    padding-right: 30px;
}

.mg-link-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mango-ink);
    color: var(--mango-teal-light);
    font-size: 20px;
    margin-bottom: 12px;
}

.mg-link-card__go {
    position: absolute;
    top: 26px;
    right: 24px;
    font-size: 18px;
    color: var(--mango-teal-deep);
    transform: rotate(-45deg);
    transition: transform 0.3s;
}

.mg-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mango-shadow);
}

.mg-link-card:hover .mg-link-card__go {
    transform: none;
}

.mg-head-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.mg-head-split .sec-heading {
    margin: 0;
    max-width: 700px;
}

/* Dark single dashboard, story -------------------------------------------------- */
.mg-dash__solo {
    min-height: 400px;
}

.mg-story {
    margin: 0 0 50px;
    padding: 32px;
    border-radius: var(--mango-radius);
    background: #fff;
    border-left: 4px solid var(--mango-teal);
}

.mg-story__text {
    font-size: 19px;
    line-height: 1.6;
    color: var(--mango-ink);
    margin: 0 0 16px;
}

.mg-story figcaption {
    font-size: 14px;
    color: var(--tj-color-text-body-3);
}

.mg-story figcaption strong {
    color: var(--mango-ink);
    margin-right: 6px;
}

/* Modules hub ----------------------------------------------------------------- */
.mg-hub {
    position: relative;
    display: grid;
    grid-template-columns: 1fr minmax(220px, 280px) 1fr;
    grid-template-rows: auto auto;
    gap: 24px 40px;
    align-items: center;
}

.mg-hub__group {
    position: relative;
    padding: 24px 26px;
    border-radius: var(--mango-radius);
    background: #fff;
    z-index: 1;
}

.mg-hub__group--tl { grid-column: 1; grid-row: 1; }
.mg-hub__group--tr { grid-column: 3; grid-row: 1; }
.mg-hub__group--bl { grid-column: 1; grid-row: 2; }
.mg-hub__group--br { grid-column: 3; grid-row: 2; }

.mg-hub__name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mango-teal-deep);
    margin-bottom: 14px;
}

.mg-hub__group ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mg-hub__group li {
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--mango-teal-tint);
    font-size: 14px;
    font-weight: 500;
    color: var(--mango-ink);
}

.mg-hub__core {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: relative;
    align-self: center;
    justify-self: center;
    width: 220px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--mango-ink);
    color: #fff;
    text-align: center;
    box-shadow: 0 0 0 14px var(--mango-teal-glow), 0 30px 60px -20px rgba(12, 30, 33, 0.5);
    z-index: 1;
}

.mg-hub__core i {
    font-size: 34px;
    color: var(--mango-teal-light);
    margin-bottom: 6px;
}

.mg-hub__core strong {
    font-size: 26px;
    font-weight: 700;
}

.mg-hub__core small {
    font-size: 13px;
    color: var(--tj-color-text-body-2);
}

.mg-hub__ring {
    position: absolute;
    inset: -36px;
    border-radius: 50%;
    border: 1px dashed rgba(9, 153, 153, 0.5);
    animation: mgSpin 40s linear infinite;
}

/* connectors from the core to each group */
.mg-hub::before,
.mg-hub::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    height: 1px;
    border-top: 2px dashed rgba(9, 153, 153, 0.4);
}

.mg-hub::before { top: 25%; }
.mg-hub::after { bottom: 25%; }

.mg-modules--card {
    background: #fff;
    border-radius: 12px;
}

.mg-modules--card .mg-group {
    background: var(--tj-color-grey-1);
}

.mg-modules--card .mg-group__head {
    background: #fff;
}

.mg-tile__view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    color: var(--mango-teal-deep);
}

/* Panels ---------------------------------------------------------------------- */
.mg-panel {
    padding: 36px;
    border-radius: 20px;
    background: #fff;
}

.mg-panel--dark {
    background: var(--mango-ink);
    color: var(--tj-color-text-body-2);
}

.mg-panel--dark .mg-panel__title {
    color: #fff;
}

.mg-panel--tint {
    background: var(--mango-teal-tint);
}

.mg-panel--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.mg-panel--row p {
    margin: 0;
}

.mg-panel__title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.mg-panel__title--sm {
    font-size: 22px;
}

.mg-panel__small {
    font-size: 13px;
    color: var(--tj-color-text-body-3);
    margin: 14px 0 0;
}

.mg-panel__logo {
    height: 54px;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.mg-panel__logo img {
    height: 54px;
    width: auto;
}

.mg-panel__logo--synobiz .partner-badge__logo {
    width: 170px;
    height: 30px;
}

.mg-industries--plain {
    background: transparent;
}

.mg-industries--plain .mg-ind {
    background: #fff;
}

.mg-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.mg-facts li {
    padding: 16px;
    border-radius: 12px;
    background: var(--mango-teal-tint);
}

.mg-facts strong {
    display: block;
    font-size: 18px;
    line-height: 1.25;
    color: var(--mango-ink);
    margin-bottom: 4px;
}

.mg-facts span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--tj-color-text-body-3);
}

/* Table ----------------------------------------------------------------------- */
.mg-table-wrap {
    overflow-x: auto;
    border-radius: var(--mango-radius);
    border: 1px solid var(--mango-line);
}

.mg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.mg-table th,
.mg-table td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--mango-line);
    text-align: left;
}

.mg-table thead th {
    background: var(--mango-ink);
    color: #fff;
    font-weight: 600;
}

.mg-table tbody th {
    font-weight: 500;
    color: var(--mango-ink);
}

.mg-table td {
    color: var(--tj-color-text-body);
}

.mg-table td i {
    color: var(--mango-teal-deep);
    margin-right: 6px;
}

.mg-table tbody tr:last-child th,
.mg-table tbody tr:last-child td {
    border-bottom: 0;
}

/* About: certificate, team ---------------------------------------------------- */
.mg-cert {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: var(--mango-radius);
    background: #fff;
    border: 1px dashed var(--tj-color-border-1);
    font-size: 64px;
    color: var(--mango-teal-deep);
}

.mg-person {
    text-align: center;
    font-size: 13px;
    color: var(--tj-color-text-body-3);
}

.mg-person__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 5 / 6;
    border-radius: var(--mango-radius);
    background: linear-gradient(160deg, var(--mango-teal-tint), #fff);
    border: 1px dashed var(--tj-color-border-1);
    font-size: 40px;
    color: var(--mango-teal-deep);
    margin-bottom: 12px;
}

.mg-person strong {
    display: block;
    font-size: 16px;
    color: var(--mango-ink);
}

/* Mobile app: roles, store badges -------------------------------------------- */
.mg-phone-stage--hero {
    padding: 20px 0;
}

.mg-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 16px;
}

.mg-roles__group {
    padding: 24px;
    border-radius: var(--mango-radius);
    background: #fff;
}

.mg-roles__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mango-teal-deep);
    margin-bottom: 14px;
}

.mg-roles ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.mg-roles li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.mg-roles li strong {
    display: block;
    font-size: 16px;
    color: var(--mango-ink);
}

.mg-roles__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
}

.mg-store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mg-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 12px;
    background: var(--mango-ink);
    color: #fff;
    font-weight: 600;
    line-height: 1.1;
}

.mg-store i {
    font-size: 24px;
}

.mg-store small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--tj-color-text-body-2);
}

.mg-store:hover {
    color: #fff;
    background: var(--mango-teal-deep);
}

.mg-duo--plain {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    background: transparent;
}

.mg-duo--plain .mg-duo__who i {
    color: var(--mango-teal-deep);
}

/* Contact lists, cards, map --------------------------------------------------- */
.mg-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.mg-contact-list li {
    display: flex;
    gap: 14px;
    font-size: 16px;
    color: var(--mango-ink);
}

.mg-contact-list li > i {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--mango-teal-deep);
    font-size: 17px;
}

.mg-contact-list small {
    display: block;
    font-size: 12px;
    color: var(--tj-color-text-body-3);
}

.mg-contact-list a {
    color: var(--mango-ink);
    font-weight: 600;
}

.mg-direct {
    display: grid;
    gap: 10px;
}

.mg-direct__btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #fff;
    color: var(--mango-ink);
    font-weight: 600;
    line-height: 1.2;
}

.mg-direct__btn i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mango-teal-deep);
    color: #fff;
    font-size: 18px;
}

.mg-direct__btn--wa i {
    background: #1faa53;
}

.mg-direct__btn small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--tj-color-text-body-3);
}

.mg-direct__btn:hover {
    color: var(--mango-teal-deep);
}

.mg-quote--compact {
    padding: 26px;
    background: #fff;
}

.mg-quote--compact .mg-quote__mark {
    color: var(--mango-teal-deep);
}

.mg-logo-row__title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tj-color-text-body-3);
}

.mg-logo-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mg-logo-row__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 10px 12px;
    background: var(--tj-color-common-white);
    border: 1px solid var(--tj-color-border-1);
    border-radius: 10px;
}

.mg-logo-row__item img {
    max-height: 38px;
}

.mg-next {
    margin: 10px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 14px;
    font-size: 16px;
    line-height: 1.5;
}

.mg-next strong {
    color: var(--mango-ink);
}

.mg-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--mango-teal-deep), var(--mango-ink));
    color: #fff;
    font-weight: 600;
}

.mg-video__play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--mango-teal-deep);
    font-size: 22px;
    transition: transform 0.3s var(--mango-ease);
}

.mg-video:hover {
    color: #fff;
}

.mg-video:hover .mg-video__play {
    transform: scale(1.08);
}

.mg-popular {
    margin-top: 50px;
}

.mg-contact-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 28px;
    border-radius: var(--mango-radius);
    background: #fff;
    color: var(--mango-ink);
    transition: transform 0.35s var(--mango-ease), box-shadow 0.35s;
}

.mg-contact-card i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mango-teal-tint);
    color: var(--mango-teal-deep);
    font-size: 22px;
    margin-bottom: 14px;
}

.mg-contact-card small {
    font-size: 13px;
    color: var(--tj-color-text-body-3);
}

.mg-contact-card strong {
    font-size: 19px;
    font-weight: 600;
    word-break: break-word;
}

a.mg-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mango-shadow);
    color: var(--mango-ink);
}

.mg-contact-card--primary {
    background: var(--mango-teal-deep);
    color: #fff;
}

.mg-contact-card--primary i {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.mg-contact-card--primary small {
    color: rgba(255, 255, 255, 0.75);
}

a.mg-contact-card--primary:hover {
    color: #fff;
}

.mg-offices {
    margin-top: 10px;
}

.mg-office {
    height: 100%;
    padding: 28px;
    border-radius: var(--mango-radius);
    border: 1px solid var(--mango-line);
}

.mg-office__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mango-teal-deep);
    margin-bottom: 8px;
}

.mg-office__city {
    font-size: 22px;
    margin-bottom: 10px;
}

.mg-office address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.mg-map {
    height: 100%;
    min-height: 420px;
    border-radius: var(--mango-radius);
    overflow: hidden;
    background: var(--mango-teal-tint);
}

.mg-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.mg-form--inline .mg-form__submit {
    margin-top: 16px;
}

/* Inner pages — responsive ---------------------------------------------------- */
@media (max-width: 1199px) {
    .mg-page-hero {
        padding: 120px 0 60px;
    }

    .mg-page-hero__title {
        font-size: 50px;
    }

    .mg-page-hero--media .mg-page-hero__grid {
        grid-template-columns: 1fr;
    }

    .mg-page-hero__media {
        max-width: 640px;
    }

    .mg-hub {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .mg-hub__core {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 180px;
        margin: 30px 0;
    }

    .mg-hub__group--tl,
    .mg-hub__group--tr,
    .mg-hub__group--bl,
    .mg-hub__group--br {
        grid-column: auto;
        grid-row: auto;
    }

    .mg-hub::before,
    .mg-hub::after {
        display: none;
    }

    .mg-roles {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .mg-steps {
        grid-template-columns: 1fr 1fr;
    }

    .mg-steps__item::after {
        display: none;
    }

    .mg-sidebar {
        position: static !important;
        transform: none !important;
    }

    .mg-panel--row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .mg-page-hero {
        padding: 100px 0 44px;
    }

    .mg-page-hero__title {
        font-size: 36px;
    }

    .mg-page-hero__lead,
    .mg-detail__intro {
        font-size: 17px;
    }

    .mg-page-hero__media .mg-screen {
        min-height: 260px;
    }

    .mg-detail__h2 {
        font-size: 27px;
    }

    .mg-detail__block + .mg-detail__block {
        margin-top: 44px;
    }

    .mg-steps,
    .mg-checklist--2col,
    .mg-facts,
    .mg-roles,
    .mg-duo--plain,
    .mg-hub {
        grid-template-columns: 1fr;
    }

    .mg-shots {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .mg-shots__desk {
        width: 100%;
        min-height: 220px;
    }

    .mg-shots--gallery .mg-phone--sm {
        width: 140px;
    }

    .mg-shots--gallery .mg-phone--sm:nth-child(even) {
        transform: none;
    }

    .mg-form-card,
    .mg-panel {
        padding: 24px;
    }

    .mg-panel__title {
        font-size: 23px;
    }

    .mg-ind-hero__icon {
        font-size: 90px;
    }

    .mg-map,
    .mg-map iframe {
        min-height: 320px;
    }
}

.mg-form-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 640px;
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: #fff4f2;
    border: 1px solid #f1c7bf;
    color: #7a2415;
    font-size: 15px;
}

.mg-form-alert a {
    color: #7a2415;
    font-weight: 600;
    text-decoration: underline;
}

/* the theme tilts every button icon 45°; a download arrow must point straight down */
.tj-primary-btn .btn-icon i.fa-arrow-down-to-line {
    transform: none;
}

/* a chip group's label sitting beside a text field lines up with the field's label */
.mg-form--demo .col-md-6 > .mg-form__label:first-child {
    margin: 0 0 7px;
}

@media (max-width: 991px) {
    .mg-steps__item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 767px) {
    /* long CTA labels ("See This Module in a Demo") must wrap instead of running off screen */
    .cta-band .tj-primary-btn-lg {
        max-width: 100%;
        white-space: normal;
        text-align: left;
        font-size: 17px;
        padding: 6px 6px 6px 24px;
        gap: 12px;
    }

    .cta-band .tj-primary-btn-lg .btn-text span {
        line-height: 1.25;
    }

    .cta-band .tj-primary-btn-lg .btn-icon {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

.mg-chips + .mango-field {
    margin-top: 22px;
}

/* "Who does what" table → one card per row on phones */
@media (max-width: 575px) {
    .mg-table-wrap {
        overflow: visible;
        border: 0;
    }

    .mg-table,
    .mg-table tbody,
    .mg-table tr,
    .mg-table th,
    .mg-table td {
        display: block;
        width: 100%;
    }

    .mg-table thead {
        display: none;
    }

    .mg-table tbody tr {
        margin-bottom: 12px;
        border: 1px solid var(--mango-line);
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }

    .mg-table tbody th {
        padding: 14px 16px;
        background: var(--mango-teal-tint);
        border-bottom: 1px solid var(--mango-line);
        font-weight: 600;
    }

    .mg-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        border-bottom: 1px dashed var(--mango-line);
        text-align: right;
    }

    .mg-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--mango-ink);
        text-align: left;
    }

    .mg-table tbody tr td:last-child {
        border-bottom: 0;
    }
}

.mg-form__status {
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff4f2;
    border: 1px solid #f1c7bf;
    color: #7a2415;
    font-size: 14px;
}

.mg-form__submit:disabled {
    opacity: 0.7;
    cursor: progress;
}

/* intl-tel-input: the flag wrapper must fill the field like any other input */
.mango-field .iti {
    display: block;
    width: 100%;
}

.mango-field .iti .iti__flag-container {
    padding: 0;
}

.mango-field .iti .iti__selected-flag {
    padding: 0 8px 0 14px;
    border-radius: 12px 0 0 12px;
}

.iti__country-list {
    z-index: 30;
    border-radius: 10px;
    max-width: calc(100vw - 48px);
}

/* Quick-Connect widget (components/quick-connect.php) -------------------------------------
   Phones use the site's mobile bar (quickconnect.php), which opens the same modals.
   "body" outranks the widget's own inline <style>, which loads after this file. */
@media (max-width: 767px) {
    body .cn-cb-fab-stack {
        display: none;
    }
}

.mobile-bar__icon--wa {
    background: #1faa53;
}

/* the widget's modals sit outside ScrollSmoother; keep them above the sticky header */
.cn-cb-overlay {
    z-index: 10001;
}

/* The theme's input[type=text|email|tel] rule (main.css) outranks the widget's .cn-cb-input and
   paints the fields white — with the widget's white text. Restore the dark fields; the widget's
   own :focus / .is-invalid rules still win (same specificity, later in the page). */
.cn-cb-modal .cn-cb-input {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    padding: 10px 12px;
}

.cn-cb-modal input.cn-cb-input:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 40px #18292c inset;
}

/* phone field inside the dark widget: intl-tel-input flag list stays readable */
.cn-cb-modal .iti {
    display: block;
    width: 100%;
}

.cn-cb-modal .iti__country-list {
    background: #18292c;
    border-color: #22393c;
    color: #fff;
}

.cn-cb-modal .iti__dial-code {
    color: #a9b8b8;
}

.cn-cb-modal .iti__country.iti__highlight {
    background: rgba(9, 153, 153, 0.25);
}
