/* ==========================================================================
   Emydex Module Page Builder - shared styles
   Everything is scoped to .emx so theme styles cannot leak in or out.
   Tokens: navy #1F3F7C, navy deep #091F49, blue #346A9E, teal #8ECCBB,
   lime #CCD735, green #ACC039, green end #86A540, body #232323.
   ========================================================================== */

/* Modules that own a full-width section sit flush in their row. */
.fl-module-emx-hero > .fl-module-content,
.fl-module-emx-about > .fl-module-content,
.fl-module-emx-features > .fl-module-content,
.fl-module-emx-spotlight > .fl-module-content,
.fl-module-emx-platform > .fl-module-content,
.fl-module-emx-cta > .fl-module-content { margin: 0; }

/* ---------- Base + theme resets ---------- */
.emx { font-family: 'Lato', system-ui, sans-serif; color: #232323; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.emx, .emx *, .emx *::before, .emx *::after { box-sizing: border-box; }
.emx p, .emx h1, .emx h2, .emx h3, .emx ul, .emx ol, .emx figure, .emx blockquote { margin: 0; padding: 0; }
.emx h1, .emx h2, .emx h3 { font-family: 'Montserrat', sans-serif; font-weight: 500; text-transform: none; letter-spacing: normal; }
.emx a { text-decoration: none; box-shadow: none; border-bottom: 0; }
.emx img { max-width: 100%; height: auto; border: 0; box-shadow: none; border-radius: 0; }
.emx button { -webkit-appearance: none; appearance: none; margin: 0; font: inherit; line-height: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; width: auto; height: auto; min-width: 0; text-shadow: none; cursor: pointer; }
.emx [hidden] { display: none !important; }
.emx a:focus-visible, .emx button:focus-visible, .emx [tabindex]:focus-visible { outline: 3px solid #CCD735; outline-offset: 3px; border-radius: 4px; }

.emx-wrap { max-width: 1348px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Type ---------- */
.emx .emx-eyebrow { margin: 0 0 14px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; color: #ACC039; }
.emx .emx-h2 { font-size: 42px; line-height: 1.12; letter-spacing: -0.01em; font-weight: 500; color: #1F3F7C; }
.emx .emx-h2--md { font-size: 36px; line-height: 1.1; letter-spacing: 0; }
.emx .emx-lede, .emx .emx-lede p { font-size: 18px; line-height: 1.6; color: #232323; }
.emx .emx-lede p + p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.emx-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.emx .emx-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 6px; border: 1.5px solid transparent; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.emx .emx-btn i { font-size: 12px; }
.emx .emx-btn--navy { background: #1F3F7C; border-color: #1F3F7C; color: #FFFFFF; }
.emx .emx-btn--navy:hover, .emx .emx-btn--navy:focus { background: #16305F; border-color: #16305F; color: #FFFFFF; }
.emx .emx-btn--line { background: transparent; border-color: #1F3F7C; color: #1F3F7C; padding: 0 22px; }
.emx .emx-btn--line:hover, .emx .emx-btn--line:focus { background: #1F3F7C; color: #FFFFFF; }
.emx .emx-btn--lime { background: #ACC039; border-color: #ACC039; color: #091F49; font-weight: 700; padding: 0 24px; }
.emx .emx-btn--lime:hover, .emx .emx-btn--lime:focus { background: #9AAE2F; border-color: #9AAE2F; color: #091F49; }
.emx .emx-arr { transition: transform .25s ease; }
.emx .emx-btn:hover .emx-arr { transform: translateX(4px); }
.emx .emx-textlink { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: #1F3F7C; }
.emx .emx-textlink:hover { color: #346A9E; }
.emx .emx-rnd { width: 48px; height: 48px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background .2s ease, transform .2s ease; }
.emx .emx-rnd--ghost { border: 1px solid rgba(255, 255, 255, 0.45); background: transparent; color: #FFFFFF; }
.emx .emx-rnd--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.emx .emx-rnd--lime { border: 0; background: #CCD735; color: #1F3F7C; }
.emx .emx-rnd--lime:hover { background: #DCE55A; color: #1F3F7C; }

.emx-gradbar { height: 6px; background: linear-gradient(to right, #1F3F7C, #1F3F7C, #346A9E, #8ECCBB, #CCD735, #86A540, #86A540); }

/* Decorative squares */
.emx-deco { position: absolute; width: 260px; height: 220px; pointer-events: none; }
.emx-deco span { position: absolute; display: block; border-radius: 3px; }
.emx-deco--tr { right: 0; top: 0; opacity: 0.35; }
.emx-deco--tr span:nth-child(1) { right: 36px; top: 34px; width: 30px; height: 30px; background: #FFFFFF; }
.emx-deco--tr span:nth-child(2) { right: 80px; top: 70px; width: 22px; height: 22px; background: #CCD735; }
.emx-deco--tr span:nth-child(3) { right: 114px; top: 100px; width: 16px; height: 16px; background: #FFFFFF; }
.emx-deco--tr span:nth-child(4) { right: 140px; top: 124px; width: 11px; height: 11px; background: #8ECCBB; }
.emx-deco--tl { left: 0; top: 0; width: 200px; height: 200px; opacity: 0.2; }
.emx-deco--tl span:nth-child(1) { left: 24px; top: 24px; width: 28px; height: 28px; background: #346A9E; }
.emx-deco--tl span:nth-child(2) { left: 60px; top: 56px; width: 20px; height: 20px; background: #8ECCBB; }
.emx-deco--tl span:nth-child(3) { left: 88px; top: 84px; width: 14px; height: 14px; background: #CCD735; }
.emx-deco--tl span:nth-child(4) { left: 110px; top: 106px; width: 10px; height: 10px; background: #86A540; }

/* Animated gradient icon fill (same as the live site) */
@keyframes emxGrad { 0% { background-position: 10% 0%; } 50% { background-position: 91% 100%; } 100% { background-position: 10% 0%; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.emx-hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; background: #E9EDF2; }
.emx .emx-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.emx-hero__img--zoom { animation: emxZoom 16s ease-out both; }
@keyframes emxZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.emx-hero__inner { position: relative; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.emx-hero__card { max-width: 560px; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 8px 8px 0 0; overflow: hidden; box-shadow: 0 18px 40px rgba(9, 31, 73, 0.18); }
.emx-hero__body { padding: 36px 36px 34px; }
.emx .emx-hero__eyebrow { margin-bottom: 12px; }
.emx .emx-hero__title { font-size: 44px; line-height: 1.1; font-weight: 500; color: #091F49; }
.emx .emx-hero__intro { margin-top: 16px; font-size: 18px; line-height: 1.55; color: #232323; }
.emx-hero .emx-btns { margin-top: 28px; }

/* ==========================================================================
   About this module
   ========================================================================== */
.emx-about { background: #FFFFFF; padding: 80px 0 36px; }
.emx-about__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: end; }
.emx .emx-about__head .emx-lede p { line-height: 1.65; }
.emx-about__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(var(--emx-rows, 3), minmax(118px, auto)); gap: 12px; }
.emx-about__block { grid-column: 1 / 3; grid-row: 1 / span var(--emx-rows, 3); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: 12px; overflow: hidden; background: #1F3F7C; min-height: 300px; }
.emx-about__block--photo-only, .emx-about__block--stats-only { grid-template-columns: minmax(0, 1fr); }
.emx-about__grid--no-tiles .emx-about__block { grid-column: 1 / -1; }
.emx-about__stats { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 26px 24px 30px; color: #FFFFFF; }
.emx-about__stat { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.emx-about__stat:last-of-type { border-bottom: 0; padding-bottom: 0; }
.emx .emx-about__num { display: flex; align-items: flex-start; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 50px; line-height: 1; letter-spacing: -0.02em; color: #CCD735; font-variant-numeric: tabular-nums; }
.emx .emx-about__suffix { font-size: 28px; margin-left: 2px; margin-top: 2px; }
.emx .emx-about__label { margin-top: 6px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.35; color: rgba(255, 255, 255, 0.85); }
.emx-about__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(to bottom, #346A9E, #8ECCBB, #CCD735, #86A540); }
.emx-about__photo { position: relative; min-height: 100%; }
.emx .emx-about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.emx-tile { position: relative; overflow: hidden; border-radius: 12px; padding: 22px 56px 22px 24px; display: flex; flex-direction: column; justify-content: center; transition: translate .3s ease, box-shadow .3s ease; }
.emx-tile:hover { translate: 0 -4px; box-shadow: 0 16px 30px rgba(9, 31, 73, 0.18); }
.emx .emx-tile__txt { position: relative; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; color: inherit; }
/* Emydex square motif in the top-right corner: fans out on hover. */
.emx-tile__sq { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; opacity: 0.4; transition: opacity .35s ease; }
.emx-tile__sq span { position: absolute; display: block; border-radius: 2px; background: var(--emx-accent, #CCD735); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.emx-tile__sq span:nth-child(1) { top: 0; right: 0; width: 12px; height: 12px; }
.emx-tile__sq span:nth-child(2) { top: 15px; right: 15px; width: 8px; height: 8px; }
.emx-tile__sq span:nth-child(3) { top: 26px; right: 26px; width: 5px; height: 5px; }
.emx-tile:hover .emx-tile__sq { opacity: 1; }
.emx-tile:hover .emx-tile__sq span:nth-child(1) { transform: translate(2px, -2px) rotate(90deg); }
.emx-tile:hover .emx-tile__sq span:nth-child(2) { transform: translate(-3px, 3px) rotate(90deg); }
.emx-tile:hover .emx-tile__sq span:nth-child(3) { transform: translate(-7px, 7px) rotate(90deg); }
/* Brand gradient bar that sweeps in along the bottom edge on hover. */
.emx-tile__sweep { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(to right, #1F3F7C, #346A9E, #8ECCBB, #CCD735, #86A540); transform: scaleX(0); transform-origin: left center; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.emx-tile:hover .emx-tile__sweep { transform: scaleX(1); }

/* ==========================================================================
   Feature tabs
   ========================================================================== */
.emx-features { background: #FFFFFF; padding: 56px 0 88px; }
.emx-features__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.emx-features__head { flex: 1 1 auto; min-width: 0; }
.emx .emx-features__head .emx-lede { margin-top: 18px; }

.emx-rail { position: relative; margin-top: 36px; display: grid; grid-template-columns: repeat(var(--emx-n, 8), minmax(0, 1fr)); gap: 12px; }
.emx-rail__line { position: absolute; left: 4%; right: 4%; top: 51px; height: 2px; background: #D3DAE4; }
.emx .emx-rail__btn { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 13px 22px; min-height: 160px; text-align: left; border: 1px solid #D3DAE4; border-radius: 8px; background: #FFFFFF; color: #1F3F7C; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.emx .emx-rail__btn:hover { border-color: #1F3F7C; background: #FFFFFF; color: #1F3F7C; transform: translateY(-3px); }
.emx .emx-rail__btn.is-active, .emx .emx-rail__btn.is-active:hover { background: #1F3F7C; border-color: #1F3F7C; color: #FFFFFF; }
.emx-rail__ic { flex: none; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #F2F5FA; }
.emx-rail__btn.is-active .emx-rail__ic { background: rgba(255, 255, 255, 0.12); }
.emx .emx-rail__ic i { font-size: 30px; line-height: 1; color: #1F3F7C; }
.emx .emx-rail__ic i::before { background-image: linear-gradient(130deg, #1F3F7C, #1F3F7C, #346A9E, #8ECCBB, #CCD735, #86A540, #86A540); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: emxGrad 5s infinite; }
.emx .emx-rail__btn.is-active .emx-rail__ic i::before { background: none; color: #CCD735; -webkit-text-fill-color: #CCD735; animation: none; }
.emx-rail__title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.3; }

.emx-panel { margin-top: 24px; background: #1F3F7C; color: #FFFFFF; border-radius: 10px; padding: 48px; overflow: hidden; }
.emx-panel__item:focus { outline: none; }
.emx-panel__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; animation: emxFade .45s ease both; }
.emx-panel__grid--text { grid-template-columns: minmax(0, 1fr); }
@keyframes emxFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.emx-panel__media { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: #16305F; }
.emx-panel__media--contain { background: #FFFFFF; }
.emx .emx-panel__media img { width: 100%; height: 100%; max-width: none; display: block; object-fit: cover; }
.emx .emx-panel__media img.emx-panel__img--contain { object-fit: contain; }
.emx .emx-panel__text .emx-eyebrow { margin-bottom: 12px; }
.emx .emx-panel__title { font-size: 30px; line-height: 1.22; font-weight: 500; color: #FFFFFF; }
.emx .emx-panel__body p { margin-top: 18px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.emx .emx-panel__body a { color: #CCD735; text-decoration: underline; }
.emx .emx-panel__body ul { list-style: none; margin: 24px 0 0; padding: 0; }
.emx .emx-panel__body li { margin: 0; padding: 0; background: none; list-style: none; }
.emx .emx-panel__body li::marker { content: none; }
/* Tick list */
.emx .emx-list--check ul { display: flex; flex-direction: column; gap: 14px; }
.emx .emx-list--check li { position: relative; padding-left: 40px; font-size: 17px; line-height: 1.5; color: #FFFFFF; min-height: 26px; }
.emx .emx-list--check li::before { content: ''; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #CCD735 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%231F3F7C' d='M173.9 439.4l-166.4-166.4c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.7 432.1 72.6c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2L210.1 439.4c-10 10-26.2 10-36.2 0z'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }
/* Two-column name + description list */
.emx .emx-list--grid ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 24px; margin-top: 22px; }
.emx .emx-list--grid li { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }
.emx .emx-list--grid li strong, .emx .emx-list--grid li b { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 16px; color: #FFFFFF; }

.emx-panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.emx-panel__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.emx .emx-panel__cta p { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 19px; line-height: 1.35; color: #FFFFFF; }
.emx-panel__nav { display: flex; gap: 10px; }

/* ==========================================================================
   Customer spotlight
   ========================================================================== */
.emx-spot { position: relative; overflow: hidden; background: #ACC039; padding: 88px 0; scroll-margin-top: 110px; }
.emx-spot__box { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: stretch; border-radius: 12px; overflow: hidden; background: #1F3F7C; box-shadow: 0 30px 60px rgba(9, 31, 73, 0.28); }
.emx .emx-spot__video { position: relative; display: block; min-width: 0; background: #8FA22D; }
.emx .emx-spot__video::before { content: ''; display: block; padding-top: 56.667%; } /* 1200 x 680 */
.emx .emx-spot__video img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.emx-spot__play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: #CCD735; color: #1F3F7C; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); transition: transform .25s ease; }
.emx-spot__play i { position: relative; font-size: 30px; margin-left: 5px; }
.emx-spot__video:hover .emx-spot__play { transform: scale(1.07); }
.emx-spot__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #CCD735; animation: emxPulse 2.4s ease-out infinite; }
@keyframes emxPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.65); opacity: 0; } }
.emx .emx-spot__card { position: relative; margin: 0; background: #1F3F7C; color: #FFFFFF; padding: 40px 44px 30px; display: flex; flex-direction: column; justify-content: center; }
.emx .emx-spot__card .emx-eyebrow { margin-bottom: 14px; }
.emx .emx-spot__quote { position: relative; margin: 6px 0 0; padding: 0 0 0 1.05em; border: 0; background: none; quotes: none; font-style: normal; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 28px; line-height: 1.26; color: #FFFFFF; }
.emx .emx-spot__quote::before, .emx .emx-spot__quote::after { content: none; }
/* Small opening + closing quote marks. The opening mark lines up with the label and logo;
   the quote text hangs just to its right. The closing mark stays attached to the last word. */
.emx .emx-spot__q { display: inline; line-height: 0; color: #CCD735; }
.emx .emx-spot__q::before { background-image: linear-gradient(130deg, #8ECCBB, #CCD735, #86A540, #CCD735); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: emxGrad 5s infinite; }
.emx .emx-spot__q--open { position: absolute; left: 0; top: 0.42em; font-size: 0.7em; line-height: 1; }
.emx .emx-spot__q--close { vertical-align: 0.5em; margin-left: 0.25em; font-size: 0.6em; }
.emx-spot__who { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.emx-spot__logo { flex: none; width: 96px; height: 60px; border-radius: 6px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; padding: 6px; }
.emx .emx-spot__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.emx-spot__person { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.emx-spot__person strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; color: #FFFFFF; }
.emx .emx-spot__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; min-height: 44px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #ACC039; }
.emx .emx-spot__link i { font-size: 11px; }
.emx .emx-spot__link:hover { color: #FFFFFF; }

/* Video pop-up */
.emx-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(9, 31, 73, 0.88); animation: emxLbIn .2s ease both; }
@keyframes emxLbIn { from { opacity: 0; } to { opacity: 1; } }
.emx-lb__frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000000; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.emx-lb__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.emx-lb__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #CCD735; color: #1F3F7C; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.emx-lb__close:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }

/* ==========================================================================
   Platform
   ========================================================================== */
.emx-platform { background: #F5F7FA; padding: 80px 0; }
.emx-platform__head { max-width: 760px; }
.emx .emx-platform__head .emx-lede { margin-top: 18px; }
.emx-lanes { margin-top: 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.emx-lane { background: #FFFFFF; border: 1px solid #E4E9F0; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: opacity .25s ease; }
.emx-lane__head { padding: 22px 20px; min-height: 92px; display: flex; align-items: center; }
.emx .emx-lane__name { margin-top: 0; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 19px; line-height: 1.25; color: inherit; }
.emx .emx-mod { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 68px; padding: 12px 20px; border-top: 1px solid #E4E9F0; color: #1F3F7C; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.25; transition: background .15s ease; }
.emx a.emx-mod:hover { background: #F5F7FA; color: #1F3F7C; }
.emx .emx-mod i { flex: none; font-size: 12px; transition: transform .2s ease; }
.emx a.emx-mod:hover i { transform: translateX(3px); }
.emx .emx-mod--here { background: #F4F7E4; color: #091F49; font-weight: 700; }
.emx-mod__badge { flex: none; font-size: 11px; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase; background: #1F3F7C; color: #CCD735; padding: 4px 8px; border-radius: 4px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.emx-cta { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: stretch; background: #1F3F7C; color: #FFFFFF; }
.emx-cta--no-img { grid-template-columns: minmax(0, 1fr); }
.emx-cta__text-col { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 72px 64px 72px max(24px, calc((100vw - 1300px) / 2)); }
.emx-cta__inner { position: relative; }
.emx.emx-cta .emx-h2 { color: #FFFFFF; }
.emx .emx-cta__text { margin-top: 18px; max-width: 480px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.emx-cta .emx-btns { margin-top: 34px; }
.emx-cta .emx-btn { min-height: 50px; padding: 0 28px; }
.emx-cta__photo { position: relative; min-height: 400px; }
.emx .emx-cta__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 45%; display: block; }

/* ==========================================================================
   Section heading
   ========================================================================== */
.emx-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.emx-heading__text { min-width: 0; flex: 1 1 520px; }
.emx.emx-heading .emx-lede { margin-top: 18px; max-width: 760px; }

/* ==========================================================================
   Scroll reveal + count-up (progressive enhancement)
   ========================================================================== */
.emx-rv.emx-in { animation: emxRise .85s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes emxRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
/* Keep everything static while editing in Beaver Builder. */
.fl-builder-edit .emx-rv, .fl-builder-edit .emx-hero__img--zoom { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
	.emx *, .emx *::before, .emx *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Responsive (breakpoints from the design: 1180 / 1000 / 700 / 560)
   ========================================================================== */
@media (max-width: 1180px) {
	.emx-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.emx-rail__line { display: none; }
	.emx-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1240px) {
	/* Spotlight stacks: the whole video image shows, the quote panel sits below it. */
	.emx-spot__box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
	.emx-about__head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.emx-about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
	.emx-about__block { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
	.emx-tile { min-height: 112px; }
	.emx-panel__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.emx-cta { grid-template-columns: minmax(0, 1fr); }
	.emx-cta__text-col { padding-left: 24px; padding-right: 24px; }
	.emx-cta__photo { min-height: 320px; }
}
@media (max-width: 700px) {
	.emx-wrap { padding-left: 16px; padding-right: 16px; }
	.emx .emx-h2 { font-size: 32px; }
	.emx .emx-h2--md { font-size: 30px; }
	.emx-hero { min-height: 0; }
	.emx-hero__inner { padding-top: 40px; padding-bottom: 40px; }
	.emx-hero__body { padding: 28px 24px 26px; }
	.emx .emx-hero__title { font-size: 36px; }
	.emx-about { padding-top: 64px; }
	.emx-features { padding: 48px 0 64px; }
	/* Compact one-line tabs: icon left, title right. */
	.emx-rail { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.emx .emx-rail__btn { flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 10px 16px 10px 10px; }
	.emx .emx-rail__btn:hover { transform: none; }
	.emx-rail__ic { width: 42px; height: 42px; }
	.emx .emx-rail__ic i { font-size: 20px; }
	.emx-rail__title { font-size: 16px; line-height: 1.25; }
	.emx-panel { margin-top: 16px; }
	.emx-panel { padding: 32px 22px; }
	.emx .emx-panel__title { font-size: 25px; }
	.emx-spot { padding: 64px 0; }
	.emx .emx-spot__card { padding: 32px 24px 28px; }
	.emx .emx-spot__quote { font-size: 25px; }
	.emx-platform { padding: 64px 0; }
	.emx-lanes { grid-template-columns: minmax(0, 1fr); }
	.emx-lane__head { min-height: 0; }
	.emx-cta__text-col { padding: 56px 20px; }
}
@media (max-width: 560px) {
	.emx-about__grid { grid-template-columns: minmax(0, 1fr); }
	.emx-about__block { grid-template-columns: minmax(0, 1fr); }
	.emx-about__photo { min-height: 260px; }
	.emx-about__stats { gap: 18px; }
	.emx .emx-hero__title { font-size: 32px; }
	.emx-panel__foot { flex-direction: column; align-items: flex-start; }
}
