:root {
  --color-accent: #ffb800;
  --color-accent-hover: #e6a600;
  --color-text: #1a1a1a;
  --color-text-secondary: #484848;
  --color-text-muted: #8a8a8a;
  --color-bg: #ffffff;
  --color-bg-muted: #f5f5f5;
  --color-border: #e8e8e8;
  --color-footer-bg: #1e1e1e;
  --color-footer-text: #b0b0b0;
  --color-footer-title: #ffffff;

  --font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-width: 1200px;
  --container-padding: 24px;

  --section-gap: 40px;
  --header-height: 80px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-accent {
  color: var(--color-accent);
}

.section {
  padding: var(--section-gap) 0;
}

.section-label {
  display: block;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.section-label::after {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  margin-top: 10px;
  background-color: var(--color-accent);
}

.section-title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.section-text {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.section-header {
  margin-bottom: 56px;
  text-align: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button--primary {
  color: var(--color-text);
  background-color: var(--color-accent);
}

.button--primary:hover {
  background-color: var(--color-accent-hover);
}

.button--large {
  padding: 16px 32px;
  font-size: 16px;
}

.button__arrow {
  display: block;
  width: 24px;
  height: auto;
  flex-shrink: 0;
}

.media-placeholder {
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-muted);
  border: 1px dashed var(--color-border);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-height);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__logo-img {
  display: block;
  width: 136px;
  height: 36px;
  object-fit: contain;
}

.header__logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.header__nav-link:hover {
  color: var(--color-accent);
}

.header__cta {
  flex-shrink: 0;
}

/* Hero */

.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .hero {
    min-height: clamp(440px, 42vw, 580px);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 560px;
}

.hero__title {
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
}

.hero__text {
  margin-bottom: 40px;
  max-width: 480px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.hero__image {
  position: absolute;
  top: 50%;
  right: calc(50% - 600px);
  transform: translateY(-50%);
  width: 800px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.about__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* About */

.about {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

@media (min-width: 1025px) {
  .about .section-title {
    font-size: 26px;
  }
}

.about__list-title {
  margin: 32px 0 16px;
  font-weight: 500;
}

.about__closing {
  margin-top: 32px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list__item {
  position: relative;
  padding-left: 32px;
  color: var(--color-text-secondary);
}

.check-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 16px;
  background: url("../assets/icons/list-check.png") no-repeat center / contain;
}

/* Services */

.services {
  background-color: var(--color-bg);
}

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

.card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.card__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  object-fit: contain;
}

.card__title {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
}

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

.arrow-list__item {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.arrow-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: url("../assets/icons/list-triangle.png") no-repeat center / contain;
}

/* Technologies */

.technologies__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
}

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

@media (min-width: 1025px) {
  .technologies__grid {
    gap: 0;
  }

  .tech-item {
    position: relative;
    padding: 40px 36px;
  }

  .tech-item:nth-child(-n + 3) {
    padding-bottom: 56px;
  }

  .tech-item:nth-child(n + 4) {
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .tech-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: var(--color-border);
  }

  .tech-item:not(:nth-child(3n + 1))::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 80px;
    max-height: 65%;
    transform: translateY(-50%);
    background-color: var(--color-border);
  }
}

.tech-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tech-item__title {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
}

.tech-item__text {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* Approach */

.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process__track {
  position: relative;
  width: 100%;
  height: 40px;
  margin-bottom: 20px;
}

.process__number {
  position: absolute;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  background-color: var(--color-accent);
}

.process__connector {
  position: absolute;
  left: calc(50% + 56px);
  top: 50%;
  width: calc(100% - 32px);
  height: auto;
  transform: translateY(-50%) scale(0.5);
  transform-origin: left center;
  pointer-events: none;
}

.process__icon {
  display: block;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  object-fit: contain;
}

.process__title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.process__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* Footer */

.footer {
  padding: 64px 0;
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
}

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

.footer__title {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-footer-title);
}

.footer__text {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.footer__address {
  font-size: 14px;
  line-height: 1.6;
}

.footer__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-footer-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-accent);
}

/* Responsive */

@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }

  .header__nav {
    display: none;
  }

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

  .hero__image {
    position: static;
    transform: none;
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 48px auto 0;
    pointer-events: auto;
  }

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

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

  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .process__connector {
    display: none;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-gap: 64px;
    --container-padding: 16px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .header__cta {
    display: none;
  }

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

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