:root {
      --bg: #1b1b1b;
      --bg-2: #232323;
      --bg-3: #2b2b2b;
      --white: #ffffff;
      --text: #f2f2f2;
      --muted: #a2a2a2;
      --muted-2: #c6c6c6;
      --line: rgba(255, 255, 255, .12);
      --line-2: rgba(255, 255, 255, .22);
      --accent: #d8c29a;
      --container: 1280px;
      --radius: 22px;
      --ease: cubic-bezier(.22, .61, .36, 1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--text);
      font-family: Arial, Helvetica, sans-serif;
      background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .07), transparent 28%),
        linear-gradient(180deg, #202020 0%, #191919 48%, #222222 100%);
      line-height: 0;
    }

    body::selection {
      color: #080808;
      background: var(--white);
    }

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

    button,
    input,
    select {
      font: inherit;
    }

    .container {
      width: min(var(--container), calc(100% - 48px));
      margin: 0 auto;
    }

    .header {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      z-index: 50;
      background: rgba(31, 31, 31, .78);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(18px);
    }

    .header__inner {
      display: flex;
      min-height: 86px;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -.03em;
      white-space: nowrap;
    }

    .brand__logo {
      display: grid;
      width: 46px;
      height: 46px;
      place-items: center;
      color: #080808;
      font-size: 14px;
      font-weight: 800;
      background: var(--white);
      border-radius: 50%;
    }

    .brand small {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 400;
      letter-spacing: .02em;
    }

    .nav {
      display: flex;
      gap: 26px;
      align-items: center;
      color: var(--muted-2);
      font-size: 14px;
    }

    .nav a {
      transition: color .2s var(--ease);
    }

    .nav a:hover {
      color: var(--white);
    }

    .header__actions {
      display: flex;
      gap: 12px;
      align-items: center;
      white-space: nowrap;
    }

    .phone {
      color: var(--white);
      font-size: 15px;
      font-weight: 700;
    }

    .btn {
      position: relative;
      display: inline-flex;
      min-height: 50px;
      align-items: center;
      justify-content: center;
      padding: 0 24px;
      color: #060606;
      font-size: 14px;
      font-weight: 700;
      background: var(--white);
      border: none;
      border-radius: 0;
      cursor: pointer;
      text-decoration: none;
      transition: color .45s ease-in-out, background .75s ease-in-out;
    }

    .btn:hover {
      transform: none;
    }

    .btn--dark {
      color: var(--white);
      background: transparent;
    }

    .btn--dark:hover {
      color: #060606;
      background: var(--white);
    }

    .hero {
      position: relative;
      min-height: 100svh;
      padding: 144px 0 68px;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(25, 25, 25, .55) 0%, rgba(25, 25, 25, .22) 52%, rgba(25, 25, 25, .48) 100%),
        linear-gradient(180deg, rgba(25, 25, 25, .04) 0%, rgba(27, 27, 27, .62) 100%),
        url("https://images.unsplash.com/photo-1603386329225-868f9b1ee6c9?auto=format&fit=crop&w=2400&q=88") center/cover no-repeat;
    }

    .hero__grid {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(360px, .55fr);
      gap: 54px;
      align-items: end;
      min-height: calc(100svh - 212px);
    }

    .hero h1,
    .hero__lead {
      text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
    }

    .hero h1 {
      max-width: 760px;
      margin: 0 0 28px;
      font-size: clamp(44px, 6vw, 86px);
      font-weight: 500;
      line-height: .92;
      letter-spacing: -.065em;
    }

    .hero__lead {
      max-width: 650px;
      margin: 0 0 38px;
      color: var(--muted-2);
      font-size: clamp(18px, 1.8vw, 24px);
      line-height: 1.45;
    }

    .hero__services {
      display: grid;
      gap: 18px;
      padding-top: 24px;
      border-top: 1px solid var(--line);
    }

    .hero-service {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 16px;
      align-items: start;
      padding-bottom: 18px;
      color: var(--muted-2);
      border-bottom: 1px solid var(--line);
    }

    .hero-service:last-child {
      border-bottom: 0;
    }

    .hero-service strong {
      display: block;
      margin-bottom: 5px;
      color: var(--white);
      font-size: 20px;
      font-weight: 500;
      letter-spacing: -.03em;
    }

    .hero-service span:first-child {
      color: var(--muted);
      font-size: 13px;
    }

    .hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(255, 255, 255, .16);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .stat {
      min-height: 190px;
      padding: 34px;
      background: #242424;
    }

    .stat strong {
      display: block;
      margin-bottom: 16px;
      color: var(--white);
      font-size: clamp(46px, 5vw, 74px);
      font-weight: 500;
      line-height: .86;
      letter-spacing: -.055em;
    }

    .stat span {
      color: var(--muted);
      font-size: 15px;
    }

    .section {
      padding: 104px 0;
      background: transparent;
    }

    .section:nth-of-type(even) {
      background: rgba(255, 255, 255, .025);
    }

    .section__head {
      display: flex;
      justify-content: space-between;
      gap: 36px;
      align-items: flex-end;
      margin-bottom: 46px;
    }

    .section h2 {
      max-width: 760px;
      margin: 0;
      font-size: clamp(38px, 5vw, 72px);
      font-weight: 500;
      line-height: .97;
      letter-spacing: -.06em;
    }

    .section__head p {
      max-width: 390px;
      margin: 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.48;
    }

    .service-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 26px;
    }

    .service-nav a {
      padding: 12px 18px;
      color: var(--muted-2);
      font-size: 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      transition: color .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
    }

    .service-nav a:hover {
      color: #060606;
      background: var(--white);
      border-color: var(--white);
    }

    .services {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .service-card {
      position: relative;
      min-height: 520px;
      overflow: hidden;
      isolation: isolate;
      padding: 26px;
      border-radius: var(--radius);
      background: #2a2a2a;
    }

    .service-card::before {
      position: absolute;
      inset: 0;
      z-index: -2;
      content: "";
      background: var(--image) center/cover;
      transform: scale(1.04);
      transition: transform .65s var(--ease), filter .65s var(--ease);
    }

    .service-card::after {
      position: absolute;
      inset: 0;
      z-index: -1;
      content: "";
      background:
        linear-gradient(180deg, rgba(30, 30, 30, .12) 0%, rgba(30, 30, 30, .2) 36%, rgba(30, 30, 30, .9) 100%),
        linear-gradient(0deg, rgba(30, 30, 30, .16), rgba(30, 30, 30, .16));
      transition: background .45s var(--ease);
    }

    .service-card:hover::before {
      filter: grayscale(.15);
      transform: scale(1.12);
    }

    .service-card:hover::after {
      background:
        linear-gradient(180deg, rgba(30, 30, 30, .38) 0%, rgba(30, 30, 30, .5) 36%, rgba(30, 30, 30, .96) 100%),
        linear-gradient(0deg, rgba(30, 30, 30, .2), rgba(30, 30, 30, .2));
    }

    .service-card__num {
      color: rgba(255, 255, 255, .72);
      font-size: 13px;
    }

    .service-card__body {
      position: absolute;
      right: 26px;
      bottom: 26px;
      left: 26px;
    }

    .service-card h3 {
      margin: 0;
      font-size: clamp(24px, 2vw, 34px);
      font-weight: 500;
      line-height: 1.03;
      letter-spacing: -.04em;
    }

    .service-card p {
      max-height: 0;
      margin: 0;
      overflow: hidden;
      color: var(--muted-2);
      font-size: 16px;
      line-height: 1.46;
      opacity: 0;
      transform: translateY(18px);
      transition: max-height .45s var(--ease), margin .45s var(--ease), opacity .45s var(--ease), transform .45s var(--ease);
    }

    .service-card:hover p {
      max-height: 180px;
      margin-top: 16px;
      opacity: 1;
      transform: translateY(0);
    }

    .category + .category {
      margin-top: 72px;
    }

    .category__title {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 28px;
      margin-bottom: 22px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
    }

    .category__title h3 {
      max-width: 680px;
      margin: 0;
      font-size: clamp(30px, 3.6vw, 52px);
      font-weight: 500;
      line-height: .98;
      letter-spacing: -.055em;
    }

    .category__title p {
      max-width: 430px;
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.48;
    }

    .portfolio {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 16px;
    }

    .portfolio__big,
    .portfolio__small {
      position: relative;
      overflow: hidden;
      min-height: 560px;
      border-radius: var(--radius);
      background: #2a2a2a center/cover;
    }

    .portfolio__small {
      display: grid;
      grid-template-rows: repeat(2, 1fr);
      gap: 16px;
      min-height: 560px;
      background: transparent;
    }

    .portfolio__item {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius);
      background: #2a2a2a center/cover;
    }

    .portfolio__big::after,
    .portfolio__item::after {
      position: absolute;
      inset: 0;
      content: "";
      background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .78) 100%);
    }

    .portfolio__caption {
      position: absolute;
      right: 26px;
      bottom: 24px;
      left: 26px;
      z-index: 1;
      color: var(--white);
      font-size: 22px;
      letter-spacing: -.03em;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1px;
      overflow: hidden;
      background: rgba(255, 255, 255, .16);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      counter-reset: step;
    }

    .step {
      min-height: 285px;
      padding: 30px;
      background: #242424;
      counter-increment: step;
    }

    .step::before {
      display: block;
      margin-bottom: 70px;
      color: var(--muted);
      content: "0" counter(step);
      font-size: 14px;
    }

    .step h3 {
      margin: 0 0 14px;
      font-size: 24px;
      font-weight: 500;
      letter-spacing: -.035em;
    }

    .step p {
      margin: 0;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.48;
    }

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

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

    .faq summary {
      display: flex;
      min-height: 86px;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      color: var(--white);
      font-size: clamp(22px, 2.3vw, 34px);
      font-weight: 500;
      letter-spacing: -.04em;
      cursor: pointer;
      list-style: none;
    }

    .faq summary::-webkit-details-marker {
      display: none;
    }

    .faq summary::after {
      content: "+";
      color: var(--muted);
      font-size: 30px;
    }

    .faq details[open] summary::after {
      content: "\2212";
    }

    .faq p {
      max-width: 760px;
      margin: -8px 0 28px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.55;
    }

    .contact {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(340px, .55fr);
      gap: 56px;
      align-items: center;
      padding: 56px;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(31, 31, 31, .92) 0%, rgba(31, 31, 31, .68) 100%),
        url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1800&q=86") center/cover;
      border: 1px solid var(--line);
      border-radius: 30px;
    }

    .contact h2 {
      margin-bottom: 24px;
    }

    .contact p {
      max-width: 620px;
      color: var(--muted-2);
      font-size: 20px;
      line-height: 1.48;
    }

    .form {
      display: grid;
      gap: 12px;
      padding: 24px;
      background: rgba(255, 255, 255, .08);
      border: 1px solid var(--line);
      border-radius: 22px;
      backdrop-filter: blur(16px);
    }

    .form input,
    .form select {
      width: 100%;
      min-height: 56px;
      padding: 0 18px;
      color: var(--white);
      background: rgba(34, 34, 34, .72);
      border: 1px solid var(--line-2);
      border-radius: 14px;
      outline: none;
    }

    .form select option {
      color: #080808;
      background: #ffffff;
    }

    .form input::placeholder {
      color: rgba(255, 255, 255, .52);
    }

    .form small {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .footer {
      padding: 54px 0;
      color: var(--muted);
      border-top: 1px solid var(--line);
    }

    .footer__grid {
      display: grid;
      grid-template-columns: 1fr auto auto;
      gap: 28px;
      align-items: center;
    }

    @media (max-width: 1160px) {
      .nav {
        display: none;
      }

      .hero__grid,
      .contact,
      .portfolio {
        grid-template-columns: 1fr;
      }

      .hero__services {
        max-width: 720px;
      }

      .services,
      .stats {
        grid-template-columns: repeat(2, 1fr);
      }

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

    @media (max-width: 760px) {
      .container {
        width: min(100% - 24px, var(--container));
      }

      .header__inner {
        min-height: 72px;
      }

      .brand small,
      .phone,
      .header__actions .btn--dark {
        display: none;
      }

      .brand {
        font-size: 16px;
      }

      .brand__logo {
        width: 42px;
        height: 42px;
      }

      .header__actions .btn {
        min-height: 42px;
        padding: 0 16px;
        font-size: 13px;
      }

      .hero {
        min-height: auto;
        padding: 118px 0 56px;
        background-position: 58% center;
      }

      .hero__grid {
        display: block;
        min-height: auto;
      }

      .hero h1 {
        font-size: 44px;
      }

      .hero__lead {
        font-size: 18px;
      }

      .hero__services {
        margin-top: 52px;
      }

      .hero__actions .btn {
        width: 100%;
      }

      .section {
        padding: 76px 0;
      }

      .section__head,
      .category__title {
        display: block;
      }

      .section h2 {
        font-size: 38px;
      }

      .section__head p,
      .category__title p {
        margin-top: 16px;
      }

      .service-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
      }

      .service-nav a {
        flex: 0 0 auto;
      }

      .services,
      .steps {
        grid-template-columns: 1fr;
      }

      .service-card {
        min-height: 420px;
      }

      .service-card p,
      .service-card:hover p {
        max-height: none;
        margin-top: 14px;
        opacity: 1;
        transform: none;
      }

      .portfolio__big,
      .portfolio__small {
        min-height: 420px;
      }

      .contact {
        padding: 26px;
        border-radius: 22px;
      }

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