:root {
  --pink: #f51047;
  --pink-dark: #d90a3c;
  --navy: #233572;
  --navy-deep: #152453;
  --purple: #7047d4;
  --blue: #477de0;
  --lavender: #eef2ff;
  --paper: #f7f8fc;
  --white: #fff;
  --text: #1c2550;
  --muted: #6c7392;
  --line: #dfe3ef;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 227, 239, 0.75);
  backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 48px;
}

.logo {
  display: block;
  width: 94px;
  height: 58px;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  color: #555d7a;
  font-size: 14px;
}

.nav a {
  transition: color 0.2s ease;
}

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

.header__contact {
  padding: 13px 20px;
  border: 1px solid var(--navy);
  border-radius: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.language-switcher button {
  min-width: 34px;
  height: 30px;
  padding: 0 7px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  transition: 0.2s ease;
}

.language-switcher button:hover {
  color: var(--navy);
}

.language-switcher button.is-active {
  color: var(--white);
  background: var(--navy);
}

.header__contact:hover {
  color: var(--white);
  background: var(--navy);
}

.menu-button {
  display: none;
  padding: 4px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(151, 88, 255, 0.7), transparent 35%),
    linear-gradient(115deg, #7446cd 0%, #4868d4 54%, #4f8ce2 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 75%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 700px;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 50px;
}

.hero__content {
  padding: 74px 0 90px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.eyebrow b {
  font: inherit;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--pink);
}

.hero h1 {
  max-width: 730px;
  margin: 24px 0;
  font-size: clamp(48px, 5.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -3px;
}

.hero h1 em,
.contact-card h2 em {
  color: #ff7a9b;
  font-style: normal;
}

.hero__content > p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 12px 30px rgba(185, 0, 53, 0.24);
}

.button--primary:hover {
  background: var(--pink-dark);
}

.button--glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button--glass:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero__visual {
  position: relative;
  height: 510px;
}

.visual-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 260px;
  height: 260px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.1), 0 20px 80px rgba(28, 34, 103, 0.28);
  backdrop-filter: blur(10px);
}

.visual-core::before,
.visual-core::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.visual-core::before {
  inset: 24px;
}

.visual-core::after {
  inset: 54px;
  background: rgba(245, 16, 71, 0.72);
  box-shadow: 0 0 50px rgba(245, 16, 71, 0.5);
}

.visual-core svg {
  position: relative;
  z-index: 2;
  width: 145px;
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit--one {
  width: 390px;
  height: 390px;
}

.orbit--two {
  width: 500px;
  height: 500px;
}

.visual-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 170px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(28, 34, 103, 0.22);
  font-size: 13px;
  line-height: 1.35;
  backdrop-filter: blur(14px);
}

.visual-card--top {
  top: 52px;
  right: 10px;
}

.visual-card--bottom {
  bottom: 58px;
  left: 0;
}

.visual-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.code-pill {
  position: absolute;
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border-radius: 16px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(28, 34, 103, 0.2);
  font-weight: 800;
}

.code-pill--one {
  top: 168px;
  left: 4px;
  transform: rotate(-8deg);
}

.code-pill--two {
  right: 5px;
  bottom: 160px;
  transform: rotate(8deg);
}

.hero__glow {
  position: absolute;
  right: -180px;
  bottom: -400px;
  width: 850px;
  height: 650px;
  border-radius: 50%;
  background: rgba(182, 205, 255, 0.24);
}

.section {
  padding: 118px 0;
}

.section-heading h2 {
  margin: 15px 0 0;
  color: var(--navy);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -2.2px;
}

.section-heading > p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 80px;
}

.section-heading--split > p {
  margin-bottom: 5px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.value-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.value-card--accent {
  color: var(--white);
  background: linear-gradient(145deg, #8151dd, #4f78dc);
  border-color: transparent;
}

.value-card--dark {
  color: var(--white);
  background: var(--navy);
  border-color: transparent;
}

.value-card__number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
}

.value-card--accent .value-card__number,
.value-card--dark .value-card__number {
  color: rgba(255, 255, 255, 0.8);
}

.value-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  letter-spacing: -0.6px;
}

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

.value-card--accent p,
.value-card--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.expertise {
  background: var(--white);
}

.expertise .section-heading {
  text-align: center;
}

.expertise .section-heading > p {
  margin-inline: auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.expertise-card {
  position: relative;
  min-height: 350px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.expertise-card:hover {
  z-index: 2;
  background: var(--lavender);
  transform: translateY(-6px);
}

.expertise-card > span {
  position: absolute;
  top: 32px;
  right: 26px;
  color: #aab0c4;
  font-size: 12px;
}

.expertise-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 88px;
  place-items: center;
  border-radius: 16px;
  color: var(--pink);
  background: #fff0f4;
}

.expertise-card__icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.expertise-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 20px;
}

.expertise-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.projects {
  color: var(--white);
  background: var(--navy-deep);
}

.projects__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 80px;
}

.projects .section-heading h2 {
  color: var(--white);
}

.section-label--light {
  color: #ff7899;
}

.projects__top > p {
  max-width: 520px;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  line-height: 1.65;
}

.project-list {
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.project-item {
  display: grid;
  min-height: 160px;
  grid-template-columns: 70px 1fr 180px 50px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: padding 0.25s ease, background 0.25s ease;
}

.project-item:hover {
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.project-item__index {
  color: #ff7899;
  font-size: 13px;
  font-weight: 700;
}

.project-item__body h3 {
  margin: 0 0 10px;
  font-size: 25px;
}

.project-item__body p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 14px;
  line-height: 1.55;
}

.project-item__tag {
  justify-self: start;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.project-item__arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ff7899;
}

.contact-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 530px;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 60px;
  padding: 72px;
  border-radius: var(--radius-xl);
  background: #e8edff;
}

.contact-card__content,
.contact-card__details {
  position: relative;
  z-index: 2;
}

.contact-card h2 {
  margin: 16px 0 22px;
  color: var(--navy);
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -2.6px;
}

.contact-card h2 em {
  color: var(--pink);
}

.contact-card__content > p {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact-card__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
}

.contact-detail {
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(35, 53, 114, 0.17);
}

.contact-detail > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}

.contact-detail a,
.contact-detail address {
  color: var(--navy);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}

.contact-detail a:hover {
  color: var(--pink);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 700;
}

.contact-card__shape {
  position: absolute;
  right: -130px;
  bottom: -260px;
  width: 550px;
  height: 550px;
  border: 70px solid rgba(105, 77, 211, 0.09);
  border-radius: 50%;
}

.footer {
  padding: 28px 0;
  color: var(--muted);
  background: var(--white);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 13px;
}

.footer .logo {
  width: 94px;
  height: 58px;
}

@media (max-width: 1000px) {
  .nav {
    gap: 20px;
  }

  .header__inner {
    gap: 24px;
  }

  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .hero__visual {
    transform: scale(0.82);
  }

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

  .contact-card {
    padding: 58px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header__inner {
    min-height: 68px;
  }

  .header .logo {
    width: 81px;
    height: 50px;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .header__contact {
    display: none;
  }

  .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .menu-button {
    order: 3;
    margin-left: 0;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 22px;
    background: var(--white);
    box-shadow: 0 20px 30px rgba(27, 37, 80, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .hero__inner {
    min-height: auto;
  }

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

  .hero__content {
    padding: 84px 0 30px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 62px);
    letter-spacing: -2px;
  }

  .hero__visual {
    height: 400px;
    transform: scale(0.82);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading--split,
  .projects__top {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .value-card {
    min-height: 250px;
  }

  .project-item {
    grid-template-columns: 45px 1fr 44px;
    gap: 15px;
    padding: 26px 0;
  }

  .project-item__tag {
    display: none;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 44px 32px;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__visual {
    left: 50%;
    width: 480px;
    margin-left: -240px;
    transform: scale(0.67);
    transform-origin: center top;
  }

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

  .expertise-card {
    min-height: 300px;
  }

  .expertise-card__icon {
    margin-bottom: 60px;
  }

  .project-item {
    grid-template-columns: 36px 1fr;
  }

  .project-item__arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
