@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul, li {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a,
a:hover {
  text-decoration: none;
}

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
}

body {
  -webkit-text-size-adjust: none;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
}

button,
input[type=cancel],
input[type=reset],
input[type=submit]:hover {
  cursor: pointer;
}

input[type=file],
input[type=password],
input[type=submit],
input[type=text],
input[type=email],
input[type=search],
textarea,
select {
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  overflow: auto;
}

select::ms-expand {
  display: none;
}

input::-ms-clear {
  display: none;
}

/**************
END RESETT CSS
****************/
@font-face {
  font-family: "PTSans";
  src: url("../font/PTSansRegular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "PTSans";
  src: url("../font/PTSansBold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --gradient: linear-gradient(to bottom, #6BD8E1, #1F3847);
  --bg-color: #1F3847;
  --main-font: "Inter", sans-serif;
  --secondary-font: "Merriweather", serif;
  --text-color: #13222B;
}

html, body {
  min-height: 100%;
}

html {
  font-size: 10px;
}

body {
  background-color: #fff;
  color: var(--text-color);
  font-family: var(--main-font);
  font-size: max(14px, 2.2rem);
  line-height: 1.2;
  font-weight: 500;
}

img {
  max-width: 100%;
}

a {
  color: currentColor;
  transition: all 0.2s;
}

h1, .h1 {
  font-size: max(26px, 5rem);
  font-family: var(--secondary-font);
  text-transform: uppercase;
}

h2, .h2 {
  font-size: max(24px, 4rem);
  font-family: var(--secondary-font);
  text-transform: uppercase;
}

h3, .h3 {
  font-size: max(22px, 3.6rem);
}

h4, .h4 {
  font-size: max(14px, 2.4rem);
}

.font-500 {
  font-weight: 500;
}

b, strong, .font-700 {
  font-weight: 700;
}

.font-900 {
  font-weight: 900;
}

.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

.wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1490px;
  margin: 0 auto;
  padding: 0 20px;
}

.main {
  flex: 1 0 auto;
}

.footer {
  flex: 0 0 auto;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.header {
  border-bottom: 1px solid var(--bg-color);
  padding: max(12px, 2rem) 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu {
  display: flex;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  gap: 6rem;
}
.menu li a:hover {
  color: #6BD8E1;
}
.menu .close {
  display: none;
}

.btn {
  display: inline-flex;
  font-size: 2rem;
  height: 4em;
  border-radius: 5em;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  align-items: center;
  padding: 0 2em;
  transition: all 0.3s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.6);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.first-screen {
  padding: 10rem 0 7rem;
}
.first-screen .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: flex-start;
}
.first-screen__left .name {
  margin: 20px 0;
}
.first-screen__left .list {
  margin-bottom: max(30px, 6rem);
}
.first-screen__left .btn {
  margin-top: 20px;
}
.first-screen__right {
  position: relative;
  line-height: 0;
}
.first-screen__right::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: var(--bg-color);
  transform: translate(30px, -30px);
  transition: all 0.5s;
}
.first-screen__right img {
  position: relative;
  z-index: 2;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.65em;
}
.list li {
  padding-left: 1.4em;
  position: relative;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.75em;
  height: 0.75em;
  background: var(--gradient);
  border-radius: 50%;
}

.highlight {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: var(--bg-color);
  color: #fff;
  line-height: 1.4;
  padding-top: 0.07em;
  padding-inline: 0.1em;
}
.highlight--white {
  background: #fff;
  color: var(--text-color);
}

/* Анимированный текст */
.animated-text {
  display: inline-block;
  position: relative;
}

.animated-word {
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-word.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Направления анимации */
.animated-word.from-left {
  transform: translateX(-50px);
}

.animated-word.from-right {
  transform: translateX(50px);
}

.animated-word.from-top {
  transform: translateY(-30px);
}

.animated-word.from-bottom {
  transform: translateY(30px);
}

.animated-word.from-left.animate,
.animated-word.from-right.animate,
.animated-word.from-top.animate,
.animated-word.from-bottom.animate {
  transform: translateX(0) translateY(0);
}

.develop {
  background: var(--bg-color);
  color: #fff;
  padding: max(40px, 10rem) 0;
}
.develop__main {
  display: grid;
  grid-template-columns: min(40%, 670px) 1fr;
  gap: max(20px, 6rem);
}
.develop__main .list {
  margin-top: max(20px, 6rem);
  line-height: 1.4;
}
.develop__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.develop__right .btn {
  margin-top: auto;
}

.questions {
  padding: max(40px, 10rem) 0;
}
.questions .title {
  margin-bottom: max(20px, 6rem);
}
.questions__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.questions__list__item {
  color: #fff;
  background: var(--text-color);
  min-height: 16rem;
  display: flex;
  align-items: center;
  padding: 10px 4rem;
  gap: 4rem;
  text-transform: uppercase;
}

.notice {
  margin-top: max(30px, 5rem);
  text-align: center;
}
.notice p {
  max-width: 480px;
  margin: 20px auto;
}
.notice .btn {
  margin-top: max(20px, 3rem);
}

.features {
  position: relative;
  padding-bottom: max(40px, 10rem);
}
.features::before {
  content: "";
  position: absolute;
  top: 24rem;
  left: 0;
  width: 100%;
  height: calc(100% - 24rem);
  background: #13222B;
}
.features .container {
  position: relative;
  z-index: 2;
}

.work {
  color: #fff;
  padding: max(40px, 10rem) 0;
  position: relative;
}
.work::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10rem;
  width: calc(100% + 20rem);
  height: 100%;
  background: var(--bg-color);
  z-index: 1;
}
.work > div {
  position: relative;
  z-index: 2;
}
.work .title {
  margin-bottom: max(20px, 8rem);
}

.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-start;
}

.work__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work__item {
  position: relative;
  padding: max(20px, 4rem) max(15px, 2rem);
  border: 1px solid #77868F;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}
.work__item .icon {
  margin-bottom: 12px;
}

.work__item:hover {
  background: #fff;
  color: var(--text-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.work__item-title {
  text-transform: uppercase;
  margin-bottom: max(10px, 2rem);
  font-weight: 900;
  font-family: var(--secondary-font);
}

.work__item-text {
  font-size: max(14px, 2.2rem);
  line-height: 1.4;
  font-weight: 500;
}

.work__image {
  position: relative;
}

.work__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.help {
  margin: max(40px, 10rem) 0 0;
}
.help .title {
  color: #fff;
  margin-bottom: max(20px, 6rem);
}

.help__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: max(20px, 4rem);
}

.help__item {
  background: #fff;
  color: var(--text-color);
  padding: max(20px, 4rem);
  position: relative;
}

.help__dots {
  display: flex;
  gap: 8px;
  margin-bottom: max(20px, 4rem);
}

.dot {
  width: max(15px, 2rem);
  height: max(15px, 2rem);
  border-radius: 50%;
  border: 1px solid var(--text-color);
  transition: all 0.3s ease;
}

.dot--active {
  background: var(--gradient);
  border: none;
}

.help__title {
  font-size: max(20px, 3rem);
  font-family: var(--secondary-font);
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: max(15px, 3rem);
  line-height: 1.2;
}

.help__text {
  font-size: max(14px, 2.2rem);
  line-height: 1.4;
  font-weight: 500;
}

@media (max-width: 968px) {
  .help__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .help__grid {
    grid-template-columns: 1fr;
    gap: max(15px, 3rem);
  }
}
.control {
  background: #000000;
  color: #fff;
  padding: max(40px, 10rem) 0;
  position: relative;
  overflow: hidden;
}
.control .title {
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: max(10px, 2rem);
}

.control__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.control__text {
  margin-bottom: max(20px, 4rem);
}

.control__subtitle {
  margin-bottom: max(10px, 2rem);
  margin-top: max(20px, 6rem);
  text-transform: uppercase;
  font-weight: 900;
  font-family: var(--secondary-font);
}

.control__image {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.control__image img {
  position: absolute;
  left: 0;
  bottom: -10rem;
  width: 50vw;
  max-width: none;
}

@media (max-width: 767px) {
  .control__body {
    grid-template-columns: 1fr;
  }
}
.cta {
  background: #fff;
  padding: max(40px, 10rem) 0;
  text-align: center;
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: max(20px, 3.2rem);
}

.cta__title {
  text-transform: uppercase;
  font-weight: 700;
}

.footer {
  background: var(--bg-color);
  color: #fff;
  padding: max(40px, 7rem) 0 20px;
  text-align: center;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: max(20px, 4rem);
  margin-bottom: max(20px, 6rem);
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: max(16px, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer__nav a:hover {
  color: #6BD8E1;
}

.footer__copyright {
  font-size: max(12px, 1.6rem);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .cta__title {
    font-size: max(22px, 4rem);
  }
  .footer__nav {
    gap: max(15px, 3rem);
  }
  .footer__nav a {
    font-size: max(14px, 1.8rem);
  }
}
.burger {
  display: none;
}

@media (max-width: 1600px) {
  html {
    font-size: 0.65vw;
  }
}
@media (max-width: 1440px) {
  html {
    font-size: 0.6vw;
  }
  .container {
    max-width: 1240px;
  }
  h1, .h1 {
    font-size: max(26px, 4.4rem);
  }
  h2, .h2 {
    font-size: max(24px, 3.6rem);
  }
  h3, .h3 {
    font-size: max(22px, 3rem);
  }
  .develop__right .btn {
    margin-top: 4rem;
  }
  .develop__main .list {
    margin-top: max(20px, 4rem);
  }
  .develop__left img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .questions__list__item {
    min-height: 13rem;
  }
  .questions .title {
    margin-bottom: max(20px, 4rem);
  }
  .work__item {
    padding: max(20px, 2rem) max(15px, 2rem);
  }
  .work__item .icon {
    width: 25px;
    height: 25px;
    margin-bottom: 6px;
  }
  .work__item-text {
    font-size: max(14px, 2rem);
  }
  .help__item {
    padding: max(20px, 3rem);
  }
  .help__dots {
    margin-bottom: max(20px, 2.1rem);
  }
  .help__title {
    margin-bottom: max(15px, 2rem);
    font-size: max(20px, 2.4rem);
  }
}
@media (max-width: 1300px) {
  .work::before {
    width: calc(100% + 40px);
    left: -20px;
  }
  .first-screen__right::before {
    transform: translate(10px, -10px);
  }
  .work__grid {
    grid-template-columns: 1fr 40%;
  }
  .control__image {
    min-height: 300px;
  }
  .btn {
    font-size: 13px;
  }
}
@media (max-width: 990px) {
  .menu {
    font-size: 12px;
    gap: 25px;
  }
}
@media (max-width: 767px) {
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: var(--bg-color);
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--secondary-font);
    font-size: 30px;
    font-weight: 700;
    transform: translateY(10%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 100;
  }
  .menu .close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .open-menu {
    overflow: hidden;
  }
  .open-menu .menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .burger {
    display: block;
    width: 40px;
    height: 32px;
  }
  .burger svg {
    width: 100%;
    height: 100%;
  }
  .first-screen .container {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .first-screen__right {
    max-width: 480px;
  }
  .first-screen__right img {
    width: 100%;
  }
  .first-screen__left .name {
    margin: 12px 0;
  }
  .first-screen {
    padding: 40px 0;
  }
  .develop__main {
    display: flex;
    flex-direction: column-reverse;
  }
  .develop__right .btn {
    margin-top: 20px;
  }
  .questions__list__item {
    padding: 15px;
  }
  .notice .btn {
    margin: 0;
  }
  .work__grid {
    grid-template-columns: 1fr;
  }
  .work__item {
    padding: 20px 12px;
  }
  .control__image img {
    position: relative;
    width: calc(100% + 40px);
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    bottom: 0;
    left: -20px;
  }
  .cta__title br {
    display: none;
  }
  #approach,
  #problems,
  #cases,
  #why-me,
  #services,
  #contacts {
    scroll-margin-top: 80px;
  }
}
@media (min-width: 1360px) {
  .image-3d {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }
  .image-3d::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
  }
  /* Картинка внутри контейнера */
  .image-3d img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateY(0deg) scale(1);
  }
  .image-3d:hover::before {
    opacity: 1;
  }
  .image-3d:hover img {
    transform: perspective(1000px) rotateY(-8deg) scale(1.05);
  }
  .first-screen__right {
    position: relative;
    line-height: 0;
  }
  .first-screen__right picture,
  .first-screen__right .image-3d {
    display: block;
  }
  .first-screen__right:hover::before {
    transform: translate(40px, -40px) rotateZ(2deg);
  }
  .first-screen__right img {
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateY(0deg) scale(1);
  }
  .first-screen__right:hover img {
    transform: perspective(1000px) rotateY(-5deg) scale(1.02);
  }
  /* 2. Картинка в develop секции */
  .develop__left {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
  }
  .develop__left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
  }
  .develop__left:hover::before {
    opacity: 1;
  }
  .develop__left img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateY(0deg) scale(1);
  }
  .develop__left:hover img {
    transform: perspective(1000px) rotateY(8deg) scale(1.05);
  }
  /* 3. Картинка в work секции */
  .work__image {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
  }
  .work__image:hover::before {
    opacity: 1;
  }
  .work__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateY(0deg) scale(1);
  }
  .work__image:hover img {
    transform: perspective(1000px) rotateY(-6deg) scale(1.03);
  }
  /* 4. Картинка в control секции */
  .control__image {
    position: relative;
    height: 100%;
    min-height: 400px;
    transform-style: preserve-3d;
  }
  .control__image:hover::before {
    opacity: 1;
  }
  .control__image img {
    position: absolute;
    left: 0;
    bottom: -10rem;
    width: 50vw;
    max-width: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateY(0deg) scale(1);
  }
  .control__image:hover img {
    transform: perspective(1000px) rotateY(4deg) scale(1.02);
  }
  /* Анимация при загрузке страницы */
  @keyframes imageAppear {
    from {
      opacity: 0;
      transform: perspective(1000px) rotateY(-15deg) scale(0.9);
    }
    to {
      opacity: 1;
      transform: perspective(1000px) rotateY(0deg) scale(1);
    }
  }
  .image-3d img {
    animation: imageAppear 0.8s ease-out;
  }
  .image-3d-strong:hover img {
    transform: perspective(1000px) rotateY(-12deg) rotateX(2deg) scale(1.05);
  }
  .image-3d-strong:hover {
    transform: translateZ(20px);
  }
  /* Эффект "карточки" */
  .image-card-3d {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .image-card-3d:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
  .image-card-3d img {
    border-radius: 15px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .image-card-3d:hover img {
    transform: scale(1.02);
  }
}
/*Header*/
/*Footer*/