@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Unbounded:wght@400;500;600&display=swap");

:root {
  --ink: #222435;
  --ink-soft: #322e49;
  --beige: #eedecd;
  --cream: #f7f0e8;
  --red: #b01616;
  --line: rgba(34, 36, 53, 0.2);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  --font-manrope: "Manrope";
  --font-unbounded: "Unbounded";
  font-family: var(--font-manrope), Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.site-header {
  align-items: center;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 34px;
  height: 90px;
  left: 0;
  padding: 0 clamp(22px, 4vw, 72px);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 20;
}

.brand img {
  display: block;
  height: 58px;
  width: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 42px);
}

.nav a,
.header-phone {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.8;
  transition: opacity 180ms ease;
}

.nav a:hover {
  opacity: 1;
}

.header-phone {
  white-space: nowrap;
}

.menu-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 30px;
  padding: 4px;
  width: 34px;
}

.menu-button span {
  background: #fff;
  display: block;
  height: 2px;
  margin: 6px 0;
  transition: transform 180ms ease;
}

.hero {
  background: #171928;
  color: #fff;
  min-height: max(95dvh, 850px);
  position: relative;
}

.hero-bg,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-bg {
  background: url("assets/priority-main.jpeg") center / cover no-repeat;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(21, 22, 36, 0.94) 0%, rgba(21, 22, 36, 0.72) 38%, rgba(21, 22, 36, 0.08) 72%),
    linear-gradient(0deg, rgba(21, 22, 36, 0.72) 0%, transparent 40%);
}

.hero-content {
  left: clamp(22px, 7vw, 126px);
  max-width: 850px;
  position: absolute;
  top: 180px;
  z-index: 2;
}

.eyebrow,
.section-index {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.eyebrow.light,
.section-index.light {
  color: var(--beige);
}

h1,
h2 {
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 5.15vw, 86px);
  line-height: 1.04;
}

h1 em,
h2 em {
  color: var(--beige);
  font-style: normal;
}

.hero-lead {
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.5;
  margin: 32px 0 36px;
  max-width: 720px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 32px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  gap: 22px;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button svg,
.outline-link svg,
.model-card > a svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 20px;
}

.button-light {
  background: #fff;
  color: var(--ink);
}

.button-beige {
  background: var(--beige);
  color: var(--ink);
}

.button-red {
  background: var(--red);
  color: #fff;
}

.text-link {
  border-bottom: 1px solid rgba(255,255,255,.6);
  color: #fff;
  font-size: 14px;
  padding-bottom: 6px;
  text-decoration: none;
}

.hero-metrics {
  bottom: 64px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  left: clamp(22px, 7vw, 126px);
  max-width: 920px;
  position: absolute;
  z-index: 2;
}

.hero-metrics div {
  border-left: 1px solid rgba(255,255,255,.45);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
}

.hero-metrics strong {
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: 19px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-metrics span,
.hero-note {
  color: rgba(255,255,255,.74);
  font-size: 12px;
}

.hero-note {
  bottom: 22px;
  margin: 0;
  position: absolute;
  right: clamp(22px, 4vw, 72px);
  z-index: 2;
}

.section {
  margin: 0 auto;
  max-width: 1440px;
  padding: 120px clamp(22px, 5vw, 80px);
}

h2 {
  font-size: clamp(34px, 4.2vw, 66px);
  line-height: 1.12;
}

.intro {
  display: grid;
  gap: 8vw;
  grid-template-columns: 1.08fr .92fr;
}

.intro h2 em,
.advantages h2 em,
.developer h2 em {
  color: var(--red);
}

.intro-copy {
  padding-top: 38px;
}

.intro-copy p,
.showcase-copy p,
.developer-copy p,
.section-heading.split > p {
  font-size: 17px;
  line-height: 1.7;
}

.lead-copy {
  font-size: 23px !important;
  font-weight: 500;
  line-height: 1.5 !important;
}

.accent-note {
  border-left: 3px solid var(--red);
  font-weight: 600;
  margin-top: 34px;
  padding: 8px 0 8px 22px;
}

.compare {
  padding-top: 40px;
}

.section-heading {
  margin-bottom: 58px;
}

.comparison-table {
  border-top: 1px solid var(--ink);
}

.comparison-row {
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.5fr;
}

.comparison-row > div {
  align-items: center;
  display: flex;
  font-size: 15px;
  line-height: 1.45;
  min-height: 88px;
  padding: 20px 28px;
}

.comparison-row > div + div {
  border-left: 1px solid var(--line);
}

.comparison-row > div:first-child {
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}

.comparison-row > div:first-child span {
  color: var(--red);
  font-family: var(--font-manrope), Arial, sans-serif;
  font-size: 11px;
  margin-right: 18px;
}

.comparison-head {
  background: var(--ink);
  color: var(--beige);
}

.comparison-head > div {
  font-family: var(--font-manrope), Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .15em;
  min-height: 54px;
  text-transform: uppercase;
}

.comparison-row.featured {
  background: var(--beige);
}

.comparison-row.featured > div:first-child {
  color: var(--red);
}

.table-summary {
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.5;
  margin: 42px 0 0 auto;
  max-width: 780px;
  text-transform: uppercase;
}

.project-showcase {
  background: var(--ink);
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 760px;
}

.showcase-image {
  min-height: 760px;
  overflow: hidden;
}

.showcase-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.showcase-copy {
  align-self: center;
  color: #fff;
  padding: 80px clamp(32px, 5vw, 84px);
}

.showcase-copy h2 {
  font-size: clamp(34px, 3.3vw, 56px);
  margin-bottom: 40px;
}

.showcase-copy .button {
  margin-top: 30px;
}

.section-heading.split {
  align-items: end;
  display: grid;
  gap: 8vw;
  grid-template-columns: 1.25fr .75fr;
}

.advantage-grid {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.advantage-grid article {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 260px;
  padding: 32px;
}

.advantage-grid strong {
  color: var(--red);
  display: block;
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 500;
  margin-bottom: 36px;
}

.advantage-grid h3 {
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.advantage-grid p {
  color: rgba(34,36,53,.72);
  line-height: 1.55;
  margin: 0;
}

.models {
  background: var(--ink);
  color: #fff;
}

.models-inner {
  padding-bottom: 90px;
}

.light-heading p {
  color: rgba(255,255,255,.72);
}

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

.model-card {
  border-radius: 28px;
  min-height: 690px;
  padding: clamp(28px, 3vw, 48px);
}

.model-card.primary {
  background: var(--beige);
  color: var(--ink);
}

.model-card.secondary {
  background: var(--ink-soft);
  border: 1px solid rgba(238,222,205,.35);
  color: #fff;
}

.model-top {
  border-bottom: 1px solid currentColor;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 32px;
}

.model-top span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.model-top strong {
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: clamp(22px, 2.5vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.model-card > p {
  line-height: 1.6;
  margin: 26px 0;
  min-height: 54px;
}

.model-card dl {
  margin: 0;
}

.model-card dl div {
  align-items: baseline;
  border-bottom: 1px solid rgba(34,36,53,.2);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 14px 0;
}

.model-card.secondary dl div {
  border-color: rgba(238,222,205,.18);
}

.model-card dt {
  font-size: 14px;
  opacity: .7;
}

.model-card dd {
  font-weight: 700;
  margin: 0;
  text-align: right;
}

.model-card .result {
  align-items: center;
  border-radius: 12px;
  border: 0;
  margin: 10px -14px 0;
  padding: 18px 14px;
}

.model-card.primary .result {
  background: rgba(176,22,22,.1);
}

.model-card.secondary .result {
  background: rgba(238,222,205,.08);
}

.model-card .result dd {
  color: var(--red);
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: 20px;
}

.model-card.secondary .result dd {
  color: var(--beige);
}

.model-card > a {
  align-items: center;
  display: flex;
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: 13px;
  gap: 18px;
  margin-top: 28px;
  text-decoration: none;
  text-transform: uppercase;
}

.model-note {
  color: rgba(255,255,255,.54);
  font-size: 12px;
  margin: 26px 0 0;
}

.journey {
  background: var(--red);
  color: #fff;
  display: grid;
  grid-template-columns: 42% 58%;
}

.journey-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.journey-content {
  padding: 110px clamp(32px, 6vw, 110px);
}

.journey-content h2 {
  font-size: clamp(34px, 3.4vw, 58px);
}

.journey-content ol {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
}

.journey-content li {
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.32);
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 66px;
}

.journey-content li:last-child {
  border-bottom: 1px solid rgba(255,255,255,.32);
}

.journey-content li span {
  font-size: 11px;
  opacity: .65;
}

.journey-content li p {
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
}

.developer {
  display: grid;
  gap: 7vw;
  grid-template-columns: .85fr 1.15fr;
}

.developer-image {
  border-radius: 30px;
  max-height: 680px;
  overflow: hidden;
}

.developer-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.developer-copy {
  align-self: center;
}

.developer-copy h2 {
  margin-bottom: 36px;
}

.developer-facts {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 40px 0;
}

.developer-facts div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 0;
}

.developer-facts div + div {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.developer-facts strong {
  color: var(--red);
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: 25px;
  font-weight: 500;
  text-transform: uppercase;
}

.developer-facts span {
  line-height: 1.5;
}

.outline-link {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 12px;
  display: inline-flex;
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: 12px;
  gap: 22px;
  min-height: 56px;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
}

.faq {
  padding-top: 40px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  min-height: 92px;
  padding: 0;
  text-align: left;
  width: 100%;
}

.faq-item button > span {
  color: var(--red);
  font-size: 11px;
}

.faq-item button strong {
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: clamp(15px, 1.6vw, 22px);
  font-weight: 500;
  text-transform: uppercase;
}

.faq-item button i {
  font-size: 30px;
  font-style: normal;
  font-weight: 300;
  text-align: right;
  transition: transform 200ms ease;
}

.faq-item.open button i {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  line-height: 1.65;
  margin: 0;
  max-width: 800px;
  overflow: hidden;
  padding-left: 60px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 28px;
}

.request {
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: 8vw;
  grid-template-columns: .9fr 1.1fr;
  padding: 110px max(22px, calc((100vw - 1280px) / 2));
}

.request-copy h2 {
  font-size: clamp(35px, 4vw, 64px);
}

.request-copy > p:not(.section-index) {
  font-size: 18px;
  line-height: 1.65;
  max-width: 650px;
}

.request-copy > a {
  color: var(--beige);
  display: inline-block;
  font-family: var(--font-unbounded), Arial, sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  margin-top: 24px;
  text-decoration: none;
}

.request-form {
  background: var(--beige);
  border-radius: 28px;
  color: var(--ink);
  min-height: 510px;
  padding: clamp(10px, 3.4vw, 20px);
}



footer {
  align-items: start;
  background: #171925;
  border-top: 1px solid rgba(238,222,205,.18);
  color: rgba(255,255,255,.66);
  display: grid;
  gap: 40px;
  grid-template-columns: auto 1fr 1.4fr auto;
  padding: 48px clamp(22px, 5vw, 80px);
}

footer img {
  height: 58px;
  width: auto;
}

footer div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

footer p,
footer span {
  font-size: 11px;
  line-height: 1.55;
  margin: 0;
}

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

  .nav {
    background: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100vh;
    justify-content: flex-start;
    left: -100%;
    padding: 130px 32px;
    position: fixed;
    top: 0;
    transition: left 220ms ease;
    width: min(390px, 100vw);
    z-index: -1;
  }

  .nav.open {
    left: 0;
  }

  .nav a {
    border-bottom: 1px solid rgba(238,222,205,.28);
    font-family: var(--font-unbounded), Arial, sans-serif;
    font-size: 15px;
    padding: 20px 0;
  }

  .menu-button {
    display: block;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-image {
    min-height: 560px;
  }

  .showcase-copy {
    padding-bottom: 110px;
    padding-top: 90px;
  }

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

  .journey-image {
    height: 410px;
  }

  footer {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 76px;
    padding: 0 18px;
  }

  .brand img {
    height: 44px;
  }

  .header-phone {
    font-size: 11px;
  }

  .hero {
    min-height: 900px;
  }

  .hero-bg {
    background-position: 64% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(21,22,36,.93), rgba(21,22,36,.45)), linear-gradient(0deg, rgba(21,22,36,.9), transparent 55%);
  }

  .hero-content {
    left: 22px;
    right: 22px;
    top: 145px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-metrics {
    bottom: 68px;
    grid-template-columns: 1fr;
    left: 22px;
    right: 22px;
  }

  .hero-metrics div {
    border-bottom: 1px solid rgba(255,255,255,.25);
    border-left: 0;
    padding: 9px 0;
  }

  .hero-note {
    bottom: 18px;
    left: 22px;
    right: 22px;
  }

  .section {
    padding: 82px 22px;
  }

  .intro,
  .section-heading.split,
  .developer,
  .request {

    grid-template-columns: 1fr;
  }

.section-heading {
    margin-bottom: 0px;
}

  .intro-copy {
    padding-top: 0;
  }

  .lead-copy {
    font-size: 19px !important;
  }

  .compare {
    padding-top: 70px;
  }

  .comparison-head {
    display: none;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .comparison-row > div {
    min-height: auto;
    padding: 8px 16px;
  }

  .comparison-row > div + div {
    border-left: 0;
  }

  .comparison-row > div:nth-child(2)::before,
  .comparison-row > div:nth-child(3)::before {
    color: var(--red);
    content: "Даёт";
    flex: 0 0 72px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .comparison-row > div:nth-child(3)::before {
    content: "Учесть";
  }

  .table-summary {
    font-size: 16px;
  }

  .showcase-image {
    min-height: 390px;
  }

  .showcase-copy {
    padding: 70px 22px 82px;
  }

  .advantages {
    padding-bottom: 70px;
  }

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

  .advantage-grid article {
    min-height: 230px;
    padding: 22px;
  }

  .advantage-grid strong {
    font-size: 30px;
    margin-bottom: 28px;
  }

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

  .model-card {
    min-height: auto;
  }

  .model-card > p {
    min-height: auto;
  }

  .model-card dl div {
    align-items: flex-start;
  }

  .model-card .result dd {
    font-size: 17px;
  }

  .journey-image {
    height: 280px;
  }

  .journey-content {
    padding: 80px 22px;
  }

  .developer-image {
    height: 520px;
  }

  .developer-facts {
    grid-template-columns: 1fr;
  }

  .developer-facts div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .faq-item button {
    grid-template-columns: 42px 1fr 30px;
    min-height: 90px;
  }

  .faq-answer p {
    padding-left: 42px;
  }

  .request {
    padding: 80px 22px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 42px 22px;
  }
}

@media (max-width: 460px) {
  .header-phone {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  h1 {
    font-size: 37px;
  }

  h2 {
    font-size: 31px;
  }

  .button {
    font-size: 11px;
    width: 100%;
  }

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

  .advantage-grid article {
    min-height: 190px;
  }
}

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