/* ===== Reset & tokens ===== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --ink: #111111;
  --gray: #6b6b6b;
  --line: #e6e6e6;
  --paper: #ffffff;
  --soft: #f5f5f5;
  --maxw: 1160px;
  --pad: 24px;
  --r: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1.5px solid var(--black);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--black); color: #fff; }
.btn--solid:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 34px; font-size: 18px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand__role { font-size: 11px; font-weight: 500; color: var(--gray); text-transform: uppercase; letter-spacing: 0.14em; }

.nav { display: flex; gap: 30px; }
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--black);
  transition: width 0.25s var(--ease);
}
.nav__link:hover { color: var(--black); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 6px; }
.lang__btn {
  background: none; border: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--gray); padding: 2px 2px;
  transition: color 0.2s var(--ease);
}
.lang__btn.is-active { color: var(--black); }
.lang__btn:hover { color: var(--black); }
.lang__sep { color: var(--line); font-size: 13px; }

/* ===== Hero ===== */
.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-bottom: 22px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--black);
  position: relative;
}
.dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid var(--black);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(0.8); opacity: 0.7; } 100% { transform: scale(2); opacity: 0; } }

.hero__title {
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero__title em { font-style: normal; position: relative; white-space: nowrap; }
.hero__title em::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0.06em; height: 0.12em;
  background: var(--black);
  opacity: 0.12;
}
.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--gray);
  max-width: 30em;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { display: flex; justify-content: center; }
.hero__photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
}

/* ===== Logos ===== */
.logos {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logos__label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray);
  margin-bottom: 18px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
}
.logos__item {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  opacity: 0.85;
}
.logos__item--muted {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0;
}

/* ===== Stats ===== */
.stats { padding: clamp(48px, 7vw, 84px) 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: var(--black); }
.stat__num {
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat__label { font-size: 14px; color: var(--gray); font-weight: 500; }

/* ===== Section ===== */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--alt { background: var(--black); color: #fff; }
.section--alt .section__eyebrow { color: rgba(255,255,255,0.6); }
.section--alt .section__lead { color: rgba(255,255,255,0.7); }

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray);
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.section__lead {
  margin-top: 18px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--gray);
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 32px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--black); }
.card__index {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 22px;
  letter-spacing: 0.06em;
}
.card__title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.card__text { color: var(--gray); font-size: 16px; }

/* ===== Process / Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.step {
  padding: 38px 34px 44px;
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.step:last-child { border-right: none; }
.step:hover { background: var(--soft); }
.step__num {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.08em;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--black);
  display: inline-block;
}
.step__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step__text { color: var(--gray); font-size: 16px; }

/* ===== Clients ===== */
.clients__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r);
  overflow: hidden;
}
.clients__item {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 46px 18px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: background 0.3s var(--ease);
}
.clients__item:hover { background: #1c1c1c; }
.clients__item--plus {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0;
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.about__aside { position: sticky; top: 96px; }
.about__aside .section__title { margin-bottom: 28px; }

.about__card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  overflow: hidden;
  position: relative;
}
.about__mono {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--black);
}
.about__facts { display: grid; gap: 0; }
.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.fact dt {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  font-weight: 600;
}
.fact dd { font-size: 16px; font-weight: 600; text-align: right; }

.about__content { padding-top: 6px; }
.about__text { color: var(--gray); font-size: 17px; margin-top: 18px; max-width: 40em; }
.about__text--lead {
  margin-top: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.about__points {
  list-style: none;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}
.about__points li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  font-size: 16px;
}
.about__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 16px; height: 2px;
  background: var(--black);
}

/* ===== CTA ===== */
.cta { padding: clamp(64px, 10vw, 130px) 0; }
.cta__inner {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.cta__title {
  font-size: clamp(32px, 5.2vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 22px;
}
.cta__text {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--gray);
  margin-bottom: 38px;
  max-width: 32em;
  margin-inline: auto;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.footer__brand { display: flex; flex-direction: column; }
.footer__name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.footer__role { font-size: 13px; color: var(--gray); }
.footer__contact { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.footer__contact a { font-weight: 600; }
.footer__copy { color: var(--gray); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__photo { max-width: 300px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__aside { position: static; top: auto; }
  .about__aside .section__title { margin-bottom: 22px; }
  .about__mono { font-size: 72px; margin-bottom: 18px; }
  .clients__list { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  :root { --pad: 18px; }
  .header__cta { display: none; }
  .header__inner { height: 64px; }
  .cards { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .cta__actions .btn { flex: 1 1 auto; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

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