* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f6d0d2;
}

.hero {
  width: 100%;
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  background: url("../assets/hero_section_bg.png") center top / cover no-repeat;
  overflow: hidden;
}

.hero__inner {
  flex: 1;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 28px 48px 0;
}

.hero__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.hero__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.hero__logo {
  width: auto;
  height: 72px;
  display: block;
}

.hero__brand-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
  letter-spacing: 0.1px;
  text-align: center;
  white-space: nowrap;
}

.hero__cta {
  flex-shrink: 0;
  margin-top: 4px;
  height: 48px;
  min-width: 168px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: #ff0000;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.25);
}

.hero__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.hero__left {
  flex: 0 1 52%;
  max-width: 640px;
  padding-top: 4px;
}

.hero__headline {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 800;
}

.hero__headline-accent {
  font-size: clamp(42px, 4.2vw, 58px);
  color: #ff0000;
  letter-spacing: -0.5px;
}

.hero__headline-main {
  font-size: clamp(44px, 4.6vw, 64px);
  color: #111111;
  letter-spacing: -0.5px;
}

.hero__headline-sub {
  margin-top: 4px;
  font-size: clamp(28px, 2.8vw, 40px);
  color: #111111;
  font-weight: 800;
}

.hero__service-badge {
  display: block;
  width: auto;
  height: 55px;
  margin-bottom: 5px;
}

.hero__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.hero__service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1.5px solid #ff0000;
  border-radius: 14px;
  min-height: 64px;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero__service-card:hover {
    transform: translateY(-3px);
    background-color: #fff5f5;
    border-color: #cc0000;
    box-shadow: 0 10px 22px rgba(255, 0, 0, 0.14);
  }

  .hero__service-card:hover .hero__service-icon {
    transform: scale(1.06);
  }
}

.hero__service-card--hover,
.hero__service-card:focus-visible {
  transform: translateY(-3px);
  background-color: #fff5f5;
  border-color: #cc0000;
  box-shadow: 0 10px 22px rgba(255, 0, 0, 0.14);
  outline: none;
}

.hero__service-card--hover .hero__service-icon,
.hero__service-card:focus-visible .hero__service-icon {
  transform: scale(1.06);
}

.hero__service-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__service-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  transition: transform 0.22s ease;
}

.hero__service-text {
  min-width: 0;
}

.hero__service-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: #111111;
}

.hero__service-desc {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  color: #555555;
}

.hero__phones {
  flex: 0 1 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.hero__phones-float {
  width: 100%;
  max-width: 620px;
  animation: hero-phone-float 2.2s ease-in-out infinite;
  will-change: transform;
}

.hero__phones-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  object-fit: contain;
}

@keyframes hero-phone-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__phones-float {
    animation: none;
  }

  .scroll-top {
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  .scroll-top--visible:hover,
  .scroll-top--visible:active {
    transform: none;
  }
}

.hero__tech {
  width: 100%;
  margin-top: auto;
  padding: clamp(32px, 4vw, 50px) 0 clamp(28px, 3.5vw, 48px);
}

.hero__tech-img {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  display: block;
  height: auto;
}

.about {
  width: 100%;
  background: #ffffff;
  padding: 70px 46px 64px;
}

.about__wrapper {
  max-width: 1450px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.about__image-wrap {
  width: 43%;
  display: flex;
  justify-content: center;
}

.about__image {
  width: 100%;
  max-width: 630px;
  height: auto;
  display: block;
}

.about__content {
  width: 57%;
  max-width: 760px;
}

.about__label {
  margin: 0 0 14px;
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.02em;
  position: relative;
}

.about__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 4px;
  background: #ff0000;
  transform: skewX(-32deg);
  transform-origin: left;
}

.about__title {
  margin: 0 0 22px;
  font-size: 55px;
  line-height: 1.1;
  color: #0e1014;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about__title-accent {
  color: #ff0000;
}

.about__text {
  margin: 0;
  max-width: 900px;
  font-size: 18px;
  line-height: 1.55;
  color: #4d4f55;
  letter-spacing: 0.08em;
  text-transform: capitalize;
}

.all-project {
  width: 100%;
  padding: 26px 24px 30px;
  background: url("../assets/all_project_bg.png") center center / cover no-repeat;
}

.all-project__wrapper {
  max-width: 1420px;
  margin: 0 auto;
}

.all-project__label {
  margin: 0;
  text-align: center;
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  font-weight: 700;
  color: #111111;
}

.all-project__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 4px;
  background: #ff0000;
  transform: skewX(-32deg);
  transform-origin: left;
}

.all-project__title {
  margin: 8px 0 24px;
  text-align: center;
  font-size: 50px;
  line-height: 1.1;
  font-weight: 700;
  color: #111111;
}

.all-project__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.project-card__banner {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
  padding: 10px;
}

.project-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 10px 10px 12px;
}

.project-card__title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.16;
  color: #151515;
  font-weight: 700;
}

.project-card__text {
  margin: 0 0 11px;
  font-size: 12px;
  line-height: 1.4;
  color: #4d4f55;
}

.project-card__stores {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  min-height: 32px;
}

.project-card__stores--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: calc(50% - 4px);
}

.project-card__store-link {
  display: inline-flex;
  line-height: 1;
}

.project-card__store-logo {
  width: 96px;
  height: auto;
  display: block;
}

.project-card__get-started {
  margin-top: auto;
}

.project-card__get-started-label {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #151515;
}

.project-card__browsers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 300px;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  background: #000000;
  border: 1px solid #c9c9c9;
}

.project-card__browser-link {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 1;
  border-radius: 50%;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.project-card__browser-link:hover {
  transform: scale(1.06);
  opacity: 0.9;
}

.project-card__browser-link:active {
  transform: scale(0.96);
}

.project-card__browser-logo {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
}

.team {
  width: 100%;
  padding: 64px 40px 72px;
  background: #ffffff;
}

.team__inner {
  max-width: 1460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.team__intro {
  flex: 0 0 min(340px, 32%);
  max-width: 400px;
}

.team__label {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.02em;
}

.team__label-text {
  position: relative;
  padding-bottom: 8px;
}

.team__label-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #ff0000;
  transform: skewX(-32deg);
  transform-origin: left;
}

.team__heading {
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: #0e1014;
  letter-spacing: -0.02em;
}

.team__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #5a5d66;
  letter-spacing: 0.08em;
}

.team__carousel {
  flex: 1;
  min-width: 0;
  position: relative;
  padding: 8px 0;
}

.team__viewport {
  overflow: hidden;
  width: 100%;
}

.team__track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.team-card {
  border: 2px solid #ff0000;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
}

.team-card__image-wrap {
  height: 280px;
  background: #e8eaed;
  overflow: hidden;
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__body {
  padding: 18px 14px 20px;
  text-align: center;
  background: #ffffff;
}

.team-card__name {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
}

.team-card__role {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #ff0000;
}

.team__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.team__arrow:disabled {
  background: #c5c9d0;
  cursor: not-allowed;
}

.team__arrow:not(:disabled):hover {
  transform: translateY(-50%) scale(1.05);
}

.team__arrow--prev {
  justify-self: start;
  margin-left: -20px;
  background: #ff0000;
  color: #ffffff;
}

.team__arrow--next {
  justify-self: end;
  margin-right: -25px;
  background: #ff0000;
  color: #ffffff;
}

.team__arrow-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.contact {
  width: 100%;
  padding: 60px 24px;
  background: url("../assets/contactus_bg.png") center center / cover no-repeat;
}

.contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.contact__card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 50px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact__title {
  margin: 0 0 32px;
  max-width: 520px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: #111111;
  text-align: left;
}

.contact__form {
  margin: 0;
}

.contact__row {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.contact__row--two {
  grid-template-columns: 1fr 1fr;
}

.contact__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.contact__field--full {
  margin-bottom: 0;
}

.contact__label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  text-align: left;
}

.contact__input,
.contact__textarea {
  width: 100%;
  border: 1px solid #c5cad1;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #222222;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: #9aa0a8;
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: #a8aeb6;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
}

.contact__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.45;
}

.contact__submit {
  display: inline-block;
  margin-top: 32px;
  border: 0;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: #ffffff;
  background: #ff0000;
  cursor: pointer;
  line-height: 1.2;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.contact__submit:hover {
  opacity: 0.92;
}

.contact__submit:active {
  transform: scale(0.98);
}

.contact__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact__status {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

.contact__status--success {
  color: #0d7a3d;
}

.contact__status--error {
  color: #c41e1e;
}

.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff0000;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.2s ease;
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top--visible:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(255, 0, 0, 0.42);
}

.scroll-top--visible:active {
  transform: translateY(-1px) scale(0.96);
}

.scroll-top:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.scroll-top__icon {
  width: 26px;
  height: 26px;
  display: block;
}

@media (max-width: 1400px) {
  .hero__inner {
    padding: 24px 32px 0;
  }

  .hero__logo {
    height: 64px;
  }

  .hero__brand-name {
    font-size: 14px;
  }

  .hero__service-title {
    font-size: 13px;
  }

  .about {
    padding: 56px 32px 52px;
  }

  .about__wrapper {
    gap: 44px;
  }

  .about__label {
    font-size: 30px;
  }

  .about__title {
    font-size: 58px;
  }

  .about__text {
    font-size: 26px;
  }

  .all-project__title {
    font-size: 44px;
  }

  .project-card__banner {
    height: 180px;
  }

  .project-card__title {
    font-size: 30px;
  }

  .team {
    padding: 48px 28px 56px;
  }

  .team__inner {
    gap: 36px;
  }

  .team__heading {
    font-size: 42px;
  }

  .team-card__image-wrap {
    height: 180px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 24px 20px 0;
  }

  .hero__header {
    margin-bottom: 8px;
  }

  .hero__body {
    flex-direction: column;
    align-items: center;
  }

  .hero__left {
    flex: 1 1 auto;
    width: 100%;
    max-width: 640px;
  }

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

  .hero__service-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__phones {
    width: 100%;
    padding-top: 16px;
  }

  .hero__phones-float,
  .hero__phones-img {
    max-width: 380px;
  }

  .hero__phones-float,
  .hero__phones-img {
    max-width: 240px;
  }

  .about {
    padding: 42px 20px 46px;
  }

  .about__wrapper {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .about__image-wrap,
  .about__content {
    width: 100%;
    max-width: 820px;
  }

  .about__label {
    font-size: 24px;
  }

  .about__label::after {
    left: 50%;
    transform: translateX(-50%) skewX(-32deg);
    width: 110%;
  }

  .about__title {
    font-size: 42px;
  }

  .about__text {
    font-size: 20px;
  }

  .all-project {
    padding: 24px 14px 24px;
  }

  .all-project__label {
    font-size: 18px;
  }

  .all-project__title {
    margin-bottom: 18px;
    font-size: 34px;
  }

  .all-project__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card__banner {
    height: 160px;
  }

  .project-card__title {
    font-size: 24px;
  }

  .team {
    padding: 40px 20px 48px;
  }

  .team__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .team__intro {
    flex: 1 1 auto;
    max-width: none;
  }

  .team__carousel {
    padding: 8px 36px;
  }

  .team__arrow--prev {
    left: 4px;
  }

  .team__arrow--next {
    right: 4px;
  }
}

@media (max-width: 680px) {
  .hero__inner {
    padding: 20px 14px 0;
  }

  .hero__logo {
    height: 52px;
  }

  .hero__brand-name {
    font-size: 13px;
  }

  .hero__cta {
    min-width: 120px;
    height: 42px;
    padding: 0 16px;
    font-size: 15px;
  }

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

  .hero__service-card {
    min-height: 58px;
    padding: 10px 12px;
  }

  .hero__tech {
    padding: clamp(24px, 5vw, 40px) 8px clamp(24px, 4vw, 36px);
  }

  .all-project__grid {
    grid-template-columns: 1fr;
  }

  .project-card__browsers {
    gap: 6px;
    padding: 8px 10px;
  }

  .project-card__browser-logo {
    width: 22px;
    height: 22px;
  }

  .contact {
    padding: 44px 16px;
  }

  .contact__card {
    padding: 34px 24px;
  }

  .contact__title {
    font-size: 22px;
    margin-bottom: 22px;
  }

  .contact__row--two {
    grid-template-columns: 1fr;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .scroll-top__icon {
    width: 24px;
    height: 24px;
  }
}
