:root {
  --ink: #081524;
  --navy: #0b1c30;
  --paper: #f3f1ec;
  --white: #ffffff;
  --muted: #667180;
  --orange: #ff6b1a;
  --line: rgba(8, 21, 36, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }

.shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 820px;
  height: 100svh;
  max-height: 1040px;
  overflow: hidden;
  background: #071829;
  color: white;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image { object-fit: cover; object-position: center; }

.hero__veil {
  background:
    linear-gradient(90deg, rgba(4, 15, 27, .96) 0%, rgba(4, 15, 27, .76) 36%, rgba(4, 15, 27, .18) 70%, rgba(4, 15, 27, .25) 100%),
    linear-gradient(0deg, rgba(4, 15, 27, .78) 0%, transparent 44%);
}

.site-header {
  position: relative;
  z-index: 3;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.brand { display: flex; align-items: center; gap: 13px; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: white;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -3px;
}

.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 17px; letter-spacing: .075em; }
.brand__text small { margin-top: 7px; font-size: 9px; letter-spacing: .5em; opacity: .7; }

.site-nav { display: flex; gap: 30px; margin-left: auto; margin-right: 44px; }
.site-nav a { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.76); transition: color .2s; }
.site-nav a:hover { color: white; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.55);
  padding: 10px 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: clamp(108px, 14vh, 168px);
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.69);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow span { width: 34px; height: 2px; background: var(--orange); }

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(62px, 7.1vw, 108px);
  line-height: .94;
  font-weight: 680;
  letter-spacing: -.064em;
}

.hero h1 em { color: var(--orange); font-style: normal; }

.hero__lead {
  max-width: 610px;
  margin: 34px 0 0;
  color: rgba(255,255,255,.77);
  font-size: 18px;
  line-height: 1.65;
}

.hero__actions { display: flex; gap: 14px; margin-top: 40px; }

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 26px;
  font-size: 13px;
  font-weight: 750;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button--accent { background: var(--orange); color: white; }
.button--accent:hover { background: #ff7b35; }
.button--ghost { border: 1px solid rgba(255,255,255,.3); color: white; }
.button--ghost:hover { background: rgba(255,255,255,.09); }

.hero__meta {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero__meta > div { padding: 28px 58px 30px 0; }
.hero__meta > div + div { border-left: 1px solid rgba(255,255,255,.2); padding-left: 58px; }
.hero__meta span { display: block; margin-bottom: 9px; color: rgba(255,255,255,.48); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero__meta strong { font-size: 12px; letter-spacing: .025em; }
.hero__meta > a { width: 74px; display: grid; place-items: center; border-left: 1px solid rgba(255,255,255,.2); font-size: 24px; }

.section { padding: 124px 0; }

.section-heading {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.kicker { color: var(--orange); margin-bottom: 22px; }
.section-heading h2,
.contact-placeholder h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.052em;
  font-weight: 650;
}
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  min-height: 310px;
  position: relative;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.18);
  transition: background .25s, color .25s;
}
.service-card:hover { background: var(--navy); color: white; }
.service-card__number { color: var(--orange); font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.service-card h3 { max-width: 260px; margin: 68px 0 18px; font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
.service-card p { max-width: 280px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-card:hover p { color: rgba(255,255,255,.62); }
.service-card__arrow { position: absolute; top: 27px; right: 28px; opacity: .32; font-size: 18px; }

.direction-strip { background: var(--orange); color: white; padding: 34px 0; }
.direction-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.direction-strip p { margin: 0; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.direction-strip__inner > div { display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 650; }
.direction-strip i { opacity: .55; font-style: normal; }

.approach { background: white; }
.approach__grid { display: grid; grid-template-columns: .95fr 1fr; gap: 130px; align-items: start; }
.approach__intro h2 { margin: 0; font-size: clamp(52px, 6.4vw, 83px); line-height: .98; letter-spacing: -.065em; }
.approach__intro h2 span { color: var(--orange); }
.approach__intro > p:last-of-type { max-width: 430px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.text-link { display: inline-flex; gap: 26px; align-items: center; margin-top: 34px; padding-bottom: 11px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 750; }
.approach__items article { padding: 0 0 30px; border-bottom: 1px solid var(--line); }
.approach__items article + article { padding-top: 29px; }
.approach__items article > span { color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.approach__items h3 { margin: 13px 0 8px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.approach__items p { max-width: 460px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.sample-highlight { padding: 126px 0; background: var(--navy); color: white; }
.sample-highlight__grid { display: grid; grid-template-columns: 1fr 390px; align-items: end; gap: 110px; }
.sample-highlight h2 { margin: 0; font-size: clamp(54px, 6.4vw, 86px); line-height: .98; letter-spacing: -.066em; font-weight: 660; }
.sample-highlight h2 span { color: var(--orange); }
.sample-highlight__details > p { margin: 0 0 38px; color: rgba(255,255,255,.69); font-size: 17px; line-height: 1.7; }
.sample-highlight__details > div { border-top: 1px solid rgba(255,255,255,.22); }
.sample-highlight__details > div span { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.22); font-size: 12px; font-weight: 650; }

.process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step { padding-right: 28px; }
.process-step__number { display: inline-flex; width: 43px; height: 43px; align-items: center; justify-content: center; background: white; color: var(--orange); font-size: 12px; font-weight: 750; }
.process-step__line { display: inline-block; width: calc(100% - 43px); height: 1px; vertical-align: middle; background: var(--line); }
.process-step h3 { margin: 32px 0 12px; font-size: 18px; letter-spacing: -.025em; }
.process-step p { max-width: 270px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.automotive { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; background: #071321; color: white; }
.automotive__image,
.automotive__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.automotive__image { object-fit: cover; object-position: center; }
.automotive__veil { background: linear-gradient(90deg, rgba(4,15,27,.96) 0%, rgba(4,15,27,.85) 32%, rgba(4,15,27,.44) 62%, rgba(4,15,27,.18) 100%); }
.automotive__content { position: relative; z-index: 2; padding: 92px 0; }
.automotive h2 { margin: 0; font-size: clamp(60px, 7.3vw, 100px); line-height: .95; letter-spacing: -.068em; font-weight: 670; }
.automotive h2 span { color: var(--orange); }
.automotive__content > p:not(.kicker) { max-width: 530px; margin: 30px 0 25px; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.75; }
.automotive__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; }
.automotive__tags span { padding: 9px 11px; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85); font-size: 10px; font-weight: 650; }

.contact-placeholder { background: var(--navy); color: white; }
.contact-placeholder h2 { max-width: 850px; }
.contact-placeholder h2 > span { color: var(--orange); }
.contact-heading { display: grid; grid-template-columns: 1fr 310px; align-items: end; gap: 70px; }
.contact-heading > p { margin: 0 0 4px; color: rgba(255,255,255,.63); font-size: 15px; line-height: 1.75; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid rgba(255,255,255,.2); }
.contact-card { padding: 34px 24px 0 0; }
.contact-card + .contact-card { padding-left: 31px; border-left: 1px solid rgba(255,255,255,.2); }
.contact-card__eyebrow { color: rgba(255,255,255,.5); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.contact-card h3 { margin: 19px 0 13px; font-size: 30px; letter-spacing: -.035em; }
.contact-card__phone { color: rgba(255,255,255,.7); font-size: 15px; }
.contact-card__telegram { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 31px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.81); font-size: 11px; font-weight: 600; }
.contact-card__telegram span { color: var(--orange); }

.site-footer { padding: 30px 0; background: #071321; color: white; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; }
.site-footer__inner > p { color: rgba(255,255,255,.55); font-size: 12px; }
.site-footer__top { color: rgba(255,255,255,.76); font-size: 12px; font-weight: 700; }

@media (max-width: 900px) {
  .shell { width: min(100% - 40px, 720px); }
  .site-header { height: 84px; }
  .site-nav { display: none; }
  .hero { min-height: 780px; }
  .hero__content { padding-top: 110px; }
  .hero h1 { font-size: clamp(52px, 12vw, 82px); }
  .hero__meta { grid-template-columns: 1fr auto; }
  .hero__meta > div:nth-child(2) { display: none; }
  .section { padding: 88px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .direction-strip__inner { align-items: flex-start; flex-direction: column; }
  .direction-strip__inner > div { flex-wrap: wrap; }
  .approach__grid { grid-template-columns: 1fr; gap: 58px; }
  .sample-highlight { padding: 92px 0; }
  .sample-highlight__grid { grid-template-columns: 1fr; gap: 38px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 45px 18px; }
  .automotive { min-height: 600px; }
  .contact-heading { grid-template-columns: 1fr; gap: 25px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 27px 0 0; }
  .contact-card + .contact-card { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .contact-card__telegram { margin-top: 20px; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text strong { font-size: 13px; }
  .brand__text small { font-size: 7px; }
  .header-cta { font-size: 0; gap: 0; width: 42px; height: 42px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); }
  .header-cta span { font-size: 17px; }
  .hero { min-height: 790px; }
  .hero__image { object-position: 64% center; }
  .hero__content { padding-top: 100px; }
  .eyebrow { margin-bottom: 22px; font-size: 9px; }
  .hero h1 { font-size: 49px; line-height: .98; }
  .hero__lead { margin-top: 25px; font-size: 15px; line-height: 1.55; }
  .hero__actions { flex-direction: column; align-items: stretch; margin-top: 30px; }
  .button { min-height: 54px; }
  .hero__meta > div { padding: 20px 20px 21px 0; }
  .hero__meta > a { width: 56px; }
  .section-heading h2, .contact-placeholder h2 { font-size: 40px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .service-card h3 { margin-top: 48px; }
  .direction-strip { display: none; }
  .approach__intro h2 { font-size: 58px; }
  .sample-highlight h2 { font-size: 49px; }
  .process-grid { grid-template-columns: 1fr; gap: 35px; }
  .process-step { padding-right: 0; }
  .process-step h3 { margin-top: 18px; }
  .automotive { min-height: 640px; }
  .automotive__image { object-position: 69% center; }
  .automotive h2 { font-size: 62px; }
  .automotive__tags { max-width: 310px; }
  .site-footer__inner { align-items: flex-start; gap: 23px; flex-wrap: wrap; }
  .site-footer__inner > p { order: 3; flex-basis: 100%; margin: 0; }
}

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