:root {
  --black: #010101;
  --ink: #171717;
  --muted: #68645d;
  --orange: #fc7e23;
  --yellow: #fccd10;
  --paper: #fdfdfc;
  --line: rgba(1, 1, 1, 0.12);
  --shadow: 0 24px 80px rgba(1, 1, 1, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  gap: 14px;
  padding: 9px 10px;
  border: 1px solid rgba(1, 1, 1, 0.09);
  border-radius: 8px;
  background: rgba(253, 253, 252, 0.82);
  box-shadow: 0 12px 42px rgba(1, 1, 1, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.footer div {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 850;
}

.brand img,
.footer img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav a,
.header-action,
.header-phone {
  padding: 10px 13px;
  border-radius: 8px;
  color: #2f2a22;
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover,
.header-action:hover,
.header-phone:hover {
  color: var(--black);
  background: rgba(252, 126, 35, 0.12);
  transform: translateY(-1px);
}

.header-contacts {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 46px;
  padding: 7px 14px 7px 42px;
  border: 1px solid rgba(1, 1, 1, 0.08);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 850;
  white-space: nowrap;
}

.header-phone::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 8px 18px rgba(252, 126, 35, 0.22);
  transform: translateY(-50%);
}

.header-phone::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 50%;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-55%) rotate(25deg);
}

.phone-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.phone-number {
  margin-top: 3px;
  color: var(--black);
  font-size: 14px;
  line-height: 1;
}

.header-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  background: var(--black);
  color: #fff;
}

.header-action:hover {
  color: #fff;
  background: var(--orange);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 132px max(24px, calc((100vw - 1160px) / 2)) 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(252, 205, 16, 0.23), transparent 30%),
    linear-gradient(145deg, #fff 0%, #f9f3e6 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -10vw;
  width: 42vw;
  min-width: 360px;
  aspect-ratio: 1;
  border: 28px solid rgba(252, 126, 35, 0.18);
  border-radius: 50%;
}

.hero-media {
  position: absolute;
  inset: 72px 0 0 auto;
  width: min(52vw, 720px);
  opacity: 0.12;
  transform: rotate(-8deg);
}

.hero-media img {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--black);
  font-size: clamp(76px, 14vw, 184px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  max-width: 720px;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: #342f28;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.22;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 18px 42px rgba(252, 126, 35, 0.28);
}

.primary:hover {
  background: var(--black);
  box-shadow: 0 22px 54px rgba(1, 1, 1, 0.22);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--black);
  background: rgba(255, 255, 255, 0.76);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid var(--line);
  background: var(--black);
  color: #fff;
}

.ticker span {
  padding: 18px 12px;
  text-align: center;
  font-weight: 850;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.section {
  padding: 96px max(24px, calc((100vw - 1160px) / 2));
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
}

.cards {
  display: grid;
  gap: 14px;
}

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(1, 1, 1, 0.03);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.card:hover {
  border-color: rgba(252, 126, 35, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card:hover::after {
  transform: scaleX(1);
}

.card-mark {
  display: block;
  width: 46px;
  height: 8px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}

.card p,
.steps p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-block: 0;
  background: var(--black);
}

.stat-panel {
  min-height: 220px;
  padding: 44px;
  color: #fff;
  background: linear-gradient(145deg, rgba(252, 126, 35, 0.2), rgba(252, 205, 16, 0.05));
}

.stat-panel strong {
  display: block;
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 58px;
  line-height: 1;
}

.stat-panel span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.workflow {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  padding-top: 26px;
  border-top: 2px solid var(--line);
  transition: border-color 180ms ease, transform 180ms ease;
}

.steps article:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.steps span {
  color: var(--orange);
  font-weight: 850;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(252, 126, 35, 0.9), rgba(252, 205, 16, 0.88)),
    var(--orange);
}

.contact-band .section-kicker,
.contact-band .contact-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(1, 1, 1, 0.82);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.13);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--yellow);
}

.requisites {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
}

.requisites-panel {
  overflow: clip;
  border: 1px solid rgba(1, 1, 1, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, rgba(252, 205, 16, 0.55), rgba(252, 126, 35, 0.55)) border-box;
  box-shadow: 0 18px 60px rgba(1, 1, 1, 0.08);
}

.requisites-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-height: 104px;
  padding: 24px;
  border: 0;
  color: var(--black);
  background:
    radial-gradient(circle at 100% 0%, rgba(252, 205, 16, 0.22), transparent 34%),
    linear-gradient(135deg, #fff, #fff7ea);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.requisites-toggle:hover {
  background:
    radial-gradient(circle at 100% 0%, rgba(252, 126, 35, 0.22), transparent 34%),
    linear-gradient(135deg, #fff, #fff4dc);
}

.toggle-copy {
  display: grid;
  gap: 7px;
}

.toggle-copy strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.04;
}

.toggle-copy small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.toggle-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 8px 0 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--black);
  box-shadow: 0 16px 38px rgba(1, 1, 1, 0.16);
  font-size: 14px;
  font-weight: 850;
  transition: background 180ms ease, transform 180ms ease;
}

.requisites-toggle:hover .toggle-action {
  background: var(--orange);
  transform: translateY(-1px);
}

.toggle-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  flex: 0 0 auto;
}

.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 9px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 180ms ease;
}

.toggle-icon::after {
  transform: rotate(90deg);
}

.requisites-toggle[aria-expanded="true"] .toggle-icon::after {
  transform: rotate(0deg);
}

.requisites-details {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 4px 24px 8px;
}

.requisites-details[hidden] {
  display: none;
}

.requisites-details div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 750;
}

dd {
  margin: 0;
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 32px max(24px, calc((100vw - 1160px) / 2));
  background: var(--black);
  color: #fff;
}

.footer a {
  transition: color 180ms ease;
}

.footer a:hover {
  color: var(--yellow);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    width: 86vw;
    opacity: 0.08;
  }

  .ticker,
  .split,
  .stats,
  .steps,
  .contact-band,
  .requisites {
    grid-template-columns: 1fr;
  }

  .ticker span {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .header-contacts {
    gap: 4px;
  }

  .header-phone {
    display: none;
  }

  .requisites-toggle {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
  }

  .toggle-action {
    justify-self: start;
  }

  .requisites-details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span {
    display: none;
  }

  .header-action {
    padding-inline: 10px;
    font-size: 13px;
  }

  .requisites-details {
    padding-inline: 18px;
  }

  .section {
    padding-block: 68px;
  }

  h1 {
    font-size: 70px;
  }

  .button {
    width: 100%;
  }
}
