:root {
  --bg: #07110d;
  --bg-2: #0c1a14;
  --surface: #11231b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef5f1;
  --muted: #9fb3a9;
  --accent: #2ee59d;
  --accent-2: #13b77a;
  --radius: 20px;
  --max: 1240px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

.hl { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #04130c; }
.btn--primary:hover { background: #5cf0b6; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.25); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 17, 13, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; }
.logo__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04130c; font-size: 16px;
}
.logo__dot { color: var(--accent); }

.nav { flex: 1; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  font: 500 15px var(--font); color: var(--text); background: none; border: 0; cursor: pointer;
  white-space: nowrap;
}
.nav__link:hover { background: rgba(255, 255, 255, 0.06); }
.chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item--mega:hover .mega,
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.nav__item--mega:hover .chev,
.nav__item--mega.is-open .chev { transform: rotate(-135deg); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 32px; padding-block: 36px; }
.mega__col { display: flex; flex-direction: column; gap: 10px; }
.mega__col a { color: var(--muted); font-size: 15px; transition: color .2s; }
.mega__col a:hover { color: var(--accent); }
.mega__title { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  padding: 6px 12px; border-radius: 999px; font-size: 13px;
  background: rgba(46, 229, 157, 0.08); border: 1px solid rgba(46, 229, 157, 0.2); color: #c9f5e2;
}

.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font: 500 13px var(--mono); }
.lang a { padding: 5px 10px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="page"] { background: rgba(46, 229, 157, 0.14); color: var(--accent); }

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 90px; }
.hero__glow {
  position: absolute; inset: -30% -10% auto auto; width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(46, 229, 157, 0.28), transparent 60%);
  filter: blur(40px); pointer-events: none;
}
.hero__inner { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(46, 229, 157, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46, 229, 157, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 229, 157, 0); } }

.hero__title { font-size: clamp(48px, 8vw, 104px); margin: 28px 0 24px; font-weight: 700; }
.hero__title em { font-style: normal; background: linear-gradient(90deg, var(--accent), #a8ffd9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 640px; font-size: clamp(17px, 2vw, 21px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.trusted { margin-top: 88px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.trusted__label { color: var(--muted); font-size: 14px; }
.trusted__list { display: flex; flex-wrap: wrap; gap: 14px 40px; list-style: none; padding: 0; margin: 0; }
.trusted__list li { font-family: var(--display); font-weight: 600; font-size: 19px; color: rgba(238, 245, 241, 0.55); transition: color .2s; }
.trusted__list li:hover { color: var(--text); }

/* Sections */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-2); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.section__title { font-size: clamp(34px, 4.5vw, 56px); max-width: 760px; }
.section__sub { color: var(--muted); max-width: 380px; }
.link-arrow { color: var(--accent); font-weight: 600; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, border-color .3s; }
.case:hover { transform: translateY(-6px); border-color: rgba(46, 229, 157, 0.35); }
.case--terrops { grid-column: span 2; }
.case--fanzone .case__visual { background: linear-gradient(135deg, #1e3a8a, #0a1230); }
.case--next { background: linear-gradient(135deg, rgba(46, 229, 157, 0.16), rgba(46, 229, 157, 0.03)); border-style: dashed; border-color: rgba(46, 229, 157, 0.4); }
.case--next .case__link { justify-content: center; gap: 16px; padding: 36px; }
.case--next h3 { font-size: 30px; }
.case--next p { color: var(--muted); }
.case__link { display: flex; flex-direction: column; height: 100%; }
.case__visual { position: relative; display: grid; place-items: center; min-height: 260px; overflow: hidden; }
.case__meta { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.case__meta h3 { font-size: 23px; }
.case__meta p { color: var(--muted); font-size: 15px; }
.tag { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }

.case--terrops .case__visual { background: radial-gradient(circle at 30% 20%, #1f6b4d, #0b2a1d 70%); }
.case--immo .case__visual { background: linear-gradient(135deg, #1b3b6f, #0b1730); }
.case--ats .case__visual { background: linear-gradient(135deg, #4b2a7a, #1a0f2e); }
.case--yalla .case__visual { background: linear-gradient(135deg, #8a4a12, #2b1606); }
.case--pos .case__visual { background: linear-gradient(135deg, #7a1f3a, #2a0a14); }
.case--enjoy .case__visual { background: linear-gradient(135deg, #0f6a6a, #062626); }

.mock { width: min(80%, 520px); background: rgba(7, 17, 13, 0.85); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); transform: rotate(-2deg); transition: transform .4s; }
.case:hover .mock { transform: rotate(0) scale(1.03); }
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.mock__body { padding: 20px; display: grid; gap: 16px; }
.mock__kpi { display: flex; justify-content: space-between; align-items: center; }
.mock__kpi span { font-family: var(--mono); font-size: 12px; color: var(--accent); background: rgba(46, 229, 157, 0.12); padding: 4px 10px; border-radius: 999px; }
.mock__rows { display: grid; gap: 10px; }
.mock__rows span { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.mock__rows span:nth-child(2) { width: 75%; }
.mock__rows span:nth-child(3) { width: 55%; }

.big-stat { text-align: center; }
.big-stat b { display: block; font-family: var(--display); font-size: 64px; }
.big-stat span { color: #b9cdf5; }

.score { position: relative; width: 140px; height: 140px; display: grid; place-items: center; }
.score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.score path { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 3; }
.score .score__fill { stroke: #c9a8ff; stroke-dasharray: 87 100; stroke-linecap: round; }
.score b { font-family: var(--display); font-size: 44px; }

.tenants, .pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 20px; }
.tenants span, .pills span { padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); font-weight: 500; }
.pills span { border-radius: 999px; }

.receipt { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; padding: 22px 26px; background: #fdf6ec; color: #2a0a14; border-radius: 6px; font-family: var(--mono); font-size: 14px; transform: rotate(3deg); }
.receipt b { border-top: 1px dashed #2a0a14; padding-top: 8px; }

/* Mobile app */
.mobile { background: radial-gradient(ellipse at 75% 50%, rgba(46, 229, 157, 0.18), transparent 55%), var(--bg); overflow: hidden; }
.mobile__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.mobile__content { display: flex; flex-direction: column; gap: 22px; }
.mobile__lead { color: var(--muted); font-size: 18px; max-width: 560px; }
.mobile__features { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 18px; }
.mobile__features li { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid var(--accent); }
.mobile__features b { font-family: var(--display); font-size: 18px; }
.mobile__features span { color: var(--muted); font-size: 15px; }
.mobile__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.store-btn {
  display: inline-flex; flex-direction: column; line-height: 1.15; padding: 10px 22px; border-radius: 14px;
  background: #fff; color: #000; transition: transform .2s;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn small { font-size: 11px; }
.store-btn b { font-size: 18px; font-weight: 600; }

.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 270px; height: 550px; padding: 12px; border-radius: 46px;
  background: #0d0f0e; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 2px #1d2320;
}
.phone--front { left: 50%; top: 20px; transform: translateX(-30%) rotate(4deg); z-index: 2; }
.phone--back { left: 50%; top: 60px; transform: translateX(-100%) rotate(-8deg); opacity: .75; }
.phone__notch { position: absolute; top: 22px; left: 50%; width: 90px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 1; }
.phone__screen {
  height: 100%; border-radius: 36px; padding: 60px 18px 22px; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  background: linear-gradient(180deg, #102a1f, #0a1712);
}
.phone--back .phone__screen { padding-top: 36px; background: linear-gradient(180deg, #13213a, #0a1220); }
.app__top { display: flex; flex-direction: column; }
.app__top span { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.app__top b { font-family: var(--display); font-size: 20px; }
.phone__screen > * { flex-shrink: 0; }
.app__score { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 130px; height: 130px; margin: 0 auto; text-align: center; }
.app__score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.app__score path { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 3; }
.app__score .app__score-fill { stroke: var(--accent); stroke-dasharray: 82 100; stroke-linecap: round; }
.app__score b { font-family: var(--display); font-size: 38px; line-height: 1; }
.app__score small { font-size: 10px; color: var(--muted); margin-top: 6px; }
.app__checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.app__checks li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 14px; }
.app__checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); }
.app__checks li.ok::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #0f2a1f; }
.app__btn { margin-top: auto; text-align: center; padding: 12px; border-radius: 14px; background: var(--accent); color: #04130c; font-weight: 600; font-size: 14px; }
.app__card { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }
.app__card span { font-weight: 600; font-size: 14px; }
.app__card small { color: var(--muted); font-size: 12px; }
.app__card--warn { border-left: 3px solid #ffb547; }
.app__shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.app__shots i { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, #2b4a7a, #1a2b48); }
.app__shots i:nth-child(2) { background: linear-gradient(135deg, #5a4a2b, #2e2414); }
.app__shots i:nth-child(3) { background: linear-gradient(135deg, #3a5a4a, #1b2e25); }

.phone { overflow: hidden; }
.phone__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; background: #fff; }

/* Real screenshots */
.case__visual--shot { padding: 28px 28px 0; align-items: end; }
.browser {
  width: 100%; border-radius: 12px 12px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35); transform: translateY(8px); transition: transform .4s;
}
.case:hover .browser { transform: translateY(0); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef1ef; border-bottom: 1px solid #dfe4e1; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9cfcc; }
.browser__bar i:nth-child(1) { background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: #fff; color: #5b6560; font: 500 11px var(--mono); }
.browser img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case--terrops .browser img { aspect-ratio: 16 / 9; }

.case__visual--tablet { padding: 28px; }
.tablet { width: min(62%, 240px); padding: 10px; border-radius: 22px; background: #0d0f0e; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); transform: rotate(-4deg); transition: transform .4s; }
.case:hover .tablet { transform: rotate(0) scale(1.03); }
.tablet img { display: block; width: 100%; border-radius: 14px; }

/* Logos */
.logos { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.logos li { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f4f7f5; transition: transform .2s; }
.logos li:hover { transform: translateY(-2px); }
.logos img { width: 20px; height: 20px; object-fit: contain; }
.logos--lg li { width: 46px; height: 46px; border-radius: 12px; }
.logos--lg img { width: 26px; height: 26px; }

.techs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.tech { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: border-color .2s; }
.tech:hover { border-color: rgba(46, 229, 157, 0.4); }
.tech img { flex-shrink: 0; width: 30px; height: 30px; padding: 5px; border-radius: 8px; background: #f4f7f5; object-fit: contain; }

.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--bg-2); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0 20px; }
.marquee li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.marquee img { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #f4f7f5; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--bg-2); padding: 36px 30px; display: flex; flex-direction: column; gap: 14px; transition: background .3s; }
.service:hover { background: var(--surface); }
.service__num { font-family: var(--mono); color: var(--accent); font-size: 14px; }
.service h3 { font-size: 22px; }
.service p { color: var(--muted); font-size: 15px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 32px 0; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: clamp(44px, 5vw, 68px); color: var(--accent); line-height: 1; margin-bottom: 16px; }
.stat p { color: var(--muted); }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.member { display: flex; flex-direction: column; gap: 20px; padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.member:hover { border-color: rgba(46, 229, 157, 0.35); }
.member__head { display: flex; align-items: center; gap: 18px; }
.member__avatar {
  position: relative; overflow: hidden;
  flex-shrink: 0; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px rgba(46, 229, 157, 0.5);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04130c;
  font-family: var(--display); font-weight: 700; font-size: 22px;
}
.member__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__avatar--alt { background: linear-gradient(135deg, #8fb8ff, #4a6fd8); color: #050c1f; }
.member h3 { font-size: 24px; }
.member__role { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-top: 6px; }
.member__bio { color: var(--muted); }
.member__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.member__facts li { position: relative; padding-left: 22px; font-size: 15px; }
.member__facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.member .link-arrow { margin-top: auto; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline__item { display: grid; grid-template-columns: 220px 1fr; gap: 8px 40px; padding: 32px 0; border-top: 1px solid var(--line); }
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__date { font-family: var(--mono); font-size: 14px; color: var(--accent); grid-row: span 2; padding-top: 4px; }
.timeline__item h3 { font-size: 22px; }
.timeline__item p { color: var(--muted); max-width: 720px; }

/* Why */
.why { padding: 110px 0; background: radial-gradient(ellipse at 80% 50%, rgba(46, 229, 157, 0.22), transparent 60%), var(--bg); }
.why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why__lead { margin-top: 24px; color: var(--muted); font-size: 18px; max-width: 520px; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why__grid div { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.why__grid b { display: block; font-family: var(--display); font-size: 44px; }
.why__grid span { color: var(--muted); }

/* Stack */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stack__group { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stack__group h3 { font-size: 18px; margin-bottom: 18px; }

/* CTA */
.cta { padding: 120px 0; background: linear-gradient(135deg, #0f3d2a, #07110d 70%); border-top: 1px solid var(--line); }
.cta__inner { text-align: center; }
.cta h2 { font-size: clamp(32px, 4.5vw, 58px); max-width: 920px; margin: 0 auto 16px; }
.cta__lead { color: #c9ddd4; max-width: 640px; margin: 0 auto 40px; font-size: 17px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

.qualify {
  position: relative; text-align: left; max-width: 860px; margin: 0 auto;
  padding: 32px; border-radius: 24px;
  background: rgba(7, 17, 13, 0.55); border: 1px solid rgba(255, 255, 255, 0.1);
}
.qualify__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qualify label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: #d7ebe2; }
.qualify input, .qualify select, .qualify textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0c1a14; color: var(--text); font: 400 15px var(--font);
}
.qualify select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9fb3a9 50%), linear-gradient(135deg, #9fb3a9 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.qualify textarea { resize: vertical; min-height: 110px; }
.qualify input:focus, .qualify select:focus, .qualify textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.qualify__full { grid-column: 1 / -1; }
.qualify__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qualify__consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); margin: 18px 0 8px; }
.qualify__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.qualify__consent a { color: var(--accent); text-decoration: underline; }
.qualify__status { min-height: 1.4em; font-size: 14px; margin: 8px 0 16px; }
.qualify__status.is-ok { color: var(--accent); }
.qualify__status.is-err { color: #ffb4b4; }
.qualify__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qualify .btn { cursor: pointer; border: 0; }

/* Footer */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer__grid a:not(.logo), .footer__grid span { color: var(--muted); font-size: 15px; }
.footer__grid a:not(.logo):hover { color: var(--accent); }
.footer__text { color: var(--muted); font-size: 15px; margin-top: 12px; }
.footer__title { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.legal { padding: 72px 0 120px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p { color: var(--muted); max-width: 720px; margin-bottom: 12px; }
.legal b { color: var(--text); font-weight: 600; }
.legal__back { margin-top: 56px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse, .marquee__track { animation: none; }
}

/* Responsive */
@media (max-width: 1240px) {
  .header__cta { display: none; }
}

@media (max-width: 1024px) {
  .header__cta { display: none; }
  .lang { margin-left: auto; }
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 76px 0 0; background: var(--bg); padding: 24px;
    overflow-y: auto; transform: translateX(100%); transition: transform .3s;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { width: 100%; justify-content: space-between; font-size: 20px; padding: 16px 8px; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; }
  .nav__item--mega:hover .mega { display: none; }
  .nav__item--mega.is-open .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr; padding: 8px 8px 24px; gap: 24px; }
  .mega .container { width: 100%; }

  .cases { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stack { grid-template-columns: repeat(2, 1fr); }
  .why__inner, .mobile__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .hero { padding: 80px 0 64px; }
  .section, .why, .cta { padding: 80px 0; }
  .cases, .stack, .team { grid-template-columns: 1fr; }
  .member { padding: 28px; }
  .member__avatar { width: 84px; height: 84px; }
  .phones { height: 520px; transform: scale(.85); transform-origin: top center; }
  .case--terrops { grid-column: auto; }
  .timeline__item { grid-template-columns: 1fr; }
  .timeline__date { grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .trusted { margin-top: 64px; }
  .qualify { padding: 22px; }
  .qualify__grid { grid-template-columns: 1fr; }
}
