/* =========================================================
   Finmark Enterprises – Premium theme (scoped: .fm / fm-*)
   ========================================================= */
:root {
   --fm-navy: #121215;
   --fm-navy-2: #0a0a0c;
   --fm-navy-3: #18181c;
   --fm-blue: #2a2a30;
   --fm-orange: #e5202e;
   --fm-orange-2: #ff4b4b;
   --fm-green: #22c55e;
   --fm-ink: #111114;
   --fm-text: #55555e;
   --fm-muted: #a3a3ad;
   --fm-line: #e8e8eb;
   --fm-soft: #f5f5f6;
   --fm-white: #ffffff;
   --fm-radius: 18px;
   --fm-shadow: 0 18px 50px -20px rgba(10, 10, 12, .28);
   --fm-head: "Sora", system-ui, sans-serif;
   --fm-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }

body.fm {
   margin: 0;
   font-family: var(--fm-body);
   font-size: 16px;
   line-height: 1.7;
   color: var(--fm-text);
   background: var(--fm-white);
   -webkit-font-smoothing: antialiased;
   overflow-x: hidden;
}

.fm img { max-width: 100%; display: block; }
.fm a { color: inherit; text-decoration: none; transition: color .25s; }
.fm h1, .fm h2, .fm h3, .fm h4, .fm h5 {
   font-family: var(--fm-head);
   color: var(--fm-ink);
   margin: 0 0 .6em;
   line-height: 1.2;
   letter-spacing: -.02em;
}
.fm h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; }
.fm h3 { font-size: 21px; font-weight: 700; }
.fm h4 { font-size: 17px; font-weight: 600; }
.fm p { margin: 0 0 1em; }

.fm-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.fm-accent { color: var(--fm-orange); }

/* ---------- buttons ---------- */
.fm-btn {
   display: inline-flex; align-items: center; justify-content: center; gap: 10px;
   padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
   font-family: var(--fm-head); font-size: 15px; font-weight: 600; line-height: 1;
   cursor: pointer; white-space: nowrap;
   transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.fm-btn:hover { transform: translateY(-2px); }
.fm-btn--primary { background: linear-gradient(135deg, var(--fm-orange), var(--fm-orange-2)); color: #fff !important; box-shadow: 0 12px 28px -10px rgba(229, 32, 46, .7); }
.fm-btn--primary:hover { box-shadow: 0 16px 34px -10px rgba(229, 32, 46, .85); }
.fm-btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff !important; }
.fm-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.fm-btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.fm-btn--ghost-light:hover { background: #fff; color: var(--fm-navy) !important; }
.fm-btn--white { background: #fff; color: var(--fm-navy) !important; }
.fm-btn--block { width: 100%; }

/* ---------- shared bits ---------- */
.fm-eyebrow {
   display: inline-flex; align-items: center; gap: 10px;
   font-family: var(--fm-head); font-size: 13px; font-weight: 600;
   text-transform: uppercase; letter-spacing: .14em; color: var(--fm-orange);
   margin-bottom: 14px;
}
.fm-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--fm-orange); border-radius: 2px; }
.fm-pill {
   display: inline-flex; align-items: center; gap: 10px;
   padding: 8px 16px; border-radius: 999px;
   background: rgba(229, 32, 46, .12); border: 1px solid rgba(229, 32, 46, .35);
   color: #ffc9cd; font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.fm-pill--light { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .4); color: #bbf7d0; }
.fm-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fm-green); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: fmPulse 1.8s infinite; flex: none; }
@keyframes fmPulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.fm-icon {
   flex: none; width: 46px; height: 46px; border-radius: 12px;
   display: inline-flex; align-items: center; justify-content: center;
   background: rgba(229, 32, 46, .1); color: var(--fm-orange); font-size: 19px;
}
.fm-icon--lg { width: 60px; height: 60px; border-radius: 16px; font-size: 24px; }

.fm-section { padding: 110px 0; position: relative; }
.fm-section--soft { background: var(--fm-soft); }
.fm-section--dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(229, 32, 46, .16), transparent 60%), var(--fm-navy-2); color: #c8c8ce; }
.fm-section--dark h2, .fm-section--dark h3, .fm-section--dark h4 { color: #fff; }

.fm-head { max-width: 680px; margin-bottom: 56px; }
.fm-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.fm-head--center .fm-eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--fm-orange); border-radius: 2px; }
.fm-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.fm-head--split h2 { margin-bottom: 0; }
.fm-head--split p { max-width: 420px; margin: 0; }

/* ---------- top bar ---------- */
.fm-topbar { background: var(--fm-navy-2); color: #bdbdc4; font-size: 13.5px; }
.fm-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.fm-topbar__left, .fm-topbar__right { display: flex; align-items: center; gap: 26px; }
.fm-topbar i { color: var(--fm-orange); margin-right: 6px; }
.fm-topbar a:hover { color: #fff; }
.fm-topbar__right a i { margin: 0; font-size: 16px; }

/* ---------- header ---------- */
.fm-header {
   position: sticky; top: 0; z-index: 1000;
   background: #fff;
   border-bottom: 1px solid var(--fm-line);
   transition: box-shadow .3s;
}
.fm-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 10, 12, .35); }
.fm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.fm-brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.fm .fm-brand img { height: 58px; width: auto; flex: none; }
.fm-brand__text { display: flex; flex-direction: column; gap: 6px; font-family: "Poppins", var(--fm-head); }
.fm-brand__text strong { font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--fm-ink); white-space: nowrap; }
.fm-brand__text small { font-size: 10.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--fm-text); white-space: nowrap; }
.fm-brand--light .fm-brand__text strong { color: #fff; }
.fm-brand--light .fm-brand__text small { color: var(--fm-muted); }
.fm-nav { display: flex; align-items: center; gap: 30px; }
.fm-nav a { font-family: var(--fm-head); font-size: 14.5px; font-weight: 600; color: var(--fm-ink); position: relative; padding: 6px 0; }
.fm-nav a:not(.fm-btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--fm-orange); transition: width .3s; }
.fm-nav a:not(.fm-btn):hover::after, .fm-nav a.is-active::after { width: 100%; }
.fm-nav a:not(.fm-btn):hover, .fm-nav a.is-active { color: var(--fm-orange); }
.fm-nav__cta { display: none !important; }
.fm-nav__head { display: none; }
.fm-overlay { display: none; }
.fm-header__cta { padding: 13px 24px; }
.fm-burger { display: none; width: 44px; height: 44px; border: 0; background: var(--fm-soft); border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.fm-burger span { width: 20px; height: 2px; background: var(--fm-navy); border-radius: 2px; transition: .3s; }
.fm-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fm-burger.is-open span:nth-child(2) { opacity: 0; }
.fm-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.fm-hero {
   position: relative; overflow: hidden; color: #c8c8ce;
   background:
      linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
      linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
      linear-gradient(160deg, var(--fm-navy-2) 0%, var(--fm-navy) 55%, #1d1d22 100%);
   padding: 100px 0 120px;
}
.fm-hero__glow { position: absolute; width: 640px; height: 640px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(229, 32, 46, .28), transparent 65%); pointer-events: none; }
.fm-hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 64px; }
.fm-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 62px); font-weight: 800; margin: 22px 0 22px; line-height: 1.08; }
.fm-lead { font-size: 18px; max-width: 560px; color: #c8c8ce; }
.fm-lead strong { color: #fff; }
.fm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 34px; }
.fm-hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 14.5px; }
.fm-hero__points i { color: var(--fm-green); margin-right: 8px; }

.fm-hero__visual { position: relative; padding: 30px 0; }
.fm-hero__visual { display: flex; justify-content: flex-end; padding-right: 30px; }
.fm-phone { position: relative; width: 330px; max-width: 100%; padding: 12px; border-radius: 48px; background: linear-gradient(145deg, #2b2b31, #0c0c0e); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 90px -30px rgba(0, 0, 0, .85), 0 0 80px -20px rgba(229, 32, 46, .35); }
.fm-phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 108px; height: 26px; background: #0a0a0c; border-radius: 0 0 16px 16px; z-index: 2; }
.fm-phone__screen { background: #fff; border-radius: 37px; padding: 12px 16px 18px; overflow: hidden; }
.fm-phone__status { display: flex; justify-content: space-between; padding: 0 10px 14px; font-family: var(--fm-head); font-size: 12.5px; font-weight: 700; color: #111; }
.fm-phone__status i { font-size: 11px; margin-left: 2px; }
.fm-phone__user { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fm .fm-phone__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; background: #f1f1f3; border: 1px solid var(--fm-line); }
.fm-phone__user strong { display: block; font-family: "Poppins", var(--fm-head); font-size: 14px; color: #111; line-height: 1.2; }
.fm-phone__user div span { display: inline-block; margin-top: 3px; padding: 1px 8px; border: 1px solid var(--fm-line); border-radius: 999px; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fm-text); }
.fm-phone__bell { margin-left: auto; width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--fm-line); display: inline-flex; align-items: center; justify-content: center; color: #111; position: relative; }
.fm-phone__bell::after { content: ""; position: absolute; top: 8px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--fm-orange); }
.fm-phone__card { border-radius: 22px; padding: 18px 16px 16px; color: #fff; background: radial-gradient(240px 140px at 100% 0%, rgba(229, 32, 46, .22), transparent 70%), linear-gradient(170deg, #1a1a1f, #050506); }
.fm-phone__row { display: flex; justify-content: space-between; align-items: center; }
.fm-phone__tag { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-family: var(--fm-head); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fm-phone__live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fm-head); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--fm-orange-2); }
.fm-phone__live span { width: 7px; height: 7px; border-radius: 50%; background: var(--fm-orange); animation: fmBlink 1.2s infinite; }
@keyframes fmBlink { 50% { opacity: .25; } }
.fm .fm-phone__card h3 { color: #fff; font-family: "Poppins", var(--fm-head); font-size: 25px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 8px; }
.fm-phone__card h3 span { color: var(--fm-orange); }
.fm-phone__chart { display: block; width: 100%; height: 130px; margin: 6px 0 14px; }
.fm-phone__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.fm-phone__price strong { font-family: "Poppins", var(--fm-head); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #fff; }
.fm-phone__price span { font-size: 12.5px; color: #c8c8ce; }
.fm-phone__slots { display: flex; justify-content: space-between; font-size: 11px; color: #a3a3ad; margin-bottom: 7px; }
.fm-phone__slots b { color: #fff; }
.fm-phone__bar { height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .14); overflow: hidden; margin-bottom: 16px; }
.fm-phone__bar i { display: block; height: 100%; border-radius: 9px; background: #fff; }
.fm .fm-phone__btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 14px; background: #fff; color: #111; font-family: var(--fm-head); font-size: 14.5px; font-weight: 700; transition: background .25s, color .25s; }
.fm .fm-phone__btn:hover { background: var(--fm-orange); color: #fff; }

.fm-float { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border-radius: 14px; box-shadow: var(--fm-shadow); animation: fmFloat 5s ease-in-out infinite; }
.fm-float i { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(229, 32, 46, .12); color: var(--fm-orange); font-size: 18px; }
.fm-float strong { display: block; font-family: var(--fm-head); color: var(--fm-ink); font-size: 14px; line-height: 1.3; }
.fm-float span { font-size: 12.5px; color: var(--fm-text); line-height: 1.3; }
.fm .fm-float--a { left: 0; right: auto; top: auto; bottom: 24%; z-index: 3; }
.fm .fm-float--b { left: 30px; right: auto; top: 24%; animation-delay: -2.5s; z-index: 3; }
.fm-float--b i { background: rgba(34, 197, 94, .14); color: #16a34a; }
@keyframes fmFloat { 50% { transform: translateY(-10px); } }

/* ---------- ticker ---------- */
.fm-ticker { background: linear-gradient(90deg, var(--fm-orange), var(--fm-orange-2)); overflow: hidden; padding: 16px 0; }
.fm-ticker__track { display: flex; width: max-content; animation: fmTicker 40s linear infinite; }
.fm-ticker span { font-family: var(--fm-head); font-weight: 600; color: #fff; font-size: 15px; padding: 0 30px; white-space: nowrap; display: inline-flex; align-items: center; gap: 30px; }
.fm-ticker span::after { content: "\f201"; font-family: FontAwesome; font-size: 13px; opacity: .75; margin-left: 30px; }
@keyframes fmTicker { to { transform: translateX(-50%); } }

/* ---------- split / about ---------- */
.fm-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.fm-collage { position: relative; padding: 0 70px 60px 0; }
.fm-collage__main { width: 100%; height: 560px; object-fit: cover; border-radius: 24px; box-shadow: var(--fm-shadow); }
.fm-collage__side { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 8px solid #fff; box-shadow: var(--fm-shadow); }
.fm-collage__badge { position: absolute; left: -22px; top: 40px; display: flex; align-items: center; gap: 12px; padding: 18px 22px; background: var(--fm-navy); color: #c8c8ce; border-radius: 16px; font-size: 13px; line-height: 1.35; box-shadow: var(--fm-shadow); }
.fm-collage__big { font-family: var(--fm-head); font-size: 26px; font-weight: 800; color: var(--fm-orange); }

.fm-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 34px; }
.fm-feature { display: flex; gap: 16px; align-items: flex-start; }
.fm-feature h4 { margin-bottom: 4px; }
.fm-feature p { font-size: 14.5px; margin: 0; line-height: 1.6; }

/* ---------- live trade day ---------- */
.fm-day { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; margin-bottom: 70px; }
.fm-day::before { content: ""; position: absolute; left: 12%; right: 12%; top: 66px; height: 2px; background: repeating-linear-gradient(90deg, rgba(229, 32, 46, .6) 0 8px, transparent 8px 16px); }
.fm-day__step { position: relative; text-align: center; padding: 28px 22px 30px; border-radius: var(--fm-radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: transform .3s, border-color .3s, background .3s; }
.fm-day__step:hover { transform: translateY(-6px); border-color: rgba(229, 32, 46, .5); background: rgba(255, 255, 255, .06); }
.fm-day__time { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fm-muted); margin-bottom: 14px; }
.fm-day__icon { position: relative; z-index: 1; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--fm-orange), var(--fm-orange-2)); color: #fff; font-size: 20px; box-shadow: 0 0 0 8px var(--fm-navy-2); }
.fm-day__step p { font-size: 14.5px; margin: 0; }

.fm-offer { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, var(--fm-navy-3), var(--fm-navy)); border: 1px solid rgba(255, 255, 255, .08); }
.fm-offer__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.fm-offer__body { padding: 52px 54px; }
.fm-offer__body h3 { font-size: 28px; margin: 18px 0 22px; }
.fm-checks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.fm-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #e2e2e6; }
.fm-checks i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(34, 197, 94, .16); color: var(--fm-green); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.fm-offer__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- cards ---------- */
.fm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fm-card { position: relative; background: #fff; padding: 38px 34px; border-radius: var(--fm-radius); border: 1px solid var(--fm-line); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.fm-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--fm-orange), var(--fm-orange-2)); transition: width .4s; }
.fm-card:hover { transform: translateY(-8px); box-shadow: var(--fm-shadow); border-color: transparent; }
.fm-card:hover::after { width: 100%; }
.fm-card .fm-icon { margin-bottom: 24px; transition: background .3s, color .3s; }
.fm-card:hover .fm-icon { background: var(--fm-orange); color: #fff; }
.fm-card p { margin: 0; font-size: 15px; }

/* ---------- steps ---------- */
.fm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.fm-step { position: relative; padding: 34px 28px; border-radius: var(--fm-radius); background: var(--fm-soft); border: 1px solid var(--fm-line); }
.fm-step__no { display: block; font-family: var(--fm-head); font-size: 46px; font-weight: 800; line-height: 1; margin-bottom: 18px; color: transparent; -webkit-text-stroke: 1.5px var(--fm-orange); }
.fm-step p { margin: 0; font-size: 15px; }
.fm-step:not(:last-child)::after { content: "\f105"; font-family: FontAwesome; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--fm-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 1; box-shadow: 0 0 0 5px #fff; }

/* ---------- CTA band ---------- */
.fm-band { background: linear-gradient(rgba(10, 10, 12, .86), rgba(10, 10, 12, .86)), url(../images/finmark/wide-bg.jpg) center / cover; padding: 80px 0; }
.fm-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.fm-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; max-width: 640px; }
.fm-band p { color: #c8c8ce; margin: 0; }
.fm-band__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ---------- gallery ---------- */
.fm-gallery { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 22px; }
.fm-gallery__item { position: relative; margin: 0; border-radius: var(--fm-radius); overflow: hidden; background: var(--fm-navy); }
.fm-gallery__item--tall { grid-row: span 2; }
.fm-gallery__item--wide { grid-column: span 2; }
.fm-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.fm-gallery__item:hover img { transform: scale(1.06); }
.fm-gallery__item figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(10, 10, 12, .92)); color: #fff; font-family: var(--fm-head); font-size: 19px; font-weight: 700; }
.fm-gallery__item figcaption span { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fm-orange-2); font-weight: 600; margin-bottom: 4px; }

/* ---------- posts ---------- */
.fm-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fm-post { background: #fff; border-radius: var(--fm-radius); overflow: hidden; border: 1px solid var(--fm-line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.fm-post:hover { transform: translateY(-8px); box-shadow: var(--fm-shadow); }
.fm-post__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.fm-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fm-post:hover .fm-post__img img { transform: scale(1.05); }
.fm-tag { position: absolute; left: 18px; top: 18px; padding: 6px 14px; border-radius: 999px; background: var(--fm-orange); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.fm-post__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.fm-post__body p { font-size: 15px; flex: 1; }
.fm-link { font-family: var(--fm-head); font-weight: 600; font-size: 14.5px; color: var(--fm-orange) !important; display: inline-flex; align-items: center; gap: 8px; }
.fm-link:hover i { transform: translateX(4px); }
.fm-link i { transition: transform .25s; }

/* ---------- FAQ ---------- */
.fm-split--faq { align-items: start; grid-template-columns: .85fr 1.15fr; }
.fm-faq { display: grid; gap: 14px; }
.fm-faq details { background: var(--fm-soft); border: 1px solid var(--fm-line); border-radius: 14px; padding: 0 26px; transition: background .3s, border-color .3s; }
.fm-faq details[open] { background: #fff; border-color: rgba(229, 32, 46, .4); box-shadow: var(--fm-shadow); }
.fm-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--fm-head); font-weight: 600; color: var(--fm-ink); font-size: 16.5px; }
.fm-faq summary::-webkit-details-marker { display: none; }
.fm-faq summary::after { content: "\f067"; font-family: FontAwesome; flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(229, 32, 46, .12); color: var(--fm-orange); font-size: 12px; transition: transform .3s; }
.fm-faq details[open] summary::after { content: "\f068"; background: var(--fm-orange); color: #fff; }
.fm-faq details p { margin: -4px 0 22px; font-size: 15px; }

/* ---------- contact ---------- */
.fm-contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.fm-contact__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.fm-contact__list li { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.fm-contact__list .fm-icon { background: linear-gradient(135deg, var(--fm-orange), var(--fm-orange-2)); color: #fff; }
.fm-contact__list small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fm-muted); line-height: 1.4; }
.fm-contact__list a, .fm-contact__list span { color: #fff; font-weight: 600; font-size: 16px; word-break: break-word; }
.fm-contact__list a:hover { color: var(--fm-orange-2); }

.fm-form { background: #fff; border-radius: 24px; padding: 44px 42px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); color: var(--fm-text); }
.fm-section--dark .fm-form h3, .fm-form h3 { font-size: 24px; margin-bottom: 24px; color: var(--fm-ink); }
.fm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fm-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--fm-ink); margin-bottom: 18px; }
.fm-form input, .fm-form select, .fm-form textarea {
   display: block; width: 100%; margin-top: 8px; padding: 13px 16px;
   font: 15px var(--fm-body); color: var(--fm-ink);
   background: var(--fm-soft); border: 1px solid var(--fm-line); border-radius: 12px;
   transition: border-color .25s, box-shadow .25s, background .25s;
}
.fm-form textarea { resize: vertical; }
.fm-form input:focus, .fm-form select:focus, .fm-form textarea:focus { outline: none; border-color: var(--fm-orange); background: #fff; box-shadow: 0 0 0 4px rgba(229, 32, 46, .14); }
.fm-form__note { font-size: 13px; text-align: center; margin: 14px 0 0; color: #85858e; }

/* ---------- footer ---------- */
.fm-footer { background: #08080a; color: #a6a6ae; padding-top: 84px; font-size: 15px; }
.fm-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 50px; }
.fm-footer__brand .fm-brand { margin-bottom: 22px; }
.fm .fm-footer__brand .fm-brand img { height: 66px; }
.fm-footer__brand p { max-width: 340px; }
.fm-footer h5 { color: #fff; font-size: 17px; margin-bottom: 22px; }
.fm-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fm-footer ul a:hover { color: var(--fm-orange-2); }
.fm-footer__contact li { display: flex; gap: 12px; align-items: baseline; word-break: break-word; }
.fm-footer__contact i { color: var(--fm-orange); width: 16px; text-align: center; flex: none; }
.fm-social { display: flex; gap: 12px; margin-top: 22px; }
.fm-social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); color: #fff; font-size: 17px; transition: background .25s, transform .25s; }
.fm-social a:hover { background: var(--fm-orange); transform: translateY(-3px); color: #fff; }
.fm-disclaimer { font-size: 13px; line-height: 1.65; color: #8a8a93; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .07); }
.fm-disclaimer strong { color: #c8c8ce; }
.fm-footer__bottom { background: #050506; font-size: 14px; }
.fm-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding-top: 14px; padding-bottom: 14px; }
.fm-footer__bottom a { color: var(--fm-orange-2); font-weight: 600; }

/* ---------- floating buttons ---------- */
.fm-wa { position: fixed; left: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .25s; }
.fm-wa:hover { transform: scale(1.08); }
.fm-totop { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--fm-navy); color: #fff !important; font-size: 22px; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; }
.fm-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.fm-totop:hover { background: var(--fm-orange); }

/* ---------- reveal ---------- */
.fm-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.fm-reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
   .fm-nav { gap: 22px; }
   .fm-nav a { font-size: 14px; }
   .fm-header__cta { display: none; }
   .fm-split { gap: 56px; }
   .fm-float--a { left: -10px; }
   .fm-float--b { right: -6px; }
}

@media (max-width: 991px) {
   .fm-section { padding: 84px 0; }
   .fm-burger { display: flex; }
   .fm-nav {
      position: fixed; top: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; width: min(330px, 86vw);
      flex-direction: column; align-items: stretch; gap: 0;
      padding: 0 26px 30px; background: #fff;
      box-shadow: -20px 0 50px rgba(0, 0, 0, .25);
      transform: translateX(100%); transition: transform .35s ease, visibility .35s;
      z-index: 1002; overflow-y: auto; visibility: hidden;
   }
   .fm-nav.is-open { transform: none; visibility: visible; }
   .fm-nav__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; margin-bottom: 8px; border-bottom: 1px solid var(--fm-line); flex: none; }
   .fm-nav__close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--fm-orange), var(--fm-orange-2)); color: #fff; font-size: 17px; box-shadow: 0 8px 18px -8px rgba(229, 32, 46, .8); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .25s, color .25s; }
   .fm-nav__close:hover { background: var(--fm-ink); color: #fff; }
   .fm-nav__head .fm-brand { flex: 1; min-width: 0; gap: 10px; }
   .fm .fm-nav__head .fm-brand img { height: 44px; }
   .fm-nav__head .fm-brand__text { min-width: 0; gap: 4px; }
   .fm-nav__head .fm-brand__text strong { font-size: 12px; letter-spacing: 0; white-space: normal; line-height: 1.25; }
   .fm-nav__head .fm-brand__text small { font-size: 8.5px; letter-spacing: .2em; }
   .fm-nav a { font-size: 16px; padding: 15px 4px; border-bottom: 1px solid var(--fm-line); display: flex; align-items: center; justify-content: space-between; }
   .fm-nav a:not(.fm-btn)::after { content: "\f105"; font-family: FontAwesome; position: static; width: auto; height: auto; background: none; color: #b8b8bf; font-size: 16px; transition: transform .25s, color .25s; }
   .fm-nav a:not(.fm-btn):hover::after, .fm-nav a.is-active::after { width: auto; color: var(--fm-orange); transform: translateX(3px); }
   .fm-nav__cta { display: inline-flex !important; justify-content: center !important; margin-top: 26px; border-bottom: 0 !important; padding: 15px 24px !important; }
   .fm-overlay { display: block; position: fixed; inset: 0; z-index: 1001; background: rgba(6, 6, 8, .55); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
   .fm-overlay.is-open { opacity: 1; visibility: visible; }
   body.fm-menu-open { overflow: hidden; }
   body.fm-menu-open .fm-wa, body.fm-menu-open .fm-totop { opacity: 0; visibility: hidden; }

   .fm-hero { padding: 80px 0 90px; }
   .fm-hero__grid { grid-template-columns: 1fr; gap: 50px; }
   .fm-hero__copy { text-align: center; }
   .fm .fm-lead { margin-left: auto; margin-right: auto; }
   .fm-hero__actions, .fm-hero__points { justify-content: center; }
   .fm-hero__visual { max-width: 640px; margin: 0 auto; width: 100%; }
   .fm-terminal { transform: none; }
   .fm-float--a { left: 0; }
   .fm-float--b { right: 0; top: 40%; }

   .fm-split, .fm-split--faq, .fm-contact { grid-template-columns: 1fr; gap: 50px; }
   .fm-collage { max-width: 620px; margin: 0 auto; width: 100%; }
   .fm-collage__badge { left: 14px; }
   .fm-day { grid-template-columns: repeat(2, 1fr); }
   .fm-day::before { display: none; }
   .fm-offer { grid-template-columns: 1fr; }
   .fm-offer__media img { min-height: 0; height: 320px; }
   .fm-offer__body { padding: 40px 34px; }
   .fm-cards { grid-template-columns: repeat(2, 1fr); }
   .fm-posts { gap: 20px; }
   .fm-post__body { padding: 22px 20px 24px; }
   .fm-post h3 { font-size: 18px; }
   .fm-steps { grid-template-columns: repeat(2, 1fr); }
   .fm-step::after { display: none; }
   .fm-band__inner { flex-direction: column; text-align: center; }
   .fm-band h2 { margin-left: auto; margin-right: auto; }
   .fm-band__actions { justify-content: center; }
   .fm-head--split { flex-direction: column; align-items: flex-start; gap: 16px; }
   .fm-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 240px 240px; }
   .fm-gallery__item--tall { grid-row: span 1; grid-column: span 2; }
   .fm-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
   .fm-posts { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
   .fm-topbar__left a:nth-child(2), .fm-topbar__right span { display: none; }
   .fm-header__inner { height: 72px; }
   .fm .fm-logo img { height: 48px; }
   .fm-logo .fm-brand__text strong { font-size: 13px; }
   .fm-logo .fm-brand__text small { font-size: 9px; letter-spacing: .28em; }
}

@media (max-width: 575px) {
   body.fm { font-size: 15px; }
   .fm-container { padding: 0 18px; }
   .fm-section { padding: 70px 0; }
   .fm-head { margin-bottom: 40px; }
   .fm-hero { padding: 60px 0 70px; }
   .fm-lead { font-size: 16px; }
   .fm-hero__actions .fm-btn { width: 100%; }
   .fm-hero__points { flex-direction: column; align-items: center; gap: 8px; }
   .fm-float { padding: 10px 12px; gap: 10px; }
   .fm-float i { width: 32px; height: 32px; font-size: 14px; }
   .fm-float strong { font-size: 12.5px; }
   .fm-float span { font-size: 11px; }
   .fm-float { display: none; }
   .fm-hero__visual { justify-content: center; padding-right: 0; }
   .fm-collage { padding: 0 34px 40px 0; }
   .fm-collage__main { height: 400px; }
   .fm-collage__badge { top: 20px; padding: 12px 16px; }
   .fm-collage__big { font-size: 20px; }
   .fm-feature-list { grid-template-columns: 1fr; }
   .fm-day, .fm-cards, .fm-posts, .fm-steps { grid-template-columns: 1fr; }
   .fm-cards { gap: 16px; }
   .fm-card { padding: 26px 22px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; }
   .fm-card .fm-icon { width: 52px; height: 52px; font-size: 21px; margin-bottom: 0; }
   .fm-card h3 { margin: 0; font-size: 18px; }
   .fm-card p { grid-column: 1 / -1; margin-top: 14px; }
   .fm-checks { grid-template-columns: 1fr; }
   .fm-offer__body { padding: 32px 22px; }
   .fm-offer__body h3 { font-size: 23px; }
   .fm-offer__actions .fm-btn, .fm-band__actions .fm-btn { width: 100%; }
   .fm-band__actions { width: 100%; }
   .fm-gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
   .fm-gallery__item--tall, .fm-gallery__item--wide { grid-column: span 1; grid-row: span 1; }
   .fm-faq details { padding: 0 18px; }
   .fm-faq summary { font-size: 15.5px; }
   .fm-form { padding: 32px 22px; }
   .fm-form__row { grid-template-columns: 1fr; gap: 0; }
   .fm-footer__grid { grid-template-columns: 1fr; gap: 36px; }
   .fm-footer__bottom-inner { flex-direction: column; text-align: center; gap: 6px; }
   .fm-wa { width: 50px; height: 50px; font-size: 25px; left: 16px; bottom: 16px; }
   .fm-totop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 767px) {
   .fm-nav__head { height: 72px; }
   .fm-hero h1 { font-size: clamp(32px, 9vw, 44px); }
   .fm-ticker { padding: 13px 0; }
   .fm-ticker span { font-size: 14px; padding: 0 20px; gap: 20px; }
   .fm-ticker span::after { margin-left: 20px; }
}

@media (max-width: 400px) {
   .fm-container { padding: 0 16px; }
   .fm-topbar { font-size: 12.5px; }
   .fm .fm-logo img { height: 42px; }
   .fm-logo { gap: 9px; }
   .fm-logo .fm-brand__text strong { font-size: 11.5px; letter-spacing: 0; }
   .fm-logo .fm-brand__text small { font-size: 8px; letter-spacing: .22em; }
   .fm-burger { width: 42px; height: 42px; }
   .fm-float { display: none; }
   .fm-collage { padding: 0 24px 34px 0; }
   .fm-collage__main { height: 340px; }
   .fm-collage__side { width: 56%; border-width: 6px; }
   .fm-day__step, .fm-card, .fm-step { padding-left: 22px; padding-right: 22px; }
   .fm-contact__list li { padding: 14px; gap: 14px; }
   .fm-contact__list a, .fm-contact__list span { font-size: 15px; }
   .fm-form { padding: 28px 18px; }
}

@media (prefers-reduced-motion: reduce) {
   .fm-ticker__track, .fm-float, .fm-live-dot { animation: none; }
   .fm-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.fm-banner {
   position: relative; overflow: hidden; color: #c8c8ce; text-align: center;
   padding: 96px 0 100px;
   background:
      linear-gradient(180deg, rgba(10, 10, 12, .78), rgba(10, 10, 12, .95)),
      url(../images/finmark/banner-chart.jpg) center / cover;
}
.fm-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--fm-orange), var(--fm-orange-2)); }
.fm-banner h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin: 16px 0 14px; }
.fm-banner p { max-width: 640px; margin: 0 auto; font-size: 17px; }
.fm-crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 500; }
.fm-crumbs a { color: #fff; }
.fm-crumbs a:hover { color: var(--fm-orange-2); }
.fm-crumbs i { font-size: 12px; color: var(--fm-orange); }
.fm-crumbs span { color: var(--fm-orange-2); }

.fm-center-cta { text-align: center; margin-top: 48px; }

/* mission / vision */
.fm-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fm-duo__card { position: relative; padding: 46px 42px; border-radius: 22px; background: #fff; border: 1px solid var(--fm-line); overflow: hidden; }
.fm-duo__card--dark { background: linear-gradient(135deg, var(--fm-navy), var(--fm-navy-3)); border-color: transparent; color: #c8c8ce; }
.fm-duo__card--dark h3 { color: #fff; }
.fm-duo__card .fm-icon { margin-bottom: 22px; }
.fm-duo__card h3 { font-size: 26px; }
.fm-duo__card p { margin: 0; }
.fm-duo__card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 28px solid rgba(229, 32, 46, .08); }

/* audience cards */
.fm-audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fm-audience__card { padding: 38px 32px; border-radius: var(--fm-radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.fm-section:not(.fm-section--dark) .fm-audience__card { background: #fff; border-color: var(--fm-line); }
.fm-audience__tag { display: inline-block; font-family: var(--fm-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fm-orange); margin-bottom: 12px; }
.fm-audience__card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.fm-audience__card li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.fm-audience__card li i { color: var(--fm-green); margin-top: 4px; }

/* program modules */
.fm-modules { display: grid; gap: 34px; }
.fm-module { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--fm-line); box-shadow: 0 20px 50px -35px rgba(10, 10, 12, .35); }
.fm-module:nth-child(even) .fm-module__media { order: 2; }
.fm-module__media { position: relative; min-height: 340px; background: var(--fm-navy); }
.fm-module__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fm-module__no { position: absolute; left: 22px; top: 22px; padding: 8px 16px; border-radius: 999px; background: var(--fm-orange); color: #fff; font-family: var(--fm-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.fm-module__body { padding: 46px 48px; display: flex; flex-direction: column; justify-content: center; }
.fm-module__body h3 { font-size: 26px; }
.fm-module__body .fm-checks { grid-template-columns: 1fr 1fr; margin: 6px 0 0; }
.fm-module__body .fm-checks li { color: var(--fm-text); }

/* gallery page */
.fm-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.fm-filter { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--fm-line); background: #fff; color: var(--fm-ink); font: 600 14px var(--fm-head); cursor: pointer; transition: .25s; }
.fm-filter:hover { border-color: var(--fm-orange); color: var(--fm-orange); }
.fm-filter.is-active { background: var(--fm-orange); border-color: var(--fm-orange); color: #fff; }
.fm-masonry { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 20px; }
.fm-masonry .fm-gallery__item { cursor: zoom-in; }
.fm-masonry .fm-gallery__item--tall { grid-row: span 2; }
.fm-masonry .fm-gallery__item.is-hidden { display: none; }
.fm-gallery__zoom { position: absolute; right: 18px; top: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--fm-navy); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.8); transition: .3s; }
.fm-gallery__item:hover .fm-gallery__zoom { opacity: 1; transform: none; }

.fm-lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 60px 70px; background: rgba(4, 4, 5, .92); opacity: 0; visibility: hidden; transition: .3s; }
.fm-lightbox.is-open { opacity: 1; visibility: visible; }
.fm-lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.fm-lightbox img { max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 14px; }
.fm-lightbox figcaption { color: #fff; font-family: var(--fm-head); font-weight: 600; margin-top: 16px; }
.fm-lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; cursor: pointer; transition: background .25s; }
.fm-lightbox button:hover { background: var(--fm-orange); }
.fm-lb-close { top: 20px; right: 20px; }
.fm-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.fm-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* blog page */
.fm-post__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #85858e; margin-bottom: 12px; }
.fm-post__meta i { color: var(--fm-orange); margin-right: 6px; }
.fm-post__body button.fm-link { background: none; border: 0; padding: 0; cursor: pointer; align-self: flex-start; }
.fm-article-src { display: none; }
.fm-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; background: rgba(4, 4, 5, .8); opacity: 0; visibility: hidden; transition: .3s; }
.fm-modal.is-open { opacity: 1; visibility: visible; }
.fm-modal__box { position: relative; width: 100%; max-width: 780px; background: #fff; border-radius: 22px; overflow: hidden; transform: translateY(20px); transition: transform .3s; }
.fm-modal.is-open .fm-modal__box { transform: none; }
.fm-modal__box > img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.fm-modal__content { padding: 38px 46px 44px; }
.fm-modal__content h2 { font-size: clamp(24px, 3vw, 32px); }
.fm-modal__content h4 { margin-top: 26px; }
.fm-modal__content ul { padding-left: 20px; }
.fm-modal__content li { margin-bottom: 6px; }
.fm-modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--fm-navy); font-size: 18px; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.fm-modal__close:hover { background: var(--fm-orange); color: #fff; }
.fm-modal__cta { margin-top: 30px; padding: 22px 24px; border-radius: 14px; background: var(--fm-soft); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fm-modal__cta strong { font-family: var(--fm-head); color: var(--fm-ink); }
body.fm-lock { overflow: hidden; }

/* contact page */
.fm-info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fm-info-card { text-align: center; padding: 38px 24px; border-radius: var(--fm-radius); background: #fff; border: 1px solid var(--fm-line); transition: transform .3s, box-shadow .3s; }
.fm-info-card:hover { transform: translateY(-6px); box-shadow: var(--fm-shadow); }
.fm-info-card .fm-icon { width: 62px; height: 62px; border-radius: 50%; font-size: 24px; margin-bottom: 18px; background: linear-gradient(135deg, var(--fm-orange), var(--fm-orange-2)); color: #fff; }
.fm-info-card h4 { margin-bottom: 6px; }
.fm-info-card a, .fm-info-card span { font-size: 15px; word-break: break-word; }
.fm-info-card a:hover { color: var(--fm-orange); }

@media (max-width: 991px) {
   .fm-banner { padding: 74px 0 80px; }
   .fm-duo, .fm-audience { grid-template-columns: 1fr; }
   .fm-module { grid-template-columns: 1fr; }
   .fm-module:nth-child(even) .fm-module__media { order: 0; }
   .fm-module__media { min-height: 280px; }
   .fm-module__body { padding: 36px 32px; }
   .fm-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
   .fm-info-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
   .fm-banner { padding: 60px 0 64px; }
   .fm-banner p { font-size: 15.5px; }
   .fm-duo__card { padding: 34px 24px; }
   .fm-module__media { min-height: 220px; }
   .fm-module__body { padding: 28px 22px; }
   .fm-module__body h3 { font-size: 22px; }
   .fm-module__body .fm-checks { grid-template-columns: 1fr; }
   .fm-masonry { grid-template-columns: 1fr; grid-auto-rows: 240px; }
   .fm-masonry .fm-gallery__item--tall { grid-row: span 1; }
   .fm-gallery__zoom { opacity: 1; transform: none; width: 36px; height: 36px; }
   .fm-lightbox { padding: 60px 12px; }
   .fm-lb-prev, .fm-lb-next { top: auto; bottom: 18px; transform: none; }
   .fm-lb-prev { left: calc(50% - 60px); }
   .fm-lb-next { right: calc(50% - 60px); }
   .fm-modal { padding: 0; }
   .fm-modal__box { border-radius: 0; min-height: 100%; }
   .fm-modal__content { padding: 28px 20px 36px; }
   .fm-info-cards { grid-template-columns: 1fr; }
}
.fm-cards--4 { grid-template-columns: repeat(4, 1fr); }
.fm-btn--outline { border-color: var(--fm-line); color: var(--fm-ink) !important; background: #fff; }
.fm-btn--outline:hover { border-color: var(--fm-orange); color: var(--fm-orange) !important; }
.fm-offer__body .fm-eyebrow { margin-bottom: 0; }
@media (max-width: 1199px) { .fm-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .fm-cards--4 { grid-template-columns: 1fr; } }
.fm-checks--contact { grid-template-columns: 1fr; margin-top: 30px; }
@media (max-width: 575px) {
   .fm-info-cards { gap: 14px; }
   .fm-info-card { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; align-items: center; text-align: left; padding: 18px 20px; }
   .fm-info-card .fm-icon { grid-row: span 2; width: 54px; height: 54px; font-size: 21px; margin: 0; }
   .fm-info-card h4 { margin: 0; align-self: end; }
   .fm-info-card a, .fm-info-card span { align-self: start; }
}

/* contact page: cards + map */
.fm-info-cards--5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
a.fm-info-card { display: block; color: inherit; }
a.fm-info-card span:not(.fm-icon) { display: block; font-size: 14.5px; color: var(--fm-text); word-break: break-word; transition: color .25s; }
a.fm-info-card:hover span:not(.fm-icon) { color: var(--fm-orange); }
a.fm-info-card:hover { border-color: rgba(229, 32, 46, .4); }
.fm-info-cards--5 .fm-info-card .fm-icon { display: inline-flex; }
.fm-map-wrap { line-height: 0; border-top: 4px solid var(--fm-orange); }
.fm-map { display: block; width: 100%; height: 460px; border: 0; filter: saturate(.9); }
@media (max-width: 1199px) { .fm-info-cards--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .fm-info-cards--5 { grid-template-columns: repeat(2, 1fr); } .fm-map { height: 360px; } }
@media (max-width: 575px) {
   .fm-info-cards--5 { grid-template-columns: 1fr; }
   a.fm-info-card { display: grid; }
   .fm-info-cards--5 .fm-info-card .fm-icon { display: flex; }
}
.fm-info-cards--5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.fm-info-cards--5 > .fm-info-card { flex: 0 1 calc((100% - 44px) / 3); }
@media (max-width: 767px) { .fm-info-cards--5 > .fm-info-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 575px) { .fm-info-cards--5 { gap: 14px; } .fm-info-cards--5 > .fm-info-card { flex-basis: 100%; } }

/* ---------- course price cards ---------- */
.fm-courses-head { text-align: center; margin-bottom: 30px; }
.fm-courses-head h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 16px 0 0; }
.fm-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: 30px; }
.fm-course { display: flex; flex-direction: column; background: linear-gradient(180deg, #ffffff, #f1f1f3); border-radius: 26px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); border: 2px solid rgba(255, 255, 255, .7); transition: transform .3s, box-shadow .3s; }
.fm-course:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(229, 32, 46, .45); }
.fm-course__img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--fm-navy); }
.fm-course__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fm-course:hover .fm-course__img img { transform: scale(1.05); }
.fm-course__save { position: absolute; right: 14px; top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--fm-green); color: #fff; font: 700 12.5px var(--fm-head); letter-spacing: .02em; box-shadow: 0 8px 18px -6px rgba(34, 197, 94, .7); }
.fm-course__body { padding: 22px 12px 10px; display: flex; flex-direction: column; flex: 1; }
.fm-section--dark .fm-course__body h3, .fm-course__body h3 { color: var(--fm-ink); font-size: 22px; margin-bottom: 8px; }
.fm-course__body > p { color: var(--fm-text); font-size: 15px; margin-bottom: 14px; }
.fm-course__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.fm-course__list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--fm-text); line-height: 1.45; }
.fm-course__list i { color: var(--fm-green); margin-top: 3px; }
.fm-course__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px dashed #d0d0d5; }
.fm-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fm-price del { font-family: var(--fm-head); font-size: 17px; font-weight: 600; color: #9c9ca4; text-decoration-thickness: 2px; }
.fm-price strong { font-family: var(--fm-head); font-size: 30px; font-weight: 800; color: var(--fm-orange); line-height: 1; letter-spacing: -.01em; }
.fm-course__buy { padding: 14px 24px; }
@media (max-width: 991px) { .fm-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } .fm-price strong { font-size: 26px; } }
@media (max-width: 767px) { .fm-courses { grid-template-columns: minmax(0, 480px); } }
@media (max-width: 400px) { .fm-course__foot { flex-direction: column; align-items: stretch; } .fm-course__buy { width: 100%; } .fm-price { justify-content: center; } }

/* ---------- hero phone: responsive float cards ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
   .fm .fm-float--a, .fm .fm-float--b { left: -56px; }
   .fm-hero__visual { padding-right: 0; }
}
@media (max-width: 991px) {
   .fm .fm-float--a, .fm .fm-float--b { left: 0; }
}
@media (max-width: 767px) {
   .fm .fm-float { display: none; }
   .fm-hero__visual { justify-content: center; padding-right: 0; }
}
