:root {
  --home-blue: #009ee0;
  --home-blue-dark: #007aad;
  --home-ink: #0b1822;
  --home-muted: #5a6974;
  --home-light: #f3f7fa;
  --home-line: #dce5eb;
  --home-white: #fff;
}

body.home-page {
  overflow-x: hidden;
  background: var(--home-white);
  color: var(--home-ink);
  font-family: "Rubik", sans-serif;
}

body.home-page * {
  box-sizing: border-box;
}

body.home-page a:focus-visible {
  outline: 3px solid #7bd3f7;
  outline-offset: 4px;
}

body.home-page .home-hero {
  min-height: 740px;
  height: auto;
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(3, 11, 17, 0.3) 0%, rgba(3, 11, 17, 0.48) 38%, rgba(3, 11, 17, 0.94) 67%, rgba(3, 11, 17, 0.99) 100%),
    url("../images/bg.jpg");
  background-position: left center;
  background-size: cover;
}

body.home-page .home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 11, 17, 0), rgba(3, 11, 17, 0.48));
}

body.home-page .home-hero > .container {
  padding-bottom: 90px;
}

body.home-page .home-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
  margin: 0;
  padding: 24px 0 0;
  position: relative;
}

body.home-page .home-nav::before,
body.home-page .home-nav::after {
  content: none;
}

body.home-page .home-nav .home-logo {
  float: none;
  margin: 0;
  flex: 0 0 auto;
}

body.home-page .home-nav .home-logo a {
  display: inline-block;
}

body.home-page .home-nav .home-logo img {
  width: auto;
  max-height: 68px;
}

body.home-page .nav-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  margin-left: auto;
}

body.home-page .home-nav #contact,
body.home-page .home-nav #langs,
body.home-page .home-nav .nav-buttons {
  position: static;
  top: auto;
  right: auto;
  margin: 0;
}

body.home-page .home-nav #contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  height: auto;
  padding: 0;
  border: 0;
}

body.home-page .home-nav #contact a {
  margin: 0;
}

body.home-page .home-nav #langs {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

body.home-page .home-nav .nav-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  flex-basis: 100%;
  width: 100%;
}

body.home-page .home-nav .nav-buttons .button,
body.home-page .hero-actions .button,
body.home-page .contact-cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 7px;
  color: var(--home-white);
  background: rgba(8, 25, 36, 0.68);
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

body.home-page .home-nav .nav-buttons .button:hover,
body.home-page .home-nav .nav-buttons .button:focus {
  border-color: var(--home-blue);
  color: var(--home-white);
  background: rgba(0, 158, 224, 0.2);
  transform: translateY(-2px);
}

body.home-page .hero-content {
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  padding-top: 82px;
}

body.home-page .hero-kicker,
body.home-page .section-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.home-page .hero-content h2 {
  max-width: 760px;
  margin: 0;
  padding: 0;
  color: var(--home-white);
  font-size: clamp(42px, 5.3vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  text-align: left;
  letter-spacing: -0.03em;
}

body.home-page .hero-content h2::before {
  content: none;
}

body.home-page .hero-lead {
  max-width: 700px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.65;
}

body.home-page .hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

body.home-page .hero-actions .button,
body.home-page .contact-cta .button {
  min-height: 54px;
  padding: 15px 20px;
}

body.home-page .button.button-primary {
  border-color: var(--home-blue);
  background: var(--home-blue);
}

body.home-page .button.button-primary:hover,
body.home-page .button.button-primary:focus {
  border-color: var(--home-blue-dark);
  color: var(--home-white);
  background: var(--home-blue-dark);
  transform: translateY(-2px);
}

body.home-page .button.button-secondary:hover,
body.home-page .button.button-secondary:focus {
  border-color: var(--home-white);
  color: var(--home-white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

body.home-page .hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 27px;
  margin: 28px 0 0;
  padding: 0;
}

body.home-page .hero-highlights li {
  margin: 0;
  padding: 0 0 0 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

body.home-page .hero-highlights li::before {
  top: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--home-blue);
  border-radius: 50%;
  background: transparent;
}

body.home-page main section {
  background: transparent;
}

body.home-page .solutions-section,
body.home-page .expertise-section {
  padding: 100px 0;
}

body.home-page .solutions-section {
  background: var(--home-light);
}

body.home-page .section-heading {
  max-width: 690px;
  margin: 0 auto 48px;
  text-align: center;
}

body.home-page .section-heading h2,
body.home-page .expertise-intro h2,
body.home-page .contact-cta h2 {
  margin: 0;
  padding: 0;
  color: var(--home-ink);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.16;
  text-align: inherit;
  letter-spacing: -0.025em;
}

body.home-page .section-heading h2::before,
body.home-page .expertise-intro h2::before,
body.home-page .contact-cta h2::before {
  content: none;
}

body.home-page .section-heading p,
body.home-page .expertise-intro p,
body.home-page .contact-cta p {
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

body.home-page .solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.home-page .solution-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  background: var(--home-white);
  box-shadow: 0 20px 55px rgba(15, 41, 58, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

body.home-page .solution-card:hover {
  box-shadow: 0 26px 65px rgba(15, 41, 58, 0.14);
  transform: translateY(-5px);
}

body.home-page .solution-card__media {
  display: flex;
  height: 238px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e9eef1;
}

body.home-page .solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-page .solution-card__media--light {
  background: var(--home-white);
}

body.home-page .solution-card__media--light img {
  object-fit: contain;
  padding: 20px;
}

body.home-page .solution-card__media--product {
  background: var(--home-white);
}

body.home-page .solution-card__media--product img {
  object-fit: contain;
  padding: 20px;
}

body.home-page .solution-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 28px 30px;
}

body.home-page .solution-card__tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--home-blue-dark);
  background: rgba(0, 158, 224, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.home-page .solution-card h3,
body.home-page .process-grid h3 {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--home-ink);
  background: transparent;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.25;
}

body.home-page .solution-card__body > p {
  margin: 15px 0 21px;
  color: var(--home-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

body.home-page .solution-card ul,
body.home-page .expertise-list {
  margin: 0;
  padding: 0;
}

body.home-page .solution-card li,
body.home-page .expertise-list li {
  margin: 0 0 11px;
  padding-left: 22px;
  color: #354652;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

body.home-page .solution-card li::before,
body.home-page .expertise-list li::before {
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-blue);
}

body.home-page .card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--home-blue-dark);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

body.home-page .card-link span {
  font-size: 21px;
  line-height: 1;
  transition: transform 0.2s ease;
}

body.home-page .card-link:hover,
body.home-page .card-link:focus {
  color: var(--home-blue);
  text-decoration: none;
}

body.home-page .card-link:hover span,
body.home-page .card-link:focus span {
  transform: translateX(4px);
}

body.home-page .process-section {
  padding: 100px 0;
  background: var(--home-ink);
}

body.home-page .section-heading--light h2 {
  color: var(--home-white);
}

body.home-page .section-heading--light p {
  color: rgba(255, 255, 255, 0.68);
}

body.home-page .process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

body.home-page .process-grid > li {
  min-width: 0;
  margin: 0;
  padding: 29px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
}

body.home-page .process-grid > li::before {
  content: none;
}

body.home-page .process-number {
  display: block;
  margin-bottom: 30px;
  color: var(--home-blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

body.home-page .process-grid h3 {
  color: var(--home-white);
  font-size: 22px;
}

body.home-page .process-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

body.home-page .expertise-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
  padding: 54px;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  background: var(--home-white);
  box-shadow: 0 20px 55px rgba(15, 41, 58, 0.07);
}

body.home-page .expertise-intro .section-kicker,
body.home-page .contact-cta .section-kicker {
  margin-bottom: 14px;
}

body.home-page .expertise-intro h2 {
  font-size: clamp(31px, 3.3vw, 42px);
}

body.home-page .expertise-list {
  display: grid;
  gap: 17px;
}

body.home-page .expertise-list li {
  margin: 0;
  padding: 0 0 17px 27px;
  border-bottom: 1px solid var(--home-line);
  font-size: 15px;
}

body.home-page .expertise-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.home-page .contact-cta {
  padding: 76px 0;
  background: #eaf5fa;
}

body.home-page .contact-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

body.home-page .contact-cta h2 {
  max-width: 650px;
  font-size: clamp(31px, 3.3vw, 44px);
}

body.home-page .contact-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 11px;
  min-width: 230px;
}

body.home-page .contact-cta .button-outline {
  border-color: #b8ceda;
  color: var(--home-ink);
  background: transparent;
}

body.home-page .contact-cta .button-outline:hover,
body.home-page .contact-cta .button-outline:focus {
  border-color: var(--home-ink);
  color: var(--home-ink);
  background: rgba(255, 255, 255, 0.56);
  transform: translateY(-2px);
}

body.home-page footer .container {
  padding-top: 58px;
  padding-bottom: 58px;
}

body.home-page footer .footer-heading {
  position: relative;
  margin: 0;
  padding: 0 0 30px;
  color: var(--home-white);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

body.home-page footer .footer-heading::before {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 90px;
  height: 6px;
  margin-left: -45px;
  content: "";
  background: var(--home-white);
}

@media only screen and (max-width: 1199px) {
  body.home-page .home-nav {
    gap: 18px 24px;
  }

  body.home-page .solutions-grid {
    gap: 18px;
  }

  body.home-page .solution-card__body {
    padding-right: 23px;
    padding-left: 23px;
  }
}

@media only screen and (max-width: 991px) {
  body.home-page .home-hero {
    min-height: 0;
    background-image:
      linear-gradient(90deg, rgba(3, 11, 17, 0.76), rgba(3, 11, 17, 0.88)),
      url("../images/bg.jpg");
    background-position: 34% center;
  }

  body.home-page .home-hero > .container {
    padding-bottom: 74px;
  }

  body.home-page .home-nav {
    justify-content: center;
  }

  body.home-page .home-nav .home-logo,
  body.home-page .nav-meta,
  body.home-page .home-nav .nav-buttons {
    flex-basis: 100%;
    width: 100%;
  }

  body.home-page .home-nav .home-logo {
    text-align: center;
  }

  body.home-page .nav-meta {
    justify-content: center;
    margin-left: 0;
  }

  body.home-page .home-nav .nav-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page .hero-content {
    margin: 0 auto;
    padding-top: 64px;
    text-align: center;
  }

  body.home-page .hero-content h2,
  body.home-page .hero-lead {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  body.home-page .hero-highlights {
    justify-content: center;
  }

  body.home-page .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page .solution-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
    margin: 0 auto;
  }

  body.home-page .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-page .process-grid > li {
    padding: 24px 21px;
  }

  body.home-page .expertise-panel {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  body.home-page .contact-cta__content {
    align-items: flex-start;
  }
}

@media only screen and (max-width: 767px) {
  body.home-page .home-hero > .container {
    padding-right: 20px;
    padding-bottom: 62px;
    padding-left: 20px;
  }

  body.home-page .home-nav {
    gap: 16px;
    padding-top: 20px;
  }

  body.home-page .home-nav .home-logo img {
    max-height: 58px;
  }

  body.home-page .nav-meta {
    flex-direction: column;
    gap: 13px;
  }

  body.home-page .home-nav #contact {
    flex-direction: column;
    gap: 9px;
  }

  body.home-page .home-nav .nav-buttons,
  body.home-page .hero-actions {
    grid-template-columns: 1fr;
  }

  body.home-page .home-nav .nav-buttons .button {
    width: 100%;
    max-width: none;
  }

  body.home-page .hero-content {
    padding-top: 50px;
  }

  body.home-page .hero-content h2 {
    font-size: 39px;
  }

  body.home-page .hero-lead {
    font-size: 17px;
    line-height: 1.6;
  }

  body.home-page .hero-highlights {
    align-items: center;
    flex-direction: column;
  }

  body.home-page .solutions-section,
  body.home-page .process-section,
  body.home-page .expertise-section {
    padding: 72px 0;
  }

  body.home-page .section-heading {
    margin-bottom: 36px;
  }

  body.home-page .section-heading h2,
  body.home-page .expertise-intro h2,
  body.home-page .contact-cta h2 {
    font-size: 32px;
  }

  body.home-page .solutions-grid,
  body.home-page .process-grid {
    grid-template-columns: 1fr;
  }

  body.home-page .solution-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  body.home-page .solution-card__media {
    height: 220px;
  }

  body.home-page .process-grid > li {
    padding: 27px;
  }

  body.home-page .process-number {
    margin-bottom: 18px;
  }

  body.home-page .expertise-panel {
    gap: 32px;
    padding: 32px 24px;
  }

  body.home-page .contact-cta {
    padding: 64px 0;
  }

  body.home-page .contact-cta__content {
    flex-direction: column;
  }

  body.home-page .contact-cta__actions {
    width: 100%;
    min-width: 0;
  }

  body.home-page footer .container {
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
  }

  body.home-page #email-big,
  body.home-page #phone-big {
    margin: 22px 0;
    font-size: 21px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page *,
  body.home-page *::before,
  body.home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
