/* ==========================================================================
   Trophy ERP — site styles
   Ported from the design's inline styles into reusable classes.
   Layout uses logical properties (inline-start/end) so the Arabic RTL build
   mirrors without a separate stylesheet.
   ========================================================================== */

:root {
  --cream: #faf9f6;
  --band: #f3f0e9;
  --white: #fff;
  --ink: #39393d;
  --ink-soft: #3c3a48;
  --muted: #5c5a66;
  --muted-2: #8a8794;
  --yellow: #fabf02;
  --yellow-ink: #b08902;
  --blue: #0050e0;
  --green: #17a67a;
  --line: rgba(57, 57, 61, .09);
  --line-strong: rgba(57, 57, 61, .16);
  --shadow-card: 0 22px 46px rgba(57, 57, 61, .14);
  --shadow-modal: 0 40px 100px rgba(57, 57, 61, .45);
  --display: 'Michroma', 'Cairo', sans-serif;
  --body: 'Archivo', 'Cairo', sans-serif;
  --wordmark: 'Montserrat', sans-serif;
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); }
/* width/height attributes stay on the markup so the browser can reserve space and avoid
   layout shift — but the height attribute is a presentational hint, so without this the
   image keeps that pixel height while the width scales down, squashing it on narrow screens. */
img { max-width: 100%; height: auto; }
input, textarea, button { font-family: var(--body); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { inset-inline-start: 0; color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- animations ---------------------------------------------------------- */
@keyframes spinSlow { from { transform: rotate(0) } to { transform: rotate(360deg) } }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
@keyframes pulseRing { 0% { transform: scale(.6); opacity: .9 } 100% { transform: scale(2.6); opacity: 0 } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }
@keyframes marqueeX { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes hubGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(250, 191, 2, .45), 0 0 48px rgba(250, 191, 2, .28) } 50% { box-shadow: 0 0 0 16px rgba(250, 191, 2, 0), 0 0 74px rgba(250, 191, 2, .5) } }
@keyframes railPulse { 0% { transform: translateX(-6px); opacity: 0 } 18% { opacity: 1 } 82% { opacity: 1 } 100% { transform: translateX(var(--rail, 120px)); opacity: 0 } }
@keyframes hubRing { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }

.fade-up { animation: fadeUp .7s ease both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --- layout primitives --------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 28px; }
.section { padding-block: 100px; }
.section--tight { padding-block: 90px; }
.section--dark { background: var(--ink); position: relative; overflow: hidden; }
.section--white { background: var(--white); }
.section--band { background: var(--band); border-top: 1px solid rgba(28, 28, 30, .08); }
.section--rule { border-bottom: 1px solid rgba(57, 57, 61, .07); }
.section--topline { border-top: 1px solid rgba(28, 28, 30, .08); }

.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.kicker--yellow { color: var(--yellow); }

.h1 { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1.26; margin: 0; letter-spacing: .01em; }
.h2 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.3; margin: 18px 0 0; }
.h2--sm { font-size: 30px; line-height: 1.35; }
.lede { font-size: 16.5px; line-height: 1.65; color: var(--muted); margin: 18px 0 0; text-wrap: pretty; }
.lede--on-dark { color: rgba(255, 255, 255, .6); font-size: 16px; }

.head-block { max-width: 720px; }
.head-block--center { margin-inline: auto; text-align: center; max-width: 680px; }

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-block; border: none; cursor: pointer; border-radius: 999px;
  font-weight: 700; font-size: 15px; padding: 16px 30px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--yellow); color: var(--ink); }
.btn--ghost-light { border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; font-weight: 600; background: none; }
.btn--ghost-light:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--sm { font-size: 14.5px; padding: 14px 28px; }

/* --- header -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(57, 57, 61, .08);
}
.header__bar {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px; min-height: 48px;
  display: flex; align-items: center; gap: 14px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand img { height: 34px; width: auto; display: block; }
.brand__name, .brand__erp {
  font-family: var(--wordmark); font-weight: 800; font-size: 19px; letter-spacing: .03em;
}
.brand__name { color: var(--ink); }
.brand__erp { color: var(--yellow); }

.nav { display: flex; gap: 16px; margin-inline-start: auto; align-items: center; flex-wrap: nowrap; min-width: 0; }
.nav a { font-size: 13px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--blue); }

.lang { position: relative; flex: none; }
.lang__btn {
  display: flex; align-items: center; gap: 8px; border: 1px solid rgba(57, 57, 61, .14);
  border-radius: 999px; padding: 9px 14px; background: #fff; cursor: pointer;
}
.lang__btn:hover { border-color: var(--ink); }
.lang__code { font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.lang__chev { font-size: 9px; color: var(--muted-2); transition: transform .2s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; background: #fff;
  border: 1px solid rgba(57, 57, 61, .1); border-radius: 16px; padding: 6px; min-width: 170px;
  box-shadow: 0 20px 50px rgba(57, 57, 61, .18); animation: fadeUp .18s ease both;
  list-style: none; margin: 0;
}
.lang__menu[hidden] { display: none; }
.lang__menu a {
  display: flex; align-items: center; gap: 11px; width: 100%;
  background: transparent; color: var(--ink); border-radius: 11px; padding: 11px 14px;
  font-size: 14px; font-weight: 600;
}
.lang__menu a:hover { background: rgba(57, 57, 61, .06); color: var(--ink); }
.lang__menu a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang__opt-code { font-family: var(--display); font-size: 10px; color: var(--muted-2); }
.lang__menu a[aria-current="true"] .lang__opt-code { color: var(--yellow); }
.lang__opt-name { flex: 1; }
.lang__opt-check { font-size: 12px; color: var(--yellow); }

.icon-btn {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(57, 57, 61, .14); background: #fff;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s; cursor: pointer;
}
.icon-btn:hover { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

.header__cta {
  background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 13.5px;
  padding: 10px 18px; border-radius: 999px; white-space: nowrap; flex: none;
}
.header__cta:hover { background: var(--ink); color: var(--yellow); }

.burger { display: none; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 130; }
.drawer[hidden] { display: none; }
.drawer__veil { position: absolute; inset: 0; background: rgba(57, 57, 61, .6); backdrop-filter: blur(4px); border: none; padding: 0; width: 100%; }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(320px, 86vw);
  background: var(--cream); padding: 22px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
}
.drawer__close {
  align-self: flex-end; border: none; background: rgba(57, 57, 61, .08); border-radius: 50%;
  width: 38px; height: 38px; cursor: pointer; font-size: 18px; color: var(--ink); margin-bottom: 8px;
}
.drawer__panel a {
  padding: 14px 12px; border-radius: 12px; font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.drawer__panel a:hover { background: rgba(57, 57, 61, .06); color: var(--ink); }
.drawer__cta { background: var(--yellow); text-align: center; margin-top: 10px; }

/* floating demo button (small screens) */
.fab { display: none; position: fixed; inset-inline-end: 14px; bottom: 20px; z-index: 120; }
.fab a {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(250, 191, 2, .5);
}
.fab a:hover { background: var(--ink); color: var(--yellow); }

/* --- hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink);
  min-height: 600px; display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/assets/hero-fabrika.jpg');
  background-size: auto 118%; background-repeat: no-repeat; background-position: right top;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(28, 28, 30, .94) 0%, rgba(28, 28, 30, .86) 34%, rgba(28, 28, 30, .55) 60%, rgba(28, 28, 30, .15) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 96px 28px; width: 100%; }
.hero__text { max-width: 600px; }
.hero__mark { width: 76px; filter: drop-shadow(0 0 40px rgba(250, 191, 2, .5)); }
.hero .h1 { margin: 26px 0 0; color: #fff; }
.hero .h1 em { font-style: normal; color: var(--yellow); }
.hero__sub { font-size: 17.5px; line-height: 1.65; color: rgba(255, 255, 255, .8); max-width: 520px; margin: 22px 0 0; text-wrap: pretty; }
.hero__ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* --- stats band ---------------------------------------------------------- */
.stats { background: var(--yellow); }
.stats__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 52px 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px;
}
.stat { text-align: center; }
.stat__num { font-family: var(--display); font-size: 38px; color: var(--ink); }
.stat__label { font-size: 13.5px; margin-top: 8px; color: rgba(57, 57, 61, .7); font-weight: 500; }

/* --- product / feature cards --------------------------------------------- */
.shot { position: relative; margin: 56px auto 0; max-width: 1020px; }
.shot__chrome {
  background: #48484d; border-radius: 16px 16px 0 0; padding: 12px 16px;
  display: flex; gap: 7px; align-items: center;
}
.shot__dot { width: 11px; height: 11px; border-radius: 50%; display: block; }
.shot__dot--r { background: #ff5f57; }
.shot__dot--y { background: #febc2e; }
.shot__dot--g { background: #28c840; }
.shot__label { margin: 0 auto; font-size: 12px; color: rgba(255, 255, 255, .5); }
.shot img {
  width: 100%; display: block; border: 1px solid rgba(57, 57, 61, .12); border-top: none;
  border-radius: 0 0 16px 16px; box-shadow: 0 30px 70px rgba(57, 57, 61, .18);
}
.shot__badge {
  position: absolute; top: -18px; inset-inline-end: -14px; background: var(--yellow); color: var(--ink);
  border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 13.5px;
  box-shadow: 0 12px 30px rgba(250, 191, 2, .4);
}

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.feat-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--cream);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--yellow); }
.feat-card__num { font-family: var(--display); font-size: 13px; color: var(--yellow-ink); }
.feat-card__title { font-weight: 700; font-size: 17px; margin: 12px 0 0; color: var(--ink); }
.feat-card__desc { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 8px; text-wrap: pretty; }

/* --- modules ------------------------------------------------------------- */
.mod-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mod-tag { background: var(--ink); color: var(--yellow); border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 13.5px; }

.flow { margin-top: 44px; background: var(--ink); border-radius: 22px; padding: 36px 34px; }
.flow__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.flow__title { font-family: var(--display); font-size: 17px; color: #fff; }
.flow__sub { font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.flow__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px 14px; margin-top: 26px; }
.flow__step { border-inline-start: 2px solid var(--yellow); padding-inline-start: 12px; }
.flow__n { font-family: var(--display); font-size: 11px; color: var(--yellow); }
.flow__t { font-weight: 700; font-size: 14px; color: #fff; margin-top: 7px; }
.flow__d { font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .55); margin-top: 5px; text-wrap: pretty; }

.filters { display: flex; gap: 10px; margin-top: 44px; flex-wrap: wrap; }
.filter {
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink-soft);
  border-radius: 999px; padding: 10px 20px; font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--yellow); }

.mod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 20px; margin-top: 26px; }
.mod-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  cursor: pointer; text-align: start; width: 100%; font: inherit; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.mod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--yellow); }
.mod-card[hidden] { display: none; }
.mod-card__top { display: flex; align-items: center; justify-content: space-between; }
.code-chip {
  display: inline-block; background: var(--yellow); border-radius: 8px; padding: 5px 10px;
  font-family: var(--display); font-size: 11.5px; color: var(--ink);
}
.mod-card__plus { font-size: 12px; color: var(--yellow-ink); }
/* These are spans (the card is a <button>), so they need to be made block-level. */
.mod-card__title { display: block; font-weight: 700; font-size: 16.5px; margin-top: 14px; }
.mod-card__desc { display: block; font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 7px; text-wrap: pretty; }

/* --- sectors ------------------------------------------------------------- */
.sector-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.chips li {
  border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 999px;
  padding: 12px 22px; font-size: 14.5px; font-weight: 500; transition: border-color .2s, color .2s;
}
.chips li:hover { border-color: var(--yellow); color: var(--yellow); }

/* --- AI panel ------------------------------------------------------------ */
.panel { background: var(--ink); border-radius: 30px; overflow: hidden; position: relative; }
.panel__mark { position: absolute; inset-inline-end: -50px; top: -60px; width: 260px; opacity: .1; transform: rotate(10deg); }
.panel__inner { position: relative; padding: 64px; }
.panel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pill-live {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(250, 191, 2, .4);
  border-radius: 999px; padding: 7px 16px; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; color: var(--yellow);
}
.pill-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); animation: pulseRing 2s ease-out infinite; }
.pill-live--blue { border-color: rgba(0, 80, 224, .35); color: var(--blue); background: #fff; }
.pill-live--blue::before { background: var(--blue); }
.stat-box {
  text-align: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px; padding: 20px 28px;
}
.stat-box__n { font-family: var(--display); font-size: 30px; color: var(--yellow); }
.stat-box__l { font-size: 12.5px; color: rgba(255, 255, 255, .6); margin-top: 6px; max-width: 150px; }

.dark-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 18px; margin-top: 44px; }
.dark-card {
  border: 1px solid rgba(255, 255, 255, .13); border-radius: 18px; padding: 24px;
  background: rgba(255, 255, 255, .04);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.dark-card:hover { transform: translateY(-6px); border-color: rgba(250, 191, 2, .5); background: rgba(255, 255, 255, .07); }
.dark-card__code { font-family: var(--display); font-size: 11.5px; color: var(--yellow); }
.dark-card__title { font-weight: 700; font-size: 16px; color: #fff; margin: 12px 0 0; }
.dark-card__desc { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .55); margin-top: 8px; text-wrap: pretty; }

.panel__foot { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.panel__note { font-size: 13px; color: rgba(255, 255, 255, .4); }

/* --- MCP section --------------------------------------------------------- */
.mcp-desk {
  position: relative; margin-top: 52px; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  background: radial-gradient(120% 120% at 50% 0%, #43434a 0%, #35353a 55%, #2c2c30 100%);
}
.mcp-desk::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 22px 22px;
}
.mcp-desk::after {
  content: ""; position: absolute; left: 50%; top: 38%; width: 520px; height: 520px;
  transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(250, 191, 2, .16), transparent 62%);
}
.mcp-hub {
  position: relative; display: grid; grid-template-columns: 1fr 90px auto 90px 1fr;
  align-items: center; gap: 18px; padding: 52px 44px;
}
.mcp-box { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 22px 20px; }
.mcp-box--accent { border-color: rgba(250, 191, 2, .3); }
.mcp-box__label { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: rgba(255, 255, 255, .45); }
.mcp-box__title { font-family: var(--display); font-size: 14px; color: #fff; margin: 9px 0 16px; }
.mcp-box__title--accent { color: var(--yellow); }
.mcp-chips { display: flex; flex-direction: column; gap: 9px; }
.mcp-chip {
  display: flex; align-items: center; gap: 11px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 13px;
  transition: border-color .2s, background .2s;
}
.mcp-chip:hover { border-color: rgba(250, 191, 2, .5); background: rgba(255, 255, 255, .09); }
.mcp-chip span:last-child { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.mcp-chip__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.mcp-chip__dot--y { background: var(--yellow); box-shadow: 0 0 10px rgba(250, 191, 2, .7); }
.mcp-chip__dot--b { background: #0090ff; box-shadow: 0 0 10px rgba(0, 144, 255, .6); }
.mcp-rail { position: relative; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(250, 191, 2, .5)); }
.mcp-rail:last-of-type { background: linear-gradient(90deg, rgba(250, 191, 2, .5), rgba(255, 255, 255, .06)); }
.mcp-rail__pulse {
  position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 12px rgba(250, 191, 2, .9); --rail: 82px;
  animation: railPulse 2.6s ease-in-out infinite;
}
.mcp-rail__pulse--delay { animation-delay: .4s; }
.mcp-center { text-align: center; position: relative; }
.mcp-hub-node {
  position: relative; width: 132px; height: 132px; margin: 0 auto; border-radius: 50%;
  background: linear-gradient(180deg, #fabf02, #e0a800); display: flex; align-items: center;
  justify-content: center; animation: hubGlow 3.2s ease-in-out infinite;
}
.mcp-hub-node__ring { position: absolute; inset: -12px; border: 1.5px dashed rgba(250, 191, 2, .45); border-radius: 50%; animation: hubRing 26s linear infinite; }
.mcp-hub-node__mark { width: 66px; height: auto; filter: brightness(0) saturate(100%) invert(16%) sepia(8%) saturate(600%) hue-rotate(202deg); }
.mcp-center__title { font-family: var(--display); font-size: 15px; color: #fff; margin-top: 18px; letter-spacing: .04em; }
.mcp-center__desc { font-size: 12px; color: rgba(255, 255, 255, .55); margin-top: 6px; max-width: 200px; margin-inline: auto; }
.mcp-erp {
  display: flex; align-items: center; gap: 10px; background: rgba(250, 191, 2, .1);
  border: 1px solid rgba(250, 191, 2, .35); border-radius: 12px; padding: 11px 14px;
}
.mcp-erp img { height: 26px; width: auto; }
.mcp-erp > span { font-family: var(--wordmark); font-weight: 800; font-size: 14px; color: #fff; }
.mcp-erp > span span { color: var(--yellow); }
.mcp-prompts { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mcp-prompts__caret { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--yellow); }
.mcp-prompt { font-size: 13px; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 8px 14px; }

.mcp-mob { display: none; margin-top: 38px; background: var(--ink); border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; overflow: hidden; }
.mcp-mob__steps { padding: 26px 20px; }
.mcp-mob__step { display: flex; gap: 14px; }
.mcp-mob__rail { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mcp-mob__num { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.mcp-mob__num--y { background: var(--yellow); color: var(--ink); border: none; font-weight: 800; }
.mcp-mob__num--b { background: rgba(0, 144, 255, .18); border-color: rgba(0, 144, 255, .5); }
.mcp-mob__line { flex: 1; width: 2px; background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(250, 191, 2, .5)); }
.mcp-mob__line--b { background: linear-gradient(180deg, rgba(250, 191, 2, .5), rgba(0, 144, 255, .45)); }
.mcp-mob__body { flex: 1; padding-bottom: 22px; }
.mcp-mob__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mcp-mob__pill { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 7px 13px; }
.mcp-mob__bridge { background: linear-gradient(180deg, rgba(250, 191, 2, .16), rgba(250, 191, 2, .04)); border: 1.5px solid rgba(250, 191, 2, .5); border-radius: 16px; padding: 18px; display: flex; align-items: center; gap: 14px; }
.mcp-mob__bridge-ic { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.mcp-mob__bridge-ic img { width: 26px; height: auto; filter: brightness(0); }
.mcp-mob__bridge-t { font-family: var(--display); font-size: 12.5px; color: #fff; line-height: 1.4; }
.mcp-mob__bridge-d { font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 4px; }
.mcp-mob__prompts { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; }
.mcp-mob__prompts .mcp-prompts__caret { font-size: 11px; letter-spacing: .14em; }
.mcp-mob__prompts .mcp-prompt { padding: 10px 13px; }

.mcp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 20px; margin-top: 24px; }
.mcp-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.mcp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--blue); }
.mcp-card__code { font-family: var(--display); font-size: 11.5px; color: var(--blue); }
.mcp-card__title { font-weight: 700; font-size: 17px; margin-top: 12px; }
.mcp-card__desc { font-size: 14px; line-height: 1.65; color: var(--muted); margin-top: 8px; text-wrap: pretty; }
.mcp-foot { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; align-items: center; justify-content: center; }
.mcp-foot .btn--ink:hover { background: var(--blue); color: #fff; }
.mcp-foot__note { font-size: 13px; color: var(--muted-2); }

/* --- technology partners ------------------------------------------------- */
.tech-mark { position: absolute; inset-inline-end: -60px; top: -70px; width: 240px; opacity: .06; transform: rotate(12deg); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-card {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: 20px;
  padding: 22px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.tech-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0, 0, 0, .28); border-color: var(--yellow); background: rgba(255, 255, 255, .07); }
.tech-card__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.tech-card__chip { flex: none; height: 78px; border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 14px 20px; box-sizing: border-box; }
.tech-card__img { height: 46px; width: auto; max-width: 100%; object-fit: contain; display: block; filter: brightness(0) invert(1); }
.tech-card__img--big { height: 66px; }
.tech-card__name { font-family: var(--wordmark); font-weight: 800; font-size: 34px; letter-spacing: .01em; color: #fff; }

/* --- value grid ---------------------------------------------------------- */
.value-mark { position: absolute; inset-inline-start: -50px; bottom: -70px; width: 250px; opacity: .08; transform: rotate(-10deg); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; margin-top: 48px; }
.value-card { display: flex; align-items: center; gap: 16px; }
.value-card__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.value-card__label { font-size: 15px; font-weight: 600; line-height: 1.5; color: #fff; text-wrap: pretty; }

/* --- map / partners ------------------------------------------------------ */
.map-wrap {
  position: relative; max-width: 980px; margin: 48px auto 0; background: var(--cream);
  border: 1px solid rgba(57, 57, 61, .07); border-radius: 26px; padding: 40px;
}
.map-inner { position: relative; }
.map-inner > img { width: 100%; display: block; }
.pin { position: absolute; width: 0; height: 0; }
.pin__ring {
  position: absolute; left: -11px; top: -11px; width: 22px; height: 22px;
  border-radius: 50%; animation: pulseRing 2.4s ease-out infinite;
}
.pin__dot { position: absolute; border-radius: 50%; box-shadow: 0 2px 8px rgba(57, 57, 61, .3); }
.pin__hit {
  position: absolute; left: -16px; top: -16px; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; z-index: 2; border: none; background: none; padding: 0;
}
.pin__label {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 9px; border-radius: 6px; white-space: nowrap;
}
.pin--hq .pin__ring { background: rgba(250, 191, 2, .5); }
.pin--hq .pin__dot { left: -8px; top: -8px; width: 16px; height: 16px; background: var(--yellow); border: 3px solid var(--ink); }
.pin--reg .pin__ring { background: rgba(23, 166, 122, .4); }
.pin--reg .pin__dot { left: -7px; top: -7px; width: 14px; height: 14px; background: var(--green); border: 2px solid #fff; }
.pin--p .pin__ring { background: rgba(0, 80, 224, .35); }
.pin--p .pin__dot { left: -6px; top: -6px; width: 12px; height: 12px; background: var(--blue); border: 2px solid #fff; }

.legend { display: flex; gap: 26px; justify-content: center; margin-top: 28px; font-size: 13px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { display: block; border-radius: 50%; }
.legend .l-hq { width: 12px; height: 12px; background: var(--yellow); border: 2px solid var(--ink); }
.legend .l-reg { width: 11px; height: 11px; background: var(--green); border: 2px solid #fff; }
.legend .l-p { width: 10px; height: 10px; background: var(--blue); }

.city-list { display: none; flex-direction: column; gap: 10px; margin-top: 36px; }
.city-row {
  display: flex; align-items: center; gap: 12px; border: 1px solid rgba(57, 57, 61, .1);
  border-radius: 14px; padding: 14px 16px; background: #fff; cursor: pointer;
  text-align: start; width: 100%; font: inherit;
}
.city-row:hover { border-color: var(--yellow); }
.city-row__dot { flex: none; border-radius: 50%; box-shadow: 0 1px 4px rgba(57, 57, 61, .25); }
.city-row__dot.l-hq { width: 14px; height: 14px; background: var(--yellow); border: 2.5px solid var(--ink); }
.city-row__dot.l-reg { width: 14px; height: 14px; background: var(--green); border: 2px solid #fff; }
.city-row__dot.l-p { width: 11px; height: 11px; background: var(--blue); border: 2px solid #fff; }
.city-row__body { flex: 1; min-width: 0; }
.city-row__name { display: block; font-weight: 700; font-size: 15px; color: var(--ink); }
.city-row__partners { display: block; font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.city-row__count { font-family: var(--display); font-size: 12px; color: var(--yellow-ink); }

/* --- methodology --------------------------------------------------------- */
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 20px; margin-top: 48px; }
.method-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--cream);
  display: flex; flex-direction: column; gap: 12px;
}
.method-card__n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 16px; color: var(--ink);
}
.method-card__t { font-weight: 700; font-size: 16.5px; margin: 6px 0 0; }
.method-card__d { font-size: 13.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.method-card__dur {
  margin-top: auto; align-self: flex-start; border: 1.5px solid var(--line-strong);
  border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft);
}

/* --- references ---------------------------------------------------------- */
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marqueeX 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: none; width: 186px; height: 88px; background: #fff; border: 1px solid rgba(57, 57, 61, .08);
  border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 0 22px;
  box-sizing: border-box; margin-inline-end: 16px;
}
.marquee__item img { height: 40px; width: auto; max-width: 100%; object-fit: contain; display: block; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin-top: 70px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px;
  display: flex; flex-direction: column; gap: 16px; margin: 0;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--yellow); }
.quote__mark { font-family: var(--display); font-size: 34px; color: var(--yellow); line-height: 1; }
.quote__text { font-size: 15px; line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }
.quote__by { margin-top: auto; border-top: 1px solid rgba(57, 57, 61, .08); padding-top: 14px; }
.quote__role { font-weight: 700; font-size: 14px; }
.quote__sector { font-size: 13px; color: var(--muted-2); margin-top: 3px; }

/* --- demo form ----------------------------------------------------------- */
.demo { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; padding: 64px; }
.demo__mark { width: 120px; margin-top: 44px; opacity: .9; filter: drop-shadow(0 0 40px rgba(250, 191, 2, .4)); }
.demo__card { background: #fff; border-radius: 20px; padding: 34px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.form input, .form textarea {
  width: 100%; border: 1.5px solid rgba(57, 57, 61, .15); border-radius: 10px;
  padding: 13px 15px; font-size: 14.5px; outline: none; background: #fff; color: var(--ink);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--blue); }
.form input[aria-invalid="true"] { border-color: #d33; }
.form__err { font-size: 12px; color: #d33; margin-top: 4px; }
.form__err:empty { display: none; }
.form__alert {
  display: flex; align-items: center; gap: 12px; background: var(--ink);
  border-radius: 12px; padding: 13px 16px; animation: fadeUp .3s ease both;
}
/* display:flex overrides the UA [hidden] rule, so restore it explicitly —
   otherwise the "missing fields" alert shows before the user submits. */
.form__alert[hidden] { display: none; }
.form__alert i {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: var(--ink); font-style: normal;
}
.form__alert span { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.5; }
.form__submit {
  background: var(--yellow); color: var(--ink); border: none; font-weight: 700; font-size: 15.5px;
  padding: 16px; border-radius: 12px; cursor: pointer; transition: background .2s, color .2s;
}
.form__submit:hover { background: var(--ink); color: var(--yellow); }

.sent { position: relative; text-align: center; padding: 48px 24px; overflow: hidden; animation: fadeUp .4s ease both; }
.sent__mark { position: absolute; inset-inline-end: -30px; bottom: -40px; width: 140px; opacity: .08; transform: rotate(-10deg); }
.sent__inner { position: relative; }
.sent__badge { position: relative; width: 76px; height: 76px; margin: 0 auto; }
.sent__badge span:first-child { position: absolute; inset: 0; border-radius: 50%; background: rgba(250, 191, 2, .45); animation: pulseRing 2s ease-out infinite; }
.sent__badge span:last-child {
  position: relative; display: flex; width: 76px; height: 76px; border-radius: 50%; background: var(--ink);
  align-items: center; justify-content: center; font-size: 30px; color: var(--yellow);
  box-shadow: 0 14px 34px rgba(57, 57, 61, .3);
}
.sent__title { font-family: var(--display); font-size: 19px; margin-top: 26px; }
.sent__text { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin-top: 12px; max-width: 300px; margin-inline: auto; text-wrap: pretty; }

/* --- footer -------------------------------------------------------------- */
.footer { background: var(--ink); color: #fff; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 70px 28px 0; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 44px; padding-bottom: 56px; }
.footer__about { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .55); margin: 18px 0 0; max-width: 340px; text-wrap: pretty; }
.social { display: flex; gap: 12px; margin-top: 22px; }
.social a {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .75);
  transition: background .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer__col-title { font-family: var(--display); font-size: 12px; color: var(--yellow); letter-spacing: .1em; }
.footer__links { display: flex; flex-direction: column; gap: 11px; margin-top: 18px; }
.footer__links a, .footer address a { color: rgba(255, 255, 255, .65); font-size: 14px; }
.footer__links a:hover, .footer address a:hover { color: var(--yellow); }
.footer address { font-style: normal; }
.footer address a { display: block; line-height: 1.7; text-wrap: pretty; }
.footer address .addr { margin: 18px 0 0; }
.footer address .tel { font-weight: 600; color: rgba(255, 255, 255, .75); margin: 14px 0 0; }
.footer address .mail { margin: 6px 0 0; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  align-items: center; font-size: 13px; color: rgba(255, 255, 255, .4);
}
.footer__legal { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: center; }
.footer__legal button {
  border: none; background: none; cursor: pointer; font-size: 13px;
  color: rgba(255, 255, 255, .55); padding: 0;
}
.footer__legal button:hover { color: var(--yellow); }
.footer__legal .muted { color: rgba(255, 255, 255, .3); }

/* --- modals -------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(57, 57, 61, .6);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal[hidden] { display: none; }
.modal__box {
  position: relative; background: #fff; border-radius: 26px; width: min(480px, 100%);
  max-height: min(640px, 90vh); overflow: auto; box-shadow: var(--shadow-modal);
  animation: fadeUp .3s ease both;
}
.modal__box--wide { width: min(680px, 100%); max-height: 88vh; }
.modal__head { position: relative; background: var(--ink); padding: 28px 30px 24px; overflow: hidden; }
.modal__head--sticky {
  position: sticky; top: 0; z-index: 2; padding: 26px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.modal__mark { position: absolute; inset-inline-end: -28px; bottom: -38px; width: 150px; opacity: .16; transform: rotate(-8deg); }
.modal__head-row { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal__kicker { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--yellow); }
.modal__title { font-family: var(--display); font-size: 21px; color: #fff; margin: 12px 0 0; }
.modal__title--lg { font-size: 24px; margin-top: 10px; }
.modal__title--bare { margin: 0; font-size: 19px; }
.modal__sub { font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 7px; line-height: 1.6; }
.modal__close {
  border: none; background: rgba(255, 255, 255, .12); border-radius: 50%; width: 36px; height: 36px;
  cursor: pointer; font-size: 17px; color: #fff; line-height: 1; flex: none;
}
.modal__close:hover { background: var(--yellow); color: var(--ink); }
.modal__body { padding: 22px 26px 28px; }
.modal__body--legal { padding: 30px 32px 38px; }

.sub-list { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.sub-list li {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
  border-radius: 13px; padding: 13px 16px; background: var(--cream);
}
.sub-list i { flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--yellow); }
.sub-list span { font-size: 14px; font-weight: 600; color: var(--ink); }
.modal__cta {
  display: block; text-align: center; margin-top: 22px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 14px; padding: 14px; border-radius: 999px;
}
.modal__cta:hover { background: var(--yellow); color: var(--ink); }

.legal-sec { margin-bottom: 22px; }
.legal-sec h3 { font-weight: 700; font-size: 15.5px; color: var(--ink); margin: 0; }
.legal-sec p { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 8px 0 0; text-wrap: pretty; }
.legal-contact { border-top: 1px solid rgba(28, 28, 30, .1); padding-top: 18px; margin-top: 6px; font-size: 13px; color: var(--muted-2); line-height: 1.7; }

.partner-list { display: flex; flex-direction: column; gap: 14px; padding: 24px 26px 28px; }
.partner {
  position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  background: var(--cream); overflow: hidden; display: block;
  transition: border-color .2s, box-shadow .25s, transform .25s;
}
.partner:hover { border-color: var(--yellow); box-shadow: 0 16px 40px rgba(57, 57, 61, .12); transform: translateY(-2px); }
.partner__accent { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 4px; }
.partner--hq .partner__accent { background: var(--yellow); }
.partner--reg .partner__accent { background: var(--green); }
.partner--p .partner__accent { background: var(--blue); }
.partner__top { display: flex; align-items: center; gap: 14px; }
.partner__body { flex: 1; min-width: 0; }
.partner__logo { height: 32px; width: auto; max-width: 190px; object-fit: contain; display: block; margin-bottom: 9px; }
.partner__logo--hq { height: 50px; }
.partner__name { font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.3; }
.partner__tag {
  display: inline-block; margin-top: 8px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; padding: 4px 10px; border-radius: 999px;
}
.partner--hq .partner__tag { background: var(--yellow); color: var(--ink); }
.partner--reg .partner__tag { background: rgba(23, 166, 122, .14); color: #0f7d5b; }
.partner--p .partner__tag { background: rgba(0, 80, 224, .1); color: var(--blue); }
.partner__go {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--yellow);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.partner__contact {
  display: flex; flex-direction: column; gap: 8px; margin-top: 16px;
  border-top: 1px dashed rgba(57, 57, 61, .14); padding-top: 14px;
}
.partner__contact a { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-soft); width: fit-content; }
.partner__contact a:hover { color: var(--blue); }
.partner__contact i {
  flex: none; width: 24px; height: 24px; border-radius: 7px; background: #fff;
  border: 1px solid rgba(57, 57, 61, .1); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-style: normal;
}

/* --- features page ------------------------------------------------------- */
.fpage-hero { background: var(--ink); position: relative; overflow: hidden; }
.fpage-hero__mark { position: absolute; inset-inline-end: -40px; bottom: -70px; width: 280px; opacity: .12; transform: rotate(-8deg); }
.fpage-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 64px 28px 56px; }
.fpage-hero .h1 { font-size: 36px; line-height: 1.3; margin: 18px 0 0; color: #fff; max-width: 760px; }
.fpage-back { margin-inline-start: auto; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.fpage-back:hover { color: var(--blue); }

.fgrid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.flist { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 84px; }
.fsearch { position: relative; }
.fsearch::before {
  content: "⌕"; position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%);
  font-size: 14px; color: var(--muted-2); pointer-events: none;
}
.fsearch input {
  width: 100%; border: 1.5px solid rgba(57, 57, 61, .14); border-radius: 14px;
  padding: 14px 16px; padding-inline-start: 38px; font-size: 14px; background: #fff; outline: none;
}
.fsearch input:focus { border-color: var(--blue); }
.fno-results { font-size: 13.5px; color: var(--muted-2); padding: 14px 6px; text-align: center; }
.fno-results[hidden] { display: none; }

.fgroup { border: 1px solid rgba(57, 57, 61, .1); border-radius: 16px; background: #fff; overflow: hidden; }
.fgroup[hidden] { display: none; }
.fgroup__btn {
  display: flex; align-items: center; gap: 11px; width: 100%; border: none; background: #fff;
  cursor: pointer; padding: 15px 18px; text-align: start;
}
.fgroup__sq { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.fgroup__title { flex: 1; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--ink); }
.fgroup__count { font-family: var(--display); font-size: 10.5px; color: var(--yellow-ink); }
.fgroup__chev { font-size: 11px; color: var(--muted-2); transition: transform .2s; }
.fgroup__btn[aria-expanded="true"] .fgroup__chev { transform: rotate(180deg); }
.fgroup__items { display: flex; flex-direction: column; gap: 6px; padding: 2px 10px 12px; }
.fgroup__items[hidden] { display: none; }
.fitem {
  display: flex; align-items: center; gap: 11px; width: 100%; border: none; background: transparent;
  cursor: pointer; border-radius: 11px; padding: 11px 14px; text-align: start; color: var(--ink);
}
.fitem:hover { background: rgba(57, 57, 61, .05); }
.fitem[aria-current="true"] { background: var(--ink); color: #fff; }
.fitem[hidden] { display: none; }
.fitem__num { font-family: var(--display); font-size: 10.5px; color: var(--yellow-ink); }
.fitem[aria-current="true"] .fitem__num { color: var(--yellow); }
.fitem__title { font-weight: 600; font-size: 14px; }

.fdetail { background: #fff; border: 1px solid rgba(57, 57, 61, .09); border-radius: 24px; overflow: hidden; }
.fdetail__panel { animation: fadeUp .3s ease both; padding: 36px 40px 40px; }
.fdetail__panel[hidden] { display: none; }
.fdetail__group { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; color: var(--blue); }
.fdetail__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.fdetail__num { background: var(--yellow); border-radius: 8px; padding: 6px 12px; font-family: var(--display); font-size: 12px; color: var(--ink); }
.fdetail__title { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0; }
.fdetail__desc { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 22px 0 0; text-wrap: pretty; }
.fdetail__bullets { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 0; list-style: none; padding: 0; }
.fdetail__bullets li { display: flex; gap: 12px; align-items: flex-start; }
.fdetail__bullets i {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--yellow);
  display: flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 2px; font-style: normal;
}
.fdetail__bullets span { font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* --- RTL ----------------------------------------------------------------- */
/* "TROPHY ERP" is a wordmark, not a sentence — keep its parts in Latin order. */
[dir="rtl"] .brand { direction: ltr; }
[dir="rtl"] .hero__bg { transform: scaleX(-1); }
[dir="rtl"] .hero__veil {
  background: linear-gradient(270deg, rgba(28, 28, 30, .94) 0%, rgba(28, 28, 30, .86) 34%, rgba(28, 28, 30, .55) 60%, rgba(28, 28, 30, .15) 100%);
}
[dir="rtl"] .marquee__track { animation-direction: reverse; }
/* The Türkiye map is geographic — keep it and its pins in LTR space. */
[dir="rtl"] .map-inner { direction: ltr; }

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; margin-inline-start: auto; }
  .fab { display: block; }
  .panel__inner { padding: 44px 30px; }
  .demo { padding: 44px 30px; }
}

@media (max-width: 820px) {
  .mcp-desk { display: none; }
  .mcp-mob { display: block; }
}

@media (max-width: 640px) {
  .tech-grid { grid-template-columns: 1fr; gap: 14px; }
  .tech-card { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; }
  .tech-card__cat { flex: none; width: 96px; }
  .tech-card__chip { height: 52px; padding: 0; justify-content: flex-start; }
  .tech-card__img { height: 34px; }
  .tech-card__img--big { height: 40px; }
  .tech-card__name { font-size: 22px; }
}

@media (max-width: 900px) {
  .fgrid { grid-template-columns: 1fr; }
  .flist { position: static; }
}

@media (max-width: 820px) {
  .section, .section--tight { padding-block: 72px; }
  .h1 { font-size: 31px; }
  .h2, .h2--sm { font-size: 24px; }
  .feat-grid { grid-template-columns: 1fr; }
  .fpage-hero .h1 { font-size: 26px; }
  .fdetail__panel { padding: 28px 24px 32px; }
  .demo__card { padding: 26px; }
}

@media (max-width: 640px) {
  .wrap, .hero__inner, .footer__inner { padding-inline: 20px; }
  /* The bar is nowrap, so brand + lang + support + burger must fit inside 320px
     of usable width. Tighten every part rather than let the burger overflow. */
  .header__bar { padding: 10px 16px; gap: 9px; }
  .brand img { height: 30px; }
  .brand__name, .brand__erp { font-size: 16px; }
  .lang__btn { padding: 8px 10px; gap: 6px; }
  .icon-btn { width: 36px; height: 36px; }
  .h1 { font-size: 26px; }
  .hero__bg {
    background-image: url('/assets/hero-fabrika-sm.jpg');
    background-size: cover; background-position: 75% 20%;
  }
  .hero__veil,
  [dir="rtl"] .hero__veil {
    background: linear-gradient(180deg, rgba(28, 28, 30, .55) 0%, rgba(28, 28, 30, .8) 55%, rgba(28, 28, 30, .93) 100%);
  }
  .stats__grid { grid-template-columns: 1fr; gap: 30px; }
  .map-wrap { display: none; }
  .city-list { display: flex; }
  .panel__inner, .demo { padding: 32px 22px; }
  .shot__badge { position: static; display: inline-block; margin-top: 14px; }
  .modal { padding: 14px; }
  .footer__bar { justify-content: flex-start; }
}

@media (max-width: 340px) {
  /* Below ~340px the nowrap header bar can no longer fit the wordmark plus the
     language, support and menu controls — drop to the emblem alone. */
  .header .brand__name, .header .brand__erp { display: none; }
}
