/* ==========================================================
   Recutify — single-page site
   ========================================================== */
:root {
  --bg: #e9eaee;
  --surface: #ffffff;
  --tint: #f5f6f9;
  --ink: #16191f;
  --ink-2: #2a2f3a;
  --muted: #7b8597;
  --line: #e6e8ee;
  --line-2: #d9dce4;
  --blue: #1570ff;
  --blue-600: #0d5ee6;
  --blue-50: #eaf2ff;
  --green: #2f9e7d;
  --orange: #f25418;
  --navy: #1b4fa8;
  --pink: #ec9de9;
  --forest: #0f4a3a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .12);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(21, 112, 255, .3); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Common ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue);
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(21, 112, 255, .18); }
.eyebrow--light { background: rgba(255, 255, 255, .12); color: #fff; }
.eyebrow--light .dot { box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.muted { color: var(--muted); font-weight: 400; }
.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.section { padding: 110px 0; position: relative; }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; margin: 18px 0 16px; }
.section__head p { color: var(--muted); font-size: 18px; }
.section__head--left { text-align: left; margin: 0; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.card h3 { font-size: 22px; margin: 20px 0 10px; }
.card p { color: var(--muted); }
.card--dark { background: var(--ink); color: #fff; border-color: var(--ink); }

.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--blue { background: #e7f0ff; color: var(--blue); }
.icon--orange { background: #ffece4; color: var(--orange); }
.icon--green { background: #e3f5ef; color: var(--green); }
.icon--pink { background: #fcebfb; color: #c04dbb; }
.icon--navy { background: #e6edf9; color: var(--navy); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner {
  max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand__mark { width: 26px; height: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; transform: rotate(45deg); }
.brand__mark i { background: var(--blue); border-radius: 50% 50% 50% 0; }
.brand__mark i:nth-child(2) { border-radius: 50% 50% 0 50%; }
.brand__mark i:nth-child(3) { border-radius: 50% 0 50% 50%; }
.brand__mark i:nth-child(4) { border-radius: 0 50% 50% 50%; }

.nav__links { display: flex; gap: 4px; margin: 0 auto; padding: 5px; border-radius: 999px; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--tint); }
.nav__links a.is-active { background: var(--ink); color: #fff; }
.nav__cta { height: 44px; }

.nav__toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-2); border-radius: 50%;
  background: #fff; cursor: pointer; position: relative;
}
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute; top: var(--nav-h); left: 12px; right: 12px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
  animation: menuIn .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.mobile-menu a:not(.btn):hover { background: var(--tint); }
.mobile-menu .btn { margin-top: 8px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; padding: calc(var(--nav-h) + 48px) 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -120px; z-index: 0;
  background: radial-gradient(closest-side, rgba(21, 112, 255, .10), transparent);
  pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
/* grid children may shrink below their content width, so long words never push a column off-screen */
.hero__grid > *, .about > *, .strengths > *, .services > *, .process > *, .industries > *,
.stats > *, .cases > *, .faq > *, .contact > *, .footer__grid > *, .form__row > * { min-width: 0; }
.hero__copy { container-type: inline-size; }
/* sized to the text column (not the window) so "just recruit" always fits */
.hero__title { margin: 24px 0 26px; font-size: clamp(34px, 12.5cqi, 80px); letter-spacing: -.025em; line-height: 1.1; word-spacing: .04em; }
.hero__title span { display: block; }
.hero__title span + span { margin-top: .06em; }
.t-bold { font-weight: 800; }
.t-light { font-weight: 300; color: var(--muted); }
.t-light em { font-style: normal; font-weight: 700; color: var(--blue); }
.hero__sub { font-size: 19px; color: #5b6475; max-width: 470px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__stats { display: flex; align-items: center; gap: 28px; margin-top: 48px; }
.hero__stat { display: flex; align-items: center; gap: 12px; }
.hero__stat strong { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.hero__stat span { font-size: 14px; color: var(--muted); line-height: 1.3; }
.hero__divider { width: 1px; height: 40px; background: var(--line-2); }

/* ---------- Flow card ---------- */
.flow {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 40px 28px 40px; border-radius: 32px; background: var(--tint); border: 1px solid var(--line-2);
}
.flow__cluster {
  position: relative; width: 210px; height: 210px; border-radius: 50%;
  background: #e8eaf0; border: 1px solid var(--line-2); margin-bottom: -26px;
}
.avatar {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  border: 2px solid #fff; box-shadow: 0 4px 10px rgba(16, 24, 40, .12);
  animation: bob 4s ease-in-out infinite;
}
.avatar svg { width: 100%; height: 100%; }
@keyframes bob { 50% { transform: translateY(-5px); } }

.flow__node {
  position: relative; z-index: 2; padding: 14px 26px; border-radius: 999px; background: #fff;
  font-weight: 600; font-size: 14.5px; box-shadow: 0 6px 18px rgba(16, 24, 40, .08); border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px;
}
.flow__node:not(.flow__node--top) { border-radius: 16px; padding: 18px 30px; }
.flow__node--done svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.flow__arrow { position: relative; width: 2px; height: 34px; background: var(--line-2); }
.flow__arrow::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px;
  border-right: 2px solid var(--line-2); border-bottom: 2px solid var(--line-2);
  transform: translate(-50%, 0) rotate(45deg);
}
.flow__pulse {
  position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px rgba(21, 112, 255, .2);
  animation: pulseDown 2.4s var(--ease) infinite;
}
@keyframes pulseDown { 0% { top: -4px; opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { top: 26px; opacity: 0; } }

.flow__engine {
  position: relative; width: 100%; max-width: 420px; padding: 44px 20px 24px; margin-top: 22px;
  border-radius: 999px / 120px; background: #fff; border: 1px solid var(--line-2);
}
.flow__engine-tag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 14px 26px; border-radius: 18px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: 14.5px; white-space: nowrap; box-shadow: 0 10px 24px rgba(16, 24, 40, .22);
}
.flow__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill {
  padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff;
  transition: transform .25s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill--green { background: var(--green); }
.pill--blue { background: #4a7fe0; }
.pill--orange { background: var(--orange); }
.pill--navy { background: var(--navy); }
.pill--pink { background: var(--pink); color: #5c1f59; }
.pill--forest { background: var(--forest); }
.pill.is-lit { animation: lit 1.2s var(--ease); }
@keyframes lit { 30% { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(21, 112, 255, .18); } }

/* ---------- Trust / marquee ---------- */
.trust { position: relative; z-index: 1; display: flex; align-items: center; gap: 32px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.trust__label { display: flex; align-items: center; gap: 12px; flex: none; }
.trust__label strong { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.trust__label span { font-size: 14px; color: var(--muted); line-height: 1.3; }
.marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { padding: 0 26px; font-size: 22px; font-weight: 700; color: #a3abba; letter-spacing: -.02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   ABOUT
   ========================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.about__founded { display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: radial-gradient(120% 90% at 100% 0%, #1d3d7a 0%, var(--ink) 55%); }
.about__founded .label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #9fb4da; }
.about__founded strong { font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.about__founded p { color: #b7c0d0; }
.about__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.about__badges span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 500; }

.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.strength { padding: 28px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.strength:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.strength h4 { font-size: 18px; margin: 18px 0 8px; }
.strength p { color: var(--muted); font-size: 15px; }

/* ==========================================================
   SERVICES (tabs)
   ========================================================== */
.services { display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: stretch; }
.services__tabs { display: flex; flex-direction: column; gap: 8px; }
.tab {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; text-align: left;
  border-radius: 18px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-weight: 600; font-size: 15.5px; transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.tab .icon { width: 40px; height: 40px; border-radius: 12px; }
.tab .icon svg { width: 20px; height: 20px; }
.tab__chev { margin-left: auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .35; transition: transform .25s var(--ease), opacity .25s; }
.tab:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 12px 28px rgba(16, 24, 40, .18); }
.tab[aria-selected="true"] .tab__chev { opacity: 1; transform: translateX(3px); }

.services__panel {
  position: relative; overflow: hidden; padding: 44px; border-radius: 28px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); min-height: 100%;
}
.services__panel::after {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(21, 112, 255, .10), transparent); pointer-events: none;
}
.panel { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.panel__num { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .1em; }
.panel h3 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 14px; }
.panel > p { font-size: 17px; color: #5b6475; max-width: 560px; }
.panel__label { margin: 32px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.panel__features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel__features li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--tint);
  font-weight: 500; font-size: 15px;
}
.check { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); }
.check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.panel__cta { margin-top: 32px; }

/* ==========================================================
   PROCESS
   ========================================================== */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step {
  position: relative; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .3s var(--ease);
}
.step:hover { transform: translateY(-4px); }
.step__num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 18px;
}
.step:nth-child(2) .step__num { background: var(--ink); color: #fff; }
.step:nth-child(3) .step__num { background: #e3f5ef; color: var(--green); }
.step h3 { font-size: 21px; margin: 22px 0 10px; }
.step p { color: var(--muted); }
.step__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.step__tags span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }

/* ==========================================================
   INDUSTRIES
   ========================================================== */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  position: relative; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.industry h4 { font-size: 17px; margin: 18px 0 6px; }
.industry p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.more {
  margin-top: 16px; padding: 28px 32px; border-radius: 22px; background: #fff; border: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.more__head h3 { font-size: 20px; margin-bottom: 4px; }
.more__head p { color: var(--muted); font-size: 15px; }
.more__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 620px; }
.more__chips span { padding: 8px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; cursor: default; }

/* ==========================================================
   RESULTS
   ========================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: #fff; }
.stat { padding: 40px 28px; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-size: clamp(40px, 5vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-size: 15px; }
.stat:nth-child(1) strong { color: var(--blue); }

.cases {
  margin-top: 20px; padding: 40px; border-radius: 26px; background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background-image: radial-gradient(80% 120% at 0% 100%, rgba(21, 112, 255, .35), transparent 60%);
}
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 600; }
.cases h3 { font-size: 28px; margin: 16px 0 10px; }
.cases p { color: #b7c0d0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding: 14px 16px 14px 48px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq .section__head h2 { font-size: clamp(32px, 4vw, 48px); }
.faq__list { display: grid; gap: 12px; }
details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
details[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font-weight: 600; font-size: 16.5px;
}
summary::-webkit-details-marker { display: none; }
summary::after, summary::before {
  content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease);
}
summary::before { transform: rotate(90deg); }
details[open] summary::before { transform: rotate(0deg); }
details p { padding: 0 24px 22px; color: var(--muted); }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: 32px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.contact__info {
  padding: 52px; color: #fff; background: var(--blue);
  background-image: radial-gradient(120% 80% at 100% 0%, #4d93ff 0%, transparent 55%), radial-gradient(90% 70% at 0% 100%, #0b49c0 0%, transparent 60%);
  display: flex; flex-direction: column;
}
.contact__info h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 20px 0 14px; }
.contact__info > p { color: rgba(255, 255, 255, .82); font-size: 17px; }
.contact__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s; }
.contact__list li:hover { background: rgba(255, 255, 255, .16); }
.contact__list small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.contact__list a { font-weight: 600; word-break: break-word; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--blue); }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form { padding: 52px; display: grid; gap: 18px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 600; }
.field b { color: var(--orange); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--tint);
  font-size: 15.5px; transition: border-color .2s, background .2s, box-shadow .2s; outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%2316191f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(21, 112, 255, .14); }
.field__err { display: none; font-style: normal; font-size: 13px; color: #d92d20; }
.field.has-error input, .field.has-error textarea { border-color: #d92d20; background-color: #fff; }
.field.has-error .field__err { display: block; }
.form__note { font-size: 14px; color: var(--green); min-height: 1.4em; text-align: center; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--ink); color: #c4cad6; padding: 72px 0 0; }
.footer .brand { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { margin-top: 16px; max-width: 300px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; }
.footer__grid a { transition: color .2s; word-break: break-word; }
.footer__grid a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .nav__links a { padding: 8px 11px; font-size: 14px; }
  .services { grid-template-columns: 300px 1fr; }
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav { background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { text-align: left; }
  .flow { max-width: 520px; width: 100%; margin: 0 auto; }

  .about { grid-template-columns: 1fr 1fr; }
  .about__founded { grid-column: 1 / -1; }

  .services { grid-template-columns: 1fr; }
  .services__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .services__tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; width: auto; scroll-snap-align: start; padding: 10px 16px 10px 10px; }
  .tab__chev { display: none; }

  .process { grid-template-columns: 1fr; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .cases { grid-template-columns: 1fr; }
  .more { flex-direction: column; align-items: flex-start; }
  .more__chips { justify-content: flex-start; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav__inner { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  .section__head p { font-size: 16.5px; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero__sub { font-size: 17px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__stats { gap: 18px; }
  .hero__stat strong { font-size: 34px; }

  .flow { padding: 28px 14px; border-radius: 26px; }
  .flow__cluster { width: 180px; height: 180px; }
  .avatar { width: 40px; height: 40px; }
  .flow__engine { border-radius: 36px; padding: 40px 12px 20px; }
  .pill { font-size: 12px; padding: 7px 12px; }

  .trust { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 56px; }
  .marquee { width: 100%; }
  .marquee__track span { font-size: 18px; padding: 0 18px; }

  .about { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: 1fr; }
  .card, .strength, .step { padding: 24px; }

  .services__panel { padding: 28px 22px; border-radius: 22px; }
  .panel__features { grid-template-columns: 1fr; }
  .panel__cta { width: 100%; }

  .industries { grid-template-columns: 1fr 1fr; gap: 12px; }
  .industry { padding: 20px; }
  .industry p { font-size: 13.5px; }
  .more { padding: 22px; }

  .stat { padding: 28px 20px; }
  .cases { padding: 28px 22px; gap: 28px; }

  .contact { border-radius: 24px; }
  .contact__info, .form { padding: 32px 22px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

@media (max-width: 380px) {
  .industries { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; align-items: flex-start; }
  .hero__divider { display: none; }
}

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